/* ============================================
   AI Agent Service - Custom Styles
   Theme: Dark Professional (Deep Blue + Cyan)
   ============================================ */

/* ----- CSS Custom Properties ----- */
:root {
  --primary-dark: #0a1128;
  --secondary-dark: #1a1a2e;
  --card-bg: #16213e;
  --card-bg-hover: #1a2745;
  --accent: #00d4ff;
  --accent-secondary: #7b2ff7;
  --accent-gradient: linear-gradient(135deg, #00d4ff, #7b2ff7);
  --text-white: #ffffff;
  --text-light: #c8d6e5;
  --text-muted: #8395a7;
  --border-color: rgba(0, 212, 255, 0.15);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.15);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
  --font-primary: 'Poppins', sans-serif;
}

/* ----- Reset & Base ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--primary-dark);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: var(--accent);
  transition: var(--transition);
}

a:hover {
  color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
}

/* ----- Scrollbar ----- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--primary-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7b2ff7;
}

/* ----- Selection ----- */
::selection {
  background: var(--accent);
  color: var(--primary-dark);
}

/* ============================================
   Preloader
   ============================================ */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(0, 212, 255, 0.2);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
  background: rgba(10, 17, 40, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  transition: var(--transition);
  z-index: 1000;
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-white) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .brand-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
}

.navbar-brand span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 18px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
  background: rgba(0, 212, 255, 0.08);
}

.btn-nav-cta {
  background: var(--accent-gradient);
  color: #fff !important;
  border: none;
  padding: 10px 28px !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.35);
  color: #fff !important;
}

.navbar-toggler {
  border: 1px solid var(--border-color);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ============================================
   Hero Section
   ============================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* ---- Floating Micro Badges ---- */
.hero-micro-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.micro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.micro-badge:hover {
  transform: translateY(-2px);
}
.micro-badge i { font-size: 0.65rem; }
.mb-1 { background: rgba(0,212,255,0.08); color: #00d4ff; border-color: rgba(0,212,255,0.2); }
.mb-2 { background: rgba(123,47,247,0.08); color: #a855f7; border-color: rgba(123,47,247,0.2); }
.mb-3 { background: rgba(0,255,136,0.06); color: #00ff88; border-color: rgba(0,255,136,0.15); }

/* ---- Hero Badge ---- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* Shimmer sweep on badge */
.hero-badge-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.15), transparent);
  animation: badgeShimmer 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes badgeShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* ---- Hero Title ---- */
.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-title .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animated gradient that shifts colors */
.hero-title .animated-gradient {
  background: linear-gradient(270deg, #00d4ff, #7b2ff7, #00ff88, #ff6b47, #00d4ff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* "Grow" highlight with glow underline */
.hero-highlight {
  position: relative;
  color: #00ff88;
  -webkit-text-fill-color: #00ff88;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00ff88, #00d4ff);
  border-radius: 2px;
  animation: underlineGlow 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(0,255,136,0.5);
}
@keyframes underlineGlow {
  0%,100% { opacity: 0.6; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.05); }
}

/* ---- Typed Wrapper ---- */
.typed-wrapper {
  min-height: 44px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.typed-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  color: #00d4ff;
  font-size: 0.7rem;
  flex-shrink: 0;
  animation: terminalBlink 2s ease-in-out infinite;
}
@keyframes terminalBlink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.typed-text-output {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

.typed-cursor {
  color: var(--accent);
  font-size: 1.5rem;
}

/* ---- Hero Description ---- */
.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 30px;
  line-height: 1.75;
}
.desc-highlight {
  color: #fff;
  font-weight: 600;
  background: linear-gradient(transparent 60%, rgba(0,212,255,0.15) 60%);
}

/* ---- Hero Buttons ---- */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-custom {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Shine sweep on primary button */
.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  animation: btnShineSweep 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShineSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

.btn-icon-wrap {
  display: inline-flex;
  transition: transform 0.3s ease;
}
.btn-primary-custom:hover .btn-icon-wrap {
  transform: translateX(4px) rotate(-15deg);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 212, 255, 0.4);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--border-color);
  padding: 12px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Pulsing ring behind demo button phone icon */
.btn-pulse-ring {
  position: absolute;
  left: 22px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.3);
  animation: btnPulseRing 2s ease-out infinite;
  pointer-events: none;
}
@keyframes btnPulseRing {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.btn-outline-custom:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  background: rgba(0,212,255,0.05);
}

/* ---- Social Proof / Client Avatars ---- */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.client-avatars {
  display: flex;
}
.client-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--primary-dark);
  margin-left: -8px;
  transition: transform 0.3s ease;
  cursor: default;
}
.client-avatar:first-child { margin-left: 0; }
.client-avatar:hover { transform: translateY(-4px) scale(1.1); z-index: 2; }
.ca-1 { background: linear-gradient(135deg, #00d4ff, #0088cc); }
.ca-2 { background: linear-gradient(135deg, #7b2ff7, #5a1fba); }
.ca-3 { background: linear-gradient(135deg, #00ff88, #00cc6a); }
.ca-4 { background: linear-gradient(135deg, #ff6b47, #e04520); }
.ca-5 { background: rgba(0,212,255,0.15); color: var(--accent); border-color: rgba(0,212,255,0.3); font-size: 0.85rem; }

.social-proof-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sp-stars {
  color: #ffbd2e;
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.sp-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- Hero Stats ---- */
.hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon-mini {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-stat h3 {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
  line-height: 1;
}

.hero-stat p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.18), rgba(123, 47, 247, 0.08), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: glowPulseOuter 5s ease-in-out infinite;
}

@keyframes glowPulseOuter {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-illustration {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
}

/* ---- Agent Visual Box ---- */
.hero-illustration .agent-visual {
  width: 100%;
  height: 480px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, rgba(10,17,40,0.98), rgba(16,28,64,0.95));
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 1px rgba(0,212,255,0.25), 0 0 40px rgba(0,212,255,0.08), inset 0 0 60px rgba(0,212,255,0.03);
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
}

.hero-illustration .agent-visual:hover {
  box-shadow: 0 0 0 1px rgba(0,212,255,0.4), 0 0 60px rgba(0,212,255,0.15), inset 0 0 60px rgba(0,212,255,0.05);
}

/* Corner accent glows */
.hero-illustration .agent-visual::before,
.hero-illustration .agent-visual::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.hero-illustration .agent-visual::before {
  top: -40px;
  right: -40px;
  background: radial-gradient(circle, rgba(123,47,247,0.35), transparent 70%);
  animation: cornerGlow 4s ease-in-out infinite;
}
.hero-illustration .agent-visual::after {
  bottom: -40px;
  left: -40px;
  background: radial-gradient(circle, rgba(0,212,255,0.25), transparent 70%);
  animation: cornerGlow 4s ease-in-out infinite 2s;
}
@keyframes cornerGlow {
  0%,100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ---- Scanning Line ---- */
.av-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff 30%, #7b2ff7 70%, transparent);
  opacity: 0.6;
  z-index: 8;
  animation: scanLine 4s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(0,212,255,0.5), 0 0 30px rgba(0,212,255,0.2);
}
@keyframes scanLine {
  0% { top: 0%; opacity: 0; }
  5% { opacity: 0.6; }
  95% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

/* ---- Data Streams Canvas ---- */
.av-data-streams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

/* ---- Connection Beams SVG ---- */
.av-beams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.beam-line {
  stroke-dasharray: 8 4;
  animation: beamDash 2s linear infinite;
  opacity: 0.5;
}
.bl-1 { animation-delay: 0s; }
.bl-2 { animation-delay: 0.5s; }
.bl-3 { animation-delay: 1s; }
.bl-4 { animation-delay: 1.5s; }
@keyframes beamDash {
  to { stroke-dashoffset: -24; }
}
.beam-particle {
  opacity: 0.8;
}

/* ---- Live badge with uptime ---- */
.av-live-time {
  font-family: 'Courier New', monospace;
  font-size: 0.6rem;
  opacity: 0.7;
  margin-left: 4px;
  letter-spacing: 0.5px;
}

/* ---- Background Grid ---- */
.av-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ---- Live Badge ---- */
.av-live-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.3);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #00ff88;
  letter-spacing: 1.5px;
  z-index: 10;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #00ff88;
  border-radius: 50%;
  animation: livePulse 1.2s ease-in-out infinite;
  box-shadow: 0 0 8px #00ff88;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}

/* ---- AI Hub (center) ---- */
.ai-hub {
  position: absolute;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-hub-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0,212,255,0.2);
}
.ai-hub-ring.ring-1 {
  width: 100px;
  height: 100px;
  border-color: rgba(0,212,255,0.35);
  animation: ringRotate 8s linear infinite;
}
.ai-hub-ring.ring-2 {
  width: 145px;
  height: 145px;
  border-color: rgba(0,212,255,0.18);
  animation: ringRotate 14s linear infinite reverse;
}
.ai-hub-ring.ring-3 {
  width: 185px;
  height: 185px;
  border-color: rgba(123,47,247,0.15);
  animation: ringRotate 22s linear infinite;
}

/* Ring dots - small bright particles on the rings */
.ring-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 10px #00d4ff, 0 0 20px rgba(0,212,255,0.3);
}
.ring-dot.rd-1 { top: 0; left: 50%; transform: translateX(-50%); }
.ring-dot.rd-2 { bottom: 0; right: 10%; }
.ring-dot.rd-3 { top: 10%; left: 0; background: #7b2ff7; box-shadow: 0 0 10px #7b2ff7; }
.ring-dot.rd-4 { bottom: 10%; right: 0; background: #00ff88; box-shadow: 0 0 10px #00ff88; }
.ring-dot.rd-5 { top: 50%; left: 0; transform: translateY(-50%); }

@keyframes ringRotate {
  to { transform: rotate(360deg); }
}

/* ---- Core orb ---- */
.ai-hub-core {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,212,255,0.25), rgba(123,47,247,0.25));
  border: 1.5px solid rgba(0,212,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 30px rgba(0,212,255,0.3), 0 0 60px rgba(0,212,255,0.1), inset 0 0 20px rgba(0,212,255,0.1);
  animation: coreGlow 3s ease-in-out infinite;
  position: relative;
}

/* Expanding pulse rings from core */
.core-pulse-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.3);
  animation: corePulseExpand 3s ease-out infinite;
}
.core-pulse-ring.cpr-2 {
  animation-delay: 1.5s;
}
@keyframes corePulseExpand {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes coreGlow {
  0%, 100% { box-shadow: 0 0 25px rgba(0,212,255,0.3), 0 0 50px rgba(0,212,255,0.1); }
  50% { box-shadow: 0 0 40px rgba(0,212,255,0.5), 0 0 80px rgba(0,212,255,0.2), 0 0 120px rgba(123,47,247,0.1); }
}

.ai-hub-core i {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #00d4ff, #7b2ff7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: iconFloat 3s ease-in-out infinite;
}
@keyframes iconFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.05); }
}

/* ---- Orbit nodes ---- */
.orbit-node {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(10,17,40,0.95);
  border: 1px solid rgba(0,212,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 0 12px rgba(0,212,255,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.orbit-node:hover {
  transform: scale(1.3) !important;
  box-shadow: 0 0 25px rgba(0,212,255,0.6);
}

.orbit-node i {
  font-size: 0.7rem;
  color: var(--accent);
}

.on-1 { top: -2px; left: 50%; transform: translateX(-50%); animation: nodePulse 2s 0s ease-in-out infinite, nodeOrbit1 6s ease-in-out infinite; }
.on-2 { right: -2px; top: 50%; transform: translateY(-50%); animation: nodePulse 2s 0.7s ease-in-out infinite, nodeOrbit2 6s ease-in-out infinite; }
.on-3 { bottom: -2px; left: 50%; transform: translateX(-50%); animation: nodePulse 2s 1.4s ease-in-out infinite, nodeOrbit3 6s ease-in-out infinite; }
.on-4 { left: -2px; top: 50%; transform: translateY(-50%); animation: nodePulse 2s 0.3s ease-in-out infinite, nodeOrbit4 6s ease-in-out infinite; }
.on-4 i { color: #ff6b47; }

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 8px rgba(0,212,255,0.2); }
  50% { box-shadow: 0 0 18px rgba(0,212,255,0.6); }
}
@keyframes nodeOrbit1 {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}
@keyframes nodeOrbit2 {
  0%,100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-5px); }
}
@keyframes nodeOrbit3 {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}
@keyframes nodeOrbit4 {
  0%,100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(5px); }
}

/* ---- Floating cards (redesigned) ---- */
.floating-cards {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: rgba(12, 22, 52, 0.92);
  border: 1px solid rgba(0,212,255,0.2);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(0,212,255,0.05);
  white-space: nowrap;
  animation: floatFadeIn 6s ease-in-out infinite;
  opacity: 0;
  min-width: 185px;
  pointer-events: auto;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.float-card:hover {
  transform: translateY(-4px) scale(1.04) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0,212,255,0.15);
  z-index: 10;
}

/* Progress bar at bottom of each card */
.fc-progress {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}
.fc-progress-bar {
  height: 100%;
  border-radius: 2px;
  width: 0%;
  animation: progressFill 3s ease-in-out infinite;
}
.fpb-1 { background: linear-gradient(90deg, #00d4ff, #00ffcc); animation-delay: 0s; }
.fpb-2 { background: linear-gradient(90deg, #7b2ff7, #a855f7); animation-delay: 0.8s; }
.fpb-3 { background: linear-gradient(90deg, #00ff88, #00d4ff); animation-delay: 1.6s; }
.fpb-4 { background: linear-gradient(90deg, #ff6b47, #ff9a47); animation-delay: 2.4s; }
@keyframes progressFill {
  0% { width: 0%; }
  50% { width: 100%; }
  100% { width: 0%; }
}

/* Sparkle animation on emojis */
.fc-sparkle {
  display: inline-block;
  animation: sparkleFloat 2s ease-in-out infinite;
}
@keyframes sparkleFloat {
  0%,100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(10deg); }
}
.fc-check {
  display: inline-block;
  animation: checkPop 2s ease-in-out infinite;
}
@keyframes checkPop {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.fc-1 { top: 6%;  left: 5%;  animation-delay: 0s;   border-left-color: #00d4ff; }
.fc-2 { top: 28%; right: 4%; animation-delay: 1.2s; border-left-color: #7b2ff7; }
.fc-3 { top: 53%; left: 5%;  animation-delay: 2.4s; border-left-color: #00ff88; }
.fc-4 { bottom: 14%; right: 4%; animation-delay: 3.6s; border-left-color: #ff6b47; }

.fc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0,212,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fc-1 .fc-icon { background: rgba(0,212,255,0.12); }
.fc-2 .fc-icon { background: rgba(123,47,247,0.12); }
.fc-3 .fc-icon { background: rgba(0,255,136,0.1); }
.fc-4 .fc-icon { background: rgba(255,107,71,0.1); }

.fc-icon i {
  font-size: 1rem;
}
.fc-1 .fc-icon i { color: #00d4ff; }
.fc-2 .fc-icon i { color: #a855f7; }
.fc-3 .fc-icon i { color: #00ff88; }
.fc-4 .fc-icon i { color: #ff6b47; }

.fc-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fc-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fc-val {
  font-size: 0.82rem;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.float-card .status-dot {
  width: 7px;
  height: 7px;
  background: #00ff88;
  border-radius: 50%;
  animation: livePulse 1.5s infinite;
  flex-shrink: 0;
}

@keyframes floatFadeIn {
  0%   { opacity: 0; transform: translateY(8px); }
  12%  { opacity: 1; transform: translateY(0); }
  50%  { opacity: 1; transform: translateY(-10px); }
  88%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}

/* ---- Mini Terminal Widget ---- */
.av-terminal {
  position: absolute;
  bottom: 52px;
  left: 14px;
  width: 170px;
  border-radius: 10px;
  background: rgba(8,12,30,0.95);
  border: 1px solid rgba(0,212,255,0.15);
  overflow: hidden;
  z-index: 6;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  animation: terminalSlideIn 1s 2s ease-out both;
}
@keyframes terminalSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.av-terminal-header {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.av-term-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.av-term-title {
  margin-left: auto;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.3);
  font-family: 'Courier New', monospace;
}
.av-terminal-body {
  padding: 6px 8px;
  max-height: 55px;
  overflow: hidden;
  font-family: 'Courier New', monospace;
  font-size: 0.55rem;
  line-height: 1.5;
}
.term-line {
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  overflow: hidden;
  animation: termLineFade 0.3s ease-out;
}
@keyframes termLineFade {
  from { opacity: 0; transform: translateX(-5px); }
  to { opacity: 1; transform: translateX(0); }
}
.term-prompt {
  color: #00ff88;
  margin-right: 2px;
}
.term-cmd {
  color: #00d4ff;
}
.term-line .term-success {
  color: #00ff88;
}
.term-line .term-warn {
  color: #ffbd2e;
}

/* ---- Bottom metrics bar ---- */
.av-metrics {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  padding: 18px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 5;
}

.av-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.av-metric-num {
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00d4ff, #7b2ff7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.av-metric-lbl {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.av-metric-div {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.1);
}

/* Pulse indicator next to 24/7 */
.av-metric-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  animation: livePulse 1.5s infinite;
  margin-top: 4px;
}

/* ============================================
   Section Common Styles
   ============================================ */
section {
  padding: 100px 0;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-color);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px;
}

/* ============================================
   Services Section
   ============================================ */
#services {
  background: var(--secondary-dark);
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 35px 28px;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--shadow-glow);
  background: var(--card-bg-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent-gradient);
  color: #fff;
  transform: scale(1.05);
}

.service-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  flex-grow: 1;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 18px;
  transition: var(--transition);
}

.service-card:hover .service-link {
  gap: 14px;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
#why-us {
  background: var(--primary-dark);
  position: relative;
}

.why-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 16px;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(0, 212, 255, 0.05);
}

.why-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  transform: scale(1.1);
}

.why-card h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Stats Counter */
.stats-row {
  margin-top: 60px;
  padding: 50px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 5px;
}

/* ============================================
   Testimonials Section
   ============================================ */
#testimonials {
  background: var(--secondary-dark);
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 35px;
  height: 100%;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-5px);
}

.testimonial-stars {
  color: #ffc107;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-info h6 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.testimonial-info small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Carousel controls override */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: var(--transition);
}

.carousel-control-prev { left: -60px; }
.carousel-control-next { right: -60px; }

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  margin: 0 5px;
}

.carousel-indicators button.active {
  background: var(--accent);
  width: 30px;
  border-radius: 5px;
}

/* ============================================
   Team Section
   ============================================ */
#team {
  background: var(--primary-dark);
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--shadow-glow);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  position: relative;
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  transition: var(--transition);
}

.team-card:hover .team-avatar::after {
  opacity: 1;
}

.team-card h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card .team-role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card .team-bio {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.team-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  margin: 0 4px;
  transition: var(--transition);
}

.team-socials a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================
   Contact / Enquiry Form Section
   ============================================ */
#contact {
  background: var(--secondary-dark);
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h6 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.enquiry-form {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
}

.form-floating .form-control,
.form-floating .form-select {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  border-radius: 12px;
  height: 56px;
  padding: 16px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-floating textarea.form-control {
  height: 140px;
}

.form-floating .form-control:focus,
.form-floating .form-select:focus {
  background: rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
  color: var(--text-white);
}

.form-floating label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
  color: var(--accent);
}

.form-select option {
  background: #0f1b3d;
  color: #ffffff;
  padding: 10px;
}

.form-floating .form-select {
  appearance: auto;
  -webkit-appearance: auto;
  background-image: none;
}

.form-floating .form-select option:checked {
  background: var(--accent);
  color: #fff;
}

.form-floating .form-select option:hover {
  background: rgba(0, 212, 255, 0.2);
}

/* Custom Select (non-floating) */
.custom-select-wrapper {
  position: relative;
}

.custom-select-label {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 500;
}

.custom-form-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  border-radius: 12px;
  height: 56px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  appearance: auto;
  -webkit-appearance: auto;
  cursor: pointer;
}

.custom-form-select:focus {
  background: rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
  color: var(--text-white);
  outline: none;
}

.custom-form-select option {
  background: #0f1b3d;
  color: #ffffff;
  padding: 12px;
  font-size: 0.9rem;
}

.custom-form-select option:checked {
  background: var(--accent);
  color: #fff;
}

.custom-select-wrapper .invalid-feedback {
  display: none;
  color: #ff4757;
  font-size: 0.8rem;
  margin-top: 4px;
}

.was-validated .custom-form-select:invalid {
  border-color: #ff4757;
}

.was-validated .custom-form-select:invalid ~ .invalid-feedback {
  display: block;
}

.btn-submit {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 212, 255, 0.35);
  color: #fff;
}

.form-success-msg {
  display: none;
  text-align: center;
  padding: 30px;
}

.form-success-msg.show {
  display: block;
}

.form-success-msg i {
  font-size: 3rem;
  color: #00ff88;
  margin-bottom: 16px;
}

.form-success-msg h5 {
  margin-bottom: 8px;
}

.form-success-msg p {
  color: var(--text-muted);
}

/* ============================================
   Footer
   ============================================ */
footer {
  background: #060d1e;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 0;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  margin-right: 10px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-white);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  margin-top: 50px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

/* ============================================
   Service Detail Page Styles
   ============================================ */
.breadcrumb-section {
  background: var(--secondary-dark);
  padding: 100px 0 30px;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-custom {
  background: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-custom .breadcrumb-item a {
  color: var(--text-muted);
}

.breadcrumb-custom .breadcrumb-item.active {
  color: var(--accent);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
}

/* Service Detail Hero */
.service-detail-hero {
  background: var(--secondary-dark);
  padding: 40px 0 80px;
  position: relative;
}

.detail-icon {
  width: 100px;
  height: 100px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.service-detail-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.service-detail-hero .tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* Features Grid */
.feature-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  transition: var(--transition);
  height: 100%;
}

.feature-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.feature-item h5 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

/* How It Works Timeline */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 40px;
  position: relative;
  margin-bottom: 40px;
  width: 50%;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-left: 40px;
  padding-right: 0;
  margin-left: 50%;
}

.timeline-dot {
  position: absolute;
  right: -12px;
  top: 20px;
  width: 24px;
  height: 24px;
  background: var(--accent-gradient);
  border-radius: 50%;
  border: 4px solid var(--primary-dark);
  z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -12px;
  right: auto;
}

.timeline-content {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  max-width: 400px;
}

.timeline-content .step-number {
  display: inline-block;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.timeline-content h5 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

/* Use Cases */
.use-case-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  transition: var(--transition);
  height: 100%;
}

.use-case-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
}

.use-case-item i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.use-case-item h6 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.use-case-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Pricing Section */
#pricing {
  background: var(--secondary-dark);
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--accent);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 22px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card .price-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 0.9rem;
}

.pricing-features li i {
  color: #00ff88;
  font-size: 0.8rem;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  opacity: 0.5;
}

.pricing-features li.disabled i {
  color: #ff4757;
}

.btn-pricing {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent);
  border: 1px solid var(--border-color);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  width: 100%;
  margin-top: 28px;
  transition: var(--transition);
}

.btn-pricing:hover {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
}

.pricing-card.popular .btn-pricing {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
}

/* ============================================
   Responsive Overrides
   ============================================ */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .typed-text-output {
    font-size: 1.5rem;
  }
  .hero-stats {
    gap: 18px;
  }
  .hero-stat h3 {
    font-size: 1.5rem;
  }
  .hero-image-wrapper {
    margin-top: 40px;
    max-height: 350px;
  }
  .hero-illustration .agent-visual {
    height: 320px;
  }
  .hero-micro-badges { gap: 6px; }
  .micro-badge { font-size: 0.65rem; padding: 4px 10px; }
  .hero-stat-divider { height: 30px; }
  .stat-icon-mini { width: 30px; height: 30px; font-size: 0.75rem; }
  .section-title {
    font-size: 2rem;
  }
  .carousel-control-prev { left: -10px; }
  .carousel-control-next { right: -10px; }

  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 8px;
    right: auto;
  }

  .pricing-card.popular {
    transform: scale(1);
  }
  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  .typed-text-output {
    font-size: 1.2rem;
  }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    text-align: center;
  }
  .hero-stat { flex-direction: column; text-align: center; gap: 6px; }
  .hero-stat-divider { display: none; }
  .hero-description {
    font-size: 0.95rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn-primary-custom,
  .hero-buttons .btn-outline-custom {
    justify-content: center;
  }
  .hero-micro-badges { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .section-subtitle {
    font-size: 0.9rem;
  }
  .service-detail-hero h1 {
    font-size: 2rem;
  }
  .float-card {
    display: none;
  }
  .hero-image-wrapper {
    display: none !important;
  }
  .hero-content {
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .service-card {
    padding: 28px 22px;
  }
  .why-card {
    padding: 25px 20px;
  }
  .contact-info-card {
    margin-bottom: 10px;
  }
  .enquiry-form {
    padding: 25px 20px;
  }
  .footer-links {
    margin-bottom: 10px;
  }
  .team-card {
    padding: 28px 20px;
  }
  .testimonial-card {
    padding: 25px 20px;
  }
  .stats-row {
    padding: 30px 15px;
  }
  .stat-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.7rem;
  }
  .typed-text-output {
    font-size: 1rem;
  }
  .navbar-brand {
    font-size: 1.2rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }
  .contact-info-card h4 {
    font-size: 1.2rem;
  }
  .service-card h4 {
    font-size: 1.1rem;
  }
  .service-card p {
    font-size: 0.85rem;
  }
  .why-card h5 {
    font-size: 1rem;
  }
  .why-card p {
    font-size: 0.85rem;
  }
  .footer-description {
    font-size: 0.85rem;
  }
}

/* ============================================
   Utility / Animation Helpers
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* Glow text on hover */
.glow-hover:hover {
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* ============================================
   Futuristic Effects
   ============================================ */

/* Animated border glow on hero visual */
@keyframes borderGlow {
  0% { box-shadow: 0 0 0 1px rgba(0,212,255,0.25), 0 0 30px rgba(0,212,255,0.08); }
  100% { box-shadow: 0 0 0 1px rgba(0,212,255,0.4), 0 0 60px rgba(0,212,255,0.15), 0 0 100px rgba(123,47,247,0.08); }
}

/* Scanline overlay on hero */
#hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 212, 255, 0.01) 2px,
    rgba(0, 212, 255, 0.01) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Animated glow line between sections */
.glow-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-secondary), var(--accent), transparent);
  position: relative;
  overflow: hidden;
}

.glow-divider::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -100%;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: glowSlide 3s ease-in-out infinite;
}

@keyframes glowSlide {
  0% { left: -60%; }
  100% { left: 100%; }
}

/* Neon hover glow on service cards */
.service-card:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.15), 0 0 60px rgba(123, 47, 247, 0.08), 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Gradient text utility */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Futuristic grid background for sections */
#services::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

#services > .container {
  position: relative;
  z-index: 1;
}

/* Animated stat numbers glow */
.stat-number {
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

/* Team card tilt effect */
.team-card {
  perspective: 800px;
}

.team-card:hover .team-avatar {
  transform: rotateY(10deg) scale(1.05);
}

/* Pricing card shine effect */
.pricing-card.popular::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  animation: shine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Glowing accent for floating badge */
.hero-badge {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

/* Enhanced section badges */
.section-badge {
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.1); }
  50% { box-shadow: 0 0 20px 5px rgba(0, 212, 255, 0.08); }
}
