/* ===== Design system: spacing & tokens ===== */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --icon-sm: 18px;
  --icon-md: 24px;
  --icon-lg: 28px;
}

/* ===== Theme: light (default) ===== */
:root,
.theme-light {
  --bg: #fafbfc;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --text: #1a1d21;
  --text-muted: #5c6370;
  --primary: #6b4eff;
  --primary-hover: #5a3eeb;
  --primary-light: #ede9fe;
  --accent: #f59e0b;
  --border: #e5e7eb;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
  --header-bg: rgba(250, 251, 252, 0.9);
}

/* ===== Theme: dark ===== */
.theme-dark {
  --bg: #0f1419;
  --bg-card: #1a222c;
  --bg-elevated: #1e2730;
  --text: #e6edf3;
  --text-muted: #8b9cad;
  --primary: #7c6bff;
  --primary-hover: #6b5aeb;
  --primary-light: #2d2640;
  --border: #2d3a47;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.3);
  --header-bg: rgba(15, 20, 25, 0.9);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Animations ----- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.15s; }
.animate-in:nth-child(3) { animation-delay: 0.25s; }
.animate-in:nth-child(4) { animation-delay: 0.35s; }
.animate-in:nth-child(5) { animation-delay: 0.45s; }
.animate-in:nth-child(6) { animation-delay: 0.55s; }
.animate-in:nth-child(7) { animation-delay: 0.65s; }
.animate-in:nth-child(8) { animation-delay: 0.75s; }
.animate-in:nth-child(9) { animation-delay: 0.85s; }
.animate-in:nth-child(10) { animation-delay: 0.95s; }
.animate-in:nth-child(11) { animation-delay: 1.05s; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.theme-dark .header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
  transition: transform 0.2s;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav a.nav-link:hover {
  color: var(--text);
  background: var(--primary-light);
}

.nav-sep {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 var(--space-2);
  flex-shrink: 0;
}

.nav-cta {
  margin-left: var(--space-2);
}

/* Nav primary button: always white text */
.nav a.btn-primary {
  color: #fff !important;
}
.nav a.btn-primary:hover {
  color: #fff !important;
  background: var(--primary-hover);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 4px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.theme-toggle:hover {
  color: var(--text);
  background: var(--bg-card);
}

.theme-icon {
  display: none;
}

.theme-light .theme-icon.sun { display: inline; }
.theme-dark .theme-icon.moon { display: inline; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(107, 78, 255, 0.35);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(107, 78, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
  background: var(--bg-card);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1rem;
}

/* ----- Hero ----- */
.hero {
  padding: 140px 0 100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.hero-tag {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.badge:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.hero-visual {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.hero-visual .phone-frame {
  animation: float 5s ease-in-out infinite;
}

.phone-frame {
  width: 280px;
  border-radius: 32px;
  padding: 10px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.theme-dark .phone-frame:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.phone-frame.small {
  width: 240px;
  border-radius: 28px;
}

.phone-frame.large {
  width: 300px;
  margin: 0 auto;
  border-radius: 36px;
}

.phone-screenshot,
.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.phone-frame.small img { border-radius: 20px; }
.phone-frame.large img { border-radius: 28px; }

/* ----- Sections ----- */
.section {
  padding: 88px 0;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ----- Screenshots: tabs + carousel ----- */
.screenshots {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.screenshot-section {
  max-width: 480px;
  margin: 0 auto;
}

.screenshot-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.screenshot-tab {
  padding: var(--space-2) var(--space-4);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.screenshot-tab:hover {
  color: var(--text);
  border-color: var(--text-muted);
  background: var(--bg-card);
}

.screenshot-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.carousel-viewport {
  position: relative;
  padding: 0 56px;
}

.carousel-inner {
  overflow: hidden;
  border-radius: var(--radius-xl);
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  padding: 0 var(--space-1);
  text-align: center;
  box-sizing: border-box;
}

.carousel-slide .phone-frame {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.carousel-slide .phone-frame:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12);
}

.theme-dark .carousel-slide .phone-frame:hover {
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.screenshot-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: var(--space-5);
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(107, 78, 255, 0.4);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.98);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

/* ----- Cost guide ----- */
.cost-guide {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.cost-guide-header {
  margin-bottom: var(--space-10);
}

.cost-guide-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.cost-guide .section-title {
  margin-bottom: var(--space-3);
}

.cost-guide .section-subtitle {
  margin-bottom: 0;
}

.cost-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.cost-guide-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.cost-guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(107, 78, 255, 0.12);
  background: var(--bg-card);
}

.theme-dark .cost-guide-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cost-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}

.cost-guide-card:hover .cost-card-icon {
  background: var(--primary);
  color: #fff;
}

.cost-trade {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-align: center;
}

.cost-rate {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.cost-unit {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: lowercase;
}

.cost-guide-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cost-guide-note strong {
  color: var(--text);
}

/* ----- How it works ----- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.steps .step:nth-child(1) { transition-delay: 0s; }
.steps .step:nth-child(2) { transition-delay: 0.08s; }
.steps .step:nth-child(3) { transition-delay: 0.16s; }

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.35s;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

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

/* ----- Features ----- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-grid .feature-card:nth-child(1) { transition-delay: 0s; }
.feature-grid .feature-card:nth-child(2) { transition-delay: 0.05s; }
.feature-grid .feature-card:nth-child(3) { transition-delay: 0.1s; }
.feature-grid .feature-card:nth-child(4) { transition-delay: 0.15s; }
.feature-grid .feature-card:nth-child(5) { transition-delay: 0.2s; }
.feature-grid .feature-card:nth-child(6) { transition-delay: 0.25s; }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.35s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

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

/* ----- For you (role toggle) ----- */
.role-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.role-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  box-shadow: var(--shadow);
}

.role-btn {
  padding: 12px 24px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

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

.role-btn.active {
  background: var(--primary);
  color: white;
}

.role-panel {
  display: none;
}

.role-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

.for-you .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.for-you .col h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.for-you .col p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.for-you .col ul {
  list-style: none;
}

.for-you .col li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.for-you .col li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.col-img {
  display: flex;
  justify-content: center;
}

/* ----- CTA ----- */
.cta {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}

.theme-dark .cta {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}

.cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(107, 78, 255, 0.2);
}

.store-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.web-app-link-wrap {
  margin: 16px 0;
}

.web-app-link {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.web-app-link:hover {
  text-decoration: underline;
}

.waitlist-note {
  font-size: 0.9rem;
  margin-bottom: 16px !important;
  color: var(--text-muted);
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

.waitlist-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.2s;
}

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

.waitlist-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* ----- Footer ----- */
.footer {
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-10);
  align-items: start;
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--border);
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}

.footer-brand-text {
  min-width: 0;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 2px;
  color: var(--text);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 140px;
}

.footer-col-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link-icon {
  flex-shrink: 0;
  color: var(--primary);
  opacity: 0.9;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-link:hover .footer-link-icon {
  opacity: 1;
}

#business-plan {
  scroll-margin-top: 80px;
}

.footer-business {
  padding: var(--space-6);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-8);
}

.footer-business-heading {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-business-icon {
  flex-shrink: 0;
  color: var(--primary);
}

.footer-business h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.footer-business p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-3);
  line-height: 1.55;
}

.footer-business p:last-child {
  margin-bottom: 0;
}

.footer-plan-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.footer-plan-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.footer-legal {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin: 0;
}

/* ----- Mobile ----- */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav a:last-of-type {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  body.nav-open .nav {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-elevated);
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
  }

  body.nav-open .nav a:last-of-type {
    display: inline-flex;
  }

  .hero {
    padding-top: 120px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .phone-frame {
    width: 260px;
  }

  .phone-frame.large {
    width: 280px;
  }

  .for-you .two-col {
    grid-template-columns: 1fr;
  }

  .col-img {
    order: -1;
  }

  .screenshot-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: var(--space-2);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .screenshot-tabs::-webkit-scrollbar {
    display: none;
  }

  .screenshot-tab {
    flex-shrink: 0;
  }

  .carousel-viewport {
    padding: 0 44px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }

  .section {
    padding: 64px 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding-bottom: var(--space-8);
  }

  .footer-nav {
    gap: var(--space-8);
  }

  .nav .nav-sep {
    display: none;
  }

  .nav a:not(.btn-primary) {
    padding: var(--space-2) var(--space-3);
  }
}

@media (min-width: 769px) {
  body.nav-open .nav {
    position: static;
    flex-direction: row;
  }
}
