/* =============================================
   BuyerPro Landing Page — Corporate Editorial
   Deep ink + teal · modern, premium, trustworthy
   ============================================= */

/* --- Design Tokens --- */
:root {
  --ink:        #0f172a;
  --ink-soft:   #1e293b;
  --paper:      #f8fafc;
  --paper-mid:  #f1f5f9;
  --paper-dark: #e2e8f0;

  --copper:       #14b8a6;
  --copper-hover: #0d9488;
  --copper-light: rgba(20, 184, 166, 0.08);
  --copper-glow:  rgba(20, 184, 166, 0.18);

  --green:  #22c55e;
  --yellow: #eab308;
  --red:    #dc2626;

  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;

  --white: #ffffff;

  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body:    'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', 'Fira Code', 'Consolas', monospace;

  --radius:    14px;
  --radius-sm: 8px;
  --radius-xs: 5px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.16);
  --ease:      cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray-600);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--copper);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover { color: var(--copper-hover); }

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(13, 148, 136, 0.1);
  color: var(--copper);
  padding: 0.15em 0.45em;
  border-radius: var(--radius-xs);
  font-weight: 500;
}

hr { border: none; }

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 400;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h1 em { font-style: italic; }

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.015em;
}

h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-sub {
  max-width: 560px;
  margin: 0.75rem auto 0;
  font-size: 1.125rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  background: var(--copper);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn:hover {
  background: var(--copper-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s var(--ease);
  text-decoration: none;
}

.btn-ghost:hover { color: var(--white); }

/* --- Navigation --- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.3s var(--ease);
}

#navbar.scrolled {
  box-shadow: 0 1px 0 var(--gray-200), 0 4px 20px rgba(15, 23, 42, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink-soft) !important;
  letter-spacing: -0.02em;
}

.logo span { color: var(--ink); }

.logo::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--copper);
  border-radius: 50%;
  margin-left: 1px;
  vertical-align: super;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s var(--ease);
}

.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--copper) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--copper-hover) !important;
  color: var(--white) !important;
}

/* Hamburger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s var(--ease);
}

/* =============================================
   Hero
   ============================================= */
#hero {
  position: relative;
  padding: 9rem 0 6rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 60%, rgba(13, 148, 136, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(15, 23, 42, 0.15) 0%, transparent 50%),
    linear-gradient(170deg, #0f172a 0%, #1e293b 40%, #0f172a 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 3rem;
}

/* Hero Copy */
.hero-copy {
  position: relative;
  z-index: 2;
}

.pill {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.6s var(--ease) both;
}

#hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s var(--ease) both;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 480px;
  animation: fadeUp 0.6s 0.2s var(--ease) both;
}

.hero-sub code {
  background: rgba(13, 148, 136, 0.15);
  color: #5eead4;
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fadeUp 0.6s 0.3s var(--ease) both;
}

/* Hero Stats Bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
  animation: fadeUp 0.6s 0.25s var(--ease) both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-stat-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-up { color: #34d399; }
.stat-down { color: #f87171; }
.stat-speed { color: #5eead4; }

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.hero-stats-note {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 2rem;
  animation: fadeUp 0.6s 0.28s var(--ease) both;
}

/* Hero Visual — Layered Screenshots */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s 0.2s var(--ease) both;
  min-height: 620px;
}

.hero-frame {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

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

.hero-frame-email {
  position: absolute;
  top: 38%;
  right: -2.5rem;
  z-index: 2;
  width: 52%;
  max-height: 546px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.12),
    0 32px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: none;
  transition: transform 0.4s var(--ease);
}

.hero-frame-email:hover {
  transform: translateY(-4px);
}

.hero-img {
  width: 100%;
  height: auto;
}

/* Frame bar (shared between hero + mockups) */
.frame-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.frame-dots {
  display: flex;
  gap: 5px;
}

.frame-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.frame-dots span:first-child { background: #ff5f57; }
.frame-dots span:nth-child(2) { background: #ffbd2e; }
.frame-dots span:last-child { background: #28c840; }

.frame-title {
  flex: 1;
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.frame-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--gray-400);
  background: var(--white);
  padding: 0.25rem 0.65rem;
  border-radius: 5px;
  border: 1px solid var(--gray-200);
}

/* =============================================
   How It Works
   ============================================= */
#how-it-works {
  padding: 7rem 0;
  background: var(--paper);
}

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

.steps-4 {
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.step-mock-screenshot {
  overflow: hidden;
}

.step-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.step {
  display: flex;
  flex-direction: column;
}

.step-num {
  margin-bottom: 1.25rem;
}

.step-num span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--copper);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9375rem;
  font-family: var(--font-body);
}

.step-body {
  margin-bottom: 1.25rem;
}

.step-body h3 {
  margin-bottom: 0.5rem;
}

.step-body p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Step mockups */
.step-mock {
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex: 1;
  background: var(--white);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 500;
}

.mock-dots {
  display: flex;
  gap: 4px;
}

.mock-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-300);
  opacity: 0.7;
}

.mock-body {
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.55;
}

.mock-hr {
  border-top: 1px solid var(--gray-200);
  margin: 0.625rem 0;
}

/* Step 1 — Compose */
.mock-field {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.8125rem;
}

.field-label {
  color: var(--gray-400);
  font-weight: 500;
  margin-right: 0.25rem;
}

.field-hl {
  color: var(--copper);
  font-weight: 600;
}

.mock-compose {
  padding-top: 0.75rem;
  color: var(--gray-400);
  font-style: italic;
  font-size: 0.8125rem;
}

/* Step 2 — Analysis */
.analysis-risk {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.risk-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.risk-yellow {
  background: var(--yellow);
  box-shadow: 0 0 8px rgba(234, 179, 8, 0.4);
}

.analysis-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-400);
  font-weight: 500;
}

.analysis-value {
  font-size: 0.8125rem;
  font-weight: 600;
}

.text-amber { color: #b45309; }

.analysis-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.signal-pill {
  font-size: 0.6875rem;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  font-weight: 500;
}

.pill-date     { background: rgba(234, 179, 8, 0.12); color: #92400e; }
.pill-silence  { background: rgba(220, 38, 38, 0.08); color: #991b1b; }
.pill-commit   { background: rgba(34, 197, 94, 0.1);  color: #166534; }

.analysis-tl {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tl-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.tl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}

.tl-who {
  font-weight: 500;
  color: var(--ink);
}

.tl-when {
  color: var(--gray-400);
  margin-left: auto;
}

/* Step 3 — Coaching */
.coaching-from {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 0.75rem;
}

.coaching-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-soft), var(--gray-700));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.coaching-addr {
  font-size: 0.6875rem;
  color: var(--gray-400);
}

.coaching-subj {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.125rem;
}

.coaching-section {
  margin-bottom: 0.75rem;
}

.coaching-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.badge-yellow {
  background: rgba(234, 179, 8, 0.14);
  color: #92400e;
}

.coaching-heading {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.coaching-text {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.55;
}

.coaching-draft {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  background: var(--gray-100);
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--copper);
  font-style: italic;
  line-height: 1.55;
}

/* =============================================
   Social Proof
   ============================================= */
#social-proof {
  padding: 7rem 0;
  background: var(--paper);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.proof-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}

.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

.proof-quote {
  flex: 1;
  margin-bottom: 1.25rem;
  position: relative;
}

.proof-quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--copper-light);
  position: absolute;
  top: -0.5rem;
  left: -0.25rem;
  line-height: 1;
  color: var(--gray-200);
}

.proof-quote p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-600);
  padding-left: 0.25rem;
}

.proof-quote strong {
  color: var(--ink);
  font-weight: 600;
}

.proof-outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  background: var(--copper-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--copper);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.proof-arrow {
  color: var(--copper);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.proof-persona {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.proof-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink-soft), var(--gray-700));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.proof-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.proof-role {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* =============================================
   Traffic Light System
   ============================================= */
#traffic-light {
  padding: 7rem 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

#traffic-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 17% 50%, rgba(34, 197, 94, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(234, 179, 8, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 83% 50%, rgba(220, 38, 38, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

#traffic-light .section-head h2 { color: var(--white); }
#traffic-light .section-sub { color: rgba(255, 255, 255, 0.5); }

.traffic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.traffic-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.traffic-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.traffic-glow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  position: relative;
}

.green-glow {
  background: var(--green);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.4), 0 0 60px rgba(34, 197, 94, 0.15);
}

.yellow-glow {
  background: var(--yellow);
  box-shadow: 0 0 24px rgba(234, 179, 8, 0.4), 0 0 60px rgba(234, 179, 8, 0.15);
}

.red-glow {
  background: var(--red);
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.4), 0 0 60px rgba(220, 38, 38, 0.15);
}

.traffic-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
}

.traffic-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.tl-green { border-top: 2px solid var(--green); }
.tl-yellow { border-top: 2px solid var(--yellow); }
.tl-red { border-top: 2px solid var(--red); }

/* =============================================
   Features
   ============================================= */
#features {
  padding: 7rem 0;
  background: var(--paper);
}

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

.feat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: all 0.3s var(--ease);
}

.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

.feat-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--copper-light);
  color: var(--copper);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.feat-card-icon-secure {
  background: rgba(15, 23, 42, 0.06);
  color: var(--ink-soft);
}

.feat-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.feat-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-500);
  border-left: 2px solid var(--copper);
  padding-left: 1rem;
}

.feat-card:last-child p {
  border-left-color: var(--gray-300);
}

/* =============================================
   Security
   ============================================= */
#security {
  padding: 5.5rem 0;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
}

.security-inner {
  text-align: center;
}

.security-inner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.security-inner > p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.security-inner strong {
  color: var(--white);
}

.security-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.sec-badge svg {
  color: var(--copper);
  flex-shrink: 0;
}

/* =============================================
   CTA / Waitlist
   ============================================= */
#waitlist {
  padding: 7rem 0;
  background: var(--white);
}

.cta-inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.cta-inner h2 { margin-bottom: 0.75rem; }

.cta-inner .section-sub {
  margin-bottom: 2rem;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 0.75rem;
}

.cta-form input[type="email"] {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  transition: all 0.2s var(--ease);
  outline: none;
}

.cta-form input[type="email"]:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px var(--copper-glow);
  background: var(--white);
}

.cta-form input[type="email"]::placeholder {
  color: var(--gray-400);
}

.waitlist-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
}

.cta-success {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-sm);
  color: #16a34a;
  font-weight: 500;
  font-size: 0.9375rem;
}

.cta-error {
  padding: 1rem 1.5rem;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: var(--radius-sm);
  color: var(--red);
  font-size: 0.9375rem;
}

/* =============================================
   Footer
   ============================================= */
footer {
  padding: 2.5rem 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.45);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.logo-footer {
  color: rgba(255, 255, 255, 0.7) !important;
}

.logo-footer span {
  color: var(--white) !important;
}

.logo-footer::after {
  background: var(--copper);
}

.footer-brand p {
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
}

.footer-links a:hover { color: var(--white); }

.footer-tagline p {
  font-size: 0.8125rem;
  font-style: italic;
}

/* =============================================
   Animations
   ============================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal — only hide when JS is active */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children in steps */
.steps .step:nth-child(1) { transition-delay: 0s; }
.steps .step:nth-child(2) { transition-delay: 0.1s; }
.steps .step:nth-child(3) { transition-delay: 0.2s; }
.steps .step:nth-child(4) { transition-delay: 0.3s; }

/* Stagger proof cards */
.proof-grid .proof-card:nth-child(1) { transition-delay: 0s; }
.proof-grid .proof-card:nth-child(2) { transition-delay: 0.08s; }
.proof-grid .proof-card:nth-child(3) { transition-delay: 0.16s; }

/* Traffic cards */
.traffic-grid .traffic-card:nth-child(1) { transition-delay: 0s; }
.traffic-grid .traffic-card:nth-child(2) { transition-delay: 0.1s; }
.traffic-grid .traffic-card:nth-child(3) { transition-delay: 0.2s; }

/* =============================================
   Pricing
   ============================================= */

#pricing {
  background: var(--paper-mid);
  padding: 7rem 0;
}

/* Toggle */
.pricing-toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 3rem;
}

.pricing-toggle {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--paper-dark);
  border-radius: 99px;
  padding: 4px;
  gap: 4px;
}

.toggle-btn {
  appearance: none;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  padding: 0.4rem 1.25rem;
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.toggle-btn.active {
  background: var(--ink);
  color: var(--white);
}

.toggle-btn:hover:not(.active) {
  background: var(--paper-dark);
  color: var(--ink);
}

.toggle-badge {
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--copper);
  color: var(--white);
  padding: 1px 6px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}

.yearly-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
}

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

.plan-card {
  background: var(--paper);
  border: 1px solid var(--paper-dark);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.plan-card--featured {
  background: var(--ink);
  border-color: var(--copper);
  border-width: 2px;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.18);
}

.plan-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--copper);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.plan-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.plan-card--featured .plan-name {
  color: rgba(255, 255, 255, 0.6);
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

.plan-card--featured .plan-price {
  color: var(--white);
}

.plan-price--custom {
  font-size: 2rem;
}

.plan-period {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-500);
}

.plan-card--featured .plan-period {
  color: rgba(255, 255, 255, 0.5);
}

.plan-trial {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0 0 1.5rem;
}

.plan-card--featured .plan-trial {
  color: rgba(255, 255, 255, 0.5);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.plan-features li {
  font-size: 0.875rem;
  color: var(--ink);
  padding-left: 1.4rem;
  position: relative;
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.55em;
  height: 0.55em;
  border-right: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  transform: rotate(45deg) translate(-1px, -2px);
}

.plan-card--featured .plan-features li {
  color: rgba(255, 255, 255, 0.85);
}

/* Plan CTAs */
.plan-cta {
  display: block;
  text-align: center;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.btn-plan-outline {
  background: transparent;
  border: 1.5px solid var(--paper-dark);
  color: var(--ink);
}

.btn-plan-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.btn-plan-featured {
  background: var(--copper);
  border: 1.5px solid var(--copper);
  color: var(--white);
}

.btn-plan-featured:hover {
  background: #0fa18e;
  border-color: #0fa18e;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
}

/* FAQ strip */
.pricing-faq {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border-top: 1px solid var(--paper-dark);
  border-bottom: 1px solid var(--paper-dark);
  padding: 2rem 0;
}

.faq-item {
  flex: 1;
  padding: 0 2rem;
}

.faq-item:first-child {
  padding-left: 0;
}

.faq-item:last-child {
  padding-right: 0;
}

.faq-sep {
  width: 1px;
  align-self: stretch;
  background: var(--paper-dark);
  flex-shrink: 0;
}

.faq-q {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.faq-a {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}

/* =============================================
   Blog — shared
   ============================================= */

/* Back link */
.post-back {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.15s;
}
.post-back:hover { color: var(--copper); }

/* =============================================
   Blog — post page
   ============================================= */

.post-main {
  padding: 5rem 0 7rem;
}

.post-container {
  max-width: 740px;
}

.post-hero {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--paper-dark);
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.post-sep { color: var(--gray-400); }

/* Article body typography */
.post-body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.post-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin: 2.5rem 0 0.75rem;
  line-height: 1.25;
}

.post-body h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2rem 0 0.5rem;
}

.post-body p { margin: 0 0 1.25rem; }

.post-body ul,
.post-body ol {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}

.post-body li { margin-bottom: 0.4rem; }

.post-body strong { font-weight: 600; color: var(--ink); }

.post-body a { color: var(--copper); }
.post-body a:hover { color: var(--copper-hover); }

.post-body blockquote {
  border-left: 3px solid var(--copper);
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  background: var(--copper-light);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--ink);
}

.post-body code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--paper-dark);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: var(--ink);
}

.post-body pre {
  background: var(--ink);
  color: #e2e8f0;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.post-body pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: 0.875rem;
}

/* Related articles */
.related-posts {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--paper-dark);
}

.related-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

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

.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem;
  background: var(--paper-mid);
  border: 1px solid var(--paper-dark);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.related-card:hover {
  border-color: var(--copper);
  box-shadow: var(--shadow-sm);
}

.related-card-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.related-card-meta {
  font-size: 0.775rem;
  color: var(--gray-500);
}

/* =============================================
   Blog — index page
   ============================================= */

.blog-index-main {
  padding: 5rem 0 7rem;
}

.blog-index-hero {
  text-align: center;
  margin-bottom: 4rem;
}

.blog-index-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.blog-index-sub {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 500px;
  margin: 0 auto;
}

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--paper-dark);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.blog-card:hover {
  border-color: var(--copper);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card-meta {
  font-size: 0.775rem;
  color: var(--gray-500);
  margin-bottom: 0.6rem;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  flex: 1;
}

.blog-card-read {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--copper);
}

/* =============================================
   Homepage blog teaser (#blog-teaser)
   ============================================= */

#blog-teaser {
  padding: 7rem 0;
  background: var(--paper);
}

.blog-teaser-head {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.blog-teaser-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--paper-mid);
  border: 1px solid var(--paper-dark);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.blog-teaser-card:hover {
  border-color: var(--copper);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.blog-teaser-card-meta {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.blog-teaser-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 0.5rem;
  flex: 1;
}

.blog-teaser-card-excerpt {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin: 0 0 1rem;
}

.blog-teaser-card-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--copper);
}

.blog-teaser-all {
  text-align: center;
}

.blog-teaser-all a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--copper);
  text-decoration: none;
}

.blog-teaser-all a:hover {
  color: var(--copper-hover);
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1023px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
    min-height: auto;
  }

  .hero-frame-email {
    width: 48%;
    top: -1rem;
    right: -0.5rem;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-stats-note {
    text-align: center;
  }

  .steps,
  .steps-4 {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 2.5rem;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .traffic-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

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

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto 4rem;
  }

  .pricing-faq {
    flex-direction: column;
    gap: 1.5rem;
  }

  .faq-sep { display: none; }

  .faq-item {
    padding: 0;
  }

  /* Blog */
  .blog-index-grid { grid-template-columns: 1fr; }
  .blog-teaser-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .section-sub {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  /* Nav mobile */
  .burger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 0.875rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--gray-200);
  }

  .nav-links.open { display: flex; }

  .nav-cta {
    width: 100%;
    text-align: center;
    padding: 0.65rem 1.25rem !important;
  }

  /* Hero mobile */
  #hero {
    padding: 7rem 0 3.5rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-ghost {
    padding: 0.5rem 1rem;
  }

  /* Hero mobile stats */
  .hero-stats {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .hero-stat {
    align-items: center;
    text-align: center;
  }

  .hero-stat-sep {
    width: 48px;
    height: 1px;
  }

  .hero-frame-email {
    width: 55%;
    top: -0.5rem;
    right: -0.25rem;
  }

  /* Sections */
  #how-it-works,
  #social-proof,
  #features {
    padding: 5rem 0;
  }

  #traffic-light {
    padding: 5rem 0;
  }

  .section-head {
    margin-bottom: 2.5rem;
  }

  /* Security badges */
  .security-badges {
    flex-direction: column;
    align-items: center;
  }

  /* CTA */
  .cta-form {
    flex-direction: column;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Blog */
  .post-main  { padding: 3rem 0 5rem; }
  .blog-index-main { padding: 3rem 0 5rem; }
}
