/* ============================================================================
   Rumbo Website — Design System & Styles
   Derived from Rumbo iOS app: src/constants/theme.ts
   ============================================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Custom Properties (from Rumbo theme.ts) --- */
:root {
  /* Backgrounds */
  --bg-default: #0A0A0B;
  --bg-elevated: #141416;
  --bg-subtle: #1A1A1D;

  /* Surfaces */
  --surface: #141416;
  --surface-hover: #1A1A1D;
  --surface-active: #222225;

  /* Borders */
  --border: #2A2A2E;
  --border-subtle: #1F1F23;
  --border-focus: #3A3A40;

  /* Text */
  --text-primary: #FAFAFA;
  --text-secondary: #A1A1AA;
  --text-tertiary: #71717A;
  --text-inverse: #0A0A0B;

  /* Accent — Coral Orange */
  --accent: #FF6B4A;
  --accent-hover: #FF8266;
  --accent-active: #E55A3A;
  --accent-muted: rgba(255, 107, 74, 0.15);
  --accent-glow: rgba(255, 107, 74, 0.25);

  /* Status */
  --success: #22C55E;

  /* Spacing (from theme.ts) */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 12px;
  --sp-lg: 16px;
  --sp-xl: 24px;
  --sp-2xl: 32px;
  --sp-3xl: 48px;
  --sp-4xl: 64px;

  /* Border Radius (from theme.ts) */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-3xl: 32px;
  --r-full: 9999px;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-default);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* --- Typography Scale (from theme.ts) --- */
.t-display {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.t-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.t-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.t-body-lg {
  font-size: 18px;
  line-height: 1.55;
}

.t-body {
  font-size: 16px;
  line-height: 1.5;
}

.t-body-sm {
  font-size: 14px;
  line-height: 1.45;
}

.t-caption {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.accent { color: var(--accent); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }

/* --- Reveal Animations --- */
/* Fallback: if JS hasn't loaded, show everything */
.reveal {
  opacity: 1;
  transform: translateY(0);
}
/* Only animate when JS has initialized the observer */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ============================================================================
   NAVIGATION
   ============================================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10, 10, 11, 0.82);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.nav-logo .logo-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  overflow: hidden;
  height: 44px;
}

.lang-toggle button {
  padding: 0 16px;
  height: 100%;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  transition: all 0.2s;
  border-radius: var(--r-full);
}

.lang-toggle button.active {
  background: var(--surface-active);
  color: var(--text-primary);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 10px 20px;
  background: var(--accent);
  color: var(--text-inverse);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-full);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn-download:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-download:active {
  background: var(--accent-active);
  transform: translateY(0);
}

.btn-download svg {
  width: 16px;
  height: 16px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:first-child {
  transform: rotate(45deg) translate(3px, 4px);
}
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:last-child {
  transform: rotate(-45deg) translate(3px, -4px);
}

/* Mobile nav menu */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 11, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--sp-xl);
  flex-direction: column;
  gap: var(--sp-lg);
  z-index: 999;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 14px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* ============================================================================
   HERO
   ============================================================================ */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-default) 0%, #0d0d0f 100%);
}

/* Ambient gradient */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70%;
  height: 90%;
  background: radial-gradient(ellipse at center, rgba(255, 107, 74, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: center;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-3xl) var(--sp-xl);
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--sp-xl);
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.hero-title {
  margin-bottom: var(--sp-xl);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--sp-2xl);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-3xl);
  flex-wrap: wrap;
}

.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-md);
  padding: 14px 28px;
  background: var(--text-primary);
  color: var(--text-inverse);
  border-radius: var(--r-lg);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-app-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(250, 250, 250, 0.15);
}
.btn-app-store:active {
  transform: translateY(0);
}
.btn-app-store svg {
  width: 22px;
  height: 22px;
}
.btn-app-store .btn-app-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.btn-app-store .btn-app-store-text small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.7;
}
.btn-app-store .btn-app-store-text span {
  font-size: 17px;
  font-weight: 700;
  margin-top: 2px;
}

.btn-google-play {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-google-play:hover {
  background: var(--surface-hover);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.store-buttons {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}

.store-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.coming-soon-label {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.btn-sm {
  padding: 10px 20px;
}
.btn-sm .btn-app-store-text span {
  font-size: 15px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 14px 24px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s;
}
.btn-secondary:hover {
  border-color: var(--border-focus);
  background: var(--surface);
}
.btn-secondary svg {
  width: 16px;
  height: 16px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
}
.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Hero Visual — Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 2;
}

/* Phone Frame */
.phone {
  width: 300px;
  height: 612px;
  background: var(--bg-default);
  border-radius: 48px;
  border: 3px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 120px rgba(255, 107, 74, 0.12);
  flex-shrink: 0;
}

/* Dynamic Island */
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

/* Phone screen content */
.phone-screen {
  width: 100%;
  height: 100%;
  padding-top: 48px;
  position: relative;
  overflow: hidden;
  background: var(--bg-default);
}

/* Search bar in phone */
.phone-search {
  margin: 0 16px 12px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-search-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-tertiary);
}
.phone-search-line {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
}

/* Map area in phone */
.phone-map {
  flex: 1;
  position: relative;
  margin: 0 2px;
  height: calc(100% - 48px - 52px - 120px);
  overflow: hidden;
}

.phone-map svg {
  width: 100%;
  height: 100%;
}

/* Bottom card in phone */
.phone-card {
  position: absolute;
  bottom: 24px;
  left: 12px;
  right: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 16px;
  z-index: 5;
}

.phone-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.phone-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-card-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.phone-card-text-line {
  height: 8px;
  border-radius: 4px;
  background: var(--text-primary);
}
.phone-card-text-line.short {
  width: 60%;
  opacity: 0.8;
}
.phone-card-text-line.shorter {
  width: 40%;
  height: 6px;
  background: var(--text-tertiary);
  margin-top: 4px;
}

.phone-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.phone-card-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.phone-card-meta-label {
  height: 5px;
  width: 32px;
  border-radius: 2px;
  background: var(--text-tertiary);
  opacity: 0.5;
}
.phone-card-meta-value {
  height: 7px;
  width: 48px;
  border-radius: 3px;
  background: var(--text-secondary);
}

/* Phone route animation */
.phone-route-line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawPhoneRoute 2.5s 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.phone-route-glow {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawPhoneRoute 2.5s 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drawPhoneRoute {
  to { stroke-dashoffset: 0; }
}

/* Phone markers */
.phone-marker-origin, .phone-marker-dest {
  opacity: 0;
  animation: markerAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.phone-marker-origin { animation-delay: 0.6s; }
.phone-marker-dest { animation-delay: 3.2s; }

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

/* Hero background route */
.hero-route-bg {
  position: absolute;
  top: 10%;
  left: -5%;
  width: 110%;
  height: 80%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.12;
}
.hero-route-bg path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawBgRoute 5s 0.5s ease-out forwards;
}
@keyframes drawBgRoute {
  to { stroke-dashoffset: 0; }
}

/* ============================================================================
   SOCIAL PROOF STRIP
   ============================================================================ */

.proof-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--sp-xl) 0;
  background: var(--bg-elevated);
}

.proof-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3xl);
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.proof-item svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

/* ============================================================================
   SECTION — HOW IT WORKS
   ============================================================================ */

.section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--sp-lg);
}

.section-title {
  margin-bottom: var(--sp-xl);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: var(--sp-4xl);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2xl);
}

.step {
  padding: var(--sp-2xl);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-2xl);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.step:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.step-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-tertiary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--sp-lg);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: var(--surface-active);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
}
.step-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--sp-sm);
}

.step-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================================================
   SECTION — MAP THEMES
   ============================================================================ */

.themes-section {
  background: #111113;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-lg);
}

.theme-card-preview {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.theme-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}
.theme-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* theme-card-preview height set above in .themes-grid block */

.theme-card-info {
  padding: var(--sp-lg);
  background: var(--surface);
}

.theme-card-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

/* Theme-specific backgrounds (Carto Voyager with CSS filters) */
.theme-default .theme-card-preview {
  background: #F2EFE9;
}
.theme-midnight .theme-card-preview {
  background: #D5DAE8;
}
.theme-carbon .theme-card-preview {
  background: #E8E8E8;
}
.theme-rose .theme-card-preview {
  background: #F5E5EB;
}
.theme-lavender .theme-card-preview {
  background: #E8E2F2;
}

/* Mini map streets in preview */
.theme-card-preview svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* ============================================================================
   SECTION — QUALITY MODES
   ============================================================================ */

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.quality-card {
  padding: var(--sp-2xl);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-2xl);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.quality-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
}

.quality-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(255, 107, 74, 0.04) 100%);
}
.quality-card.featured .quality-badge {
  display: inline-block;
}

.quality-badge {
  display: none;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-muted);
  padding: 4px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-lg);
}

.quality-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--sp-sm);
}

.quality-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: var(--sp-xl);
  line-height: 1.5;
}

.quality-specs {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.quality-spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.quality-spec:last-child { border-bottom: none; }
.quality-spec-label { color: var(--text-tertiary); }
.quality-spec-value { font-weight: 600; color: var(--text-secondary); }

/* ============================================================================
   SECTION — PRIVACY / TRUST
   ============================================================================ */

.trust-section {
  background: #111113;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: center;
}

.trust-points {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}

.trust-point {
  display: flex;
  gap: var(--sp-lg);
  align-items: flex-start;
}

.trust-point-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--surface-active);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-point-icon svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.trust-point-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.trust-point-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* API providers */
.api-providers {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-top: var(--sp-2xl);
}

.api-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-lg);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}
.api-chip svg {
  width: 14px;
  height: 14px;
  color: var(--success);
}

/* ============================================================================
   USE CASES SECTION
   ============================================================================ */

.use-cases {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
}

.use-case-visual {
  background: #111113;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--sp-3xl);
  position: relative;
  overflow: hidden;
}

.use-case-visual::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(255,107,74,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.use-case-example {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-lg);
  padding: var(--sp-lg) var(--sp-xl);
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0;
}
.use-case-example:last-child { border-bottom: none; }

.use-case-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-active);
  border-radius: var(--r-md);
}
.use-case-icon svg {
  width: 22px;
  height: 22px;
  color: var(--text-secondary);
}

.use-case-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.use-case-text strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.use-cases-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}

/* Maker Story callout */
.maker-callout {
  padding: var(--sp-2xl);
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(255,107,74,0.04) 0%, transparent 100%);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  margin-top: var(--sp-xl);
}
.maker-callout p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
}
.maker-callout .maker-sig {
  margin-top: var(--sp-lg);
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-tertiary);
}

/* Mid-page CTA banner */
.mid-cta {
  padding: var(--sp-3xl) 0;
  text-align: center;
  position: relative;
}
.mid-cta-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--sp-2xl) var(--sp-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2xl);
  flex-wrap: wrap;
}
.mid-cta-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .use-cases {
    grid-template-columns: 1fr;
  }
  .use-case-visual {
    padding: var(--sp-xl);
  }
  .mid-cta-inner {
    flex-direction: column;
    gap: var(--sp-lg);
  }
  .themes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .themes-grid .theme-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }
}

/* ============================================================================
   SECTION — FINAL CTA
   ============================================================================ */

.cta-section {
  text-align: center;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 50%;
  background: radial-gradient(ellipse at center bottom, rgba(255, 107, 74, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  margin-bottom: var(--sp-xl);
}

.cta-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--sp-2xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2xl);
  margin-top: var(--sp-2xl);
  flex-wrap: wrap;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: #080809;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-xl);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
  padding: 10px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: var(--text-primary); }

.footer-divider {
  width: 60px;
  height: 1px;
  background: var(--border);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ============================================================================
   PRIVACY & SUPPORT PAGES
   ============================================================================ */

.page-header {
  padding: calc(var(--nav-h) + 80px) 0 60px;
  border-bottom: 1px solid var(--border-subtle);
}

.page-content {
  padding: var(--sp-4xl) 0 120px;
}

.page-content .content-wrapper {
  max-width: 720px;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-top: var(--sp-3xl);
  margin-bottom: var(--sp-lg);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--border-subtle);
}
.page-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.page-content p {
  color: var(--text-secondary);
  margin-bottom: var(--sp-lg);
  line-height: 1.7;
}

.page-content ul {
  margin-bottom: var(--sp-lg);
  padding-left: var(--sp-xl);
}
.page-content ul li {
  color: var(--text-secondary);
  margin-bottom: var(--sp-sm);
  line-height: 1.6;
  position: relative;
  padding-left: var(--sp-lg);
}
.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.page-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.page-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-content a:hover {
  color: var(--accent-hover);
}

.effective-date {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: var(--sp-2xl);
}

/* Support page — FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--sp-xl);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
  gap: var(--sp-lg);
}
.faq-question:hover {
  color: var(--accent);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.faq-answer-inner {
  padding: 0 var(--sp-xl) var(--sp-xl);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

/* Support contact card */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--sp-2xl);
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  margin-top: var(--sp-2xl);
  margin-bottom: var(--sp-3xl);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.contact-card-text h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-card-text p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 0;
}

.contact-card-text a {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-3xl);
    text-align: center;
  }
  .hero-content {
    order: 0;
  }
  .hero-visual {
    order: 1;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-badges {
    justify-content: center;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-3xl);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .section {
    padding: 80px 0;
  }

  .nav-links { display: none; }
  .nav .btn-download { display: none; }
  .nav-toggle { display: flex; }

  .steps {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .themes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
  }
  .themes-grid .theme-card-preview {
    height: 140px;
  }

  .quality-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  /* footer already stacked via main styles */

  .phone {
    width: 240px;
    height: 490px;
    border-radius: 38px;
  }

  .cta-section {
    padding: 100px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-badges {
    flex-direction: column;
    gap: var(--sp-md);
  }

  .proof-strip-inner {
    flex-direction: column;
    gap: var(--sp-lg);
  }

  .theme-card-preview {
    height: 120px;
  }

  .phone {
    width: 220px;
    height: 449px;
    border-radius: 34px;
  }
  .phone-notch {
    width: 80px;
    height: 22px;
    top: 10px;
  }
}
