/* ═══════════════════════════════════════════════════════════════
   FLOWLANE — Design System
   Palette: Deep Navy + Electric Amber
   Fonts: Bricolage Grotesque (display) + Plus Jakarta Sans (body)
═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --navy-950: #060912;
  --navy-900: #0B0F1A;
  --navy-800: #111827;
  --navy-700: #1E2740;
  --navy-600: #2A3655;
  --navy-500: #3D4F72;

  --amber-500: #F5A623;
  --amber-400: #F7B84B;
  --amber-300: #FAD07A;
  --amber-glow: rgba(245, 166, 35, 0.18);
  --amber-glow-strong: rgba(245, 166, 35, 0.32);

  --text-primary: #EDF0F7;
  --text-secondary: #8A96B0;
  --text-muted: #4E5A72;

  --green-500: #22C55E;
  --blue-500: #3B82F6;

  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.35), 0 1px 4px rgba(0,0,0,0.2);
  --shadow-featured: 0 0 0 1px var(--amber-500), 0 8px 48px rgba(245,166,35,0.2), 0 2px 8px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 60px var(--amber-glow-strong);

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --nav-h: 72px;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--navy-900);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,0.06); }

.btn--primary {
  background: var(--amber-500);
  color: var(--navy-900);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245,166,35,0.35);
}
.btn--primary:hover {
  background: var(--amber-400);
  box-shadow: 0 6px 28px rgba(245,166,35,0.5);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn--outline:hover {
  border-color: var(--amber-500);
  color: var(--amber-500);
  transform: translateY(-1px);
}

.btn--full { width: 100%; justify-content: center; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

/* ── SECTION LABELS ──────────────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 20px;
}
.label-line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--amber-500);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 64px;
}

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
              transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════════ */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.nav-wrapper.scrolled {
  background: rgba(11, 15, 26, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.85; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links li a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links li a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}
.nav-cta {
  background: var(--amber-500) !important;
  color: var(--navy-900) !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm) !important;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--amber-400) !important;
  box-shadow: 0 4px 16px rgba(245,166,35,0.4) !important;
  transform: translateY(-1px) !important;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--navy-950);
}

/* Mesh gradient orbs */
.hero-mesh { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.mesh-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.22) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: orbFloat1 12s ease-in-out infinite;
}
.mesh-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  top: 20%; right: 5%;
  animation: orbFloat2 15s ease-in-out infinite;
}
.mesh-orb--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  bottom: 10%; left: 30%;
  animation: orbFloat3 18s ease-in-out infinite;
}
.mesh-orb--4 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,166,35,0.1) 0%, transparent 70%);
  top: -200px; right: -200px;
}
.mesh-orb--5 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

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

/* Grid lines */
.hero-grid-lines {
  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;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  grid-column: 1;
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-400);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--amber-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber-500);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 6px var(--amber-500); opacity: 1; }
  50% { box-shadow: 0 0 14px var(--amber-500); opacity: 0.7; }
}

.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--amber-500);
  position: relative;
}
.hero-headline em::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-500), transparent);
  border-radius: 2px;
  opacity: 0.5;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar-stack {
  display: flex;
}
.avatar-stack img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--navy-900);
  margin-left: -10px;
  object-fit: cover;
}
.avatar-stack img:first-child { margin-left: 0; }
.hero-social-proof p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.hero-social-proof strong { color: var(--text-primary); }

/* Dashboard card */
.hero-dashboard {
  grid-column: 2;
  position: relative;
  z-index: 2;
  padding: 80px 24px 80px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dashboard-card {
  background: var(--navy-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-card), 0 0 80px rgba(245,166,35,0.08);
  animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.dashboard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.dashboard-dots {
  display: flex;
  gap: 5px;
}
.dashboard-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--navy-600);
}
.dashboard-dots span:nth-child(1) { background: #FF5F57; }
.dashboard-dots span:nth-child(2) { background: #FEBC2E; }
.dashboard-dots span:nth-child(3) { background: #28C840; }
.dashboard-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.flow-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}
.flow-item--active { border-color: rgba(34,197,94,0.25); }
.flow-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flow-icon--green { background: rgba(34,197,94,0.15); color: var(--green-500); }
.flow-icon--amber { background: var(--amber-glow); color: var(--amber-500); }
.flow-icon--blue { background: rgba(59,130,246,0.15); color: var(--blue-500); }
.flow-info { flex: 1; min-width: 0; }
.flow-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.flow-stat {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.flow-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.flow-badge--live { background: rgba(34,197,94,0.15); color: var(--green-500); }
.flow-badge--paused { background: rgba(255,255,255,0.06); color: var(--text-muted); }

.dashboard-metric {
  display: flex;
  align-items: center;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.metric-block {
  flex: 1;
  text-align: center;
}
.metric-value {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.metric-value small {
  font-size: 0.9rem;
  color: var(--amber-500);
}
.metric-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.metric-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Logos */
.hero-logos {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  padding: 0 24px 80px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.logos-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 16px;
}
.logos-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.logo-pill {
  padding: 8px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color var(--transition), border-color var(--transition);
}
.logo-pill:hover {
  color: var(--text-secondary);
  border-color: var(--border-hover);
}

/* Diagonal cut */
.hero-diagonal {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--navy-900);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 3;
}

/* ══════════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════════ */
.features {
  padding: 120px 0;
  background: var(--navy-900);
  position: relative;
}

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

.feature-card {
  background: var(--navy-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.feature-card--large {
  grid-column: span 2;
}
.feature-card-inner {
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--amber-glow);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-500);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

/* Builder visual */
.feature-visual { margin-top: 28px; }
.feature-visual--builder {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.builder-node {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.builder-node--trigger {
  background: var(--amber-glow);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--amber-400);
}
.builder-node--action {
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  color: #93C5FD;
}
.builder-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Chart visual */
.feature-visual--chart { margin-top: 28px; }
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}
.chart-bar {
  flex: 1;
  height: var(--h);
  background: rgba(255,255,255,0.08);
  border-radius: 4px 4px 0 0;
  transition: background var(--transition);
}
.chart-bar--accent { background: var(--amber-500) !important; }
.feature-card:hover .chart-bar { background: rgba(255,255,255,0.12); }
.feature-card:hover .chart-bar--accent { background: var(--amber-400) !important; }

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════ */
.testimonials {
  padding: 120px 0;
  background: var(--navy-950);
  position: relative;
  overflow: hidden;
}
.testimonials-bg { position: absolute; inset: 0; pointer-events: none; }

.carousel-wrapper { position: relative; }
.carousel-track {
  display: flex;
  gap: 20px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.carousel-track.dragging { cursor: grabbing; }

.testimonial-card {
  min-width: calc(33.333% - 14px);
  background: var(--navy-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  flex-shrink: 0;
  transition: border-color var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.testimonial-stars {
  color: var(--amber-500);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: normal;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-hover);
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.testimonial-author span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-700);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.carousel-btn:hover {
  background: var(--navy-600);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: scale(1.05);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 100px;
  background: var(--navy-600);
  border: none;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}
.carousel-dot.active {
  background: var(--amber-500);
  width: 24px;
}

/* ══════════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════════ */
.pricing {
  padding: 120px 0;
  background: var(--navy-900);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
}
.toggle-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toggle-save {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(34,197,94,0.15);
  color: var(--green-500);
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.toggle-switch {
  width: 48px; height: 26px;
  background: var(--navy-600);
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  position: relative;
  transition: background var(--transition);
  cursor: pointer;
}
.toggle-switch[aria-checked="true"] { background: var(--amber-500); }
.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.toggle-switch[aria-checked="true"] .toggle-thumb { transform: translateX(22px); }

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

.pricing-card {
  background: var(--navy-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card--featured {
  background: linear-gradient(160deg, var(--navy-700) 0%, rgba(245,166,35,0.06) 100%);
  box-shadow: var(--shadow-featured);
  transform: translateY(-8px);
}
.pricing-card--featured:hover { transform: translateY(-12px); }

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber-500);
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-tier {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 16px;
  line-height: 1;
}
.price-currency {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 8px;
}
.price-amount {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  transition: var(--transition);
}
.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  align-self: flex-end;
  margin-bottom: 8px;
}
.pricing-price--custom .price-amount {
  font-size: 2rem;
  align-self: center;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  min-height: 56px;
}

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

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

/* ══════════════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════════════ */
.cta-band {
  padding: 120px 0;
  background: var(--navy-950);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-band-inner { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.cta-band-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy-950);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding: 72px 24px 56px;
}
.footer-brand .nav-logo {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social a:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.footer-nav {
  display: contents;
}
.footer-col h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--text-secondary); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .hero-content {
    grid-column: 1;
    padding-top: 100px;
    padding-bottom: 40px;
    text-align: center;
  }
  .hero-headline em::after { display: none; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .hero-dashboard {
    grid-column: 1;
    padding: 0 24px 60px;
  }
  .dashboard-card { max-width: 480px; }
  .hero-logos { padding-bottom: 60px; }
  .logos-row { justify-content: center; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card--large { grid-column: span 2; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --nav-h: 64px; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(11,15,26,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform var(--transition-slow);
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
  }
  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }
  .nav-hamburger { display: flex; }

  .hero-content { padding-top: 80px; }
  .hero-headline { font-size: 2.4rem; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }

  .testimonial-card { min-width: calc(100% - 0px); }

  .section-title { font-size: 1.9rem; }
  .section-sub { margin-bottom: 40px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px 40px;
  }
  .footer-brand { grid-column: 1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }

  .cta-band-actions { flex-direction: column; align-items: center; }
  .btn--lg { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════
   PRICE CHANGE ANIMATION
══════════════════════════════════════════════════════════════ */
.price-amount.changing {
  animation: priceFlip 0.3s cubic-bezier(0.4,0,0.2,1);
}
@keyframes priceFlip {
  0% { opacity: 1; transform: translateY(0); }
  40% { opacity: 0; transform: translateY(-8px); }
  60% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}