/* ═══════════════════════════════════════════════════════════════
   MENTROID — LIQUID GLASS UI  |  Dark-only theme
   ═══════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #050508;
  color: #f0f0ff;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ── CSS Custom Properties ────────────────────────────────────── */
:root {
  --bg:            #050508;
  --bg2:           rgba(124, 58, 237, 0.04);
  --glass-bg:      rgba(255, 255, 255, 0.05);
  --glass-bg-hover:rgba(255, 255, 255, 0.09);
  --glass-border:  rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(255, 255, 255, 0.22);
  --glass-shadow:  inset 0 1px 0 rgba(255,255,255,0.10), 0 8px 32px rgba(0,0,0,0.4);
  --glass-shadow-hover: inset 0 1px 0 rgba(255,255,255,0.15), 0 0 40px rgba(124,58,237,0.3), 0 20px 60px rgba(0,0,0,0.5);

  --purple:        #7c3aed;
  --purple-light:  #a78bfa;
  --blue:          #2563eb;
  --blue-light:    #60a5fa;
  --cyan:          #06b6d4;

  --text:          #f0f0ff;
  --text-body:     rgba(255, 255, 255, 0.65);
  --muted:         rgba(255, 255, 255, 0.4);

  --grad:          linear-gradient(135deg, #a78bfa, #60a5fa);
  --grad-border:   linear-gradient(135deg, rgba(167,139,250,0.6), rgba(96,165,250,0.6));

  --radius:        16px;
  --radius-sm:     10px;
  --radius-lg:     24px;
  --transition:    0.25s ease;
  --transition-fast: 0.15s ease;
}

/* ── [data-theme="dark"] — no-op, base IS dark ────────────────── */
[data-theme="dark"] {
  --bg:            #050508;
  --bg2:           rgba(124, 58, 237, 0.04);
  --glass-bg:      rgba(255, 255, 255, 0.05);
  --glass-bg-hover:rgba(255, 255, 255, 0.09);
  --glass-border:  rgba(255, 255, 255, 0.12);
  --text:          #f0f0ff;
  --text-body:     rgba(255, 255, 255, 0.65);
  --muted:         rgba(255, 255, 255, 0.4);
}

/* ── Ambient Background Orbs ──────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, rgba(124,58,237,0.08) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: orbFloat1 18s ease-in-out infinite;
  filter: blur(2px);
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, rgba(6,182,212,0.12) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: orbFloat2 22s ease-in-out infinite;
  filter: blur(2px);
}

/* Extra orb class for HTML-injected orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
  animation: orbFloat1 20s ease-in-out infinite;
}

.orb-purple {
  background: radial-gradient(circle, rgba(124,58,237,0.3) 0%, transparent 70%);
}

.orb-blue {
  background: radial-gradient(circle, rgba(37,99,235,0.28) 0%, transparent 70%);
}

.orb-cyan {
  background: radial-gradient(circle, rgba(6,182,212,0.25) 0%, transparent 70%);
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -60px) scale(1.05); }
  66%       { transform: translate(-30px, 40px) scale(0.97); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-50px, 50px) scale(1.04); }
  70%       { transform: translate(30px, -30px) scale(0.98); }
}

/* ── Page content layer ───────────────────────────────────────── */
nav, section, footer, .chat-fab, .nav-drawer {
  position: relative;
  z-index: 1;
}

/* ── Typography helpers ───────────────────────────────────────── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a12; }
::-webkit-scrollbar-thumb {
  background: rgba(124,58,237,0.5);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,0.8); }

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: rgba(5, 5, 8, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  perspective: 900px;
  -webkit-perspective: 900px;
}

.nav-logo-scene {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.nav-logo-tilt {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  animation: navLogoIdle 8s ease-in-out infinite;
}

.nav-logo-glow {
  position: absolute;
  inset: -6px;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 45%, rgba(34, 211, 238, 0.7), transparent 58%),
    radial-gradient(circle at 70% 50%, rgba(249, 115, 22, 0.55), transparent 58%);
  filter: blur(14px);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.nav-logo-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-logo-shine::after {
  content: '';
  position: absolute;
  top: -15%;
  left: -130%;
  width: 50%;
  height: 130%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 40%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.15) 60%,
    transparent 100%
  );
  transform: skewX(-18deg);
}

.nav-logo-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  transform: translateZ(10px);
}

.nav-logo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  background: transparent;
  transition: transform 0.45s ease;
}

/* Glow + 3D boost on hover only */
.nav-logo:hover .nav-logo-glow {
  opacity: 0.95;
  transform: scale(1.08);
}

.nav-logo:hover .nav-logo-shine {
  opacity: 1;
}

.nav-logo:hover .nav-logo-shine::after {
  animation: navLogoShine 1.2s ease-in-out;
}

.nav-logo:hover .nav-logo-video {
  transform: scale(1.06);
}

@keyframes navLogoIdle {
  0%, 100% {
    transform: rotateX(0deg) rotateY(0deg) translateZ(0);
  }
  50% {
    transform: rotateX(4deg) rotateY(-6deg) translateZ(3px);
  }
}

@keyframes navLogoShine {
  0% {
    left: -130%;
  }
  100% {
    left: 130%;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

/* Animated underline indicator */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: transform 0.25s ease;
  transform-origin: center;
}

/* ── Dark theme hover ── */
.nav-links a:hover {
  color: #fff;
  background: rgba(124, 58, 237, 0.18);
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.3), 0 0 12px rgba(124, 58, 237, 0.2);
}

.nav-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ── Active (current section) ── */
.nav-links a.nav-active {
  color: #fff;
  background: rgba(124, 58, 237, 0.22);
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.4), 0 0 16px rgba(124, 58, 237, 0.25);
}

.nav-links a.nav-active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-links a.nav-cta {
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: var(--purple-light);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  transition: all var(--transition);
}

.nav-links a.nav-cta:hover {
  background: rgba(124, 58, 237, 0.35);
  border-color: rgba(167, 139, 250, 0.6);
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(37, 99, 235, 0.95));
  border: 1px solid rgba(167, 139, 250, 0.45);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-join:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 1), rgba(37, 99, 235, 1));
  border-color: rgba(167, 139, 250, 0.7);
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.55), 0 6px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
  color: #fff;
}

.nav-join--drawer {
  display: none;
  margin-top: 0.75rem;
  text-align: center;
  width: 100%;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav-drawer a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-drawer a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav-drawer a.nav-cta {
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: var(--purple-light);
  text-align: center;
  margin-top: 0.5rem;
  border-radius: 999px;
}

.nav-drawer a.nav-cta:hover {
  background: rgba(124, 58, 237, 0.35);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  isolation: isolate;
}

/* Brain + M logo behind hero copy */
.hero-logo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(800px, 92vw);
  z-index: -1;
  pointer-events: none;
  filter:
    drop-shadow(0 0 14px rgba(34, 211, 238, 0.07))
    drop-shadow(0 0 16px rgba(249, 115, 22, 0.05));
  overflow: visible;
}

.hero-logo-stack {
  position: relative;
  width: 100%;
}

.hero-logo-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  opacity: 0.32;
  filter:
    drop-shadow(0 0 3px rgba(34, 211, 238, 0.28))
    drop-shadow(0 0 8px rgba(34, 211, 238, 0.12))
    drop-shadow(0 0 3px rgba(249, 115, 22, 0.24))
    drop-shadow(0 0 8px rgba(249, 115, 22, 0.1));
}

.hero-logo-bloom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  object-fit: contain;
  opacity: 0.16;
  mix-blend-mode: screen;
  filter: blur(2px) brightness(1.35) saturate(1.15);
}

.hero-logo-glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: url('assets/mentroid-hero-logo.png');
  mask-image: url('assets/mentroid-hero-logo.png');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Constant cyan / orange glow on all circuit lines */
.hero-logo-glow--lines {
  opacity: 0.22;
  background: linear-gradient(
    90deg,
    rgba(34, 211, 238, 0.4) 0%,
    rgba(56, 189, 248, 0.32) 44%,
    rgba(167, 139, 250, 0.14) 49%,
    rgba(167, 139, 250, 0.14) 51%,
    rgba(251, 146, 60, 0.32) 56%,
    rgba(249, 115, 22, 0.4) 100%
  );
  animation: logoLineBreath 3.5s ease-in-out infinite;
}

/* Traveling highlights along circuit paths */
.hero-logo-glow--cyan {
  opacity: 0.2;
  background: linear-gradient(
    125deg,
    transparent 30%,
    rgba(34, 211, 238, 0.2) 40%,
    rgba(125, 211, 252, 0.55) 48%,
    rgba(34, 211, 238, 0.5) 52%,
    transparent 62%
  );
  background-size: 280% 280%;
  animation: logoGlowCyan 5.5s ease-in-out infinite;
}

.hero-logo-glow--orange {
  opacity: 0.18;
  background: linear-gradient(
    -55deg,
    transparent 26%,
    rgba(251, 191, 36, 0.22) 38%,
    rgba(255, 180, 80, 0.5) 48%,
    rgba(249, 115, 22, 0.48) 52%,
    transparent 64%
  );
  background-size: 260% 260%;
  animation: logoGlowOrange 7s ease-in-out infinite;
  animation-delay: -2s;
}

@keyframes logoLineBreath {
  0%, 100% { opacity: 0.18; filter: brightness(1); }
  50%      { opacity: 0.28; filter: brightness(1.06); }
}

@keyframes logoGlowCyan {
  0%   { background-position: 110% 15%; }
  50%  { background-position: -10% 85%; }
  100% { background-position: 110% 15%; }
}

@keyframes logoGlowOrange {
  0%   { background-position: -15% 80%; }
  50%  { background-position: 105% 20%; }
  100% { background-position: -15% 80%; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: var(--purple-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
  animation: badgeGlow 3s ease-in-out infinite;
}

.hero-badge span {
  width: 7px;
  height: 7px;
  background: var(--purple-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--purple-light);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(124,58,237,0.2); }
  50%       { box-shadow: 0 0 24px rgba(124,58,237,0.45); }
}

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

#hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

#hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, rgba(124,58,237,0.9), rgba(37,99,235,0.9));
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 24px rgba(124,58,237,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(124,58,237,1), rgba(37,99,235,1));
  box-shadow: 0 0 40px rgba(124,58,237,0.55), 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--purple-light);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 250, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(167, 139, 250, 0.6);
  color: #fff;
  box-shadow: 0 0 24px rgba(124,58,237,0.25), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS — shared layout
   ═══════════════════════════════════════════════════════════════ */
.section {
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.section[style*="background: var(--bg2)"],
.section[style*="background:var(--bg2)"] {
  background: rgba(124, 58, 237, 0.04) !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-body);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* Category labels */
.cat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2.5rem 0 1rem;
  padding: 0.35rem 0.9rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 999px;
  display: inline-block;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICE FILTERS
   ═══════════════════════════════════════════════════════════════ */
.svc-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.svc-filter {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.svc-filter:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--glass-border-hover);
}

.svc-filter.active {
  background: rgba(124, 58, 237, 0.25);
  border-color: rgba(124, 58, 237, 0.5);
  color: var(--purple-light);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.25);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICE GRID & CARDS
   ═══════════════════════════════════════════════════════════════ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.svc-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.svc-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}

.svc-card:hover::before {
  opacity: 1;
}

.svc-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.svc-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* Service badge */
.svc-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  align-self: flex-start;
  animation: badgeShimmer 4s ease-in-out infinite;
}

@keyframes badgeShimmer {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.75; }
}

.b-ai    { background: rgba(124,58,237,0.2);  border: 1px solid rgba(124,58,237,0.4);  color: #c4b5fd; }
.b-dev   { background: rgba(37,99,235,0.2);   border: 1px solid rgba(37,99,235,0.4);   color: #93c5fd; }
.b-iot   { background: rgba(6,182,212,0.2);   border: 1px solid rgba(6,182,212,0.4);   color: #67e8f9; }
.b-media { background: rgba(236,72,153,0.2);  border: 1px solid rgba(236,72,153,0.4);  color: #f9a8d4; }

/* Service icon */
.svc-icon {
  font-size: 2rem;
  line-height: 1;
}

/* Service features list */
.svc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.svc-features li {
  font-size: 0.85rem;
  color: var(--text-body);
  padding-left: 1.2rem;
  position: relative;
}

.svc-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--purple-light);
  font-size: 0.6rem;
  top: 0.2rem;
}

/* ═══════════════════════════════════════════════════════════════
   PROJECTS — continuous slider + parallax
   ═══════════════════════════════════════════════════════════════ */
.projects-section {
  overflow: hidden;
}

.projects-container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.projects-header {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
  will-change: transform;
}

.projects-header .section-title,
.projects-header .section-sub {
  will-change: transform;
}

.projects-slider-wrap {
  width: 100%;
  margin-top: 0.5rem;
  will-change: transform;
}

.projects-slider {
  overflow: hidden;
  width: 100%;
  padding: 1rem 0 2rem;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.projects-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: projectsSlide 42s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.projects-slider:hover .projects-track {
  animation-play-state: paused;
}

@keyframes projectsSlide {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.projects-track .project-card {
  flex: 0 0 min(320px, 85vw);
  max-width: 320px;
  min-height: 100%;
  transform: translateY(var(--parallax-y, 0px)) translateZ(0);
  backface-visibility: hidden;
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.projects-track .project-card:nth-child(odd) {
  margin-top: 0.75rem;
}

.projects-track .project-card:nth-child(even) {
  margin-top: -0.5rem;
}

.projects-track .project-card:hover {
  transform: translateY(calc(var(--parallax-y, 0px) - 8px)) translateZ(0);
}

/* Temporarily disable transitions during scroll for butter-smooth render performance */
.projects-section.is-scrolling .project-card {
  transition: none !important;
}

.projects-parallax-bg {
  will-change: transform;
}

/* Service CTA link */
.svc-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-light);
  text-decoration: none;
  margin-top: auto;
  transition: color var(--transition), gap var(--transition);
  gap: 0.25rem;
}

.svc-cta:hover {
  color: #fff;
  gap: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS STEPS (used in About, Why Us, Process, FAQ)
   ═══════════════════════════════════════════════════════════════ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.step-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}

.step-card:hover::before {
  opacity: 1;
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.price-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-border);
  opacity: 0;
  transition: opacity var(--transition);
}

.price-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-6px);
}

.price-card:hover::before {
  opacity: 1;
}

.price-card.featured {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(124, 58, 237, 0.08);
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.25), inset 0 1px 0 rgba(255,255,255,0.12);
}

.price-card.featured::before {
  opacity: 1;
}

.price-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.5rem 0;
}

.price-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
}

.price-btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  margin-top: 0.5rem;
}

.price-btn.outline {
  color: var(--purple-light);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 250, 0.35);
  backdrop-filter: blur(8px);
}

.price-btn.outline:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(167, 139, 250, 0.6);
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.price-btn.fill {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 20px rgba(124,58,237,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.25s ease,
              border-color 0.25s ease;
}

/* Shimmer sweep */
.price-btn.fill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255,255,255,0.28) 50%,
    transparent 80%
  );
  transform: translateX(-100%);
  transition: transform 0.55s ease;
  z-index: 1;
  pointer-events: none;
}

/* Pulsing glow ring */
.price-btn.fill::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(167,139,250,0.7), rgba(96,165,250,0.5));
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
}

.price-btn.fill:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(167,139,250,0.5),
    0 0 24px rgba(124,58,237,0.55),
    0 0 48px rgba(124,58,237,0.25),
    0 8px 24px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
  border-color: rgba(167,139,250,0.7);
}

/* Fire the shimmer on hover */
.price-btn.fill:hover::before {
  transform: translateX(100%);
}

/* Show glow ring on hover */
.price-btn.fill:hover::after {
  opacity: 1;
  animation: btn-ring-pulse 1.2s ease-in-out infinite;
}

@keyframes btn-ring-pulse {
  0%, 100% { filter: blur(8px);  opacity: 0.7; transform: scale(1);    }
  50%       { filter: blur(12px); opacity: 1;   transform: scale(1.04); }
}

/* Press down */
.price-btn.fill:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 0 16px rgba(124,58,237,0.4), inset 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

/* Ripple on click — injected via JS */
.price-btn.fill .btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: btn-ripple 0.55s ease-out forwards;
  pointer-events: none;
  z-index: 2;
}

@keyframes btn-ripple {
  to { transform: scale(4); opacity: 0; }
}


/* ── Pricing card extras ── */
.price-badge {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: var(--purple-light);
  align-self: center;
}

.price-badge.popular {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.price-badge.premium {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}

.price-badge.high-ticket {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.price-target {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: -0.25rem 0 0;
}

.price-goal {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  text-align: center;
}

.price-sep {
  font-size: 1.4rem;
  font-weight: 400;
  opacity: 0.6;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
  flex: 1;
}

.price-features li {
  font-size: 0.85rem;
  color: var(--text-body);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--purple-light);
  font-weight: 700;
  font-size: 0.8rem;
}

.price-best,
.price-bonus {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-body);
  text-align: left;
}

.best-label,
.bonus-label {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-bonus .bonus-label {
  color: #f87171;
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.review-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-4px);
}

.review-card:hover::before {
  opacity: 1;
}

.review-stars {
  font-size: 1rem;
  line-height: 1;
  color: #fbbf24;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}

.review-author {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.review-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════════════ */
#team {
  position: relative;
  z-index: 1;
}

.team-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.member-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  width: 200px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.member-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-5px);
}

.member-card:hover::before {
  opacity: 1;
}

.member-card.leader {
  width: 220px;
  border-color: rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.07);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}

.member-card.leader:hover {
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.35), 0 20px 60px rgba(0,0,0,0.5);
}

/* Avatar */
.avatar-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 0.5rem;
}

.member-card.leader .avatar-wrap {
  width: 100px;
  height: 100px;
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3), 0 0 0 4px rgba(124, 58, 237, 0.1);
  transition: all var(--transition);
  display: block;
}

.member-card:hover .avatar-wrap img {
  border-color: rgba(167, 139, 250, 0.7);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.5), 0 0 0 4px rgba(124, 58, 237, 0.2);
}

.avatar-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 26px;
  height: 26px;
  background: rgba(5, 5, 8, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  backdrop-filter: blur(8px);
}

.member-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.member-role {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.member-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.25rem;
}

.member-links a {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

.member-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--glass-border-hover);
}

.member-links a.portfolio {
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.3);
}

.member-links a.portfolio:hover {
  background: rgba(124, 58, 237, 0.25);
  border-color: rgba(124, 58, 237, 0.55);
  color: #fff;
}

/* Team Stats */
.team-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
  padding: 0.5rem 1.5rem;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
#contact {
  position: relative;
  z-index: 1;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-inner h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  font-family: inherit;
  transition: all var(--transition);
  outline: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(124, 58, 237, 0.6);
  background: rgba(124, 58, 237, 0.06);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15), inset 0 1px 0 rgba(255,255,255,0.08);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit {
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, rgba(124,58,237,0.9), rgba(37,99,235,0.9));
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 24px rgba(124,58,237,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  align-self: flex-start;
}

.form-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(124,58,237,1), rgba(37,99,235,1));
  box-shadow: 0 0 40px rgba(124,58,237,0.5), 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-group input:disabled,
.form-group textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.form-status--success {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.form-status--error {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.form-status--info {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
/* footer {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a,
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-body);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul li a:hover,
.footer-col a:hover {
  color: var(--purple-light);
}

.footer-col p {
  font-size: 0.875rem;
  color: var(--text-body);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
} */

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 1400px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1400px) {
  .container {
    max-width: 1100px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 1024px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-join--drawer {
    display: inline-flex;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
}

  .svc-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .projects-track .project-card {
    flex: 0 0 min(300px, 88vw);
  }

  .projects-track {
    animation-duration: 36s;
  }

  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .section {
    padding: 4rem 1.25rem;
  }

  #hero {
    padding: 7rem 1.25rem 4rem;
  }

  #hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }

  .hero-logo-bg {
    width: min(580px, 90vw);
    transform: translate(-50%, -44%);
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .process-steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .team-row {
    gap: 1rem;
  }

  .member-card {
    width: 160px;
    padding: 1.5rem 1rem;
  }

  .member-card.leader {
    width: 180px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .team-stats {
    gap: 1rem;
  }

  .stat {
    padding: 0.5rem 1rem;
  }

  .contact-inner {
    padding: 2rem 1.25rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 600px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  nav {
    padding: 0 1rem;
    height: 58px;
  }

  .nav-drawer {
    top: 58px;
  }

  .section {
    padding: 3.5rem 1rem;
  }

  #hero {
    padding: 6.5rem 1rem 3.5rem;
  }

  .svc-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .svc-filters {
    gap: 0.4rem;
  }

  .svc-filter {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
  }

  .member-card {
    width: 145px;
    padding: 1.25rem 0.75rem;
  }

  .member-card.leader {
    width: 160px;
  }

  .avatar-wrap {
    width: 75px;
    height: 75px;
  }

  .member-card.leader .avatar-wrap {
    width: 85px;
    height: 85px;
  }

  .team-stats {
    gap: 0.75rem;
  }

  .stat-num {
    font-size: 1.8rem;
  }

  .footer-inner {
    padding: 2.5rem 1rem 1rem;
  }

  .footer-bottom {
    padding: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 480px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }

  .section-sub {
    font-size: 0.95rem;
  }

  #hero h1 {
    font-size: 1.75rem;
  }

  .hero-logo-bg {
    width: min(420px, 92vw);
    transform: translate(-50%, -40%);
  }

  #hero p {
    font-size: 0.95rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
  }

  .svc-card {
    padding: 1.5rem 1.25rem;
  }

  .step-card {
    padding: 1.5rem 1.25rem;
  }

  .price-card {
    padding: 2rem 1.5rem;
  }

  .price-amount {
    font-size: 2rem;
  }

  .contact-inner {
    padding: 1.75rem 1rem;
    border-radius: var(--radius);
  }

  .form-submit {
    width: 100%;
    text-align: center;
  }

  .team-row {
    gap: 0.75rem;
  }

  .member-card {
    width: 130px;
    padding: 1rem 0.6rem;
  }

  .member-card.leader {
    width: 145px;
  }

  .member-name {
    font-size: 0.85rem;
  }

  .member-role {
    font-size: 0.72rem;
  }

  .member-links a {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  .chat-fab {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    bottom: 1rem;
    right: 1rem;
  }

  .nav-join {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 360px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  nav {
    padding: 0 0.75rem;
  }

  .nav-logo-scene {
    width: 44px;
    height: 44px;
  }

  .section {
    padding: 3rem 0.75rem;
  }

  #hero {
    padding: 6rem 0.75rem 3rem;
  }

  #hero h1 {
    font-size: 1.55rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .svc-card,
  .step-card,
  .review-card {
    padding: 1.25rem 1rem;
  }

  .member-card {
    width: 120px;
    padding: 0.9rem 0.5rem;
  }

  .member-card.leader {
    width: 135px;
  }

  .avatar-wrap {
    width: 65px;
    height: 65px;
  }

  .member-card.leader .avatar-wrap {
    width: 75px;
    height: 75px;
  }

  .team-stats {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .stat {
    padding: 0.4rem 0.75rem;
  }

  .footer-inner {
    padding: 2rem 0.75rem 1rem;
  }

  .contact-inner {
    padding: 1.5rem 0.75rem;
  }

  .pricing-grid {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY — selection, focus-visible
   ═══════════════════════════════════════════════════════════════ */
::selection {
  background: rgba(124, 58, 237, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid rgba(167, 139, 250, 0.7);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Smooth page load */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CHAT FAB — Mentroid AI Icon
   ═══════════════════════════════════════════════════════════════ */
.chat-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  left: auto;
  transform: none;
  z-index: 9999;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.75), rgba(37,99,235,0.75));
  border: 1.5px solid rgba(167,139,250,0.5);
  box-shadow:
    0 0 0 0 rgba(124,58,237,0.5),
    0 0 32px rgba(124,58,237,0.4),
    inset 0 1px 0 rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  animation: fabPulse 3s ease-in-out infinite;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0.5), 0 0 32px rgba(124,58,237,0.4), inset 0 1px 0 rgba(255,255,255,0.15); }
  50%       { box-shadow: 0 0 0 8px rgba(124,58,237,0), 0 0 44px rgba(124,58,237,0.55), inset 0 1px 0 rgba(255,255,255,0.2); }
}

.chat-fab:hover {
  transform: scale(1.12) translateY(-3px);
  background: linear-gradient(135deg, rgba(124,58,237,0.95), rgba(37,99,235,0.95));
  border-color: rgba(167,139,250,0.8);
  box-shadow:
    0 0 0 6px rgba(124,58,237,0.15),
    0 0 48px rgba(124,58,237,0.65),
    inset 0 1px 0 rgba(255,255,255,0.25);
  animation: none;
}

.chat-fab:active {
  transform: scale(0.97);
}

.chat-fab-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(167,139,250,0.6));
  transition: filter 0.3s ease;
}

.chat-fab:hover .chat-fab-icon {
  filter: drop-shadow(0 0 10px rgba(167,139,250,0.9));
}

/* Online indicator dot on FAB */
.chat-fab-online {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 11px;
  height: 11px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid rgba(5,5,8,0.9);
  box-shadow: 0 0 8px rgba(34,197,94,0.7);
  animation: onlinePulse 2.5s ease-in-out infinite;
}

@keyframes onlinePulse {
  0%, 100% { box-shadow: 0 0 4px rgba(34,197,94,0.6); }
  50%       { box-shadow: 0 0 12px rgba(34,197,94,0.9); }
}

/* ═══════════════════════════════════════════════════════════════
   CHATBOT WINDOW — Liquid Glass
   ═══════════════════════════════════════════════════════════════ */
.cb-window {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  left: auto;
  transform: translateY(20px) scale(0.96);
  z-index: 9998;
  width: 400px;
  max-height: 580px;
  display: flex;
  flex-direction: column;
  background: rgba(8, 8, 16, 0.75);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 0 60px rgba(124,58,237,0.2),
    0 32px 80px rgba(0,0,0,0.6);
  overflow: hidden;
  /* Hidden by default */
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cb-window.cb-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* ── Header ── */
.cb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(37,99,235,0.15));
  border-bottom: 1px solid rgba(167,139,250,0.15);
  flex-shrink: 0;
}

.cb-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cb-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(37,99,235,0.4));
  border: 1.5px solid rgba(167,139,250,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(124,58,237,0.35);
  overflow: hidden;
}

.cb-avatar svg {
  width: 30px;
  height: 30px;
}

.cb-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f0f0ff;
  letter-spacing: 0.01em;
}

.cb-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-top: 1px;
}

.cb-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(34,197,94,0.8);
  animation: onlinePulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.cb-close {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cb-close:hover {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.4);
  color: #fca5a5;
}

/* ── Messages area ── */
.cb-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-behavior: smooth;
}

.cb-messages::-webkit-scrollbar { width: 4px; }
.cb-messages::-webkit-scrollbar-track { background: transparent; }
.cb-messages::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.4); border-radius: 2px; }

/* ── Message bubbles ── */
.cb-msg {
  display: flex;
  max-width: 88%;
  animation: msgSlideIn 0.25s ease;
}

@keyframes msgSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cb-bot {
  align-self: flex-start;
}

.cb-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.cb-bubble {
  padding: 0.65rem 1rem;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.55;
  word-break: break-word;
}

.cb-bot .cb-bubble {
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  color: rgba(255,255,255,0.9);
  border-bottom-left-radius: 4px;
}

.cb-user .cb-bubble {
  background: linear-gradient(135deg, rgba(124,58,237,0.5), rgba(37,99,235,0.5));
  border: 1px solid rgba(167,139,250,0.3);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.cb-bubble a {
  color: #a78bfa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cb-bubble a:hover {
  color: #c4b5fd;
}

/* ── Typing indicator ── */
.cb-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.75rem 1rem;
  min-width: 60px;
}

.cb-typing span {
  width: 7px;
  height: 7px;
  background: rgba(167,139,250,0.7);
  border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}

.cb-typing span:nth-child(2) { animation-delay: 0.2s; }
.cb-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30%            { transform: translateY(-6px); opacity: 1; }
}

/* ── Quick replies ── */
.cb-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 0.75rem;
  flex-shrink: 0;
}

.cb-qr {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}

.cb-qr:hover {
  background: rgba(124,58,237,0.25);
  border-color: rgba(167,139,250,0.55);
  color: #fff;
  box-shadow: 0 0 12px rgba(124,58,237,0.3);
}

/* ── Input row ── */
.cb-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  flex-shrink: 0;
}

#cbInput {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  color: #f0f0ff;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

#cbInput::placeholder {
  color: rgba(255,255,255,0.3);
}

#cbInput:focus {
  border-color: rgba(124,58,237,0.6);
  background: rgba(124,58,237,0.08);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

#cbSend {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.8), rgba(37,99,235,0.8));
  border: 1px solid rgba(167,139,250,0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(124,58,237,0.3);
}

#cbSend:hover {
  background: linear-gradient(135deg, rgba(124,58,237,1), rgba(37,99,235,1));
  box-shadow: 0 0 20px rgba(124,58,237,0.55);
  transform: scale(1.08);
}

/* ── Mobile chatbot ── */
@media (max-width: 480px) {
  .cb-window {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    transform: translateY(20px) scale(0.96);
    bottom: 5rem;
    max-height: 70vh;
    border-radius: 20px;
  }

  .cb-window.cb-open {
    transform: translateY(0) scale(1);
  }

  .chat-fab {
    bottom: 1.25rem;
    right: 1.25rem;
    left: auto;
    transform: none;
    width: 56px;
    height: 56px;
  }

  .chat-fab:hover {
    transform: scale(1.1) translateY(-2px);
  }

  .chat-fab-icon {
    width: 30px;
    height: 30px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   VOICE ASSISTANT — Liquid Glass
   ═══════════════════════════════════════════════════════════════ */
.va-wrapper{
    position: fixed;
    bottom: 1.75rem;
    left: 1.75rem;

    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;

    width: fit-content;
    height: fit-content;

    pointer-events: none;

    z-index: 9998;
}

.va-bar,
.va-popup{
    pointer-events: auto;
}

/* ── Voice bar ── */
.va-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(8, 8, 16, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 32px rgba(124,58,237,0.2),
    0 8px 32px rgba(0,0,0,0.5);
}

/* ── Language selector ── */
.va-lang-wrap {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.va-lang-label {
  font-size: 0.9rem;
  opacity: 0.7;
}

.va-lang-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  font-family: inherit;
  padding: 0.25rem 0.6rem;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.va-lang-select:focus,
.va-lang-select:hover {
  border-color: rgba(124,58,237,0.5);
  background: rgba(124,58,237,0.1);
  color: #fff;
}

.va-lang-select option {
  background: #0f0f18;
  color: #f0f0ff;
}

/* ── Main mic button ── */
.va-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.va-btn-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.va-btn[aria-pressed="true"] .va-btn-label {
  color: #a78bfa;
}

/* ── Orb ── */
.va-orb {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.va-idle {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.va-listening {
  background: linear-gradient(135deg, rgba(124,58,237,0.5), rgba(37,99,235,0.5));
  border: 1.5px solid rgba(167,139,250,0.6);
  box-shadow:
    0 0 0 0 rgba(124,58,237,0.6),
    0 0 24px rgba(124,58,237,0.5);
  animation: orbListen 1.5s ease-in-out infinite;
}

.va-speaking {
  background: linear-gradient(135deg, rgba(6,182,212,0.5), rgba(37,99,235,0.5));
  border: 1.5px solid rgba(96,165,250,0.6);
  box-shadow:
    0 0 0 0 rgba(6,182,212,0.6),
    0 0 24px rgba(6,182,212,0.5);
  animation: orbSpeak 0.8s ease-in-out infinite;
}

@keyframes orbListen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0.6), 0 0 24px rgba(124,58,237,0.5); }
  50%       { box-shadow: 0 0 0 10px rgba(124,58,237,0), 0 0 36px rgba(124,58,237,0.7); }
}

@keyframes orbSpeak {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6,182,212,0.6), 0 0 24px rgba(6,182,212,0.5); transform: scale(1); }
  50%       { box-shadow: 0 0 0 8px rgba(6,182,212,0), 0 0 32px rgba(6,182,212,0.7); transform: scale(1.05); }
}

.va-mic-icon {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
  transition: color 0.2s ease;
}

.va-listening .va-mic-icon,
.va-speaking .va-mic-icon {
  color: #fff;
}

/* Rings animation */
.va-rings {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.va-rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(167,139,250,0.4);
  opacity: 0;
}

.va-listening .va-rings span:nth-child(1) { animation: ringExpand 1.5s ease-out 0s infinite; }
.va-listening .va-rings span:nth-child(2) { animation: ringExpand 1.5s ease-out 0.4s infinite; }
.va-listening .va-rings span:nth-child(3) { animation: ringExpand 1.5s ease-out 0.8s infinite; }

.va-speaking .va-rings span:nth-child(1) { animation: ringExpand 0.9s ease-out 0s infinite; border-color: rgba(96,165,250,0.4); }
.va-speaking .va-rings span:nth-child(2) { animation: ringExpand 0.9s ease-out 0.25s infinite; border-color: rgba(96,165,250,0.4); }
.va-speaking .va-rings span:nth-child(3) { animation: ringExpand 0.9s ease-out 0.5s infinite; border-color: rgba(96,165,250,0.4); }

@keyframes ringExpand {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ── History button ── */
.va-history-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.va-history-btn:hover {
  background: rgba(124,58,237,0.2);
  border-color: rgba(124,58,237,0.4);
  color: #a78bfa;
  box-shadow: 0 0 12px rgba(124,58,237,0.3);
}

/* ── Popup log ── */
.va-popup {
  width: 320px;
  max-height: 380px;
  background: rgba(8, 8, 16, 0.82);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 0 48px rgba(124,58,237,0.18),
    0 24px 64px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform-origin: bottom left;
}

.va-popup.va-popup-show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.va-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(37,99,235,0.1));
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}

.va-popup-actions {
  display: flex;
  gap: 0.4rem;
}

.va-clear-btn,
.va-popup-close {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.va-clear-btn:hover {
  background: rgba(251,191,36,0.15);
  border-color: rgba(251,191,36,0.3);
  color: #fbbf24;
}

.va-popup-close:hover {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.3);
  color: #fca5a5;
}

.va-log {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.va-log::-webkit-scrollbar { width: 3px; }
.va-log::-webkit-scrollbar-track { background: transparent; }
.va-log::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.4); border-radius: 2px; }

.va-entry {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  animation: msgSlideIn 0.2s ease;
}

.va-entry-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

.va-entry-msg {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
}

.va-entry-user .va-entry-msg {
  background: rgba(124,58,237,0.18);
  border: 1px solid rgba(124,58,237,0.25);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.va-entry-assistant .va-entry-msg {
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.22);
  border-bottom-left-radius: 3px;
}

.va-entry-system .va-entry-msg {
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.2);
  color: #fde68a;
  font-size: 0.78rem;
}

/* ── Mobile voice assistant ── */
@media (max-width: 480px) {
  .va-wrapper {
    bottom: 1.25rem;
    left: 1.25rem;
    transform: none;
  }

  .va-popup {
    width: calc(100vw - 2.5rem);
    max-height: 300px;
  }

  .va-bar {
    padding: 0.4rem 0.6rem;
    gap: 0.4rem;
  }

  .va-orb {
    width: 42px;
    height: 42px;
  }

  .va-lang-select {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

}

/* ── Real-Time Speech Bubble & Field Highlight ── */
.va-speech-bubble {
  pointer-events: auto;
  max-width: 280px;
  background: rgba(15, 15, 27, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 16px;
  padding: 0.6rem 0.9rem;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.4;
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(124, 58, 237, 0.15);
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 0.5rem;
  display: none;
}
.va-speech-bubble.va-speech-bubble-show {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.va-bubble-user {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(124, 58, 237, 0.25);
  background: rgba(124, 58, 237, 0.15);
}
.va-bubble-ai {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(6, 182, 212, 0.25);
  background: rgba(6, 182, 212, 0.12);
}
.va-field-highlight {
  border-color: #a78bfa !important;
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.6) !important;
  outline: none;
  transform: scale(1.015);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════════════════════════
   LIGHT THEME — Liquid Glass (teal-cyan palette, bright)
   ═══════════════════════════════════════════════════════════════ */
[data-theme="light"] {
  --bg:              #d6f8f5;
  --bg2:             rgba(57, 189, 237, 0.06);
  --glass-bg:        rgba(255, 255, 255, 0.45);
  --glass-bg-hover:  rgba(255, 255, 255, 0.65);
  --glass-border:    rgba(38, 151, 237, 0.22);
  --glass-border-hover: rgba(38, 151, 237, 0.45);
  --glass-shadow:    inset 0 1px 0 rgba(255,255,255,0.85), 0 4px 24px rgba(57,189,237,0.12), 0 1px 4px rgba(0,0,0,0.06);
  --glass-shadow-hover: inset 0 1px 0 rgba(255,255,255,0.9), 0 0 32px rgba(57,189,237,0.25), 0 12px 40px rgba(0,0,0,0.1);

  --purple:          #0e7fc2;
  --purple-light:    #0891b2;
  --blue:            #2697ed;
  --blue-light:      #39bded;
  --cyan:            #6bede0;

  --text:            #062a35;
  --text-body:       rgba(6, 42, 53, 0.75);
  --muted:           rgba(6, 42, 53, 0.50);

  --grad:            linear-gradient(135deg, #0891b2, #2697ed);
  --grad-border:     linear-gradient(135deg, rgba(8,145,178,0.6), rgba(38,151,237,0.6));
}

/* ── Body background in light mode ── */
[data-theme="light"] body {
  background-color: #d6f8f5;
  color: #062a35;
}

/* ── Ambient orbs in light mode — bright teal/cyan ── */
[data-theme="light"] body::before {
  background: radial-gradient(circle, rgba(107,237,224,0.55) 0%, rgba(57,189,237,0.18) 50%, transparent 70%);
}

[data-theme="light"] body::after {
  background: radial-gradient(circle, rgba(38,151,237,0.40) 0%, rgba(107,237,224,0.15) 45%, transparent 70%);
}

/* ── Mid-page injected orb ── */
[data-theme="light"] .orb-cyan {
  background: radial-gradient(circle, rgba(57,189,237,0.35) 0%, transparent 70%);
}

/* ── Navbar ── */
[data-theme="light"] nav {
  background: rgba(214, 248, 245, 0.72);
  border-bottom-color: rgba(38, 151, 237, 0.18);
  box-shadow: 0 4px 24px rgba(57,189,237,0.12);
}

[data-theme="light"] .nav-links a {
  color: rgba(6, 42, 53, 0.70);
}

/* ── Light theme hover ── */
[data-theme="light"] .nav-links a:hover {
  color: #062a35;
  background: rgba(38, 151, 237, 0.14);
  box-shadow: inset 0 0 0 1px rgba(38, 151, 237, 0.30), 0 0 12px rgba(57, 189, 237, 0.15);
}

[data-theme="light"] .nav-links a::after {
  background: linear-gradient(135deg, #0891b2, #2697ed);
}

/* ── Light theme active ── */
[data-theme="light"] .nav-links a.nav-active {
  color: #062a35;
  background: rgba(38, 151, 237, 0.18);
  box-shadow: inset 0 0 0 1px rgba(38, 151, 237, 0.38), 0 0 14px rgba(57, 189, 237, 0.18);
}

[data-theme="light"] .nav-links a.nav-cta {
  background: rgba(38, 151, 237, 0.15);
  border-color: rgba(38, 151, 237, 0.32);
  color: #0891b2;
}

[data-theme="light"] .nav-links a.nav-cta:hover {
  background: rgba(38, 151, 237, 0.28);
  color: #062a35;
}

[data-theme="light"] .nav-logo:hover .nav-logo-glow {
  opacity: 0.75;
}

[data-theme="light"] .nav-hamburger {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(38, 151, 237, 0.25);
}

[data-theme="light"] .nav-hamburger span {
  background: #0891b2;
}

[data-theme="light"] .nav-drawer {
  background: rgba(214, 248, 245, 0.96);
  border-bottom-color: rgba(38, 151, 237, 0.15);
}

[data-theme="light"] .nav-hamburger {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(38, 151, 237, 0.25);
}

[data-theme="light"] .nav-hamburger span {
  background: #0891b2;
}

[data-theme="light"] .nav-drawer {
  background: rgba(214, 248, 245, 0.96);
  border-bottom-color: rgba(38, 151, 237, 0.15);
}

[data-theme="light"] .nav-drawer a {
  color: rgba(6, 42, 53, 0.72);
}

[data-theme="light"] .nav-drawer a:hover {
  color: #0891b2;
  background: rgba(38, 151, 237, 0.10);
}

/* ── Hero ── */
[data-theme="light"] #hero h1 {
  color: #062a35;
}

[data-theme="light"] #hero p {
  color: rgba(6, 42, 53, 0.72);
}

[data-theme="light"] .hero-badge {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(38, 151, 237, 0.30);
  color: #0891b2;
}

[data-theme="light"] .hero-badge span {
  background: #0891b2;
  box-shadow: 0 0 8px rgba(8,145,178,0.5);
}

[data-theme="light"] .hero-logo-bg {
  filter: drop-shadow(0 0 40px rgba(38, 151, 237, 0.22));
}

[data-theme="light"] .hero-logo-img {
  opacity: 0.55;
  filter:
    drop-shadow(0 0 5px rgba(8, 145, 178, 0.85))
    drop-shadow(0 0 12px rgba(8, 145, 178, 0.45))
    drop-shadow(0 0 5px rgba(234, 88, 12, 0.8))
    drop-shadow(0 0 12px rgba(234, 88, 12, 0.4));
}

[data-theme="light"] .hero-logo-bloom {
  opacity: 0.45;
  filter: blur(3px) brightness(2) saturate(1.5);
}

[data-theme="light"] .hero-logo-glow--lines {
  opacity: 0.65;
}

[data-theme="light"] .hero-logo-glow--cyan {
  opacity: 0.55;
}

[data-theme="light"] .hero-logo-glow--orange {
  opacity: 0.5;
}

/* ── Buttons ── */
[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, rgba(8,145,178,0.95), rgba(38,151,237,0.95));
  border-color: rgba(57,189,237,0.4);
  box-shadow: 0 0 20px rgba(57,189,237,0.25), inset 0 1px 0 rgba(255,255,255,0.3);
}

[data-theme="light"] .btn-outline {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(38, 151, 237, 0.35);
  color: #0891b2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 2px 8px rgba(0,0,0,0.06);
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(38, 151, 237, 0.55);
  color: #062a35;
}

/* ── Section titles & text ── */
[data-theme="light"] .section-sub {
  color: rgba(6, 42, 53, 0.68);
}

[data-theme="light"] .cat-label {
  color: #0891b2;
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(38, 151, 237, 0.28);
}

/* ── Cards (svc, step, price, review, member) ── */
[data-theme="light"] .svc-card,
[data-theme="light"] .step-card,
[data-theme="light"] .price-card,
[data-theme="light"] .review-card,
[data-theme="light"] .member-card {
  background: rgba(255, 255, 255, 0.50);
  border-color: rgba(38, 151, 237, 0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 4px 20px rgba(57,189,237,0.10), 0 1px 4px rgba(0,0,0,0.05);
}

[data-theme="light"] .svc-card:hover,
[data-theme="light"] .step-card:hover,
[data-theme="light"] .price-card:hover,
[data-theme="light"] .review-card:hover,
[data-theme="light"] .member-card:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(38, 151, 237, 0.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 0 28px rgba(57,189,237,0.20), 0 12px 36px rgba(0,0,0,0.08);
}

[data-theme="light"] .svc-card h3,
[data-theme="light"] .step-card h3,
[data-theme="light"] .price-card h3,
[data-theme="light"] .member-name {
  color: #062a35;
}

[data-theme="light"] .svc-card p,
[data-theme="light"] .step-card p,
[data-theme="light"] .price-card > p,
[data-theme="light"] .review-text {
  color: rgba(6, 42, 53, 0.70);
}

[data-theme="light"] .svc-features li {
  color: rgba(6, 42, 53, 0.65);
}

[data-theme="light"] .svc-cta {
  color: #0891b2;
}

[data-theme="light"] .svc-cta:hover {
  color: #062a35;
}

[data-theme="light"] .b-ai    { background: rgba(8,145,178,0.12);  border-color: rgba(8,145,178,0.28);  color: #0e7490; }
[data-theme="light"] .b-dev   { background: rgba(38,151,237,0.12); border-color: rgba(38,151,237,0.28); color: #1d6fa8; }
[data-theme="light"] .b-iot   { background: rgba(57,189,237,0.12); border-color: rgba(57,189,237,0.28); color: #0e7490; }
[data-theme="light"] .b-media { background: rgba(107,237,224,0.15); border-color: rgba(107,237,224,0.30); color: #0e7490; }

/* ── Service filters ── */
[data-theme="light"] .svc-filter {
  background: rgba(255, 255, 255, 0.50);
  border-color: rgba(38, 151, 237, 0.22);
  color: rgba(6, 42, 53, 0.68);
}

[data-theme="light"] .svc-filter:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(38, 151, 237, 0.38);
  color: #062a35;
}

[data-theme="light"] .svc-filter.active {
  background: rgba(38, 151, 237, 0.18);
  border-color: rgba(38, 151, 237, 0.45);
  color: #0891b2;
  box-shadow: 0 0 12px rgba(57,189,237,0.18);
}

/* ── Step num ── */
[data-theme="light"] .step-num {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Pricing featured ── */
[data-theme="light"] .price-card.featured {
  border-color: rgba(38, 151, 237, 0.45);
  background: rgba(255, 255, 255, 0.60);
  box-shadow: 0 0 28px rgba(57,189,237,0.18), inset 0 1px 0 rgba(255,255,255,0.9);
}

[data-theme="light"] .price-btn.outline {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(38, 151, 237, 0.30);
  color: #0891b2;
}

[data-theme="light"] .price-btn.outline:hover {
  background: rgba(255, 255, 255, 0.80);
  color: #062a35;
}

/* ── Pricing extras light theme ── */
[data-theme="light"] .price-goal,
[data-theme="light"] .price-best,
[data-theme="light"] .price-bonus {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(38, 151, 237, 0.22);
}

[data-theme="light"] .price-features li {
  color: rgba(6, 42, 53, 0.75);
}

[data-theme="light"] .price-target {
  color: rgba(6, 42, 53, 0.5);
}

[data-theme="light"] .price-goal {
  color: rgba(6, 42, 53, 0.75);
}

/* ── Review card ── */
[data-theme="light"] .review-author {
  color: #062a35;
}

[data-theme="light"] .review-meta {
  color: rgba(6, 42, 53, 0.50);
}

/* ── Member card ── */
[data-theme="light"] .member-card.leader {
  border-color: rgba(38, 151, 237, 0.32);
  background: rgba(255, 255, 255, 0.58);
}

[data-theme="light"] .member-role {
  color: #0891b2;
}

[data-theme="light"] .avatar-wrap img {
  border-color: rgba(38, 151, 237, 0.35);
  box-shadow: 0 0 16px rgba(57,189,237,0.18), 0 0 0 4px rgba(57,189,237,0.08);
}

[data-theme="light"] .avatar-badge {
  background: rgba(214, 248, 245, 0.95);
  border-color: rgba(38, 151, 237, 0.22);
}

[data-theme="light"] .member-links a {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(38, 151, 237, 0.20);
  color: rgba(6, 42, 53, 0.72);
}

[data-theme="light"] .member-links a:hover {
  background: rgba(255, 255, 255, 0.80);
  color: #062a35;
}

[data-theme="light"] .member-links a.portfolio {
  background: rgba(38, 151, 237, 0.12);
  border-color: rgba(38, 151, 237, 0.30);
  color: #0891b2;
}

[data-theme="light"] .member-links a.portfolio:hover {
  background: rgba(38, 151, 237, 0.22);
  color: #062a35;
}

/* ── Team stats ── */
[data-theme="light"] .team-stats {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(38, 151, 237, 0.15);
}

[data-theme="light"] .stat-label {
  color: rgba(6, 42, 53, 0.55);
}

/* ── Contact form ── */
[data-theme="light"] .contact-inner {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(38, 151, 237, 0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 8px 32px rgba(57,189,237,0.10);
}

[data-theme="light"] .contact-inner h3 {
  color: #062a35;
}

[data-theme="light"] .form-group label {
  color: rgba(6, 42, 53, 0.72);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(38, 151, 237, 0.22);
  color: #062a35;
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
  color: rgba(6, 42, 53, 0.38);
}

[data-theme="light"] .form-status--success {
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
}

[data-theme="light"] .form-status--error {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
  border-color: rgba(38, 151, 237, 0.55);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(57,189,237,0.12);
}

/* ── Footer ── */
[data-theme="light"] footer {
  background: rgba(255, 255, 255, 0.35);
  border-top-color: rgba(38, 151, 237, 0.15);
}

[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-col p,
[data-theme="light"] .footer-col ul li a {
  color: rgba(6, 42, 53, 0.65);
}

[data-theme="light"] .footer-col h4 {
  color: rgba(6, 42, 53, 0.85);
}

[data-theme="light"] .footer-col ul li a:hover {
  color: #0891b2;
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(38, 151, 237, 0.12);
  color: rgba(6, 42, 53, 0.50);
}

/* ── Scrollbar in light mode ── */
[data-theme="light"] ::-webkit-scrollbar-track { background: #b8f0ec; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(38,151,237,0.4); }

/* ── Chatbot window in light mode ── */
[data-theme="light"] .cb-window {
  background: rgba(214, 248, 245, 0.82);
  border-color: rgba(38, 151, 237, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 0 48px rgba(57,189,237,0.15),
    0 24px 64px rgba(0,0,0,0.12);
}

[data-theme="light"] .cb-header {
  background: linear-gradient(135deg, rgba(57,189,237,0.15), rgba(38,151,237,0.10));
  border-bottom-color: rgba(38, 151, 237, 0.15);
}

[data-theme="light"] .cb-name {
  color: #062a35;
}

[data-theme="light"] .cb-status {
  color: rgba(6, 42, 53, 0.55);
}

[data-theme="light"] .cb-bot .cb-bubble {
  background: rgba(255, 255, 255, 0.60);
  border-color: rgba(38, 151, 237, 0.18);
  color: #062a35;
}

[data-theme="light"] .cb-bubble a {
  color: #0891b2;
}

[data-theme="light"] .cb-qr {
  background: rgba(255, 255, 255, 0.50);
  border-color: rgba(38, 151, 237, 0.25);
  color: #0891b2;
}

[data-theme="light"] .cb-qr:hover {
  background: rgba(255, 255, 255, 0.75);
  color: #062a35;
}

[data-theme="light"] .cb-input-row {
  background: rgba(255, 255, 255, 0.30);
  border-top-color: rgba(38, 151, 237, 0.12);
}

[data-theme="light"] #cbInput {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(38, 151, 237, 0.22);
  color: #062a35;
}

[data-theme="light"] #cbInput::placeholder {
  color: rgba(6, 42, 53, 0.38);
}

[data-theme="light"] #cbInput:focus {
  border-color: rgba(38, 151, 237, 0.55);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 3px rgba(57,189,237,0.12);
}

[data-theme="light"] .cb-typing span {
  background: rgba(8, 145, 178, 0.55);
}

[data-theme="light"] .cb-messages::-webkit-scrollbar-thumb { background: rgba(38,151,237,0.35); }

/* ── Voice assistant in light mode ── */
[data-theme="light"] .va-bar {
  background: rgba(214, 248, 245, 0.80);
  border-color: rgba(38, 151, 237, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.80),
    0 0 24px rgba(57,189,237,0.12),
    0 4px 16px rgba(0,0,0,0.08);
}

[data-theme="light"] .va-lang-select {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(38, 151, 237, 0.22);
  color: rgba(6, 42, 53, 0.72);
}

[data-theme="light"] .va-lang-select option {
  background: #d6f8f5;
  color: #062a35;
}

[data-theme="light"] .va-idle {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(38, 151, 237, 0.28);
}

[data-theme="light"] .va-mic-icon {
  color: rgba(6, 42, 53, 0.75);
}

[data-theme="light"] .va-btn-label {
  color: rgba(6, 42, 53, 0.55);
}

[data-theme="light"] .va-history-btn {
  background: rgba(255, 255, 255, 0.50);
  border-color: rgba(38, 151, 237, 0.22);
  color: rgba(6, 42, 53, 0.60);
}

[data-theme="light"] .va-history-btn:hover {
  background: rgba(38, 151, 237, 0.15);
  color: #0891b2;
}

[data-theme="light"] .va-popup {
  background: rgba(214, 248, 245, 0.90);
  border-color: rgba(38, 151, 237, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.80),
    0 0 40px rgba(57,189,237,0.12),
    0 16px 48px rgba(0,0,0,0.10);
}

[data-theme="light"] .va-popup-header {
  background: linear-gradient(135deg, rgba(57,189,237,0.12), rgba(38,151,237,0.08));
  border-bottom-color: rgba(38, 151, 237, 0.12);
  color: #062a35;
}

[data-theme="light"] .va-entry-label {
  color: rgba(6, 42, 53, 0.48);
}

[data-theme="light"] .va-entry-msg {
  color: rgba(6, 42, 53, 0.82);
}

[data-theme="light"] .va-entry-user .va-entry-msg {
  background: rgba(38, 151, 237, 0.12);
  border-color: rgba(38, 151, 237, 0.22);
}

[data-theme="light"] .va-entry-assistant .va-entry-msg {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(38, 151, 237, 0.15);
}

[data-theme="light"] .va-entry-system .va-entry-msg {
  background: rgba(234, 179, 8, 0.10);
  border-color: rgba(234, 179, 8, 0.25);
  color: #78350f;
}

[data-theme="light"] .va-speech-bubble {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(38, 151, 237, 0.25);
  color: #062a35;
  box-shadow: 
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 0 16px rgba(57, 189, 237, 0.12);
}
[data-theme="light"] .va-bubble-user {
  background: rgba(38, 151, 237, 0.12);
  border-color: rgba(38, 151, 237, 0.4);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(38, 151, 237, 0.22);
}
[data-theme="light"] .va-bubble-ai {
  background: rgba(214, 248, 245, 0.85);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(34, 211, 238, 0.2);
}
[data-theme="light"] .va-field-highlight {
  border-color: #0284c7 !important;
  box-shadow: 0 0 18px rgba(2, 132, 199, 0.5) !important;
}

/* ── Chat FAB in light mode ── */
[data-theme="light"] .chat-fab {
  background: linear-gradient(135deg, rgba(8,145,178,0.90), rgba(38,151,237,0.90));
  border-color: rgba(57, 189, 237, 0.55);
  box-shadow:
    0 0 0 0 rgba(57,189,237,0.45),
    0 0 28px rgba(57,189,237,0.30),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

/* ── Section bg override for light mode ── */
[data-theme="light"] .section[style*="background: var(--bg2)"],
[data-theme="light"] .section[style*="background:var(--bg2)"] {
  background: rgba(57, 189, 237, 0.04) !important;
}

[data-theme="light"] .nav-join {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.95), rgba(38, 151, 237, 0.95));
  border-color: rgba(57, 189, 237, 0.45);
  box-shadow: 0 0 18px rgba(57, 189, 237, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .nav-join:hover {
  box-shadow: 0 0 28px rgba(57, 189, 237, 0.4), 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   3D BACKGROUND CANVAS
   ═══════════════════════════════════════════════════════════════ */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

/* ── Floating 3D geometric shapes — section decorations ── */
.bg-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: shapeReveal 1.2s ease forwards;
}

@keyframes shapeReveal {
  to { opacity: 1; }
}

/* ── Hero: rotating 3D ring ── */
.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  border: 1.5px solid rgba(124, 58, 237, 0.45);
  box-shadow:
    0 0 60px rgba(124, 58, 237, 0.18),
    inset 0 0 60px rgba(124, 58, 237, 0.08);
  animation: heroRingSpin 28s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-ring::before {
  content: '';
  position: absolute;
  top: 12px; left: 12px; right: 12px; bottom: 12px;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.12);
  animation: heroRingSpin 18s linear infinite reverse;
}

.hero-ring::after {
  content: '';
  position: absolute;
  top: 30px; left: 30px; right: 30px; bottom: 30px;
  border-radius: 50%;
  border: 1px dashed rgba(167, 139, 250, 0.10);
  animation: heroRingSpin 12s linear infinite;
}

@keyframes heroRingSpin {
  from { transform: rotate(0deg) rotateX(60deg); }
  to   { transform: rotate(360deg) rotateX(60deg); }
}

/* ── Floating 3D cubes ── */
.cube-3d {
  position: absolute;
  width: 40px;
  height: 40px;
  transform-style: preserve-3d;
  animation: cubeSpin 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.cube-3d .face {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(124, 58, 237, 0.55);
  background: rgba(124, 58, 237, 0.08);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.2);
}

.cube-3d .face.front  { transform: translateZ(20px); }
.cube-3d .face.back   { transform: rotateY(180deg) translateZ(20px); }
.cube-3d .face.left   { transform: rotateY(-90deg) translateZ(20px); }
.cube-3d .face.right  { transform: rotateY(90deg) translateZ(20px); }
.cube-3d .face.top    { transform: rotateX(90deg) translateZ(20px); }
.cube-3d .face.bottom { transform: rotateX(-90deg) translateZ(20px); }

@keyframes cubeSpin {
  0%   { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  33%  { transform: rotateX(120deg) rotateY(80deg) rotateZ(40deg); }
  66%  { transform: rotateX(240deg) rotateY(160deg) rotateZ(80deg); }
  100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* ── Floating triangles ── */
.tri-3d {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 0;
  animation: triFloat 10s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(96, 165, 250, 0.65));
}

@keyframes triFloat {
  0%, 100% { transform: translateY(0) rotateZ(0deg) rotateX(0deg); }
  25%       { transform: translateY(-18px) rotateZ(45deg) rotateX(20deg); }
  50%       { transform: translateY(-8px) rotateZ(90deg) rotateX(40deg); }
  75%       { transform: translateY(-22px) rotateZ(135deg) rotateX(20deg); }
}

/* ── Glowing orb particles ── */
.particle-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: orbDrift 15s ease-in-out infinite;
  filter: blur(0px);
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  33%       { transform: translate(30px, -40px) scale(1.1); opacity: 0.9; }
  66%       { transform: translate(-20px, 20px) scale(0.9); opacity: 0.5; }
}

/* ── Light theme adjustments for 3D elements ── */
[data-theme="light"] #bgCanvas {
  opacity: 0.65;
}

[data-theme="light"] .cube-3d .face {
  border-color: rgba(38, 151, 237, 0.55);
  background: rgba(57, 189, 237, 0.10);
  box-shadow: 0 0 12px rgba(38, 151, 237, 0.2);
}

[data-theme="light"] .hero-ring {
  border-color: rgba(38, 151, 237, 0.45);
  box-shadow:
    0 0 60px rgba(38, 151, 237, 0.18),
    inset 0 0 60px rgba(38, 151, 237, 0.08);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  #bgCanvas { display: none; }
  .hero-ring, .cube-3d, .tri-3d, .particle-orb,
  .hero-logo-glow,
  .hero-logo-bloom {
    animation: none !important;
  }

  .hero-logo-glow--lines {
    opacity: 0.24 !important;
    filter: none !important;
  }

  .projects-track {
    animation: none !important;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .projects-track .project-card[aria-hidden="true"] {
    display: none;
  }

  .projects-track .project-card {
    margin-top: 0 !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   GET QUOTE MODAL — Glassmorphic + Animated
   ═══════════════════════════════════════════════════════════════ */

/* ── Overlay ── */
.qmodal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: radial-gradient(ellipse at 30% 40%, rgba(124,58,237,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 75% 70%, rgba(37,99,235,0.14) 0%, transparent 55%),
              rgba(4, 4, 18, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qmodal-overlay:not([hidden]) { opacity: 1; }
.qmodal-overlay[hidden] { display: none; }

/* ── Box ── */
.qmodal-box {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2.75rem 2.25rem 2.25rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.09) 0%, rgba(124,58,237,0.07) 40%, rgba(37,99,235,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.13);
  backdrop-filter: blur(40px) saturate(200%) brightness(1.08);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(167,139,250,0.12),
    0 8px 32px rgba(0,0,0,0.45),
    0 32px 80px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(124,58,237,0.12);
  scrollbar-width: thin;
  scrollbar-color: rgba(124,58,237,0.45) transparent;
  animation: qmodal-in 0.42s cubic-bezier(0.22, 1.4, 0.36, 1) both;
}

@keyframes qmodal-in {
  0%   { transform: translateY(40px) scale(0.94); opacity: 0; filter: blur(4px); }
  60%  { filter: blur(0px); }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* ── Animated orbs inside box ── */
.qmodal-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.qmodal-orb--1 {
  width: 260px; height: 260px;
  top: -80px; right: -60px;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, transparent 70%);
  animation: orb-drift-1 8s ease-in-out infinite alternate;
}

.qmodal-orb--2 {
  width: 200px; height: 200px;
  bottom: -60px; left: -50px;
  background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
  animation: orb-drift-2 10s ease-in-out infinite alternate;
}

.qmodal-orb--3 {
  width: 140px; height: 140px;
  top: 45%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(167,139,250,0.15) 0%, transparent 70%);
  animation: orb-drift-3 6s ease-in-out infinite alternate;
}

@keyframes orb-drift-1 {
  from { transform: translate(0,0) scale(1); opacity: 0.7; }
  to   { transform: translate(-20px,20px) scale(1.15); opacity: 1; }
}
@keyframes orb-drift-2 {
  from { transform: translate(0,0) scale(1); opacity: 0.6; }
  to   { transform: translate(18px,-18px) scale(1.2); opacity: 0.9; }
}
@keyframes orb-drift-3 {
  from { transform: translate(-50%,-50%) scale(1); opacity: 0.4; }
  to   { transform: translate(-50%,-50%) scale(1.4); opacity: 0.7; }
}

/* ── Shimmer border sweep ── */
.qmodal-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  z-index: 1;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(167,139,250,0.55) 60deg, transparent 120deg);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  padding: 1px;
  animation: shimmer-spin 4s linear infinite;
  opacity: 0.6;
}

@keyframes shimmer-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.qmodal-close, .qmodal-header, .qmodal-form { position: relative; z-index: 2; }

/* ── Close button ── */
.qmodal-close {
  position: absolute;
  top: 1.1rem; right: 1.2rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.65);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.qmodal-close:hover {
  background: rgba(239,68,68,0.22);
  border-color: rgba(239,68,68,0.5);
  color: #f87171;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 16px rgba(239,68,68,0.3);
}

/* ── Header ── */
.qmodal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.qmodal-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.qmodal-icon {
  font-size: 2.4rem;
  display: block;
  animation: icon-float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(167,139,250,0.6));
}

@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.qmodal-icon-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(167,139,250,0.35);
  animation: ring-pulse 2.5s ease-in-out infinite;
}

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

.qmodal-header h2 {
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #a78bfa 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.qmodal-header p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.qmodal-package-tag {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(124,58,237,0.22);
  border: 1px solid rgba(167,139,250,0.45);
  color: #c4b5fd;
  letter-spacing: 0.05em;
  animation: tag-glow 2s ease-in-out infinite alternate;
}

@keyframes tag-glow {
  from { box-shadow: 0 0 8px rgba(124,58,237,0.2); }
  to   { box-shadow: 0 0 20px rgba(124,58,237,0.5); }
}

/* ── Form ── */
.qmodal-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.qmodal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.qmodal-form .form-group,
.qmodal-form .qmodal-row { animation: field-slide-in 0.4s ease both; }
.qmodal-form .form-group:nth-child(1), .qmodal-form .qmodal-row:nth-child(1) { animation-delay: 0.08s; }
.qmodal-form .form-group:nth-child(2), .qmodal-form .qmodal-row:nth-child(2) { animation-delay: 0.14s; }
.qmodal-form .form-group:nth-child(3), .qmodal-form .qmodal-row:nth-child(3) { animation-delay: 0.20s; }
.qmodal-form .form-group:nth-child(4), .qmodal-form .qmodal-row:nth-child(4) { animation-delay: 0.26s; }
.qmodal-form .form-group:nth-child(5), .qmodal-form .qmodal-row:nth-child(5) { animation-delay: 0.32s; }
.qmodal-form .form-group:nth-child(6), .qmodal-form .qmodal-row:nth-child(6) { animation-delay: 0.38s; }
.qmodal-form .form-group:nth-child(7), .qmodal-form .qmodal-row:nth-child(7) { animation-delay: 0.44s; }

@keyframes field-slide-in {
  from { transform: translateY(14px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.qmodal-form .form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}

.qmodal-form .form-group input,
.qmodal-form .form-group textarea,
.qmodal-form .form-group select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 0.78rem 1rem;
  font-size: 0.92rem;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
}

.qmodal-form .form-group input::placeholder,
.qmodal-form .form-group textarea::placeholder { color: rgba(255,255,255,0.28); }

.qmodal-form .form-group input:focus,
.qmodal-form .form-group textarea:focus,
.qmodal-form .form-group select:focus {
  border-color: rgba(167,139,250,0.65);
  background: rgba(124,58,237,0.1);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.18), 0 0 20px rgba(124,58,237,0.12), inset 0 1px 0 rgba(255,255,255,0.1);
}

.qmodal-form .form-group textarea { min-height: 110px; resize: vertical; }

.qmodal-form .form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(167,139,250,0.8)' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.qmodal-form .form-group select option { background: #1a1030; color: #fff; }
.qmodal-form .form-group select optgroup { font-weight: 700; color: #a78bfa; }

/* ── Submit ── */
.qmodal-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
  animation: field-slide-in 0.4s 0.5s ease both;
}

.qmodal-submit {
  width: 100%;
  padding: 0.95rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  box-shadow: 0 0 24px rgba(124,58,237,0.45), 0 4px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.qmodal-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.qmodal-submit:hover:not(:disabled)::before { opacity: 1; }
.qmodal-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(124,58,237,0.65), 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
}
.qmodal-submit:active:not(:disabled) { transform: translateY(0); }
.qmodal-submit:disabled { opacity: 0.55; cursor: not-allowed; }

.req { color: #f87171; font-size: 0.78rem; }

/* ── Light theme overrides ── */
[data-theme="light"] .qmodal-overlay {
  background: radial-gradient(ellipse at 30% 40%, rgba(124,58,237,0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 75% 70%, rgba(37,99,235,0.08) 0%, transparent 55%),
              rgba(220, 230, 255, 0.65);
}

[data-theme="light"] .qmodal-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.82) 0%, rgba(237,233,254,0.75) 50%, rgba(219,234,254,0.72) 100%);
  border-color: rgba(124,58,237,0.18);
  box-shadow: 0 0 0 1px rgba(124,58,237,0.1), 0 8px 32px rgba(0,0,0,0.1), 0 32px 80px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

[data-theme="light"] .qmodal-header h2 {
  background: linear-gradient(135deg, #1e1b4b 0%, #7c3aed 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .qmodal-header p { color: rgba(6,42,53,0.6); }

[data-theme="light"] .qmodal-close {
  background: rgba(255,255,255,0.75);
  border-color: rgba(124,58,237,0.2);
  color: rgba(6,42,53,0.55);
}

[data-theme="light"] .qmodal-form .form-group label { color: rgba(6,42,53,0.72); }

[data-theme="light"] .qmodal-form .form-group input,
[data-theme="light"] .qmodal-form .form-group textarea,
[data-theme="light"] .qmodal-form .form-group select {
  background: rgba(255,255,255,0.72);
  border-color: rgba(124,58,237,0.18);
  color: #062a35;
}

[data-theme="light"] .qmodal-form .form-group input::placeholder,
[data-theme="light"] .qmodal-form .form-group textarea::placeholder { color: rgba(6,42,53,0.32); }

[data-theme="light"] .qmodal-form .form-group select option { background: #fff; color: #062a35; }

[data-theme="light"] .qmodal-orb--1 { background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%); }
[data-theme="light"] .qmodal-orb--2 { background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%); }

[data-theme="light"] .qmodal-package-tag {
  background: rgba(38,151,237,0.12);
  border-color: rgba(38,151,237,0.35);
  color: #0891b2;
}

/* ── Responsive ── */
@media (max-width: 580px) {
  .qmodal-row { grid-template-columns: 1fr; }
  .qmodal-box { padding: 2.25rem 1.25rem 1.75rem; border-radius: 20px; }
  .qmodal-header h2 { font-size: 1.4rem; }
}

/*================ FOOTER ================*/

.footer{
    position: relative;
     z-index: 10000;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #0d0d16,
        #111124,
        #071e2c
    );
    border-top:1px solid rgba(255,255,255,.08);
    margin-top:80px;

}

/*================ GLOW EFFECTS ================*/

.footer::before{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:#7a5cff;
    filter:blur(180px);
    opacity:.10;
    top:-150px;
    left:-120px;

    /* FIX */
    pointer-events:none;
    z-index:0;
}

.footer::after{
    content:"";
    position:absolute;
    width:450px;
    height:450px;
    background:#00d9ff;
    filter:blur(180px);
    opacity:.08;
    bottom:-180px;
    right:-120px;

    /* FIX */
    pointer-events:none;
    z-index:0;
}

/*================ TOP ================*/

.footer-top{
    position:relative;
    z-index:2;

    max-width:1200px;
    margin:auto;
    padding:70px 20px;

    display:grid;
    grid-template-columns:2fr 1fr 1fr 1.2fr;
    gap:60px;
}

.footer-brand{
    position:relative;
    z-index:3;
}

.footer-logo{
    font-size:2rem;
    margin-bottom:18px;
}

.footer-brand p{
    color:#b7b7c7;
    line-height:1.8;
    margin-bottom:30px;
}

/*================ COLUMNS ================*/

.footer-column{
    position:relative;
    z-index:3;
}

.footer-column h3{
    color:#fff;
    margin-bottom:25px;
    font-size:1.1rem;
}

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

.footer-column li{
    margin-bottom:14px;
}

.footer-column a{
    color:#b7b7c7;
    text-decoration:none;
    transition:.3s;
}

.footer-column a:hover{
    color:#9d7cff;
    padding-left:6px;
}

.footer-column p{
    color:#b7b7c7;
    margin-bottom:15px;
    line-height:1.7;
}

.footer-column i{
    color:#8b6cff;
    margin-right:8px;
}

/*================ SOCIAL ================*/

.social-links{
    display:flex;
    gap:14px;

    position:relative;
    z-index:5;
}

.social-links a{
    width:42px;
    height:42px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:#181828;
    color:#fff;

    text-decoration:none;

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

    position:relative;
    z-index:6;

    pointer-events:auto;
}

.social-links a:hover{
    background:linear-gradient(135deg,#7a5cff,#4f7cff);
    transform:translateY(-4px);
    box-shadow:0 10px 30px rgba(122,92,255,.35);
}

/*================ BUTTON ================*/

.footer-btn{
    display:inline-block;
    margin-top:10px;
    padding:12px 22px;
    border-radius:30px;

    background:linear-gradient(135deg,#7a5cff,#4f7cff);

    color:#fff;
    text-decoration:none;
    font-weight:600;

    transition:.3s;
}

.footer-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(122,92,255,.35);
}

/*================ BOTTOM ================*/

.footer-bottom{
    position:relative;
    z-index:2;

    border-top:1px solid rgba(255,255,255,.08);

    max-width:1200px;
    margin:auto;

    padding:22px 20px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
}

.footer-bottom p{
    color:#999;
}

.footer-bottom-links{
    display:flex;
    gap:25px;
}

.footer-bottom-links a{
    color:#999;
    text-decoration:none;
    transition:.3s;
}

.footer-bottom-links a:hover{
    color:#fff;
}

/*================ RESPONSIVE ================*/

@media(max-width:1000px){

.footer-top{
    grid-template-columns:1fr 1fr;
    gap:50px;
}

}

@media(max-width:700px){

.footer-top{
    grid-template-columns:1fr;
    text-align:center;
}

.social-links{
    justify-content:center;
}

.footer-bottom{
    flex-direction:column;
    text-align:center;
}

}

/* ── Price Range Styling ── */
.price-range {
  margin-top: auto; /* Push it to the bottom of the content area in the card */
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .price-range {
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.price-inr {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
}

.price-divider {
  display: none;
}

.price-usd {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-body);
  opacity: 0.8;
}