/* ============================================
   Blip SMS — Premium Design System
   Mobile-first · Modern · Trustworthy
   ============================================ */

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

:root {
  /* Primary palette — warm orange */
  --color-primary: #F5A623;
  --color-primary-dark: #D4860A;
  --color-primary-darker: #B06E00;
  --color-primary-light: #FFF8EE;
  --color-primary-glow: rgba(245, 166, 35, .15);
  --color-accent: #FFC857;

  /* Neutrals */
  --color-bg: #FFFFFF;
  --color-bg-alt: #FAFBFC;
  --color-bg-subtle: #F3F4F6;
  --color-bg-dark: #111827;
  --color-bg-darker: #0A0F1A;
  --color-text: #111827;
  --color-text-secondary: #4B5563;
  --color-text-muted: #9CA3AF;
  --color-text-inv: #F9FAFB;
  --color-border: #E5E7EB;
  --color-border-light: #F3F4F6;

  /* Semantic */
  --color-success: #059669;
  --color-success-light: #ECFDF5;
  --color-info: #3B82F6;
  --color-info-light: #EFF6FF;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.25rem; --sp-6: 1.5rem; --sp-8: 2rem; --sp-10: 2.5rem;
  --sp-12: 3rem; --sp-14: 3.5rem; --sp-16: 4rem; --sp-20: 5rem;
  --sp-24: 6rem; --sp-32: 8rem;

  /* Sizing */
  --max-w: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-full: 9999px;

  /* Shadows — layered for depth */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 4px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.1), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.14), 0 8px 20px rgba(0,0,0,.08);
  --shadow-primary: 0 8px 24px rgba(245,166,35,.3);

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--color-primary-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* --- Utility --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-5); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }

/* Fade-in animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s var(--ease) both; }

/* Subtle float for phone mockup */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Pulse for status dot */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -.02em;
}
h1 { font-size: 2.25rem; font-weight: 800; }
h2 { font-size: 1.75rem; font-weight: 800; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p + p { margin-top: var(--sp-4); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-primary-dark);
  margin-bottom: var(--sp-4);
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: var(--sp-4);
  letter-spacing: -.02em;
}
.section-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: var(--sp-10);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all .2s var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm), var(--shadow-primary);
}
.btn-primary:hover {
  box-shadow: var(--shadow-md), 0 12px 32px rgba(245,166,35,.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary-light); }

.btn-white {
  background: #fff;
  color: var(--color-primary-dark);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { box-shadow: var(--shadow-md); }

.btn-sm { font-size: .85rem; padding: 10px 20px; }
.btn-lg { font-size: 1.05rem; padding: 16px 32px; }

/* --- Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -.01em;
}
.logo:hover { text-decoration: none; }
.logo svg { width: 30px; height: 30px; }

/* Desktop nav */
.nav-links { display: none; gap: var(--sp-8); align-items: center; }
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color .15s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--color-text); text-decoration: none; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: width .2s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

/* Language selector */
.lang-select { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  padding: 6px 12px;
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  transition: all .15s var(--ease);
}
.lang-btn:hover { border-color: var(--color-primary); color: var(--color-text); }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  z-index: 200;
  padding: var(--sp-2) 0;
}
.lang-dropdown.open { display: block; }
.lang-dropdown a,
.lang-dropdown span {
  display: block;
  padding: 8px 16px;
  font-size: .85rem;
  color: var(--color-text);
  transition: background .1s;
}
.lang-dropdown a:hover { background: var(--color-bg-alt); text-decoration: none; }
.lang-dropdown a.active { font-weight: 700; color: var(--color-primary-dark); }
.lang-dropdown span.disabled { color: var(--color-text-muted); cursor: default; }
.lang-dropdown span.disabled::after { content: ' — soon'; font-size: .72rem; }

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 99;
  padding: var(--sp-8) var(--sp-5);
  flex-direction: column;
  gap: var(--sp-1);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: color .15s;
}
.mobile-nav a:hover { color: var(--color-primary-dark); text-decoration: none; }

/* --- Sections --- */
section { padding: var(--sp-16) 0; }

/* --- Hero --- */
.hero {
  padding: var(--sp-10) 0 var(--sp-16);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--color-primary-glow) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-bg) 50%);
  position: relative;
  overflow: hidden;
}
/* Decorative grid dots */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-inner { text-align: center; position: relative; z-index: 1; }
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--sp-5);
  line-height: 1.1;
  letter-spacing: -.03em;
}
.hero h1 span {
  color: var(--color-primary-dark);
  position: relative;
}
.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--color-primary-glow);
  border-radius: 4px;
  z-index: -1;
}
.hero .subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto var(--sp-8);
  line-height: 1.6;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 6px 16px 6px 10px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-8);
  box-shadow: var(--shadow-xs);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

/* Hero app screenshot */
.hero-illustration {
  max-width: 340px;
  margin: var(--sp-10) auto 0;
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.hero-illustration img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.15));
}

/* --- Email Signup Form --- */
.email-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}
.email-form .input-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.email-form input[type="email"],
.email-form select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  outline: none;
}
.email-form input[type="email"]:focus,
.email-form select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-glow);
}
.email-form input[type="email"]::placeholder { color: var(--color-text-muted); }
.email-form select {
  color: var(--color-text-secondary);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239CA3AF' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.email-form .btn { width: 100%; }
.form-note {
  font-size: .78rem;
  color: var(--color-text-muted);
  text-align: center;
}
.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  background: var(--color-success-light);
  border: 1px solid #A7F3D0;
  border-radius: var(--radius);
  color: #065F46;
}
.form-success.show { display: block; }
.form-success h3 { color: #065F46; margin-bottom: var(--sp-2); font-size: 1.15rem; }
.form-success p { color: #047857; }

/* --- Why You Get Paid --- */
.why-section { background: var(--color-bg-alt); }
.why-section .cards {
  display: grid;
  gap: var(--sp-5);
}
.why-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--sp-8) var(--sp-6);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.why-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}
.why-card .icon svg { width: 24px; height: 24px; }
.why-card .icon.blue { background: var(--color-primary-light); color: var(--color-primary-dark); }
.why-card .icon.green { background: var(--color-success-light); color: var(--color-success); }
.why-card .icon.amber { background: #FFF7ED; color: #D97706; }
.why-card h3 { margin-bottom: var(--sp-2); font-size: 1.1rem; }
.why-card p { color: var(--color-text-secondary); font-size: .92rem; line-height: 1.6; }

/* --- Features --- */
.features-grid {
  display: grid;
  gap: var(--sp-6);
}
.feature-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
  border-radius: var(--radius);
  transition: background .2s var(--ease);
}
.feature-item:hover { background: var(--color-bg-alt); }
.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  transition: background .2s, transform .2s;
}
.feature-item:hover .feature-icon {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-item h3 { font-size: 1.05rem; margin-bottom: var(--sp-1); }
.feature-item p { color: var(--color-text-secondary); font-size: .9rem; line-height: 1.5; }

/* --- How it Works --- */
.how-it-works { background: var(--color-bg-alt); }
.steps {
  display: grid;
  gap: var(--sp-6);
  counter-reset: step;
}
.step {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
  padding: var(--sp-6);
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(245,166,35,.25);
}
.step h3 { margin-bottom: var(--sp-2); font-size: 1.05rem; }
.step p { color: var(--color-text-secondary); font-size: .92rem; line-height: 1.6; }
.step-screenshot {
  max-width: 180px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-top: var(--sp-4);
}
.step-screenshot--wide {
  max-width: 220px;
}

/* --- Social Proof / Stats --- */
.stats-section { background: var(--color-bg); }
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  text-align: center;
  padding: var(--sp-8) 0;
}
.stat-item {
  padding: var(--sp-6);
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
}
.stat-item .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  display: block;
  letter-spacing: -.02em;
}
.stat-item .label {
  font-size: .8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: var(--sp-2);
  display: block;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  align-items: center;
  margin-top: var(--sp-8);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: .82rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  transition: border-color .2s;
}
.trust-badge:hover { border-color: var(--color-primary); }
.trust-badge svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-success); }

/* --- Extra Earning --- */
.extras-grid {
  display: grid;
  gap: var(--sp-5);
}
.extra-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--sp-6);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.extra-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.extra-card .icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.extra-card .icon svg { width: 22px; height: 22px; }
.extra-card h3 { margin-bottom: var(--sp-2); font-size: 1.05rem; }
.extra-card p { color: var(--color-text-secondary); font-size: .9rem; line-height: 1.5; }
.extra-card .earning-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  background: var(--color-success-light);
  color: var(--color-success);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-top: var(--sp-3);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* --- FAQ --- */
.faq-section { background: var(--color-bg-alt); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  padding: var(--sp-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  transition: color .15s;
}
.faq-question:hover { color: var(--color-primary-dark); }
.faq-question .chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform .3s var(--ease);
  color: var(--color-text-muted);
}
.faq-item.open .faq-question .chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-answer-inner {
  padding: 0 0 var(--sp-5);
  color: var(--color-text-secondary);
  font-size: .95rem;
  line-height: 1.7;
}
.faq-answer-inner p + p { margin-top: var(--sp-3); }
.faq-answer-inner a { color: var(--color-primary-dark); text-decoration: underline; }

/* --- CTA Banner --- */
.cta-banner {
  background:
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(245,166,35,.12) 0%, transparent 60%),
    linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
  color: #fff;
  text-align: center;
  padding: var(--sp-20) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: var(--sp-4); font-size: 1.75rem; }
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: var(--sp-8); font-size: 1.05rem; }
.cta-banner .email-form input[type="email"],
.cta-banner .email-form select {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: #fff;
}
.cta-banner .email-form input[type="email"]::placeholder { color: rgba(255,255,255,.4); }
.cta-banner .email-form input[type="email"]:focus,
.cta-banner .email-form select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(245,166,35,.2);
}
.cta-banner .email-form .btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-bg-dark);
  font-weight: 700;
}
.cta-banner .form-note { color: rgba(255,255,255,.4); }
.cta-banner .form-success { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.cta-banner .form-success h3 { color: #fff; }
.cta-banner .form-success p { color: rgba(255,255,255,.8); }

/* --- Sticky Mobile CTA --- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  padding: var(--sp-3) var(--sp-5);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.sticky-cta.visible { display: block; }
.sticky-cta .btn { width: 100%; }
@media (min-width: 960px) { .sticky-cta { display: none !important; } }

/* --- Footer --- */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-inv);
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer-grid {
  display: grid;
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
}
.footer-col .logo { margin-bottom: var(--sp-4); }
.footer-col .footer-desc {
  color: var(--color-text-muted);
  font-size: .88rem;
  line-height: 1.6;
  margin-top: var(--sp-3);
}
.footer-col h4 {
  color: var(--color-text-inv);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--sp-5);
}
.footer-col a {
  display: block;
  color: var(--color-text-muted);
  font-size: .88rem;
  padding: 4px 0;
  transition: color .15s var(--ease);
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: .78rem;
  color: var(--color-text-muted);
}

/* --- Content Pages (Help, etc.) --- */
.page-header {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, var(--color-primary-glow) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-bg) 100%);
  padding: var(--sp-14) 0 var(--sp-10);
  text-align: center;
}
.page-header h1 { margin-bottom: var(--sp-3); }
.page-header p { color: var(--color-text-secondary); font-size: 1.05rem; }

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--sp-10) var(--sp-5) var(--sp-20);
}
.page-content h2 {
  font-size: 1.35rem;
  margin: var(--sp-10) 0 var(--sp-4);
  padding-top: var(--sp-4);
}
.page-content h3 {
  font-size: 1.05rem;
  margin: var(--sp-6) 0 var(--sp-2);
}
.page-content p,
.page-content li {
  color: var(--color-text-secondary);
  font-size: .95rem;
  line-height: 1.7;
}
.page-content ul, .page-content ol {
  padding-left: var(--sp-6);
  margin: var(--sp-3) 0;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li + li { margin-top: var(--sp-2); }
.page-content a { text-decoration: underline; }

/* Help page */
.help-toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--sp-6);
  margin-bottom: var(--sp-10);
}
.help-toc h3 { margin: 0 0 var(--sp-4); font-size: 1rem; }
.help-toc ol { list-style: decimal; padding-left: var(--sp-5); }
.help-toc li { margin-bottom: var(--sp-2); }
.help-toc a { text-decoration: none; font-size: .9rem; font-weight: 500; }
.help-toc a:hover { text-decoration: underline; }

.help-step {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: var(--sp-6);
  margin: var(--sp-4) 0;
}
.help-step .step-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--sp-3);
}
.screenshot-placeholder {
  background: var(--color-bg-subtle);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
  aspect-ratio: 9/16;
  max-width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: .82rem;
  margin: var(--sp-4) 0;
}
.help-screenshot {
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin: var(--sp-4) 0;
}

/* Blog page */
.blog-empty {
  text-align: center;
  padding: var(--sp-20) var(--sp-5);
  color: var(--color-text-muted);
}
.blog-empty h2 { color: var(--color-text); margin-bottom: var(--sp-3); }
.blog-empty p { max-width: 400px; margin: 0 auto; line-height: 1.6; }

/* --- Responsive --- */
@media (min-width: 640px) {
  .email-form .input-row { flex-direction: row; }
  .email-form input[type="email"] { flex: 1; }
  .email-form select { width: auto; min-width: 160px; }
  .why-section .cards { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .extras-grid { grid-template-columns: repeat(3, 1fr); }
  .extra-card { flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  .hero h1 { font-size: 3rem; }
  .hero { padding: var(--sp-16) 0 var(--sp-20); }
  .section-title { font-size: 2rem; }
  section { padding: var(--sp-20) 0; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
  .step { flex-direction: column; text-align: center; align-items: center; }
  .stat-item .number { font-size: 2.5rem; }
  .stat-item { padding: var(--sp-8); }
  .cta-banner { padding: var(--sp-24) 0; }
  .cta-banner h2 { font-size: 2rem; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--sp-12);
    text-align: left;
    align-items: center;
  }
  .hero .subtitle { margin-left: 0; }
  .hero .email-form { margin: 0; }
  .hero-illustration { margin: 0; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* --- Scroll-triggered fade-in (only when JS ready) --- */
.js-ready .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js-ready .fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children */
.js-ready .fade-in:nth-child(2) { transition-delay: .1s; }
.js-ready .fade-in:nth-child(3) { transition-delay: .2s; }

/* --- Gradient dividers between sections --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-border) 30%, var(--color-border) 70%, transparent 100%);
  border: none;
  margin: 0;
}

/* --- Extra polish for stat items on hover --- */
.stat-item {
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.stat-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* --- Installation Guide --- */
.install-guide { max-width: 680px; }
.install-step {
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--color-border-light);
}
.install-step:last-of-type { border-bottom: none; }
.install-step-header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.install-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(245,166,35,.25);
}
.install-step h2 {
  font-size: 1.25rem;
  margin: 0;
  padding: 0;
}
.install-step p {
  color: var(--color-text-secondary);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}
.install-step .help-screenshot {
  margin: var(--sp-5) 0;
}
.install-note {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-text-muted);
  border-radius: var(--radius-xs);
  padding: var(--sp-4) var(--sp-5);
  margin-top: var(--sp-4);
  font-size: .88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.install-note ul {
  list-style: disc;
  padding-left: var(--sp-5);
  margin: var(--sp-3) 0 0;
}
.install-note li { margin-top: var(--sp-2); }
.install-note--tip {
  border-left-color: var(--color-primary);
  background: var(--color-primary-light);
}
.install-cta {
  margin-top: var(--sp-5);
}
.install-cta .email-form {
  max-width: 400px;
  margin: 0;
}
.install-final-cta {
  text-align: center;
  padding: var(--sp-12) 0 var(--sp-4);
}
.install-final-cta h2 {
  font-size: 1.5rem;
  margin-bottom: var(--sp-3);
}
.install-final-cta p {
  color: var(--color-text-secondary);
  margin-bottom: var(--sp-6);
}
.install-final-cta .email-form {
  max-width: 400px;
}

/* --- Glow ring behind phone mockup --- */
.hero-illustration::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* --- Mobile polish --- */
@media (max-width: 639px) {
  .hero { padding-bottom: var(--sp-10); }
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: .95rem; }
  section { padding: var(--sp-12) 0; }
  .section-title { font-size: 1.5rem; }
  .stats-bar { grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
  .stat-item { padding: var(--sp-4) var(--sp-2); }
  .stat-item .number { font-size: 1.35rem; }
  .stat-item .label { font-size: .65rem; }
  .trust-badges { gap: var(--sp-2); }
  .trust-badge { font-size: .72rem; padding: 6px 10px; }
  .why-card { padding: var(--sp-5); }
  .step { padding: var(--sp-5); }
  .extra-card { padding: var(--sp-5); }
  .cta-banner { padding: var(--sp-12) 0; }
}

/* --- Subtle top border accent on why-cards --- */
.why-card { border-top: 3px solid transparent; }
.why-card:nth-child(1) { border-top-color: var(--color-primary); }
.why-card:nth-child(2) { border-top-color: var(--color-success); }
.why-card:nth-child(3) { border-top-color: #D97706; }

/* --- Feature icons gradient on hover --- */
.feature-item:hover .feature-icon {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

/* --- Better text rendering for stats --- */
.stat-item .number {
  font-variant-numeric: tabular-nums;
}

/* --- Extra card top accent --- */
.extra-card { border-top: 3px solid transparent; }
.extra-card:nth-child(1) { border-top-color: var(--color-primary); }
.extra-card:nth-child(2) { border-top-color: var(--color-success); }
.extra-card:nth-child(3) { border-top-color: var(--color-info); }

/* --- Smooth section background transitions --- */
.why-section,
.how-it-works,
.faq-section {
  position: relative;
}

/* --- Better CTA banner glow effect --- */
.cta-banner::after {
  content: '';
  position: absolute;
  top: -60px;
  right: 10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,.08) 0%, transparent 70%);
  pointer-events: none;
}
