/* ============================================================
   TTP Leads Marketing Site — Main Stylesheet
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Brand colours — saffron + deep green */
  --primary:        #FF7A1A;
  --primary-dark:   #d45f00;
  --primary-light:  #fff3e6;
  --accent:         #2E7D5A;
  --accent-light:   #e8f5ee;

  /* Neutrals */
  --text:           #1a1a1a;
  --text-muted:     #6b7280;
  --text-light:     #9ca3af;
  --bg:             #ffffff;
  --bg-alt:         #f8fafc;
  --bg-dark:        #0f172a;
  --border:         #e5e7eb;
  --border-dark:    #d1d5db;

  /* Feedback */
  --success:        #16a34a;
  --warning:        #d97706;
  --error:          #dc2626;

  /* Shadows */
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:      0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:      0 10px 30px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);

  /* Spacing */
  --section-py:     5rem;
  --section-py-sm:  3rem;

  /* Typography */
  --font-sans:      'Inter', system-ui, -apple-system, BlinkMacSystemFont,
                    'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono:      'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

  /* Radius */
  --radius-sm:      0.375rem;
  --radius-md:      0.75rem;
  --radius-lg:      1.25rem;
  --radius-full:    9999px;

  /* Transitions */
  --transition:     150ms ease;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

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

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ── Typography Scale ──────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.375rem); }
h4 { font-size: 1rem; font-weight: 600; }

p { max-width: 68ch; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

/* Sizes */
.btn-sm  { font-size: 0.875rem; padding: 0.4rem 1rem; }
.btn-md  { font-size: 1rem;     padding: 0.625rem 1.375rem; }
.btn-lg  { font-size: 1.0625rem; padding: 0.8rem 1.75rem; }
.btn-block { width: 100%; }

/* Primary */
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid transparent;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(255,122,26,.35);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

/* Secondary */
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--primary-light);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid transparent;
  padding-inline: 0.5rem;
}
.btn-ghost:hover { color: var(--primary); }

/* Focus ring (accessibility) */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ── Section utilities ─────────────────────────────────────── */
.section {
  padding-block: var(--section-py);
}
.section--alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-inline: auto;
}
.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* ── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 4rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

/* Nav */
.main-nav {
  flex: 1;
}
.main-nav ul {
  display: flex;
  gap: 0.25rem;
}
.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.section-hero {
  padding-block: 5rem 4rem;
  background: linear-gradient(160deg, #fff8f2 0%, var(--bg) 55%);
}

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

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text h1 {
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: none;
}

/* Dashboard mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-mockup {
  width: 100%;
  max-width: 460px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.mockup-bar {
  background: #f1f5f9;
  padding: 0.625rem 1rem;
  display: flex;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}
.mockup-bar span:nth-child(1) { background: #f87171; }
.mockup-bar span:nth-child(2) { background: #fbbf24; }
.mockup-bar span:nth-child(3) { background: #34d399; }

.mockup-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mockup-row {
  height: 2.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}
.mockup-row--header {
  height: 1.5rem;
  background: var(--border);
  width: 55%;
}
.mockup-row--accent {
  background: var(--primary-light);
}

/* ═══════════════════════════════════════════════════════════
   SOCIAL PROOF
═══════════════════════════════════════════════════════════ */
.section-proof {
  padding-block: 2.25rem;
  border-block: 1px solid var(--border);
  background: var(--bg);
}

.proof-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.proof-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: none;
}

.proof-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
}

/* ═══════════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.875rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════ */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.step-number {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255,122,26,.35);
}

.step-content h3 {
  margin-bottom: 0.5rem;
}
.step-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-inline: auto;
}

.step-connector {
  width: 2px;
  height: 1.625rem; /* half of step-number height */
  background: linear-gradient(180deg, var(--primary) 0%, var(--border) 100%);
  margin-top: 1.625rem; /* align with center of number circle */
  align-self: flex-start;
}

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

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: box-shadow var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}

.pricing-badge {
  position: absolute;
  top: -0.875rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 1.5rem;
}
.pricing-header h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.75rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.375rem;
}
.price-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.price-period {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.pricing-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: none;
}

.pricing-features {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.pricing-features li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-left: 1.5rem;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] {
  border-color: var(--primary);
}

.faq-question {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 1.125rem 1.375rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  transition: background var(--transition);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-question:hover { background: var(--bg-alt); }

.faq-answer {
  padding: 0 1.375rem 1.25rem;
}
.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: none;
}

/* ═══════════════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════════════ */
.section-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding-block: 5rem;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.section-cta h2,
.section-cta p,
.cta-note {
  color: rgba(255,255,255,0.9);
}
.section-cta h2 { color: #fff; }

.cta-note {
  font-size: 0.85rem;
  opacity: 0.75;
  max-width: none;
}

.section-cta .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}
.section-cta .btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
  padding-block: 3.5rem;
}

.footer-brand .logo-mark { color: var(--primary); }
.footer-brand .logo-text { color: #f1f5f9; }

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

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

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

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

.footer-col a {
  font-size: 0.9rem;
  color: #64748b;
  transition: color var(--transition);
}
.footer-col a:hover { color: #f1f5f9; }

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-block: 1.25rem;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: #475569;
  text-align: center;
  max-width: none;
}

/* ═══════════════════════════════════════════════════════════
   HERO MOCKUP — enhanced
═══════════════════════════════════════════════════════════ */
.mockup-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mockup-stat {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  text-align: center;
  border: 1px solid var(--border);
}
.mockup-stat strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.mockup-stat span {
  font-size: 0.65rem;
  color: var(--text-muted);
}
.mockup-stat--accent strong { color: var(--primary); }
.mockup-stat--green strong { color: var(--accent); }

.mockup-wa-card {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-md);
  padding: 0.875rem;
}

.mockup-wa-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #166534;
  margin-bottom: 0.5rem;
}
.mockup-wa-icon { font-size: 1rem; }

.mockup-wa-msg {
  font-size: 0.8rem;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 0.625rem;
}

.mockup-wa-btn {
  background: #25D366;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════
   PROBLEM SECTION
═══════════════════════════════════════════════════════════ */
.section--problem {
  padding-block: var(--section-py);
  background: var(--bg);
}

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

.problem-card {
  background: #fff9f7;
  border: 1px solid #fde8d8;
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 0.875rem;
  line-height: 1;
}

.problem-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
  color: var(--text);
}

.problem-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.problem-closing {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  max-width: none;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-avatar {
  font-size: 2.5rem;
  line-height: 1;
}

.testimonial-card blockquote {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text);
}
.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.testimonial-metric {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════════════════════
   PRICING PROMO BANNER + STRIKETHROUGH
═══════════════════════════════════════════════════════════ */
.pricing-promo-banner {
  display: inline-block;
  margin-top: 1.25rem;
  background: #fff8e6;
  border: 1.5px solid #fbbf24;
  color: #92400e;
  font-size: 0.9375rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
}

.price-was {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
  margin-bottom: 0.25rem;
}

.price-original {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-discount-tag {
  font-size: 0.75rem;
  font-weight: 700;
  background: #fef2f2;
  color: #dc2626;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid #fecaca;
}

/* ═══════════════════════════════════════════════════════════
   ANNUAL PRICING CARD
═══════════════════════════════════════════════════════════ */
.pricing-card--annual {
  border-color: var(--accent);
}

.pricing-badge--green {
  background: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   PRICING NOTE
═══════════════════════════════════════════════════════════ */
.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: none;
}

/* ═══════════════════════════════════════════════════════════
   CTA TRUST LINE
═══════════════════════════════════════════════════════════ */
.cta-trust {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  max-width: none;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER WHATSAPP BUTTON
═══════════════════════════════════════════════════════════ */
.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  background: #25D366;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  transition: background var(--transition);
  text-decoration: none;
}
.footer-wa-btn:hover { background: #1daf56; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 768px breakpoint
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --section-py: 3rem;
  }

  /* Header */
  .main-nav,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  /* Mobile nav open state (toggled by JS) */
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .main-nav ul {
    flex-direction: column;
  }
  .site-header.nav-open .header-cta {
    display: flex;
    position: absolute;
    top: calc(4rem + 12rem); /* after nav items */
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    flex-direction: column;
    box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .header-cta .btn-secondary,
  .site-header.nav-open .header-cta .btn-primary {
    width: 100%;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .hero-text {
    text-align: center;
    align-items: center;
  }

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

  /* Problem + Testimonials */
  .problem-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  /* Steps */
  .steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .step-connector {
    display: none;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Proof */
  .proof-inner {
    flex-direction: column;
    gap: 1.25rem;
  }
  .stat-divider {
    width: 2.5rem;
    height: 1px;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions a {
    width: 100%;
    text-align: center;
  }
}

/* ── Ad banners page ──────────────────────────────────────── */
.banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.banner-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background: #fff;
}
.banner-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  overflow: auto;
}
.banner-preview img {
  display: block;
  max-width: 100%;
  height: auto;
}
.banner-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.banner-snippet {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
  margin-bottom: 0.75rem;
}
