/* ═══════════════════════════════════════════════════════════
   FLOWDESK — STYLES.CSS
   Palette: Copper & Slate  |  Tone: Editorial SaaS
   Fonts: Bricolage Grotesque (display) + Instrument Serif (accent)
═══════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─────────────────────────────────────── */
:root {
  /* Copper & Slate palette */
  --copper:        #B87333;
  --copper-light:  #D4A574;
  --copper-pale:   #F5EDE0;
  --slate-dark:    #2F3640;
  --slate:         #3D4A56;
  --slate-mid:     #6B7A8A;
  --slate-light:   #C8D0D8;
  --cream:         #F5F0EB;
  --white:         #FDFCFB;
  --ink:           #1A1F24;

  /* Semantic */
  --bg:            var(--ink);
  --bg-surface:    #1E2530;
  --bg-card:       #242D38;
  --bg-card-hover: #2A3545;
  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(184,115,51,0.4);
  --text-primary:  #EEE9E2;
  --text-secondary:#9AA5B1;
  --text-muted:    #5A6472;
  --accent:        var(--copper);
  --accent-light:  var(--copper-light);

  /* Typography */
  --font-display:  'Bricolage Grotesque', sans-serif;
  --font-serif:    'Instrument Serif', serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --max-w:     1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Transitions */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --t-fast:    0.15s;
  --t-med:     0.3s;
  --t-slow:    0.6s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img, svg { 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; }

/* ─── CONTAINER ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ─── TYPOGRAPHY SCALE ──────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

.hero-headline { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 800; }
.section-title  { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3              { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }

em { font-family: var(--font-serif); font-style: italic; color: var(--copper-light); font-weight: 400; }

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--copper);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--copper-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(184,115,51,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-large { padding: 0.85rem 1.8rem; font-size: 1rem; border-radius: var(--radius-md); }
.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: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn-outline:hover {
  border-color: var(--copper);
  color: var(--copper-light);
  transform: translateY(-1px);
}
.btn-outline.btn-large { padding: 0.85rem 1.8rem; font-size: 1rem; border-radius: var(--radius-md); }

.btn-ghost {
  display: inline-flex; align-items: center;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast);
}
.btn-ghost:hover { color: var(--text-primary); }

.btn-ghost-light {
  display: inline-flex; align-items: center;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--t-fast);
}
.btn-ghost-light:hover { color: #fff; }

/* ─── SECTION HEADERS ───────────────────────────────────── */
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--space-sm);
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(184,115,51,0.3);
  border-radius: 100px;
  background: rgba(184,115,51,0.08);
}
.section-title { margin-bottom: var(--space-sm); }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── SCROLL REVEAL ANIMATIONS ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-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.45s; }

/* ════════════════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════════════════ */
.nav-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  transition: background var(--t-med) var(--ease), backdrop-filter var(--t-med), box-shadow var(--t-med);
}
.nav-header.scrolled {
  background: rgba(26, 31, 36, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.3rem; }
.logo-text { color: var(--text-primary); }

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link: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: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}
.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); }

/* ════════════════════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem var(--space-md) 4rem;
  overflow: hidden;
  text-align: center;
}

/* Background grid */
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* Ambient orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.hero-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,115,51,0.18) 0%, transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%);
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.hero-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,165,116,0.12) 0%, transparent 70%);
  bottom: 10%; right: -100px;
  animation: orb-drift 16s ease-in-out infinite alternate-reverse;
}
.hero-orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(47,54,64,0.6) 0%, transparent 70%);
  bottom: 20%; left: -80px;
}

@keyframes orb-drift {
  from { transform: translateX(-50%) translateY(0); }
  to   { transform: translateX(-50%) translateY(-30px); }
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--copper-light);
  background: rgba(184,115,51,0.1);
  border: 1px solid rgba(184,115,51,0.25);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: var(--space-md);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.hero-badge:hover { background: rgba(184,115,51,0.18); border-color: rgba(184,115,51,0.5); }
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 3px rgba(184,115,51,0.25);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(184,115,51,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(184,115,51,0.1); }
}

.hero-headline {
  max-width: 820px; margin: 0 auto var(--space-md);
  color: var(--text-primary);
}

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

.hero-cta {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-sm); flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero-social-proof {
  font-size: 0.85rem; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; flex-wrap: wrap;
}
.hero-social-proof strong { color: var(--text-secondary); }
.proof-logos {
  display: flex; align-items: center; gap: 0.75rem;
}
.proof-logos span {
  font-weight: 600; font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
  letter-spacing: 0.02em;
}

/* ─── DASHBOARD MOCKUP ──────────────────────────────────── */
.hero-visual {
  position: relative; z-index: 1;
  width: 100%; max-width: 860px;
  margin: var(--space-xl) auto 0;
}

.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.5),
    0 0 120px rgba(184,115,51,0.08);
}

.mockup-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red    { background: #FF5F57; }
.dot--yellow { background: #FEBC2E; }
.dot--green  { background: #28C840; }
.mockup-url {
  margin-left: 0.75rem;
  font-size: 0.72rem; color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 0.2rem 0.75rem; border-radius: 4px;
}

.mockup-body { display: flex; min-height: 280px; }

.mockup-sidebar {
  width: 160px; flex-shrink: 0;
  padding: 1rem 0.75rem;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.sidebar-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 500;
  color: var(--text-muted);
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.sidebar-item:hover { background: rgba(255,255,255,0.04); color: var(--text-secondary); }
.sidebar-item--active {
  background: rgba(184,115,51,0.12);
  color: var(--copper-light);
}

.mockup-main { flex: 1; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }

.mockup-stat-row { display: flex; gap: 0.75rem; }
.mockup-stat {
  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-label { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; }
.stat-value { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
.stat-delta { font-size: 0.65rem; font-weight: 600; }
.stat-delta--up { color: #4ADE80; }

.mockup-chart {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  flex: 1;
}
.chart-bars {
  display: flex; align-items: flex-end; gap: 6px;
  height: 70px;
}
.chart-bar {
  flex: 1; height: var(--h);
  background: rgba(184,115,51,0.25);
  border-radius: 3px 3px 0 0;
  transition: background var(--t-fast);
  animation: bar-grow 1s var(--ease) both;
}
.chart-bar--active { background: var(--copper); }
.chart-bar:hover { background: rgba(184,115,51,0.5); }

@keyframes bar-grow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}

.mockup-tasks { display: flex; flex-direction: column; gap: 4px; }
.task-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: var(--text-secondary);
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
}
.task-item--done { opacity: 0.5; }
.task-item--done span:nth-child(2) { text-decoration: line-through; }
.task-check {
  width: 16px; height: 16px; border-radius: 50%;
  background: #4ADE80; color: #0A1F02;
  font-size: 0.6rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.task-check--empty {
  background: transparent;
  border: 1.5px solid var(--border);
}
.task-tag {
  margin-left: auto; font-size: 0.62rem; font-weight: 600;
  padding: 0.15rem 0.5rem; border-radius: 4px;
  background: rgba(184,115,51,0.15); color: var(--copper-light);
}
.task-tag--orange { background: rgba(251,146,60,0.15); color: #FB923C; }
.task-tag--purple { background: rgba(167,139,250,0.15); color: #A78BFA; }

/* ════════════════════════════════════════════════════════════
   LOGOS STRIP
════════════════════════════════════════════════════════════ */
.logos-strip {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.logos-label {
  text-align: center;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}
.logos-track { overflow: hidden; position: relative; }
.logos-track::before,
.logos-track::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1;
}
.logos-track::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.logos-track::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.logos-inner {
  display: flex; gap: var(--space-lg); align-items: center;
  width: max-content;
  animation: logos-scroll 28s linear infinite;
}
.logo-pill {
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity var(--t-fast);
}
.logo-pill:hover { opacity: 1; }

@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════════════════════
   FEATURES SECTION
════════════════════════════════════════════════════════════ */
.features {
  padding: var(--space-3xl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--t-med) var(--ease), background var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(184,115,51,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-med);
}
.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}
.feature-card:hover::before { opacity: 1; }

.feature-card--large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.feature-card__content { display: flex; flex-direction: column; gap: var(--space-sm); }
.feature-card h3 { color: var(--text-primary); margin-bottom: 0.25rem; }
.feature-card p  { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}
.feature-icon--copper {
  background: rgba(184,115,51,0.12);
  color: var(--copper-light);
  border: 1px solid rgba(184,115,51,0.2);
}
.feature-icon--slate {
  background: rgba(107,122,138,0.12);
  color: var(--slate-light);
  border: 1px solid rgba(107,122,138,0.2);
}

.feature-link {
  font-size: 0.88rem; font-weight: 600;
  color: var(--copper);
  display: inline-flex; align-items: center; gap: 4px;
  transition: color var(--t-fast), gap var(--t-fast);
  margin-top: auto;
}
.feature-link:hover { color: var(--copper-light); gap: 8px; }

/* AI Routing Demo */
.feature-card__visual { position: relative; }
.ai-routing-demo {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex; flex-direction: column; gap: 0.75rem;
  position: relative;
}
.routing-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem; color: var(--text-secondary);
  animation: routing-slide 0.5s var(--ease) both;
}
.routing-item--1 { animation-delay: 0.1s; }
.routing-item--2 { animation-delay: 0.25s; }
.routing-item--3 { animation-delay: 0.4s; }

@keyframes routing-slide {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.routing-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
  color: white; font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.routing-avatar--b { background: linear-gradient(135deg, #2F3640, #7B68EE); }
.routing-avatar--c { background: linear-gradient(135deg, #B5563E, #D4896A); }
.routing-text { flex: 1; }
.routing-badge {
  font-size: 0.62rem; font-weight: 700;
  padding: 0.2rem 0.5rem; border-radius: 4px;
  white-space: nowrap;
}
.routing-badge--auto   { background: rgba(74,222,128,0.12); color: #4ADE80; }
.routing-badge--manual { background: rgba(107,122,138,0.15); color: var(--text-muted); }

.routing-pulse {
  position: absolute; top: -8px; right: -8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--copper);
  animation: pulse-ring 2s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(184,115,51,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(184,115,51,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,115,51,0); }
}

/* ════════════════════════════════════════════════════════════
   STATS BAND
════════════════════════════════════════════════════════════ */
.stats-band {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, rgba(184,115,51,0.06) 0%, rgba(47,54,64,0.3) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}
.stat-suffix {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--copper);
  line-height: 1;
  display: inline;
}
.stat-item > div { display: flex; align-items: baseline; }
.stat-desc {
  font-size: 0.85rem; color: var(--text-muted);
  font-weight: 500; margin-top: 4px;
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════════ */
.testimonials {
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.carousel-wrapper { position: relative; }

.carousel-track {
  display: flex;
  gap: var(--space-md);
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - var(--space-sm));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex; flex-direction: column; gap: var(--space-md);
  transition: border-color var(--t-med), transform var(--t-med) var(--ease);
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.testimonial-stars { color: var(--copper); font-size: 0.9rem; letter-spacing: 2px; }

.testimonial-card blockquote {
  font-size: 0.95rem; line-height: 1.75;
  color: var(--text-secondary);
  flex: 1;
  font-style: normal;
}
.testimonial-card blockquote::before { content: '"'; }
.testimonial-card blockquote::after  { content: '"'; }

.testimonial-author {
  display: flex; align-items: center; gap: 0.75rem;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 0.72rem; font-weight: 700; color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.88rem; color: var(--text-primary); }
.testimonial-author span   { font-size: 0.78rem; color: var(--text-muted); }

.carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-md); margin-top: var(--space-lg);
}
.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: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.carousel-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--copper);
  color: var(--copper-light);
  transform: scale(1.08);
}
.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast), width var(--t-fast);
  border: none;
}
.carousel-dot.active {
  background: var(--copper);
  width: 22px; border-radius: 4px;
}

/* ════════════════════════════════════════════════════════════
   PRICING
════════════════════════════════════════════════════════════ */
.pricing { padding: var(--space-3xl) 0; }

.pricing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-sm); margin-bottom: var(--space-xl);
}
.toggle-label {
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 0.5rem;
}
.toggle-save {
  font-size: 0.7rem; font-weight: 700;
  background: rgba(74,222,128,0.12);
  color: #4ADE80;
  padding: 0.15rem 0.5rem; border-radius: 4px;
}
.toggle-switch {
  width: 48px; height: 26px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  position: relative;
  transition: background var(--t-med), border-color var(--t-med);
  cursor: pointer;
}
.toggle-switch.active {
  background: rgba(184,115,51,0.2);
  border-color: var(--copper);
}
.toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--text-muted);
  transition: transform var(--t-med) var(--ease), background var(--t-med);
}
.toggle-switch.active .toggle-thumb {
  transform: translateX(22px);
  background: var(--copper);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex; flex-direction: column; gap: var(--space-md);
  position: relative;
  transition: border-color var(--t-med), transform var(--t-med) var(--ease);
}
.pricing-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }

.pricing-card--featured {
  border-color: var(--copper);
  background: linear-gradient(160deg, rgba(184,115,51,0.08) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 0 1px rgba(184,115,51,0.2), 0 24px 48px rgba(0,0,0,0.3);
  transform: scale(1.02);
}
.pricing-card--featured:hover { transform: scale(1.02) translateY(-4px); }

.pricing-card__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; font-weight: 700;
  background: var(--copper);
  color: white;
  padding: 0.25rem 0.9rem; border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__header { display: flex; flex-direction: column; gap: 0.5rem; }
.plan-name {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
}
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.price-amount {
  font-size: 2.8rem; font-weight: 800;
  letter-spacing: -0.04em; color: var(--text-primary);
  transition: all var(--t-med) var(--ease);
}
.price-amount--custom { font-size: 2rem; }
.price-period { font-size: 0.82rem; color: var(--text-muted); }
.plan-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

.plan-features { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.plan-features li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.88rem; color: var(--text-secondary);
}
.plan-features li.muted { opacity: 0.4; }
.check { color: #4ADE80; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.cross { color: var(--text-muted); font-size: 0.85rem; flex-shrink: 0; }

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

/* ════════════════════════════════════════════════════════════
   CTA BAND
════════════════════════════════════════════════════════════ */
.cta-band {
  padding: var(--space-3xl) 0;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(184,115,51,0.1) 0%, rgba(47,54,64,0.2) 100%);
  border-top: 1px solid var(--border);
}
.cta-band__orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 300px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(184,115,51,0.12) 0%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.cta-band__inner {
  text-align: center; position: relative; z-index: 1;
}
.cta-band__inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-sm);
}
.cta-band__inner p {
  font-size: 1.05rem; color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}
.cta-band__actions {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-md); flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.footer-social a:hover {
  color: var(--copper-light);
  border-color: var(--border-hover);
  background: rgba(184,115,51,0.08);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.footer-col h4 {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  font-size: 0.88rem; color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-muted);
  flex-wrap: wrap; gap: 0.5rem;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: 1; grid-template-columns: 1fr; }
  .feature-card__visual { display: none; }

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

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

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

  .testimonial-card { flex: 0 0 calc(50% - var(--space-sm) / 2); }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --space-xl:  2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  /* Nav */
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(26,31,36,0.97);
    backdrop-filter: blur(20px);
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
    z-index: 99;
  }
  .nav-links.mobile-open .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  .nav-links.mobile-open + .nav-actions {
    display: flex; flex-direction: column;
    position: fixed; top: calc(64px + 220px); left: 0; right: 0;
    background: rgba(26,31,36,0.97);
    backdrop-filter: blur(20px);
    padding: var(--space-sm) var(--space-md) var(--space-md);
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }

  /* Hero */
  .hero { padding: 6rem var(--space-sm) 3rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary, .hero-cta .btn-outline { justify-content: center; }

  /* Mockup sidebar hidden on mobile */
  .mockup-sidebar { display: none; }
  .mockup-stat-row { flex-direction: column; }

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

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Testimonials */
  .testimonial-card { flex: 0 0 85vw; }

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

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .hero-social-proof { flex-direction: column; }
  .proof-logos { justify-content: center; }
}