/* =============================================
   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 0.75fr;
  align-items: center;
  gap: 4rem;
}

/* 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 Visual — Email Frame */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s 0.2s var(--ease) both;
  max-width: 420px;
  margin-left: auto;
}

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

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

/* =============================================
   Summary Showcase
   ============================================= */
#summary-showcase {
  padding: 7rem 0;
  background: var(--white);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.browser-frame {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--gray-200);
  overflow: hidden;
}

.browser-content {
  background: #f8f8f6;
  padding: 0;
}

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

.showcase-copy h2 {
  text-align: left;
  margin-bottom: 0.75rem;
}

.showcase-copy > p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-feat {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feat-icon-amber { background: rgba(234, 179, 8, 0.1);  color: #b45309; }
.feat-icon-green { background: rgba(34, 197, 94, 0.1);  color: #16a34a; }
.feat-icon-blue  { background: rgba(59, 130, 246, 0.1); color: #2563eb; }

.showcase-feat strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.showcase-feat p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   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; }

/* 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; }

/* =============================================
   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-frame {
    transform: none;
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-frame:hover { transform: none; }

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

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

  .showcase-copy h2 { text-align: center; }
  .showcase-copy > p { text-align: center; }

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

@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;
  }

  /* Sections */
  #how-it-works,
  #summary-showcase,
  #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;
  }
}
