/* ═══════════════════════════════════════════════════════════
   SEYERKAI — Global Stylesheet v4.0
   AI / Futuristic Theme | Dark + Light Mode
   Orange · Dark Navy — Two-Colour System
═══════════════════════════════════════════════════════════ */

/* ── Custom Properties ───────────────────────────────────── */
:root {
  /* Orange accent */
  --orange:      #f97316;
  --orange-lg:   #fb923c;
  --orange-dk:   #ea580c;
  --amber:       #fb923c;

  /* Dark navy (replaces all blue/purple/cyan) */
  --navy:        #1e3a8a;
  --navy-lg:     #3b6fd4;
  --navy-dk:     #0f2847;
  --blue:        #1e3a8a;
  --blue-lg:     #3b6fd4;
  --blue-dk:     #0f2847;

  /* Deep navy backgrounds */
  --bg:          #060d1a;
  --bg-2:        #0b1729;
  --bg-3:        #102035;
  --bg-card:     rgba(255,255,255,0.04);
  --bg-card-2:   rgba(255,255,255,0.07);

  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.13);
  --border-ai:   rgba(249,115,22,0.3);

  --text:        #f0f6ff;
  --text-2:      rgba(240,246,255,0.65);
  --text-3:      rgba(240,246,255,0.38);

  --glow-orange: rgba(249,115,22,0.4);
  --glow-navy:   rgba(30,58,138,0.45);
  /* Legacy aliases kept for compatibility */
  --glow-blue:   rgba(30,58,138,0.4);
  --glow-purple: rgba(30,58,138,0.3);
  --glow-cyan:   rgba(30,58,138,0.3);

  --font-main:    'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --t-fast: 0.15s ease;
  --t-base: 0.3s ease;
  --perspective: 1000px;
}

[data-theme="light"] {
  --bg:        #f4f8ff;
  --bg-2:      #eaf0fb;
  --bg-3:      #dae4f5;
  --bg-card:   rgba(255,255,255,0.88);
  --bg-card-2: rgba(255,255,255,0.98);
  --border:    rgba(30,58,138,0.1);
  --border-2:  rgba(30,58,138,0.2);
  --border-ai: rgba(249,115,22,0.3);
  --text:      #0f1a2e;
  --text-2:    rgba(15,26,46,0.65);
  --text-3:    rgba(15,26,46,0.38);
  --glow-orange: rgba(249,115,22,0.2);
  --glow-navy:   rgba(30,58,138,0.18);
  --glow-blue:   rgba(30,58,138,0.18);
  --glow-purple: rgba(30,58,138,0.15);
  --glow-cyan:   rgba(30,58,138,0.15);
  --amber:       #fb923c;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--orange), var(--navy));
  border-radius: 3px;
}

.font-display { font-family: var(--font-display); }

.text-gradient-ai {
  background: linear-gradient(135deg, var(--orange-lg), var(--blue-lg));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-full {
  background: linear-gradient(135deg, var(--orange), var(--navy-lg));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-orange {
  background: linear-gradient(135deg, var(--orange), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-text {
  background: linear-gradient(135deg, var(--orange-lg), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  position: relative;
  display: inline-block;
}
.ai-text::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--amber), var(--orange));
  border-radius: 1px;
  box-shadow: 0 0 10px var(--glow-orange);
  animation: aiUnderline 3s ease-in-out infinite;
}

/* Neural canvas */
#neuralCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.5s ease;
}
[data-theme="light"] #neuralCanvas { opacity: 0.2; }

/* Navbar */
#navbar { background: transparent; transition: all 0.5s ease; }
#navbar.scrolled {
  background: rgba(13,15,23,0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.3), 0 1px 0 rgba(249,115,22,0.1);
}
[data-theme="light"] #navbar.scrolled {
  background: rgba(250,251,255,0.95);
  border-bottom: 1px solid rgba(249,115,22,0.12);
  box-shadow: 0 4px 24px rgba(249,115,22,0.07);
}

.nav-link {
  position: relative;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--orange), var(--navy-lg));
  transition: width 0.35s ease;
  border-radius: 1px;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--orange-lg); }

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  color: var(--text-2);
}
.theme-toggle:hover {
  border-color: var(--border-ai);
  background: rgba(249,115,22,0.08);
  transform: rotate(15deg) scale(1.05);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 24px var(--glow-orange);
  will-change: transform;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--orange-lg), var(--amber));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 40px var(--glow-orange); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--orange), var(--navy));
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 6px 30px var(--glow-orange);
  will-change: transform;
}
.btn-primary-large::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--orange-lg), var(--orange));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.btn-primary-large:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 50px var(--glow-orange); }
.btn-primary-large:hover::before { opacity: 1; }
.btn-primary-large > * { position: relative; z-index: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.35s ease;
  backdrop-filter: blur(10px);
  background: var(--bg-card);
}
.btn-ghost:hover { border-color: var(--border-ai); background: rgba(249,115,22,0.07); color: var(--orange-lg); transform: translateY(-2px); box-shadow: 0 4px 20px var(--glow-orange); }

.btn-ghost-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 100px;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s ease;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}
.btn-ghost-large:hover { border-color: var(--border-ai); color: var(--text); transform: translateY(-3px); }

.magnetic-wrapper { display: inline-block; will-change: transform; }

/* Glassmorphism */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  will-change: transform;
  display: flex;
  flex-direction: column;
}
.glass-card:hover { border-color: var(--border-ai); box-shadow: 0 8px 40px rgba(249,115,22,0.1), 0 0 0 1px rgba(249,115,22,0.08); }
.glass-card-blue {
  background: rgba(30,58,138,0.07);
  border: 1px solid rgba(30,58,138,0.22);
  border-radius: 20px;
  backdrop-filter: blur(20px);
}

/* Tilt */
.tilt-card { transform-style: preserve-3d; perspective: var(--perspective); will-change: transform; cursor: pointer; }
.card-shine {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 50%);
  pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
}
.tilt-card:hover .card-shine { opacity: 1; }

/* Tech grid bg */
.tech-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image:
    linear-gradient(rgba(30,58,138,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,58,138,0.15) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridShift 20s linear infinite;
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.9) 0%, transparent 70%);
}
[data-theme="light"] .tech-grid {
  background-image:
    linear-gradient(rgba(30,58,138,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,58,138,0.1) 1px, transparent 1px);
}
@keyframes gridShift { 0% { background-position: 0 0; } 100% { background-position: 64px 64px; } }

/* Scanner */
.scanner-line {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange) 30%, var(--amber) 50%, var(--orange) 70%, transparent);
  opacity: 0.55; pointer-events: none; z-index: 5;
  box-shadow: 0 0 20px var(--glow-orange);
  animation: scanDown 8s linear infinite;
}
@keyframes scanDown {
  0%   { top: 0%; opacity: 0.6; }
  80%  { opacity: 0.6; }
  90%  { opacity: 0; }
  100% { top: 100%; opacity: 0; }
}

/* HUD corners */
.hud-corner { position: absolute; width: 40px; height: 40px; pointer-events: none; z-index: 6; }
.hud-corner::before, .hud-corner::after { content: ''; position: absolute; background: var(--orange); opacity: 0.55; }
.hud-corner.tl { top: 16px; left: 16px; }
.hud-corner.tr { top: 16px; right: 16px; }
.hud-corner.bl { bottom: 16px; left: 16px; }
.hud-corner.br { bottom: 16px; right: 16px; }
.hud-corner.tl::before { top:0; left:0; width:16px; height:2px; }
.hud-corner.tl::after  { top:0; left:0; width:2px; height:16px; }
.hud-corner.tr::before { top:0; right:0; width:16px; height:2px; }
.hud-corner.tr::after  { top:0; right:0; width:2px; height:16px; }
.hud-corner.bl::before { bottom:0; left:0; width:16px; height:2px; }
.hud-corner.bl::after  { bottom:0; left:0; width:2px; height:16px; }
.hud-corner.br::before { bottom:0; right:0; width:16px; height:2px; }
.hud-corner.br::after  { bottom:0; right:0; width:2px; height:16px; }

/* Orbs */
.glow-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; animation: orbFloat 8s ease-in-out infinite; will-change: transform; opacity: 0.6; }
.glow-orb-blue   { background: radial-gradient(circle, rgba(30,58,138,0.3), transparent 70%); }
.glow-orb-navy   { background: radial-gradient(circle, rgba(30,58,138,0.3), transparent 70%); }
.glow-orb-orange { background: radial-gradient(circle, rgba(249,115,22,0.25), transparent 70%); }
/* Kept aliases — resolve to navy */
.glow-orb-purple { background: radial-gradient(circle, rgba(30,58,138,0.25), transparent 70%); }
.glow-orb-cyan   { background: radial-gradient(circle, rgba(30,58,138,0.2), transparent 70%); }
.glow-orb-amber  { background: radial-gradient(circle, rgba(249,115,22,0.18), transparent 70%); }
@keyframes orbFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.08); } }

/* ── Floating Rings (section decoration) ─────────────────── */
.floating-ring {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(249,115,22,0.15);
  animation: ringPulse 6s ease-in-out infinite;
}
.floating-ring-blue { border-color: rgba(30,58,138,0.18); }
.floating-ring-sm { animation-delay: -2s; }
.floating-ring-md { animation-delay: -4s; }
@keyframes ringPulse {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* ── Animated Mesh Grid (section bg) ──────────────────────── */
.mesh-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(30,58,138,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,115,22,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
  animation: meshDrift 25s linear infinite;
}
@keyframes meshDrift { 0% { background-position: 0 0; } 100% { background-position: 80px 80px; } }

/* ── Dot Constellation Pattern ────────────────────────────── */
.dots-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(249,115,22,0.2) 1px, transparent 1px),
                    radial-gradient(rgba(30,58,138,0.2) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: 0 0, 24px 24px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
  animation: dotsDrift 30s linear infinite;
}
@keyframes dotsDrift { 0% { background-position: 0 0, 24px 24px; } 100% { background-position: 48px 48px, 72px 72px; } }

/* ── Section Accent Line ──────────────────────────────────── */
.section-line {
  width: 60px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  margin: 0 auto 24px;
  box-shadow: 0 0 12px var(--glow-orange);
}
.section-line-left { margin-left: 0; }

/* ── Pulsing Glow Ring (around icons/badges) ──────────────── */
.pulse-ring {
  position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(249,115,22,0.3);
  animation: pulseRingAnim 2.5s ease-out infinite;
}
.pulse-ring-2 { inset: -16px; animation-delay: 1.2s; border-color: rgba(30,58,138,0.25); }
@keyframes pulseRingAnim {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ── Animated Gradient Border Card ───────────────────────── */
.gradient-border-card {
  position: relative;
}
.gradient-border-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle,0deg), var(--orange) 0%, var(--navy) 40%, var(--navy-lg) 70%, var(--orange) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
  animation: borderSpin 6s linear infinite;
  opacity: 0; transition: opacity 0.4s ease;
}
.gradient-border-card:hover::before { opacity: 1; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes borderSpin { to { --angle: 360deg; } }

/* ── Floating Shapes ──────────────────────────────────────── */
.float-shape {
  position: absolute; pointer-events: none; border-radius: 50%;
  opacity: 0.12; animation: floatShapeAnim 10s ease-in-out infinite;
}
.float-shape-sq { border-radius: 16px; animation-name: floatShapeRotate; }
.float-shape-orange { background: var(--orange); }
.float-shape-blue   { background: var(--navy); }
.float-shape-navy   { background: var(--navy); }
.float-shape-purple { background: var(--navy); }
@keyframes floatShapeAnim {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.1); }
}
@keyframes floatShapeRotate {
  0%,100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-15px) rotate(45deg) scale(1.08); }
}

/* ── Section Aurora Blobs (non-hero) ──────────────────────── */
.section-aurora { position: relative; overflow: hidden; }
.section-aurora-blob {
  position: absolute; border-radius: 50%; filter: blur(100px);
  pointer-events: none; animation: auroraMove 15s ease-in-out infinite;
}
.sa-orange { background: radial-gradient(ellipse, rgba(249,115,22,0.12), transparent 70%); }
.sa-blue   { background: radial-gradient(ellipse, rgba(30,58,138,0.12), transparent 70%); }
.sa-navy   { background: radial-gradient(ellipse, rgba(30,58,138,0.12), transparent 70%); }
.sa-purple { background: radial-gradient(ellipse, rgba(30,58,138,0.1), transparent 70%); }

/* Data badges */
.data-badge {
  position: absolute;
  padding: 8px 14px; border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-ai);
  backdrop-filter: blur(20px);
  font-size: 12px; font-weight: 600; color: var(--text-2);
  display: flex; align-items: center; gap: 8px;
  animation: badgeFloat 6s ease-in-out infinite;
  pointer-events: none; white-space: nowrap;
}
.data-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: dotPulse 2s ease infinite; }
.data-badge-dot-navy { background: var(--navy-lg); }
@keyframes badgeFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes dotPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.6); } }

/* Process timeline */
.process-timeline { position: relative; }
.process-timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--orange) 20%, var(--navy-lg) 50%, var(--navy) 80%, transparent);
  transform: translateX(-50%);
}
@media (max-width: 768px) { .process-timeline::before { left: 24px; } }

.process-step-node {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dk));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(249,115,22,0.12), 0 0 30px var(--glow-orange);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover .process-step-node { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(249,115,22,0.2), 0 0 50px var(--glow-orange); }
.process-step-card {
  flex: 1; padding: 24px 28px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  backdrop-filter: blur(20px);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.process-step-card:hover { border-color: var(--border-ai); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(30,58,138,0.15); }

/* Tech stack */
.tech-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 20px 16px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  font-size: 12px; font-weight: 600; color: var(--text-3);
  transition: all 0.35s ease; cursor: default; backdrop-filter: blur(10px); text-align: center;
}
.tech-item:hover { border-color: var(--border-ai); color: var(--orange-lg); background: rgba(249,115,22,0.06); transform: translateY(-6px) scale(1.04); box-shadow: 0 8px 30px rgba(249,115,22,0.15); }
.tech-item-icon { font-size: 28px; transition: transform 0.35s ease; }
.tech-item:hover .tech-item-icon { transform: scale(1.2) rotate(8deg); }

.tech-badge {
  display: inline-flex; align-items: center;
  padding: 7px 18px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-3); font-size: 13px; font-weight: 500;
  transition: all 0.3s ease; cursor: default; backdrop-filter: blur(10px);
}
.tech-badge:hover { border-color: rgba(249,115,22,0.4); color: var(--orange-lg); background: rgba(249,115,22,0.06); }

/* Stats */
.stat-card {
  position: relative; overflow: hidden; padding: 32px 24px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
  text-align: center; backdrop-filter: blur(20px);
  transition: all 0.35s ease;
}
.stat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent, rgba(30,58,138,0.06));
  opacity: 0; transition: opacity 0.35s ease;
}
.stat-card:hover { border-color: var(--border-ai); transform: translateY(-6px); box-shadow: 0 16px 50px rgba(30,58,138,0.15); }
.stat-card:hover::before { opacity: 1; }
.stat-number {
  font-size: 48px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-suffix { background: linear-gradient(135deg, var(--orange), var(--amber)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 32px; font-weight: 900; }

/* Service cards */
.service-card {
  position: relative; padding: 32px 28px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
  backdrop-filter: blur(20px); transition: all 0.4s ease; overflow: hidden; cursor: pointer;
}
.service-card-glow { position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.service-card:hover { border-color: var(--border-ai); transform: translateY(-8px); box-shadow: 0 20px 60px rgba(249,115,22,0.12), 0 0 0 1px rgba(249,115,22,0.08); }
.service-card:hover .service-card-glow { opacity: 1; }
.service-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: transform 0.4s ease; }
.service-card:hover .service-icon { transform: scale(1.12) rotate(5deg); }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; text-decoration: none; transition: gap 0.3s ease; }
.service-card:hover .service-link { gap: 10px; }

/* Team */
.team-card { overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.team-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(30,58,138,0.2); }

/* Social */
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); color: var(--text-3); transition: all 0.3s ease; background: var(--bg-card); }
.social-icon:hover { border-color: rgba(249,115,22,0.5); color: var(--orange-lg); background: rgba(249,115,22,0.08); transform: translateY(-2px); box-shadow: 0 4px 16px var(--glow-orange); }
.social-icon-sm { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(0,0,0,0.5); border: 1px solid var(--border); color: var(--text-2); backdrop-filter: blur(10px); transition: all 0.3s ease; }
.social-icon-sm:hover { background: rgba(30,58,138,0.3); border-color: rgba(30,58,138,0.5); color: #fff; }

/* Process cards (legacy) */
.process-card { position: relative; padding: 28px 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; transition: transform 0.3s ease, border-color 0.3s ease; backdrop-filter: blur(20px); }
.process-card:hover { transform: translateY(-6px); border-color: var(--border-ai); }
.process-number { position: absolute; top: 16px; right: 16px; font-size: 48px; font-weight: 900; color: rgba(249,115,22,0.07); line-height: 1; }

/* Testimonial */
.testimonial-section { opacity: 0; transform: translateY(40px); }
.testimonial-section.visible { opacity: 1; transform: translateY(0); transition: all 0.8s ease; }

/* CTA grid */
.cta-grid {
  background-image: linear-gradient(rgba(30,58,138,0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(249,115,22,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
  animation: meshDrift 20s linear infinite;
}

/* Marquee */
.logos-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%); }
.logos-track { display: flex; gap: 60px; width: max-content; animation: marqueeScroll 20s linear infinite; }
.logo-item { font-size: 13px; font-weight: 700; color: var(--text-3); letter-spacing: 0.1em; white-space: nowrap; text-transform: uppercase; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Forms */
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 8px; }
.form-input { width: 100%; padding: 14px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-size: 14px; font-family: var(--font-main); outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.form-input::placeholder { color: var(--text-3); }
.form-input:focus { border-color: rgba(249,115,22,0.5); box-shadow: 0 0 0 3px rgba(249,115,22,0.1); }
.form-input.error { border-color: rgba(239,68,68,0.6); box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='rgba(100,116,139,0.6)' viewBox='0 0 24 24'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.form-select option { background: var(--bg-3); color: var(--text); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-checkbox { width: 16px; height: 16px; border: 1px solid var(--border-2); border-radius: 4px; appearance: none; background: var(--bg-card); cursor: pointer; transition: all 0.3s ease; flex-shrink: 0; }
.form-checkbox:checked { background: var(--orange); border-color: var(--orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='white' stroke-width='3' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.form-error { display: block; color: #f87171; font-size: 11px; margin-top: 5px; }

/* FAQ */
.faq-item { transition: box-shadow 0.3s ease; }
.faq-trigger { cursor: pointer; background: none; border: none; }
.faq-icon.open { transform: rotate(180deg); }
.faq-answer { border-top: 1px solid var(--border); }

/* Chatbot */
.chatbot-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--navy));
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 30px var(--glow-orange);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: chatPulse 3s ease infinite;
  will-change: transform;
}
.chatbot-btn:hover { transform: scale(1.1) rotate(-5deg); box-shadow: 0 8px 40px var(--glow-navy); animation: none; }
@keyframes chatPulse {
  0%,100% { box-shadow: 0 4px 30px var(--glow-orange), 0 0 0 0 rgba(249,115,22,0.35); }
  50%      { box-shadow: 0 4px 30px var(--glow-orange), 0 0 0 14px rgba(249,115,22,0); }
}

.chatbot-panel {
  position: absolute; bottom: 72px; right: 0; width: 350px;
  border-radius: 22px;
  background: rgba(13,15,23,0.93); border: 1px solid rgba(249,115,22,0.2);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  overflow: hidden; backdrop-filter: blur(30px);
  transform-origin: bottom right; will-change: transform, opacity;
}
[data-theme="light"] .chatbot-panel { background: rgba(244,248,255,0.97); border-color: rgba(30,58,138,0.2); }

.chatbot-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: linear-gradient(135deg, rgba(249,115,22,0.12), rgba(30,58,138,0.1)); border-bottom: 1px solid var(--border); }

.chatbot-messages { height: 290px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chatbot-messages::-webkit-scrollbar { width: 3px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: linear-gradient(var(--orange), var(--navy)); border-radius: 2px; }

.chat-msg { display: flex; flex-direction: column; }
.chat-msg.user { align-items: flex-end; }
.chat-msg.bot  { align-items: flex-start; }

.chat-bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 1.5; }
.bot-bubble { background: rgba(255,255,255,0.07); color: var(--text-2); border-radius: 4px 16px 16px 16px; border: 1px solid var(--border); }
[data-theme="light"] .bot-bubble { background: rgba(30,58,138,0.06); }
.user-bubble { background: linear-gradient(135deg, var(--orange), var(--orange-dk)); color: #fff; border-radius: 16px 4px 16px 16px; }

.chat-time { font-size: 10px; color: var(--text-3); margin-top: 4px; padding: 0 4px; }

.quick-reply { padding: 6px 12px; border-radius: 100px; border: 1px solid rgba(249,115,22,0.3); background: rgba(249,115,22,0.08); color: var(--orange-lg); font-size: 11px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; font-family: var(--font-main); }
.quick-reply:hover { background: rgba(249,115,22,0.18); border-color: rgba(249,115,22,0.6); transform: translateY(-1px); }

.chatbot-input-area { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); }
.chat-input { flex: 1; padding: 10px 14px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-size: 13px; font-family: var(--font-main); outline: none; transition: border-color 0.3s ease; }
[data-theme="light"] .chat-input { background: rgba(30,58,138,0.05); }
.chat-input::placeholder { color: var(--text-3); }
.chat-input:focus { border-color: rgba(30,58,138,0.5); }

.chat-send-btn { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--orange), var(--orange-dk)); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: opacity 0.3s ease, transform 0.3s ease; flex-shrink: 0; }
.chat-send-btn:hover { opacity: 0.85; transform: scale(1.08); }

.typing-indicator { display: flex; align-items: center; gap: 5px; padding: 10px 14px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 4px 16px 16px 16px; width: fit-content; }
.typing-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange-lg); animation: typingBounce 1.4s ease infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; background: var(--navy-lg); }
.typing-dot:nth-child(3) { animation-delay: 0.4s; background: var(--orange); }
@keyframes typingBounce { 0%,80%,100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-7px); opacity: 1; } }

/* Cursor */
#cursor-dot { position: fixed; top: 0; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); pointer-events: none; z-index: 99999; transform: translate(-50%, -50%); transition: width 0.2s ease, height 0.2s ease; will-change: transform; }
#cursor-ring { position: fixed; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(249,115,22,0.5); pointer-events: none; z-index: 99998; transform: translate(-50%, -50%); will-change: transform; mix-blend-mode: difference; }
#cursor-dot.hover { width: 10px; height: 10px; background: var(--orange-lg); }
#cursor-ring.hover { width: 56px; height: 56px; border-color: rgba(249,115,22,0.8); }
@media (pointer: coarse) { #cursor-dot, #cursor-ring { display: none; } }

/* Scroll indicator */
.scroll-indicator-line { width: 1px; height: 50px; background: linear-gradient(180deg, rgba(249,115,22,0.7), transparent); animation: lineGrow 2s ease infinite; }
@keyframes lineGrow { 0% { height: 0; opacity: 1; } 70% { height: 50px; opacity: 1; } 100% { height: 50px; opacity: 0; } }

/* Badge pill */
.badge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 100px; border: 1px solid rgba(249,115,22,0.3); background: rgba(249,115,22,0.08); color: var(--orange-lg); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; backdrop-filter: blur(10px); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: dotPulse 2s ease infinite; }

/* Value cards */
.value-card { transition: transform 0.3s ease; }
.value-card:hover { transform: translateY(-6px); }

/* Milestones */
.milestone { opacity: 0; transform: translateY(30px); }
.milestone.visible { opacity: 1; transform: translateY(0); transition: all 0.6s ease; }

/* Footer */
footer { background: var(--bg-2); border-top: 1px solid var(--border); color: var(--text-3); }

/* Page transition */
#page-transition { transition: opacity 0.4s ease; background: var(--bg); }

/* Contact info */
.contact-info-card { transition: transform 0.3s ease; }
.contact-info-card:hover { transform: translateX(5px); }

/* Aurora blobs */
.aurora-blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; animation: auroraMove 12s ease-in-out infinite; opacity: 0.7; }
.aurora-blob-blue   { background: radial-gradient(ellipse, rgba(30,58,138,0.2), transparent 70%); }
.aurora-blob-navy   { background: radial-gradient(ellipse, rgba(30,58,138,0.2), transparent 70%); }
.aurora-blob-orange { background: radial-gradient(ellipse, rgba(249,115,22,0.15), transparent 70%); }
/* Aliases — kept so existing markup still works */
.aurora-blob-purple { background: radial-gradient(ellipse, rgba(30,58,138,0.15), transparent 70%); }
.aurora-blob-cyan   { background: radial-gradient(ellipse, rgba(30,58,138,0.15), transparent 70%); }
.aurora-blob-amber  { background: radial-gradient(ellipse, rgba(249,115,22,0.12), transparent 70%); }
@keyframes auroraMove { 0%,100% { transform: translateX(0) translateY(0) scale(1); } 33% { transform: translateX(50px) translateY(-25px) scale(1.08); } 66% { transform: translateX(-30px) translateY(15px) scale(0.95); } }

/* Performance */
.glass-card, .service-card, .process-card, .stat-card, .team-card { will-change: transform; backface-visibility: hidden; }

/* Mobile */
@media (max-width: 768px) {
  .chatbot-panel { width: calc(100vw - 24px); right: -6px; }
  .glow-orb { filter: blur(60px); }
  .data-badge { display: none; }
  .hud-corner, .scanner-line { display: none; }
  .tech-grid { display: none; }
}

/* Contact Form Inputs */
.contact-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-sans);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  backdrop-filter: blur(10px);
}
.contact-input::placeholder { color: var(--text-3); }
.contact-input:focus {
  border-color: rgba(249,115,22,0.5);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
  background: rgba(249,115,22,0.03);
}
.contact-input option { background: var(--bg-2); color: var(--text); }

/* ══════════════════════════════════════════════════════════
   AI TECH ANIMATIONS
══════════════════════════════════════════════════════════ */

/* ── Tech Circuit Canvas ──────────────────────────────── */
#techCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
  opacity: 0.45;
}

/* ── Floating Code Snippets ───────────────────────────── */
.tech-code {
  position: absolute;
  font-family: 'Courier New', 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(249,115,22,0.5);
  pointer-events: none;
  white-space: nowrap;
  z-index: 6;
  animation: techCodeFloat 10s ease-in-out infinite;
  letter-spacing: 0.05em;
  user-select: none;
  text-shadow: 0 0 8px rgba(249,115,22,0.4);
}
.tech-code-navy {
  color: rgba(59,111,212,0.5);
  animation-name: techCodeFloatAlt;
  text-shadow: 0 0 8px rgba(59,111,212,0.3);
}
@keyframes techCodeFloat {
  0%,100% { transform: translateY(0) translateX(0); opacity: 0.35; }
  33%     { transform: translateY(-12px) translateX(4px); opacity: 0.55; }
  66%     { transform: translateY(6px) translateX(-3px); opacity: 0.28; }
}
@keyframes techCodeFloatAlt {
  0%,100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  40%     { transform: translateY(-16px) translateX(-5px); opacity: 0.5; }
  70%     { transform: translateY(8px) translateX(4px); opacity: 0.2; }
}

/* ── Binary Stream Columns ────────────────────────────── */
.binary-col {
  display: none; /* Matrix canvas handles this effect */
}
.binary-col-orange { display: none; }
@keyframes binaryFall {
  0%   { transform: translateY(-120px); opacity: 0; }
  8%   { opacity: 1; }
  90%  { opacity: 0.7; }
  100% { transform: translateY(110vh); opacity: 0; }
}

/* ── Parallax Layers ──────────────────────────────────── */
[data-parallax] { transition: transform 0.05s linear; will-change: transform; }

/* ── Circuit Node Indicators ──────────────────────────── */
.circuit-node {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 8px var(--glow-orange);
  animation: circuitPulse 3s ease-in-out infinite;
}
.circuit-node-navy {
  background: var(--navy-lg);
  box-shadow: 0 0 8px var(--glow-navy);
  animation-delay: -1.5s;
}
@keyframes circuitPulse {
  0%,100% { transform: scale(1); opacity: 0.7; }
  50%     { transform: scale(1.8); opacity: 1; }
}

/* ── Animated Section Divider ─────────────────────────── */
.section-divider {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange) 30%, var(--navy) 70%, transparent);
  opacity: 0.4;
  animation: dividerGlow 4s ease-in-out infinite;
}
@keyframes dividerGlow {
  0%,100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* ── Data Flow Lines (section bg) ─────────────────────── */
.data-flow-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.data-flow-line {
  position: absolute; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.4), transparent);
  animation: dataFlow 6s linear infinite;
  opacity: 0;
}
.data-flow-line-navy {
  background: linear-gradient(90deg, transparent, rgba(30,58,138,0.4), transparent);
  animation-duration: 8s;
}
@keyframes dataFlow {
  0%   { left: -100%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.8; }
  100% { left: 100%; opacity: 0; }
}

/* ── Hexagon Grid Pattern ─────────────────────────────── */
.hex-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.4;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='52' viewBox='0 0 60 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 17.3 L60 34.7 L30 52 L0 34.7 L0 17.3Z' fill='none' stroke='rgba(30,58,138,0.12)' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 60px 52px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
  animation: hexDrift 30s linear infinite;
}
@keyframes hexDrift { 0% { background-position: 0 0; } 100% { background-position: 60px 52px; } }

/* ── Scrolling Ticker ─────────────────────────────────── */
.ticker-wrap { overflow: hidden; white-space: nowrap; width: 100%; }
.ticker-track { display: inline-block; animation: tickerScroll 25s linear infinite; }
.ticker-item {
  display: inline-block; padding: 0 40px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
}
.ticker-item-orange { color: rgba(249,115,22,0.5); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Mobile: hide decorative elements to keep performance */
@media (max-width: 768px) {
  .tech-code, .binary-col, .circuit-node { display: none; }
  .hex-bg { display: none; }
  #techCanvas { opacity: 0.25; }
}
