/* ============================================
   CrewIO Landing Page – Custom Styles
   ============================================ */

:root {
  /* Primary – CrewIO Blue Gradient (mapped from existing project colors) */
  --primary-start: #667eea;
  --primary-end: #4f83ea;
  --primary-accent: #1dabea;

  /* Dark Mode Backgrounds */
  --bg-primary: #0A0A0F;
  --bg-secondary: #111118;
  --bg-tertiary: #1A1A25;
  --bg-gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(102, 126, 234, 0.15) 0%, transparent 60%);

  /* Text */
  --text-primary: #F5F5F7;
  --text-secondary: #A1A1A6;
  --text-accent: #1dabea;

  /* Accents */
  --accent-glow: rgba(102, 126, 234, 0.4);
  --accent-gradient: linear-gradient(135deg, #667eea, #4f83ea, #1dabea);
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Status */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
}

/* ---- Light Mode ---- */
html.light {
  --bg-primary: #F5F5F7;
  --bg-secondary: #EEEEF0;
  --bg-tertiary: #FFFFFF;
  --text-primary: #1a1a2e;
  --text-secondary: #555566;
  --text-accent: #4f83ea;
  --accent-glow: rgba(102, 126, 234, 0.2);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --bg-gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
}

/* Smooth transition for theme switch */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.5s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* ---- Light Mode: Global Tailwind color overrides ---- */
html.light .text-white {
  color: #1a1a2e !important;
}
html.light .text-gray-300 {
  color: #555566 !important;
}
html.light .text-gray-400 {
  color: #666677 !important;
}
html.light .text-gray-500 {
  color: #777788 !important;
}
html.light .border-white\/10,
html.light .border-white\/5 {
  border-color: rgba(0, 0, 0, 0.08) !important;
}
html.light .bg-white\/5,
html.light .bg-white\/10 {
  background-color: rgba(0, 0, 0, 0.04) !important;
}
/* Keep white text on colored backgrounds */
html.light .btn-primary,
html.light .btn-primary *,
html.light a[class*="bg-gradient-to-r"],
html.light a[class*="bg-gradient-to-r"] *,
html.light [style*="background: linear-gradient"] *,
html.light .team-avatar,
html.light [class*="bg-gradient-to-br"] *,
html.light [class*="bg-crewio-primary/30"] *,
html.light [class*="bg-emerald-500/30"] *,
html.light [class*="bg-amber-500/30"] *,
html.light .bg-emerald-500 *,
html.light .bg-red-500 * {
  color: #fff !important;
}
/* Counter gradient text stays as-is (uses background-clip: text) */
html.light .counter-value {
  color: transparent !important;
}

/* Light mode overrides for specific elements */
html.light .glass-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}
html.light .glass-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
}
html.light .nav-scrolled {
  background: rgba(245, 245, 247, 0.9) !important;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
html.light .nav-fixed .text-gray-400:hover {
  color: #1a1a2e !important;
}
html.light .animated-gradient {
  background: linear-gradient(-45deg, #e8eaf6, #bbdefb, #e8eaf6, #c5cae9);
}
html.light .btn-secondary {
  color: var(--primary-start);
  border-color: rgba(0, 0, 0, 0.12);
}
html.light .btn-secondary:hover {
  border-color: var(--primary-start);
  background: rgba(102, 126, 234, 0.05);
}
html.light .cookie-banner {
  background: rgba(255, 255, 255, 0.95);
  border-top-color: rgba(0, 0, 0, 0.06);
}
html.light .faq-item .faq-icon {
  color: #888;
}
html.light .pricing-highlight::after {
  background: #fff;
}
html.light .mobile-nav {
  background: rgba(245, 245, 247, 0.98) !important;
}
html.light footer {
  background: #EEEEF0;
  border-top-color: rgba(0, 0, 0, 0.06);
}
html.light .section-glow::before {
  background: radial-gradient(ellipse, rgba(102, 126, 234, 0.06) 0%, transparent 70%);
}
/* Mockup screens inside feature sections should keep their own colors */
html.light .rounded-2xl[class*="bg-[#f0f2f5]"] .text-white {
  color: inherit !important;
}
/* Phone mockup frame should stay dark */
html.light .rounded-\\[40px\\] .text-white,
html.light .rounded-\\[40px\\] .text-gray-400 {
  color: inherit !important;
}

/* ---- Theme Toggle Slider ---- */
.theme-toggle {
  position: relative;
  width: 56px;
  height: 28px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 3px;
  transition: background 0.3s, border-color 0.3s;
}
html.light .theme-toggle {
  background: rgba(0, 0, 0, 0.06);
}
.theme-toggle .toggle-knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.theme-toggle .toggle-knob .icon-moon,
.theme-toggle .toggle-knob .icon-sun {
  width: 14px;
  height: 14px;
  color: #fff;
}
.theme-toggle .toggle-knob .icon-sun { display: none; }
html.light .theme-toggle .toggle-knob {
  transform: translateX(28px);
}
html.light .theme-toggle .toggle-knob .icon-moon { display: none; }
html.light .theme-toggle .toggle-knob .icon-sun { display: block; }

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}
body {
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ---- Typography – explicit classes to avoid polluting mockup screens ---- */
.landing-h1 {
  font-family: 'Inter', sans-serif !important;
  color: var(--text-primary) !important;
  font-size: clamp(48px, 8vw, 96px) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
}
.landing-h2 {
  font-family: 'Inter', sans-serif !important;
  color: var(--text-primary) !important;
  font-size: clamp(36px, 5vw, 64px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
}
.lead {
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.5;
}

/* ---- Animated Gradient Background ---- */
.animated-gradient {
  background: linear-gradient(-45deg, #0A0A0F, #4f83ea, #0A0A0F, #667eea);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---- Glassmorphism Card ---- */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ---- Glow Effect ---- */
.glow-effect {
  position: relative;
}
.glow-effect::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
  filter: blur(20px);
}
.glow-effect:hover::before {
  opacity: 0.6;
}

/* ---- Professional Card Animated Border ---- */
.pricing-highlight {
  position: relative;
  overflow: hidden;
}
.pricing-highlight::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: conic-gradient(from 0deg, #667eea, #1dabea, #4f83ea, #667eea);
  animation: rotateBorder 4s linear infinite;
  z-index: -1;
}
.pricing-highlight::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 18px;
  background: var(--bg-tertiary);
  z-index: -1;
}
@keyframes rotateBorder {
  to { transform: rotate(360deg); }
}

/* ---- Buttons ---- */
.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-secondary {
  background: transparent;
  color: var(--text-accent);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s, background 0.3s;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--text-accent);
  background: rgba(29, 171, 234, 0.05);
}

/* ---- Navigation ---- */
.nav-fixed {
  transition: background 0.3s, backdrop-filter 0.3s;
}
.nav-scrolled {
  background: rgba(10, 10, 15, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

/* ---- Nav Inner (flex, relative for abs centering) ---- */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* ---- Nav Pill (absolutely centered) ---- */
.nav-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 6px;
  white-space: nowrap;
}
.nav-pill-link {
  padding: 6px 16px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-pill-link:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
}
html.light .nav-pill-link:hover {
  background: rgba(0,0,0,0.06);
  color: #1a1a2e;
}

/* ---- Theme Icon Button ---- */
.theme-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.theme-icon-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text-primary);
}
html.light .theme-icon-btn {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
}
html.light .theme-icon-btn:hover {
  background: rgba(0,0,0,0.09);
}
.theme-icon-btn .icon-moon,
.theme-icon-btn .icon-sun {
  width: 16px;
  height: 16px;
}
.theme-icon-btn .icon-sun { display: none; }
html.light .theme-icon-btn .icon-moon { display: none; }
html.light .theme-icon-btn .icon-sun { display: block; }

/* ---- Language Toggle ---- */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}
.lang-toggle button {
  padding: 6px 12px;
  background: transparent;
  color: var(--text-secondary);
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-toggle button.active {
  background: var(--accent-gradient);
  color: #fff;
}

/* ============================================
   HERO – Network Data Flow
   ============================================ */
.hero-network {
  background: var(--bg-primary);
}

.hero-headline {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(38px, 4.5vw, 66px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}
.hero-headline-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 22px;
  max-width: 440px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid rgba(16,185,129,0.15);
  background: rgba(16,185,129,0.04);
  font-size: 13px;
  font-weight: 500;
  color: #7dd3a8;
  margin-bottom: 32px;
}
html.light .hero-badge {
  background: rgba(16,185,129,0.06);
  border-color: rgba(16,185,129,0.2);
  color: #059669;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16,185,129,0.5);
  animation: heroDotPulse 2.5s ease-in-out infinite;
}
@keyframes heroDotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(16,185,129,0.5); transform: scale(1); }
  50% { box-shadow: 0 0 14px rgba(16,185,129,0.3); transform: scale(1.15); }
}

/* Trust row */
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #555568;
  font-weight: 400;
}
html.light .hero-trust-item {
  color: #777788;
}

/* ---- Network visualization area ---- */
.network-area {
  position: relative;
  height: 620px;
  min-height: 500px;
}
#networkCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Glow behind hub */
.hub-glow {
  position: absolute;
  width: 340px; height: 340px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(102,126,234,0.10) 0%, transparent 55%),
    radial-gradient(circle, rgba(29,171,234,0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: orbPulse 6s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.12); opacity: 0.55; }
}
html.light .hub-glow {
  background:
    radial-gradient(circle, rgba(102,126,234,0.06) 0%, transparent 55%),
    radial-gradient(circle, rgba(29,171,234,0.04) 0%, transparent 70%);
}

/* Orbit rings */
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgba(102,126,234,0.04);
}
.orbit-ring-1 { width: 220px; height: 220px; }
.orbit-ring-2 { width: 380px; height: 380px; border-style: dashed; border-color: rgba(102,126,234,0.03); }
.orbit-ring-3 { width: 540px; height: 540px; border-color: rgba(102,126,234,0.02); }
html.light .orbit-ring { border-color: rgba(102,126,234,0.08); }
html.light .orbit-ring-2 { border-color: rgba(102,126,234,0.06); }
html.light .orbit-ring-3 { border-color: rgba(102,126,234,0.04); }

/* Center hub */
.center-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  width: 92px; height: 92px;
  border-radius: 24px;
  background: rgba(12,12,26,0.88);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(102,126,234,0.06),
    0 0 50px 8px rgba(102,126,234,0.08),
    0 0 100px 20px rgba(29,171,234,0.04),
    0 8px 32px -8px rgba(0,0,0,0.5);
  opacity: 0;
  animation: hubAppear 0.8s 0.5s cubic-bezier(0.22,1,0.36,1) both, hubPulse 5s 1.3s ease-in-out infinite;
}
.center-hub img {
  width: 50px; height: 50px;
  object-fit: contain;
}
html.light .center-hub {
  background: #fff;
  border-color: rgba(102,126,234,0.15);
  box-shadow:
    0 0 0 1px rgba(102,126,234,0.08),
    0 0 40px 6px rgba(102,126,234,0.06),
    0 4px 20px -6px rgba(0,0,0,0.1);
}
@keyframes hubAppear {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes hubPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(102,126,234,0.06), 0 0 50px 8px rgba(102,126,234,0.08), 0 0 100px 20px rgba(29,171,234,0.04), 0 8px 32px -8px rgba(0,0,0,0.5);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(102,126,234,0.10), 0 0 70px 12px rgba(102,126,234,0.12), 0 0 140px 30px rgba(29,171,234,0.06), 0 8px 32px -8px rgba(0,0,0,0.5);
  }
}

/* Orbit nodes */
.orbit-nodes {
  position: absolute;
  inset: 0; z-index: 5;
  pointer-events: none;
}
.orbit-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(12,12,26,0.88);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.03) inset, 0 12px 40px -10px rgba(0,0,0,0.6);
  white-space: nowrap;
  opacity: 0;
}
html.light .orbit-node {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.10);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.8) inset,
    0 2px 8px -1px rgba(0,0,0,0.22),
    0 10px 40px -4px rgba(0,0,0,0.32),
    0 0 0 1px rgba(0,0,0,0.07);
}
.orbit-node-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.orbit-node-label {
  font-size: 13px; font-weight: 600;
  color: #d8d8e4; letter-spacing: -0.01em;
}
html.light .orbit-node-label { color: #1a1a2e; }
.orbit-node-sub {
  font-size: 10px; color: #6e6e84; margin-top: 1px;
}
html.light .orbit-node-sub { color: #888; }

/* Node positions */
.on-1 { top: 6%;   left: 10%;  animation: nodeAppear 0.6s 0.9s cubic-bezier(0.22,1,0.36,1) both,  floatA 9s  1.5s ease-in-out infinite; }
.on-2 { top: 4%;   right: 6%;  animation: nodeAppear 0.6s 1.1s cubic-bezier(0.22,1,0.36,1) both,  floatB 10s 1.7s ease-in-out infinite; }
.on-3 { bottom: 10%; left: 6%;  animation: nodeAppear 0.6s 1.3s cubic-bezier(0.22,1,0.36,1) both, floatC 8s  1.9s ease-in-out infinite; }
.on-4 { bottom: 6%; right: 8%;  animation: nodeAppear 0.6s 1.5s cubic-bezier(0.22,1,0.36,1) both, floatA 11s 2.1s ease-in-out infinite; }
.on-5 { top: 44%;  left: 0%;   animation: nodeAppear 0.6s 1.7s cubic-bezier(0.22,1,0.36,1) both, floatB 9s  2.3s ease-in-out infinite; }
.on-6 { top: 44%;  right: 0%;  animation: nodeAppear 0.6s 1.9s cubic-bezier(0.22,1,0.36,1) both, floatC 10s 2.5s ease-in-out infinite; }

@keyframes nodeAppear {
  from { opacity: 0; transform: scale(0.85) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes floatA {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(5px, -8px); }
  50% { transform: translate(-3px, -4px); }
  75% { transform: translate(-6px, 5px); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-7px, 5px); }
  50% { transform: translate(4px, 8px); }
  75% { transform: translate(6px, -5px); }
}
@keyframes floatC {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(4px, 7px); }
  50% { transform: translate(-5px, -3px); }
  75% { transform: translate(-4px, -7px); }
}

/* Hero responsive */
@media (max-width: 1100px) {
  .hero-network-text { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-trust { justify-content: center; }
  .network-area { height: 520px; }
}
@media (max-width: 640px) {
  .network-area { height: 420px; }
  .orbit-node { padding: 7px 11px; border-radius: 11px; max-width: 44vw; }
  .orbit-node-icon { width: 26px; height: 26px; border-radius: 6px; }
  .orbit-node-label { font-size: 10px; }
  .orbit-node-sub { display: none; }
  .center-hub { width: 64px; height: 64px; border-radius: 16px; }
  .center-hub img { width: 38px; height: 38px; }
  .orbit-ring-2, .orbit-ring-3 { display: none; }
  .orbit-ring-1 { width: 160px; height: 160px; }
  .hero-trust { flex-direction: column; align-items: center; gap: 10px; }
  /* Mobile node positions: 3 rows × 2 columns, no overlap */
  .on-1 { top: 6%;    left: 2%;  }
  .on-2 { top: 6%;    right: 2%; }
  .on-5 { top: 42%;   left: 2%;  }
  .on-6 { top: 42%;   right: 2%; }
  .on-3 { bottom: 6%; left: 2%;  }
  .on-4 { bottom: 6%; right: 2%; }
}

/* ---- Scroll Reveal Classes (GSAP-controlled) ---- */
.reveal-up { opacity: 0; transform: translateY(60px); }
.reveal-left { opacity: 0; transform: translateX(-60px); }
.reveal-right { opacity: 0; transform: translateX(60px); }
.reveal-scale { opacity: 0; transform: scale(0.9); }

/* ---- FAQ Accordion ---- */
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 12px;
}
.faq-item .faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ---- Cookie Consent Modal ---- */
.cookie-modal {
  animation: cookieSlideUp 0.4s ease;
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Cookie toggle switches */
.cookie-toggle:checked + .cookie-switch {
  background: rgba(102, 126, 234, 0.3);
}
.cookie-toggle:checked + .cookie-switch .cookie-switch-knob {
  transform: translateX(20px);
  background: var(--primary-start);
}
/* Light mode cookie modal */
html.light .cookie-modal {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
}
html.light .cookie-category-row {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
}

/* ---- Counter ---- */
.counter-value {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Team Avatar ---- */
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}

/* ---- Testimonial ---- */
.testimonial-quote::before {
  content: '\201C';
  font-size: 80px;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: -10px;
  left: 20px;
}

/* ---- Mobile Nav Overlay ---- */
.mobile-nav {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.open {
  transform: translateX(0);
}

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

/* ---- Section Headline Styling ---- */
.section-headline {
  position: relative;
  display: inline-block;
}
.section-headline::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 2px;
  background: var(--accent-gradient);
}

/* ---- Background Glow (section accent) ---- */
.section-glow {
  position: relative;
}
.section-glow::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .team-avatar {
    width: 80px;
    height: 80px;
    font-size: 24px;
  }
}

/* ---- Mobile Hero Buttons ---- */
@media (max-width: 640px) {
  .btn-mobile {
    padding: 12px 20px;
    font-size: 14px;
  }
  .hero-headline {
    font-size: clamp(42px, 10vw, 56px) !important;
  }
  .hero-badge {
    font-size: 11px;
    padding: 5px 14px;
    margin-bottom: 20px;
  }
  .hero-sub {
    font-size: 15px;
    margin-top: 16px;
  }
}
