:root {
  --bg: #000000;
  --surface: #111111;
  --border: #222222;
  --text: #ffffff;
  --text-2: #999999;
  --text-3: #8a8a8a;
  --accent: #ff6b2b;
  --accent-hover: #e55a1f;
  --teal: #00e5a0;
  --teal-dim: rgba(0, 229, 160, 0.08);
  --ice: #f0f2f5;
  --red: #ff3b3b;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }

/* Accessibility: focus styles (with fallback for older browsers) */
:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Skip navigation link */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 9999;
  text-decoration: none;
}
.skip-nav:focus { top: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--accent); color: #000; }

/* ── Inputs (prevent iOS zoom) ── */
input, select, textarea {
  font-size: 16px;
  -webkit-appearance: none;
}

/* ── Header ───────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  height: 56px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

nav { display: flex; gap: 32px; }

nav a {
  color: var(--text-3);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

nav a:hover { color: var(--text); text-decoration: none; }

/* ── Language switcher (dropdown) ── */
.lang-switcher {
  position: relative;
  margin-left: 8px;
  gap: 0;
}
.lang-switcher-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-3);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 24px 10px 10px;
  min-height: 44px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.lang-switcher-toggle:hover { color: var(--text); border-color: var(--text-3); }
.lang-switcher-toggle::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.lang-switcher.open .lang-switcher-toggle::after {
  border-top: none;
  border-bottom: 5px solid currentColor;
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 0;
  min-width: 120px;
  z-index: 250;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-dropdown button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-3);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  padding: 12px 14px;
  min-height: 44px;
  text-align: left;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.lang-dropdown button:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.lang-dropdown button.active-lang { color: var(--accent); background: rgba(255, 107, 43, 0.1); }

/* ── Hero ─────────────────────── */
.hero {
  text-align: center;
  padding: 160px 24px 120px;
  max-width: 680px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ──────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 24px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
  text-decoration: none;
  color: #000;
}

.btn:active { transform: scale(0.98); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #1a1a1a;
  color: var(--text);
  border-color: #333;
}

/* ── Divider ──────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  max-width: 1080px;
  margin: 0 auto 0;
  padding: 0 24px;
  background-clip: content-box;
}

/* ── Features ─────────────────── */
.features {
  padding: 96px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.features h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Pricing ──────────────────── */
.pricing {
  padding: 96px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.pricing > p {
  text-align: center;
  color: var(--text-3);
  font-size: 0.9375rem;
  margin-bottom: 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
}

.pricing-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.pricing-amount .dollar {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-amount .cents {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-2);
}

.pricing-period {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-bottom: 20px;
}

.pricing-desc {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-list {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-list li {
  font-size: 0.8125rem;
  color: var(--text-2);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.5 4.5L6.5 11.5L2.5 7.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.5 4.5L6.5 11.5L2.5 7.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pricing-card .btn,
.pricing-card .btn-secondary {
  width: 100%;
}

.pricing-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #000;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.02em;
}

/* ── Steps ────────────────────── */
.steps-section {
  padding: 96px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.steps-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.step:first-child { border-top: 1px solid var(--border); }

.step-num {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  min-width: 24px;
  flex-shrink: 0;
  padding-top: 2px;
}

.step > div {
  flex: 1;
  min-width: 0;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-2);
}

/* ── FAQ ──────────────────────── */
.faq {
  padding: 96px 24px;
  max-width: 640px;
  margin: 0 auto;
}

.faq h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 20px 0;
  text-align: start;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 2000px;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-2);
}

/* ── Footer ───────────────────── */
footer {
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}

footer p {
  font-size: 0.75rem;
  color: var(--text-3);
}

footer a { color: var(--text-3); }
footer a:hover { color: var(--text-2); text-decoration: none; }

/* ── Legal pages ──────────────── */
.legal {
  max-width: 640px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal p, .legal li { font-size: 0.875rem; line-height: 1.8; }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.legal li { padding: 2px 0; }
.legal strong { color: var(--text); }

.legal code {
  font-size: 0.8125rem;
  color: var(--accent);
  background: rgba(255, 107, 43, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ── Thank-you page ───────────── */
.thankyou {
  text-align: center;
  padding: 160px 24px 120px;
  max-width: 520px;
  margin: 0 auto;
}

.thankyou .status-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.thankyou .status-icon.success {
  border-color: var(--accent);
  background: rgba(255, 107, 43, 0.08);
}

.thankyou .status-icon svg { width: 24px; height: 24px; }

.thankyou h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.thankyou p { font-size: 0.9375rem; margin-bottom: 12px; }

.license-box {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 32px;
  margin: 28px 0;
}

.license-box label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.license-key {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.06em;
  word-break: break-all;
  overflow-wrap: break-word;
}

.download-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.spinner {
  display: block;
  width: 32px;
  height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 24px auto;
}

/* ── Scroll animations ────────── */
.animate-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.1s; }
.delay-3 { transition-delay: 0.15s; }
.delay-4 { transition-delay: 0.2s; }
.delay-5 { transition-delay: 0.25s; }
.delay-6 { transition-delay: 0.3s; }
noscript .animate-up { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Urgency banner ──────────── */
.urgency-banner {
  background: linear-gradient(90deg, var(--accent), #ff8f5a);
  color: #000;
  text-align: center;
  padding: 10px 24px;
  font-size: 0.8125rem;
  font-weight: 600;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  letter-spacing: 0.01em;
}
.urgency-banner span { font-weight: 700; }
.urgency-banner + header { top: 40px; }
.urgency-banner ~ .hero { padding-top: 200px; }

/* ── Social proof ────────────── */
.social-proof {
  text-align: center;
  padding: 32px 24px;
  border-bottom: 1px solid var(--border);
}
.social-proof-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 680px;
  margin: 0 auto;
}
.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.proof-stat .num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.proof-stat .label {
  font-size: 0.75rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.proof-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ── Guarantee badge ─────────── */
.guarantee {
  text-align: center;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--teal);
  font-size: 0.8125rem;
  font-weight: 500;
}
.guarantee svg { flex-shrink: 0; }

/* ── Sticky mobile CTA ───────── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
}
.sticky-cta-inner {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}
.sticky-cta .btn { flex: 1; height: 44px; font-size: 0.8125rem; padding: 0 16px; }

/* ── Button loading state ────── */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}
.btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
}

/* ── Thank-you extras ────────── */
.referral-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
  text-align: center;
}
.referral-box h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.referral-box p {
  font-size: 0.8125rem;
  color: var(--text-2);
  margin-bottom: 16px;
}
.share-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ice);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s;
}
.share-btn:hover { border-color: var(--teal); text-decoration: none; color: var(--ice); }

.upsell-box {
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.08), rgba(0, 229, 160, 0.06));
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  text-align: center;
}
.upsell-box h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.upsell-box p {
  font-size: 0.8125rem;
  color: var(--text-2);
  margin-bottom: 14px;
}

/* ── Regular price (strikethrough) ── */
.price-regular {
  font-size: 0.875rem;
  color: var(--text-3);
  text-decoration: line-through;
  margin-bottom: 2px;
}
.discount-badge {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
}

/* ── Per-day price callout ───── */
.price-daily {
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 500;
  margin-top: 4px;
  margin-bottom: 16px;
}

/* ── Table overflow (ultra-wide) ── */
table { max-width: 1200px; margin-left: auto; margin-right: auto; }

/* SEO Pages */
.seo-page { max-width: 900px; margin: 0 auto; padding: 100px 24px 60px; }
.seo-page h1 { color: var(--text); font-size: 2rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; }
.seo-page h2 { color: var(--text); font-size: 1.4rem; font-weight: 600; margin: 48px 0 16px; letter-spacing: -0.01em; }
.seo-page h3 { color: var(--text); font-size: 1.1rem; font-weight: 600; margin: 32px 0 12px; }
.seo-page p, .seo-page li { color: var(--text-2); font-size: 0.95rem; line-height: 1.7; }
.seo-page ul, .seo-page ol { padding-left: 20px; margin: 12px 0; }
.seo-page li { margin-bottom: 6px; }

/* Testimonials */
.testimonials { margin: 48px 0; }
.testimonials h2 { text-align: center; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.testimonial-stars { color: #f5a623; font-size: 1rem; margin-bottom: 12px; }
.testimonial-quote { color: var(--text-2); font-size: 0.9rem; line-height: 1.6; font-style: italic; margin-bottom: 16px; }
.testimonial-author { color: var(--text); font-weight: 600; font-size: 0.85rem; }
.testimonial-role { color: var(--text-3); font-size: 0.8rem; }

/* Trust Badges */
.trust-badges { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin: 40px 0; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-badge { text-align: center; color: var(--text-3); font-size: 0.75rem; }
.trust-badge-icon { font-size: 1.5rem; display: block; margin-bottom: 6px; color: var(--teal); }

/* Preview Cards */
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0 40px; }
.preview-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.preview-card h3 { color: var(--teal); font-size: 1rem; margin-bottom: 12px; }
.preview-card p { color: var(--text-2); font-size: 0.9rem; line-height: 1.6; }
.preview-card .benefit { color: var(--text); font-weight: 500; margin-top: 12px; font-size: 0.85rem; }

/* ── Responsive ───────────────── */

/* Tablet landscape / small desktop */
@media (max-width: 1024px) {
  header { padding: 0 32px; }
  nav { gap: 24px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
  .hero { padding: 140px 24px 100px; }
  .urgency-banner ~ .hero { padding-top: 180px; }
}

/* Tablet portrait / large phone */
@media (max-width: 768px) {
  header {
    padding: 0 20px;
    padding-top: env(safe-area-inset-top, 0);
  }
  nav { gap: 20px; flex-wrap: wrap; justify-content: center; }
  nav a {
    font-size: 0.8125rem;
    padding: 10px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .hero { padding: 120px 20px 72px; }
  .hero h1 { font-size: 2rem; line-height: 1.15; }
  .hero p { font-size: 0.9375rem; margin-bottom: 28px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 320px; }

  .features { padding: 56px 20px; }
  .features h2 { margin-bottom: 40px; }
  .features-grid { grid-template-columns: 1fr; gap: 28px; }

  .pricing { padding: 56px 20px; }
  .pricing > p { margin-bottom: 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card { padding: 28px 24px; }

  .steps-section { padding: 56px 20px; }
  .steps-section h2 { margin-bottom: 32px; }

  .faq { padding: 56px 20px; }
  .faq h2 { margin-bottom: 32px; }
  .faq-question {
    font-size: 0.875rem;
    padding: 18px 0;
    min-height: 44px; /* touch target */
  }

  .download-buttons { flex-direction: column; align-items: center; }
  .download-buttons .btn,
  .download-buttons .btn-secondary { width: 100%; max-width: 320px; }

  .divider { padding: 0 20px; }

  .legal { padding: 100px 20px 60px; }
  .legal h1 { font-size: 1.5rem; }

  .thankyou { padding: 120px 20px 80px; }
  .thankyou h1 { font-size: 1.5rem; }
  .license-box { padding: 24px 20px; }
  .license-key { font-size: 1.1rem; }

  footer { padding: 36px 20px 80px; }
  /* sticky-cta visibility controlled by JS scroll handler — do not force display:block here */
  .urgency-banner { font-size: 0.75rem; padding: 8px 16px; }
  .urgency-banner + header { top: 36px; }
  .urgency-banner ~ .hero { padding-top: 164px; }

  .social-proof { padding: 24px 20px; }
  .social-proof-inner { gap: 20px; }
  .proof-stat .num { font-size: 1.25rem; }
  .proof-stat .label { font-size: 0.6875rem; }
  .proof-divider { height: 24px; }

  .guarantee { font-size: 0.75rem; margin-top: 24px; }

  .referral-box { padding: 20px 16px; }
  .upsell-box { padding: 20px 16px; }
  .share-buttons { flex-direction: column; align-items: center; }
  .share-btn { width: 100%; max-width: 280px; justify-content: center; }

  .seo-page { padding: 80px 16px 40px; }
  .seo-page h1 { font-size: 1.5rem; }
  .seo-page h2 { font-size: 1.2rem; margin-top: 36px; }

  .testimonial-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
}

/* Small phone */
@media (max-width: 480px) {
  header {
    flex-direction: column;
    height: auto;
    padding: 12px 16px;
    padding-top: calc(12px + env(safe-area-inset-top, 0));
    gap: 8px;
  }
  nav { gap: 14px; flex-wrap: wrap; justify-content: center; }

  .hero { padding: 110px 16px 56px; }
  .hero h1 { font-size: 1.625rem; }
  .hero p { font-size: 0.875rem; }
  .hero-buttons .btn { max-width: 100%; }

  .features { padding: 48px 16px; }
  .feature h3 { font-size: 0.9375rem; }
  .feature p { font-size: 0.8125rem; }

  .pricing { padding: 48px 16px; }
  .pricing h2 { font-size: 1.5rem; }
  .pricing-grid { max-width: 100%; }
  .pricing-card { padding: 24px 20px; }
  .pricing-amount .dollar { font-size: 2rem; }
  .pricing-amount .cents { font-size: 1rem; }
  .pricing-tag { top: 12px; right: 12px; font-size: 0.75rem; }

  .steps-section { padding: 48px 16px; }
  .steps-section h2 { font-size: 1.5rem; }
  .step { gap: 16px; padding: 20px 0; }

  .faq { padding: 48px 16px; }
  .faq h2 { font-size: 1.5rem; }

  .divider { padding: 0 16px; }

  footer p { font-size: 0.75rem; }

  /* Urgency banner — small phone */
  .urgency-banner {
    font-size: 0.75rem;
    padding: 6px 12px;
    line-height: 1.4;
  }
  .urgency-banner + header { top: 32px; }
  .urgency-banner ~ .hero { padding-top: 150px; }

  /* Social proof — stack on tiny screens */
  .social-proof { padding: 20px 16px; }
  .social-proof-inner { gap: 16px; }
  .proof-divider { display: none; }
  .proof-stat .num { font-size: 1.125rem; }
  .proof-stat .label { font-size: 0.75rem; }

  /* Guarantee */
  .guarantee { font-size: 0.75rem; gap: 6px; margin-top: 20px; flex-wrap: wrap; }

  /* Price daily */
  .price-daily { font-size: 0.75rem; }

  /* Sticky CTA — tighter on small phones */
  .sticky-cta { padding: 10px 12px; }
  .sticky-cta .btn { height: 44px; font-size: 0.8125rem; padding: 0 10px; border-radius: 20px; }

  /* Thank-you extras */
  .referral-box { padding: 16px 12px; margin-top: 24px; }
  .referral-box h3 { font-size: 0.875rem; }
  .referral-box p { font-size: 0.75rem; }
  .upsell-box { padding: 16px 12px; margin-top: 20px; }
  .upsell-box h3 { font-size: 0.875rem; }
  .upsell-box p { font-size: 0.75rem; }

  .seo-page { padding: 70px 12px 32px; }
  .seo-page h1 { font-size: 1.3rem; }

  .trust-badges { gap: 20px; }
  .trust-badge { font-size: 0.75rem; }
  .pricing-tag { font-size: 0.75rem; }
  .license-box label { font-size: 0.75rem; }
  .discount-badge { font-size: 0.75rem; }
}

/* ── Print ───────────────────── */
@media print {
  body { background: #fff; color: #000; }
  header, footer, .urgency-banner, .sticky-cta, .skip-nav, .lang-switcher { display: none; }
  main { padding-top: 0; }
  a { color: #000; text-decoration: underline; }
  .btn, .btn-secondary { background: none; color: #000; border: 1px solid #000; }
  .pricing-card { background: #fff; border: 1px solid #ccc; }
}
