/* ═══════════════════════════════════════════════════════
   FLOWLANE — Design System
   Palette: Midnight Navy + Electric Amber
   Fonts: Bricolage Grotesque + Plus Jakarta Sans
═══════════════════════════════════════════════════════ */

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

:root {
  /* Colors */
  --bg-deep:       #080C14;
  --bg-navy:       #0F1829;
  --bg-card:       #131E30;
  --bg-card-hover: #172236;
  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(245,166,35,0.35);

  --amber:         #F5A623;
  --amber-light:   #FFB84D;
  --amber-dim:     rgba(245,166,35,0.12);
  --amber-glow:    rgba(245,166,35,0.25);

  --text-primary:  #F0EBE1;
  --text-secondary:#9BAAB8;
  --text-muted:    #5A6A7A;

  /* Typography */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-gap: clamp(80px, 10vw, 140px);
  --container:   1200px;

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.reveal--delay-1 { transition-delay: 0.1s; }
.reveal.reveal--delay-2 { transition-delay: 0.2s; }
.reveal.reveal--delay-3 { transition-delay: 0.3s; }
.reveal.reveal--delay-4 { transition-delay: 0.4s; }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--r-md);
  transition: background 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,166,35,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-primary.btn-lg { font-size: 1.05rem; padding: 15px 32px; border-radius: var(--r-lg); }
.btn-primary.btn-sm { font-size: 0.85rem; padding: 9px 18px; }
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out), background 0.2s;
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
  background: var(--amber-dim);
}
.btn-outline.btn-lg { font-size: 1.05rem; padding: 15px 32px; border-radius: var(--r-lg); }
.btn-outline.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  color: rgba(240,235,225,0.7);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.btn-ghost-light:hover { color: var(--text-primary); }

/* ── Section Shared ── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(245,166,35,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav-header.scrolled {
  background: rgba(8,12,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-docs { color: var(--text-muted) !important; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.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); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 20px clamp(20px, 5vw, 48px) 28px;
  background: rgba(8,12,20,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.nav-mobile.open {
  max-height: 400px;
}
.nav-mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--text-primary); }
.nav-mobile .btn-primary { margin-top: 12px; justify-content: center; }

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding-top: clamp(120px, 16vw, 180px);
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}

/* Animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb {
  width: clamp(400px, 60vw, 800px);
  height: clamp(400px, 60vw, 800px);
  background: radial-gradient(circle, rgba(245,166,35,0.18) 0%, rgba(245,166,35,0.04) 60%, transparent 80%);
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
}
.hero-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  top: 10%;
  right: -10%;
  left: auto;
  transform: none;
  animation-delay: -4s;
  animation-duration: 11s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  33% { transform: translateX(-50%) translateY(-30px) scale(1.05); }
  66% { transform: translateX(-50%) translateY(20px) scale(0.97); }
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.25);
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 820px;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--amber) 0%, #FFD080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.hero-social-proof strong { color: var(--text-primary); }
.avatars {
  display: flex;
}
.avatars img {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-deep);
  margin-left: -8px;
  object-fit: cover;
}
.avatars img:first-child { margin-left: 0; }

/* Hero Mockup */
.hero-mockup {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  margin-top: 20px;
}
.mockup-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(245,166,35,0.08);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.dot--red    { background: #FF5F57; }
.dot--yellow { background: #FFBD2E; }
.dot--green  { background: #28C840; }
.mockup-url {
  margin-left: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
  background: rgba(255,255,255,0.04);
  padding: 3px 12px;
  border-radius: 6px;
}
.mockup-body {
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 20px;
}
.flow-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-navy);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  min-width: 140px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.flow-node:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 20px var(--amber-glow);
}
.flow-node--trigger { border-color: rgba(245,166,35,0.3); }
.flow-node--output  { border-color: rgba(99,202,183,0.3); }
.node-icon { font-size: 1.3rem; }
.node-label { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.node-label small { color: var(--text-muted); font-weight: 400; }
.flow-arrow {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  flex-shrink: 0;
}
.flow-line {
  width: 24px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  animation: flowPulse 2s ease-in-out infinite;
}
@keyframes flowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.mockup-stats {
  width: 100%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.stat-dot { width: 6px; height: 6px; border-radius: 50%; }
.stat-dot--green { background: #28C840; box-shadow: 0 0 6px #28C840; }

/* Logos strip */
.logos-strip {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border);
}
.logos-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.logo-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  letter-spacing: -0.01em;
  transition: color 0.2s;
  padding: 4px 8px;
}
.logo-item:hover { color: var(--text-secondary); }
.logo-sep { color: var(--border); font-size: 1.2rem; }

/* ═══════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════ */
.features {
  padding-block: var(--section-gap);
  background: var(--bg-navy);
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(245,166,35,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(245,166,35,0.08);
}
.feature-card:hover::before { opacity: 1; }

.feature-card--large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.feature-card--accent {
  background: var(--amber);
  border-color: var(--amber);
}
.feature-card--accent h3,
.feature-card--accent p { color: var(--bg-deep); }
.feature-card--accent .feature-tag--dark {
  background: rgba(8,12,20,0.15);
  color: var(--bg-deep);
  border-color: rgba(8,12,20,0.2);
}
.feature-card--accent:hover {
  border-color: var(--amber-light);
  box-shadow: 0 20px 60px rgba(245,166,35,0.3);
}

.feature-visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-navy);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.builder-demo {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  justify-content: center;
}
.builder-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}
.bn--start { border-color: rgba(245,166,35,0.4); color: var(--amber); }
.bn--end   { border-color: rgba(99,202,183,0.4); color: #63CAB7; }
.builder-connector {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, var(--amber), rgba(245,166,35,0.3));
  min-width: 20px;
  max-width: 40px;
}

.feature-content { position: relative; z-index: 1; }
.feature-icon {
  width: 48px; height: 48px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   STATS BAND
═══════════════════════════════════════════════════════ */
.stats-band {
  padding-block: clamp(48px, 6vw, 72px);
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 140px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════ */
.testimonials {
  padding-block: var(--section-gap);
  background: var(--bg-navy);
  position: relative;
  overflow: hidden;
}
.testimonials::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.carousel-wrapper { position: relative; }

.carousel {
  overflow: hidden;
  border-radius: var(--r-xl);
}
.carousel-track {
  display: flex;
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-stars {
  font-size: 1.1rem;
  color: var(--amber);
  letter-spacing: 2px;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.testimonial-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border-hover);
  object-fit: cover;
}
.testimonial-author strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.testimonial-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}
.carousel-btn:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-dim);
  transform: scale(1.08);
}
.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, width 0.3s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--amber);
  width: 24px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════ */
.pricing {
  padding-block: var(--section-gap);
  background: var(--bg-deep);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 5px;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: var(--r-md);
  transition: background 0.2s, color 0.2s;
}
.toggle-btn--active {
  background: var(--amber);
  color: var(--bg-deep);
}
.toggle-badge {
  background: rgba(8,12,20,0.2);
  color: var(--bg-deep);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
}
.toggle-btn:not(.toggle-btn--active) .toggle-badge {
  background: rgba(245,166,35,0.15);
  color: var(--amber);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.pricing-card--featured {
  border-color: rgba(245,166,35,0.4);
  background: linear-gradient(160deg, rgba(245,166,35,0.06) 0%, var(--bg-card) 50%);
  box-shadow: 0 0 0 1px rgba(245,166,35,0.15), 0 20px 60px rgba(0,0,0,0.4);
}
.pricing-card--featured:hover {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 24px 80px rgba(245,166,35,0.2);
}
.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card-header { margin-bottom: 28px; }
.plan-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  transition: all 0.3s var(--ease-out);
}
.price-custom {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.plan-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.check {
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
}
.feature-muted { opacity: 0.4; }

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 32px;
}

/* ═══════════════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════════════ */
.cta-band {
  position: relative;
  padding-block: clamp(80px, 10vw, 120px);
  background: var(--bg-navy);
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite;
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 600px;
}
.cta-inner p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 440px;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding-top: clamp(56px, 7vw, 80px);
}
.footer-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--border);
}
.footer-brand .nav-logo {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social a:hover {
  color: var(--amber);
  border-color: rgba(245,166,35,0.3);
  background: var(--amber-dim);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-secondary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card--large {
    grid-column: span 2;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }

  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card--large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .stats-inner {
    justify-content: center;
  }
  .stat-divider { display: none; }
  .stat-item { min-width: 120px; }

  .mockup-body {
    flex-direction: column;
    align-items: flex-start;
  }
  .flow-arrow { transform: rotate(90deg); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }

  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn-primary { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ═══════════════════════════════════════════════════════
   SELECTION
═══════════════════════════════════════════════════════ */
::selection {
  background: rgba(245,166,35,0.25);
  color: var(--text-primary);
}