/* ═══════════════════════════════════════════════════════════
   FLOWMATIC — styles.css
   Palette: Midnight Navy + Electric Amber
   Fonts: Bricolage Grotesque (display) + Plus Jakarta Sans (body)
═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --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:   #FFBE55;
  --amber-dim:     rgba(245,166,35,0.15);
  --amber-glow:    rgba(245,166,35,0.08);

  --cream:         #F0EBE1;
  --text-primary:  #EEF0F4;
  --text-secondary:#8A96A8;
  --text-muted:    #4E5A6B;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --shadow-card:   0 1px 3px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.3);
  --shadow-glow:   0 0 60px rgba(245,166,35,0.12);
  --shadow-featured: 0 0 0 1px rgba(245,166,35,0.4), 0 20px 60px rgba(245,166,35,0.15);

  --transition:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width:     1200px;
  --nav-height:    72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

em {
  font-style: italic;
  color: var(--amber);
}

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--bg-deep);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  padding: 0.65rem 1.4rem;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.35);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-primary.btn-dark {
  background: var(--bg-deep);
  color: var(--amber);
  border: 1.5px solid var(--amber);
}

.btn-primary.btn-dark:hover {
  background: var(--amber);
  color: var(--bg-deep);
  box-shadow: 0 8px 24px rgba(245,166,35,0.3);
}

.btn-primary.btn-light {
  background: var(--cream);
  color: var(--bg-deep);
}

.btn-primary.btn-light:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(240,235,225,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.65rem 1.4rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1.5px solid rgba(255,255,255,0.2);
}

.btn-ghost-light:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Navigation ────────────────────────────────────────── */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.nav-header.scrolled {
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.nav-logo:hover { opacity: 0.85; }

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.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); }

/* ── Section Shared ────────────────────────────────────── */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  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: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Hero Section ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 5rem) 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3rem 4rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
}

/* Gradient mesh background */
.hero-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.mesh-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.18) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: orbFloat1 12s ease-in-out infinite;
}

.mesh-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(61,100,200,0.15) 0%, transparent 70%);
  bottom: 10%;
  left: -150px;
  animation: orbFloat2 15s ease-in-out infinite;
}

.mesh-orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245,166,35,0.1) 0%, transparent 70%);
  top: 50%;
  left: 40%;
  animation: orbFloat3 10s ease-in-out infinite;
}

@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.95); }
}

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

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 20px); }
}

.hero-content {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
}

.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.2);
  border-radius: 100px;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--amber-light);
  margin-bottom: 1.75rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 6px var(--amber); opacity: 1; }
  50% { box-shadow: 0 0 14px var(--amber); opacity: 0.7; }
}

.hero-headline {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

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

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-deep);
  margin-left: -10px;
  object-fit: cover;
}

.avatar-stack img:first-child { margin-left: 0; }

.proof-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stars {
  color: var(--amber);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.proof-text span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.proof-text strong {
  color: var(--text-primary);
}

/* Hero Visual / Dashboard Mockup */
.hero-visual {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
}

.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
  z-index: 2;
  animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #28CA41; }

.mockup-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.mockup-body {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  transition: var(--transition);
}

.flow-node:hover {
  border-color: var(--border-hover);
  background: var(--amber-glow);
}

.flow-node-trigger { border-left: 3px solid #7C3AED; }
.flow-node-action  { border-left: 3px solid #0EA5E9; }
.flow-node-output  { border-left: 3px solid var(--amber); }
.flow-node-done    { border-left: 3px solid #10B981; }

.node-icon {
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.node-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.node-label small {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.72rem;
}

.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 1.75rem;
  gap: 0;
  height: 24px;
  position: relative;
}

.connector-line {
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--border), rgba(245,166,35,0.3));
  margin-left: 14px;
}

.connector-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  position: absolute;
  bottom: 0;
  left: calc(1.75rem + 11px);
  animation: connectorPulse 2s ease-in-out infinite;
}

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

.mockup-stats {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}

.stat-pill {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-pill-success {
  border-color: rgba(16,185,129,0.2);
  background: rgba(16,185,129,0.05);
}

.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-pill-success .stat-num { color: #10B981; }

.stat-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mockup-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Hero Logos */
.hero-logos {
  grid-column: 1 / -1;
  grid-row: 2;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.logos-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.logo-item {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.logo-item:hover { color: var(--text-secondary); }

.logo-sep {
  color: var(--text-muted);
  opacity: 0.4;
}

/* ── Features Section ──────────────────────────────────── */
.features {
  padding: 7rem 0;
  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: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,0.3), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

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

.feature-card-large {
  grid-column: span 2;
}

.feature-card-accent {
  background: linear-gradient(135deg, var(--amber) 0%, #E8920A 100%);
  border-color: transparent;
  color: var(--bg-deep);
}

.feature-card-accent h3 { color: var(--bg-deep); }
.feature-card-accent p { color: rgba(8,12,20,0.75); }

.feature-card-accent:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber) 100%);
  box-shadow: 0 20px 60px rgba(245,166,35,0.3);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(245,166,35,0.2);
  border-color: rgba(245,166,35,0.3);
}

.feature-card-accent .feature-icon-wrap {
  background: rgba(8,12,20,0.15);
  border-color: rgba(8,12,20,0.1);
}

.feature-card h3 {
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-tag-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.feature-tag-list span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(245,166,35,0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.feature-tag-list-dark span {
  color: var(--bg-deep);
  background: rgba(8,12,20,0.15);
  border-color: rgba(8,12,20,0.1);
}

/* ── Stats Band ────────────────────────────────────────── */
.stats-band {
  background: var(--bg-navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
}

.stats-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.stat-number {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-suffix {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.stat-number + .stat-suffix {
  display: inline;
}

.stat-item {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0;
}

.stat-desc {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 0.4rem;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Testimonials ──────────────────────────────────────── */
.testimonials {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.testimonial-quote {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 0.8;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-stars {
  color: var(--amber);
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-left: auto;
  flex-shrink: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  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: var(--transition);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--amber-dim);
  border-color: var(--amber);
  color: var(--amber);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  padding: 0;
}

.dot.active {
  background: var(--amber);
  width: 24px;
  border-radius: 4px;
}

/* ── Pricing Section ───────────────────────────────────── */
.pricing {
  padding: 7rem 0;
  position: relative;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.toggle-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toggle-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bg-deep);
  background: var(--amber);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}

.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}

.toggle-switch[aria-checked="true"] {
  background: var(--amber);
  border-color: var(--amber);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--text-secondary);
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch[aria-checked="true"] .toggle-thumb {
  transform: translateX(22px);
  background: var(--bg-deep);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.pricing-card-featured {
  border-color: rgba(245,166,35,0.35);
  background: linear-gradient(160deg, rgba(245,166,35,0.06) 0%, var(--bg-card) 60%);
  box-shadow: var(--shadow-featured);
  transform: scale(1.03);
}

.pricing-card-featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 0 0 1px rgba(245,166,35,0.5), 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-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.plan-name {
  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: 0.75rem;
}

.pricing-card-featured .plan-name { color: var(--amber); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.price-currency {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
  align-self: flex-start;
  margin-top: 0.4rem;
}

.price-amount {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: var(--transition);
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-amount-custom {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.plan-features li svg { flex-shrink: 0; }

.feature-disabled {
  opacity: 0.4;
}

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

/* ── CTA Band ──────────────────────────────────────────── */
.cta-band {
  padding: 2rem;
  margin: 0 2rem 4rem;
}

.cta-container {
  max-width: var(--max-width);
  margin: 0 auto;
  background: linear-gradient(135deg, #1A2540 0%, #0F1829 50%, #1A2030 100%);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.cta-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.cta-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(61,100,200,0.1) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--bg-navy);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.1rem;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  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: var(--amber-dim);
  border-color: rgba(245,166,35,0.3);
  color: var(--amber);
  transform: translateY(-2px);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col a:hover { color: var(--text-primary); }

.footer-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--bg-deep);
  background: #10B981;
  padding: 0.1rem 0.4rem;
  border-radius: 100px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--text-secondary); }

.footer-bottom-links span {
  color: var(--text-muted);
  opacity: 0.4;
}

/* ── Scroll Reveal Animations ──────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Responsive — Tablet ───────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    text-align: center;
    padding-top: calc(var(--nav-height) + 3rem);
  }

  .hero-content { grid-column: 1; grid-row: 1; }
  .hero-visual  { grid-column: 1; grid-row: 2; max-width: 520px; margin: 0 auto; }
  .hero-logos   { grid-column: 1; grid-row: 3; }

  .hero-subtext { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-social-proof { 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: 420px;
    margin: 0 auto;
  }

  .pricing-card-featured { transform: scale(1); }
  .pricing-card-featured:hover { transform: translateY(-4px); }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-divider { display: none; }
}

/* ── Responsive — Mobile ───────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links,
  .nav-actions { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(8,12,20,0.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
    z-index: 99;
    animation: slideDown 0.25s ease;
  }

  .nav-links.open + .nav-actions {
    display: flex;
    position: fixed;
    top: calc(var(--nav-height) + 200px);
    left: 0;
    right: 0;
    padding: 0 2rem 2rem;
    background: rgba(8,12,20,0.97);
    backdrop-filter: blur(20px);
    z-index: 99;
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-hamburger { display: flex; }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

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

  .feature-card-large { grid-column: span 1; }

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

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 2rem;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta-band { margin: 0 1rem 3rem; }
  .cta-container { padding: 3.5rem 1.5rem; }

  .hero { padding: calc(var(--nav-height) + 2.5rem) 1.5rem 3rem; }
  .section-container { padding: 0 1.5rem; }
  .features { padding: 5rem 0; }
  .testimonials { padding: 5rem 0; }
  .pricing { padding: 5rem 0; }
}

@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline { justify-content: center; }
}