/* ═══════════════════════════════════════════════════════════════════════════
  Murudo — Marketing landing page styles with distinct light and dark themes.
  ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Light theme (default) ───────────────────────────────────────────── */
:root,
[data-theme="light"] {
  --bg:               #FFF9F5;
  --bg-warm:          #F4ECE6;
  --surface:          #FFFFFF;
  --surface-elevated: #FBF3EE;
  --surface-accent:   rgba(141, 79, 141, 0.08);
  --text:             #21161F;
  --text-secondary:   #66545F;
  --text-tertiary:    #897681;
  --accent:           #8D4F8D;
  --accent-hover:     #774177;
  --accent-light:     #B57AB5;
  --accent-soft:      rgba(141, 79, 141, 0.10);
  --gold:             #D4AF37;
  --border:           #E2D4DE;
  --border-light:     #F0E4EC;
  --input-bg:         #FFFFFF;
  --danger:           #E04545;
  --success:          #4E8A62;
  --shadow:           rgba(76, 38, 63, 0.12);
  --nav-bg:           rgba(255, 249, 245, 0.82);
  --nav-bg-blur:      saturate(180%) blur(20px);
  --modal-backdrop:   rgba(33, 22, 31, 0.24);
  --footer-bg:        #EFE3DC;
  --footer-text:      #43323D;
  --footer-muted:     #7E6C77;
  --max-w:            1180px;
  --ease:             cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color-scheme:       light;
}

/* ─── Dark theme ──────────────────────────────────────────────────────── */
[data-theme="dark"] {
  --bg:               #050505;
  --bg-warm:          #100C14;
  --surface:          #151020;
  --surface-elevated: #1C1628;
  --surface-accent:   rgba(179, 102, 179, 0.12);
  --text:             #F8F6F8;
  --text-secondary:   #9A8A9A;
  --text-tertiary:    #C8B8C8;
  --accent:           #B366B3;
  --accent-hover:     #C888C8;
  --accent-light:     #D4A0D4;
  --accent-soft:      rgba(179, 102, 179, 0.15);
  --gold:             #D4AF37;
  --border:           #2A2034;
  --border-light:     #1C1628;
  --input-bg:         #151020;
  --danger:           #E04545;
  --success:          #5B9A6A;
  --shadow:           rgba(0, 0, 0, 0.5);
  --nav-bg:           rgba(5, 5, 5, 0.72);
  --nav-bg-blur:      saturate(180%) blur(20px);
  --modal-backdrop:   rgba(0, 0, 0, 0.7);
  --footer-bg:        #030303;
  --footer-text:      #C8B8C8;
  --footer-muted:     #6A5A6A;
  color-scheme:       dark;
}

/* ─── Reset ───────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}
body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navigation ──────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s;
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: var(--nav-bg-blur);
  -webkit-backdrop-filter: var(--nav-bg-blur);
  border-bottom: 1px solid var(--border-light);
}

.nav:not(.scrolled) .nav-logo,
.nav:not(.scrolled) .nav-logo-text,
.nav:not(.scrolled) .nav-links a:not(.nav-cta) {
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.42);
}

.nav:not(.scrolled) .nav-links a:not(.nav-cta):hover {
  color: rgba(255, 255, 255, 0.82);
}

.nav:not(.scrolled) .nav-cta {
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav:not(.scrolled) .nav-cta:hover {
  background: var(--accent-hover);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 20px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  line-height: 1;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 0;
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff !important;
  padding: 7px 18px;
  min-height: 36px;
  border-radius: 980px;
  font-weight: 500 !important;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  border-radius: 999px;
  color: var(--text-secondary);
  flex: 0 0 auto;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Auth nav */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-auth-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 7px 16px;
  border-radius: 980px;
  border: 1px solid var(--border);
  background: transparent;
  transition: all 0.2s;
  font-family: inherit;
}

.nav-login-btn:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.nav-account {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-account-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.nav-logout-btn {
  font-size: 12px;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s;
  font-family: inherit;
}

.nav-logout-btn:hover { color: var(--danger); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 10px;
}

.nav-toggle:focus:not(:focus-visible) {
  outline: none;
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s var(--ease);
  transform-origin: center;
}

.nav:not(.scrolled) .nav-toggle span {
  background: #fff;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── Hero ────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 112px 0 72px;
  overflow: hidden;
  background: #160c14;
  color: #fff;
}

.hero-bg,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-scrim {
  z-index: 1;
  background: rgba(0, 0, 0, 0.44);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text {
  max-width: 690px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: #F8C776;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 10px 42px rgba(0, 0, 0, 0.32);
}

.hero-tagline {
  font-size: 20px;
  font-style: italic;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 32px;
  max-width: 650px;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.34);
}

.hero-sub-mobile {
  display: none;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero .btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 42px rgba(87, 38, 91, 0.34);
}

.hero .btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.hero .btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #242224;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero .btn-ghost:hover {
  color: #fff;
  background: #302C30;
  transform: translateY(-1px);
}

.hero-proof {
  display: inline-flex;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  background: #151515;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.36);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero .fade-in {
  opacity: 1;
  transform: none;
}

/* ─── Buttons ─────────────────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  background: var(--accent);
  color: #fff;
  transition: all 0.2s var(--ease);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: scale(1.02);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.btn-solid {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  transition: all 0.2s var(--ease);
  border: none;
  cursor: pointer;
}

.btn-solid:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: scale(1.02);
}

.btn-outline {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  border: 1.5px solid var(--border);
  background: transparent;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ─── Sections ────────────────────────────────────────────────────────── */

.section {
  padding: 88px 0;
  scroll-margin-top: 84px;
  transition: background 0.3s;
}

.bg-warm {
  background: var(--bg-warm);
}

.section-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-headline {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.section-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 48px;
}

/* ─── Features Grid ───────────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.feature-card {
  padding: 30px 0;
  background: transparent;
  border-top: 1px solid var(--border-light);
  transition: color 0.2s;
}

.feature-card:nth-child(-n+2) {
  border-top: 0;
}

.feature-card:nth-child(odd) {
  padding-right: 20px;
}

.feature-card:nth-child(even) {
  padding-left: 20px;
}

.feature-card.highlight {
  color: inherit;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.feature-card.highlight h3 {
  color: var(--accent);
}

#features .feature-card.fade-in {
  will-change: opacity, transform;
}

#features .feature-card.fade-in:nth-child(odd) {
  transform: translate3d(-18px, 0, 0);
}

#features .feature-card.fade-in:nth-child(even) {
  transform: translate3d(18px, 0, 0);
}

#features .feature-card.fade-in.visible {
  transform: translate3d(0, 0, 0);
}

#features {
  padding-bottom: 40px;
}

/* ─── Zim Meets The World ───────────────────────────────────────────────── */

.zim-world-section {
  padding-top: 0;
  padding-bottom: 80px;
}

.zim-world-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
  padding: 0 0 36px;
}

.zim-world-copy .section-headline {
  margin-bottom: 0;
}

.zim-world-body {
  padding-top: 3px;
}

.zim-world-body p {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.zim-world-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin-top: 26px;
}

/* ─── Steps ───────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.step {
  text-align: left;
  padding: 28px 34px;
  border-left: 1px solid var(--border-light);
}

.step:first-child {
  border-left: 0;
}

.step-num {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 14px;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-num::before {
  content: "Step ";
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 320px;
}

/* ─── Safety Grid ─────────────────────────────────────────────────────── */

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  border-top: 1px solid var(--border-light);
}

.safety-item {
  padding: 30px 0;
  background: transparent;
  border-top: 1px solid var(--border-light);
}

.safety-item:nth-child(-n+2) {
  border-top: 0;
}

.safety-item:nth-child(odd) {
  padding-right: 20px;
}

.safety-item:nth-child(even) {
  padding-left: 20px;
}

.safety-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.safety-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.safety-photo-note {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  background: transparent;
}

.safety-photo-note h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.safety-photo-note p {
  max-width: 780px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

#safety .fade-in {
  opacity: 1;
  transform: none;
}

/* ─── FAQ ─────────────────────────────────────────────────────────────── */

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.faq-item {
  padding: 28px 0;
  border-top: 1px solid var(--border-light);
}

.faq-item:nth-child(-n+2) {
  border-top: 0;
}

.faq-item:nth-child(odd) {
  padding-right: 20px;
}

.faq-item:nth-child(even) {
  padding-left: 20px;
}

.faq-item h3 {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ─── Pricing ─────────────────────────────────────────────────────────── */

.pricing-page-section {
  padding-top: 120px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border-radius: 8px;
  padding: 40px 28px;
  border: 1px solid var(--border-light);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px var(--shadow);
}

.pricing-card.popular {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 48px rgba(154, 87, 154, 0.12);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 5px 18px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.price {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 4px;
}

.price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

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

.pricing-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-card ul li:last-child { border-bottom: none; }

.pricing-card ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  margin-right: 10px;
}

/* Pricing purchase controls */
.pricing-login-hint {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.pricing-primary-btn {
  width: 100%;
  text-align: center;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.2s var(--ease);
  font-family: inherit;
}

.pricing-primary-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.pricing-primary-btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}

.pricing-primary-btn-outline:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.boost-shop {
  margin-top: 28px;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: linear-gradient(180deg, rgba(154, 87, 154, 0.08), rgba(154, 87, 154, 0.02));
}

.boost-shop-copy {
  max-width: 640px;
  margin-bottom: 20px;
}

.boost-shop-copy h3 {
  margin-bottom: 8px;
  font-size: 28px;
  color: var(--text);
}

.boost-shop-copy p:last-child {
  color: var(--text-secondary);
  line-height: 1.7;
}

.boost-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.boost-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
}

.boost-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text);
}

.boost-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.boost-card p {
  min-height: 46px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ─── CTA Section ─────────────────────────────────────────────────────── */

.cta-section {
  background: var(--accent);
  text-align: center;
  transition: background 0.3s;
}

.cta-content {
  max-width: 980px;
}

.cta-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-section .fade-in {
  opacity: 1;
  transform: none;
}

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

.download-trust {
  margin: 28px auto 0;
  max-width: 680px;
}

.download-trust-note {
  text-align: center;
  padding-top: 4px;
}

.download-trust-note h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-trust-note p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.62;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #743878;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  padding: 12px 24px;
  border-radius: 14px;
  min-height: 56px;
  min-width: min(100%, 360px);
  box-shadow: 0 16px 38px rgba(75, 28, 80, 0.28);
  transition: all 0.2s var(--ease);
}

.store-btn-primary {
  background: #743878;
  border-color: rgba(255, 255, 255, 0.34);
}

.store-btn svg {
  flex-shrink: 0;
}

.store-btn:hover {
  background: #653069;
  color: #fff;
  transform: translateY(-2px);
}

.store-btn-text-only {
  justify-content: center;
}

.store-btn-disabled {
  opacity: 0.58;
  cursor: default;
}

.store-btn-disabled:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: none;
}

.store-btn small {
  display: block;
  font-size: 10px;
  opacity: 0.75;
  text-align: left;
}

.store-btn strong {
  display: block;
  font-size: 15px;
  text-align: left;
}

.store-btn-text-only small,
.store-btn-text-only strong {
  text-align: center;
}

/* ─── Footer ──────────────────────────────────────────────────────────── */

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 32px;
  transition: background 0.3s;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  margin-bottom: 12px;
  display: inline-block;
  line-height: 0;
}

.footer-logo-img {
  width: 84px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.footer-brand p {
  font-size: 14px;
  color: var(--footer-muted);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: var(--footer-muted);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--footer-muted);
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--footer-text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.footer-theme-toggle {
  width: 34px;
  height: 34px;
  border-color: transparent;
}

.footer-theme-toggle svg {
  width: 16px;
  height: 16px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--footer-muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--footer-muted);
  transition: color 0.2s;
}

.footer-socials a:hover { color: var(--footer-text); }

/* ─── Modal ───────────────────────────────────────────────────────────── */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--modal-backdrop);
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--surface);
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  padding: 32px;
  position: relative;
  box-shadow: 0 32px 80px var(--shadow);
  animation: modalIn 0.3s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-warm);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-secondary);
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--border);
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.external-browser-overlay {
  z-index: 1600;
  background: rgba(33, 22, 31, 0.54);
}

.external-browser-modal {
  max-width: 440px;
  padding: 30px;
  border-radius: 18px;
}

.external-browser-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.external-browser-title {
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.external-browser-copy {
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

.external-browser-copy strong {
  color: var(--accent);
  font-weight: 800;
}

.external-browser-note {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 10px;
}

.external-browser-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.external-browser-actions .btn-solid,
.external-browser-secondary {
  flex: 1;
  min-height: 46px;
  border-radius: 980px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
}

.external-browser-actions .btn-solid {
  margin-top: 0;
}

.external-browser-secondary {
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.external-browser-secondary:hover,
.external-browser-secondary:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

/* ─── Auth Modal Tabs ─────────────────────────────────────────────────── */

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border-light);
}

.auth-tab {
  flex: 1;
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  font-family: inherit;
}

.auth-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.auth-tab:hover:not(.active) {
  color: var(--text);
}

.social-auth-wrap {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.social-auth-btn {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.social-auth-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.auth-help-text {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

/* ─── Forms ───────────────────────────────────────────────────────────── */

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-input::placeholder {
  color: var(--text-secondary);
}

.form-error {
  color: var(--danger);
  font-size: 13px;
  min-height: 18px;
  margin-top: 8px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.2s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: scale(1.01);
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.auth-links {
  margin-top: 14px;
  text-align: center;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 0;
  text-decoration: underline;
  transition: color 0.2s;
}

.link-btn:hover {
  color: var(--accent-hover);
}

.forgot-form {
  display: none;
}

.forgot-form.active {
  display: block;
}

.forgot-form .form-group {
  display: none;
}

.forgot-form .form-group.visible {
  display: block;
}

/* ─── Purchase Modal ──────────────────────────────────────────────────── */

.purchase-steps {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.purchase-step {
  flex: 1;
  text-align: center;
}

.purchase-step .step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.purchase-step.active .step-dot {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.purchase-step.completed .step-dot {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
}

.purchase-step .step-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.purchase-status {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
  min-height: 44px;
}

.purchase-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.purchase-method-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.purchase-method-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.purchase-plan-text {
  margin-top: 12px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}

/* ─── Toast ───────────────────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-info    { background: var(--accent); }
.toast-success { background: var(--success); }
.toast-error   { background: var(--danger); }

/* ─── Animations ──────────────────────────────────────────────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1024px) {
  .hero-title { font-size: 56px; }
}

@media (max-width: 768px) {
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(4, 2, 5, 0.44);
    backdrop-filter: blur(10px) saturate(82%);
    -webkit-backdrop-filter: blur(10px) saturate(82%);
    pointer-events: none;
  }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 14px;
    right: 14px;
    bottom: auto;
    background: rgba(18, 12, 20, 0.88);
    padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
    max-height: min(420px, calc(100dvh - 80px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: blur(30px) saturate(155%);
    -webkit-backdrop-filter: blur(30px) saturate(155%);
    z-index: 1200;
    pointer-events: auto;
  }
  .nav-links.open a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 8px 2px;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: none;
  }
  .nav-links.open a:not(.nav-cta):hover { color: #fff; }
  .nav:not(.scrolled) .nav-links.open a:not(.nav-cta) {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: none;
  }
  .nav-links.open .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    margin-top: 10px;
    text-align: center;
  }
  .nav:not(.scrolled) .nav-links.open .nav-cta {
    background: var(--accent);
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-controls {
    margin-left: auto;
    gap: 8px;
  }
  .nav-toggle { display: flex; }
  .nav-auth { gap: 6px; }
  .nav-auth-links { gap: 6px; }
  .nav-account-name { display: none; }
  .nav-login-btn {
    padding: 7px 12px;
    font-size: 12px;
  }

  .hero {
    align-items: flex-start;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 106px 0 56px;
  }
  .hero-bg img { object-position: center center; }
  .hero-scrim {
    background: rgba(0, 0, 0, 0.46);
  }
  .hero-text { max-width: 560px; }
  .hero-title { font-size: 44px; }
  .hero-sub { margin-bottom: 30px; }
  .hero-actions { justify-content: flex-start; }
  .hero-proof {
    display: block;
    border-radius: 18px;
  }

  .section { padding: 64px 0; }
  .section-headline { font-size: 32px; }

  .features-grid,
  .safety-grid,
  .faq-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .feature-card,
  .feature-card:nth-child(odd),
  .feature-card:nth-child(even),
  .safety-item,
  .safety-item:nth-child(odd),
  .safety-item:nth-child(even),
  .faq-item,
  .faq-item:nth-child(odd),
  .faq-item:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }
  .feature-card:nth-child(-n+2),
  .safety-item:nth-child(-n+2),
  .faq-item:nth-child(-n+2) {
    border-top: 1px solid var(--border-light);
  }
  .feature-card:first-child,
  .safety-item:first-child,
  .faq-item:first-child {
    border-top: 0;
  }
  #features .feature-card.fade-in:nth-child(odd) {
    transform: translate3d(-12px, 0, 0);
  }
  #features .feature-card.fade-in:nth-child(even) {
    transform: translate3d(12px, 0, 0);
  }
  #features .feature-card.fade-in.visible {
    transform: translate3d(0, 0, 0);
  }
  #features {
    padding-bottom: 28px;
  }
  .zim-world-section {
    padding-top: 0;
    padding-bottom: 56px;
  }
  .zim-world-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 0 30px;
  }
  .zim-world-body p {
    font-size: 16px;
  }
  .zim-world-cta {
    width: 100%;
    max-width: 360px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step,
  .step:first-child {
    padding: 26px 0;
    border-left: 0;
    border-top: 1px solid var(--border-light);
  }
  .step:first-child {
    border-top: 0;
  }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .boost-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-actions { margin-left: 0; }

  .modal { padding: 24px; }
}

@media (max-width: 480px) {
  .logo-img { width: 36px; height: 36px; }
  .nav-logo-text { font-size: 18px; }
  .hero {
    --hero-mobile-pad-top: 98px;
    --hero-mobile-pad-bottom: 44px;
    align-items: stretch;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: var(--hero-mobile-pad-top);
    padding-bottom: var(--hero-mobile-pad-bottom);
  }
  .hero-content,
  .hero-text {
    min-height: calc(100vh - var(--hero-mobile-pad-top) - var(--hero-mobile-pad-bottom));
    min-height: calc(100svh - var(--hero-mobile-pad-top) - var(--hero-mobile-pad-bottom));
    min-height: calc(100dvh - var(--hero-mobile-pad-top) - var(--hero-mobile-pad-bottom));
  }
  .hero-content { display: flex; }
  .hero-text {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .hero .eyebrow { display: none; }
  .hero-title { font-size: 38px; }
  .hero-tagline { font-size: 18px; }
  .hero-sub { font-size: 16px; }
  .hero-sub-desktop { display: none; }
  .hero-sub-mobile { display: inline; }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 32px;
  }
  .hero-actions .hero-how-link,
  .hero-proof {
    display: none;
  }
  .hero .btn-primary,
  .hero .btn-ghost {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .footer-logo-img { width: 76px; }

  .theme-toggle { width: 40px; height: 40px; }

  .footer-top { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-actions { justify-content: center; }
  .footer-socials { justify-content: center; }

  .external-browser-modal {
    padding: 28px 22px 22px;
  }

  .external-browser-actions {
    flex-direction: column;
  }

  .feature-card { padding: 28px 0; }
  .safety-item { padding: 28px 0; }
  .pricing-card { padding: 32px 24px; }
  .boost-shop { padding: 24px 20px; }

  .store-buttons { flex-direction: column; align-items: center; }
  .store-btn { width: 100%; max-width: 320px; justify-content: flex-start; }
  .store-btn-text-only { justify-content: center; }
  .download-trust { max-width: 320px; }
  .download-trust-note {
    text-align: center;
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in.visible,
  #features .feature-card.fade-in,
  #features .feature-card.fade-in:nth-child(odd),
  #features .feature-card.fade-in:nth-child(even),
  #features .feature-card.fade-in.visible {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}
