/* ─────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────── */
:root {
  --orange: #FF9100;
  --red: #DD2C00;
  --yellow: #FFC400;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.2s ease;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Dark theme (default) */
[data-theme="dark"] {
  --bg: #0C0C0C;
  --bg-card: #141414;
  --bg-card-hover: #1A1A1A;
  --bg-terminal: #111111;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #E3E3E3;
  --text-muted: #8F8F8F;
  --text-faint: #474747;
  --logo-dark: block;
  --logo-light: none;
  --nav-bg: rgba(12,12,12,0.85);
  --terminal-comment: #555;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.3);
}

/* Light theme */
[data-theme="light"] {
  --bg: #F8F8F8;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F2F2F2;
  --bg-terminal: #1A1A1A;
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.14);
  --text: #1F1F1F;
  --text-muted: #757575;
  --text-faint: #ABABAB;
  --logo-dark: none;
  --logo-light: block;
  --nav-bg: rgba(248,248,248,0.85);
  --terminal-comment: #666;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* Offset anchor targets so fixed nav doesn't cover section headings */
[id] { scroll-margin-top: 96px; }

/* Scrollbar — branded */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(255, 145, 0, 0.4);
  border-radius: 99px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 145, 0, 0.75); }

/* Firefox */
html { scrollbar-width: thin; scrollbar-color: rgba(255,145,0,0.4) transparent; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

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

/* ─────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

/* ─────────────────────────────────────────────
   LOGO VISIBILITY
───────────────────────────────────────────── */
.logo-dark, .logo-light { display: none; }
[data-theme="dark"]  .logo-dark  { display: block; }
[data-theme="light"] .logo-light { display: block; }

/* ─────────────────────────────────────────────
   GRADIENT TEXT
───────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(90deg, var(--orange), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(90deg, var(--orange), var(--red));
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,145,0,0.25);
}
.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 4px 24px rgba(255,145,0,0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--border);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.btn-sm  { padding: 8px 16px;  font-size: 14px; }
.btn-lg  { padding: 14px 28px; font-size: 16px; }

/* ─────────────────────────────────────────────
   BADGE
───────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,145,0,0.1);
  border: 1px solid rgba(255,145,0,0.25);
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 26px; width: auto; align-self: flex-start; }

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition);
}
.theme-toggle:hover { background: var(--bg-card-hover); }
.theme-toggle svg { width: 16px; height: 16px; }

[data-theme="dark"]  .icon-sun  { display: block; }
[data-theme="dark"]  .icon-moon { display: none;  }
[data-theme="light"] .icon-sun  { display: none;  }
[data-theme="light"] .icon-moon { display: block; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--text); }
.nav-mobile .btn,
.nav-mobile .btn:hover {
  padding: 8px 16px;
  align-self: flex-start;
  margin-top: 4px;
  color: #fff;
  border-bottom: none;
}
.nav-mobile.open { display: flex; }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: var(--orange);
  top: -200px; left: -100px;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: var(--red);
  top: -150px; right: -100px;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

.hero-visual { width: 100%; max-width: 680px; }

/* ─────────────────────────────────────────────
   TERMINAL
───────────────────────────────────────────── */
.terminal {
  background: var(--bg-terminal);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  text-align: left;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green  { background: #28CA42; }

.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #666666;
  font-family: var(--font-mono);
}

.terminal-body {
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
  color: #E0E0E0;
}

.terminal-line { display: flex; gap: 8px; }
.t-blank       { height: 8px; }
.t-dim         { color: var(--text-faint); }
.t-cmd         { color: var(--orange); }
.t-flag        { color: #82AAFF; }
.t-comment     { color: var(--terminal-comment); font-style: italic; }
.t-orange      { color: var(--orange); }
.t-success     { color: #28CA42; }
.t-progress    { color: var(--orange); }
.t-cursor      { color: var(--orange); animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ─────────────────────────────────────────────
   SECTION HEADER
───────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   FEATURES
───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px; height: 44px;
  background: rgba(255,145,0,0.1);
  border: 1px solid rgba(255,145,0,0.2);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--orange);
}
.feature-icon svg { width: 20px; height: 20px; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ─────────────────────────────────────────────
   APP SHOWCASE
───────────────────────────────────────────── */
.showcase { overflow: hidden; }

.showcase-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  padding-bottom: 16px;
}

.phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease;
}

.phone-frame {
  position: relative;
  width: 220px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 0 0 8px var(--bg-card),
    0 0 0 10px var(--border-strong),
    0 24px 64px rgba(0,0,0,0.4);
  background: var(--bg-card);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Screen theme visibility */
.screen-dark, .screen-light { position: absolute; top: 0; left: 0; width: 100%; }
.screen-dark  { position: relative; }
[data-theme="dark"]  .screen-dark  { display: block; }
[data-theme="dark"]  .screen-light { display: none;  }
[data-theme="light"] .screen-dark  { display: none;  }
[data-theme="light"] .screen-light { display: block; position: relative; }

.phone-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* Showcase slider dots — hidden on desktop, shown by media query on mobile */
.showcase-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.showcase-dot.active {
  background: var(--orange);
  width: 22px;
  border-radius: 4px;
}

/* Side phones */
.phone-left  { transform: rotate(-6deg) translateY(32px); }
.phone-right { transform: rotate(6deg)  translateY(32px); }
.phone-center { z-index: 2; }
.phone-center .phone-frame {
  width: 260px;
  box-shadow:
    0 0 0 8px var(--bg-card),
    0 0 0 10px var(--border-strong),
    0 32px 80px rgba(255,145,0,0.15),
    0 24px 64px rgba(0,0,0,0.5);
}

.phone-left:hover  { transform: rotate(-4deg) translateY(24px); }
.phone-right:hover { transform: rotate(4deg)  translateY(24px); }

/* ─────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────── */
.howitworks { background: var(--bg-card); }
[data-theme="light"] .howitworks { background: #EFEFEF; }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(255,145,0,0.3);
  font-family: var(--font-mono);
}

.step-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-content code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--border);
  color: var(--orange);
  padding: 2px 6px;
  border-radius: 4px;
}

.step-connector {
  flex-shrink: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--red));
  margin-top: 26px;
  opacity: 0.4;
}

/* ─────────────────────────────────────────────
   CLI SECTION
───────────────────────────────────────────── */
.cli-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cli-text .badge { margin-bottom: 20px; }

.cli-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
}

.cli-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.bullet-icon {
  color: var(--orange);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-top: 2px;
}

.cli-actions { display: flex; gap: 12px; }

/* ─────────────────────────────────────────────
   FRAMEWORKS
───────────────────────────────────────────── */
.frameworks { background: var(--bg-card); }
[data-theme="light"] .frameworks { background: #EFEFEF; }

.frameworks-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.framework-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  flex: 1;
  max-width: 380px;
  min-width: 280px;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}
.framework-card:not(.framework-card--soon):hover {
  border-color: rgba(255,145,0,0.3);
  box-shadow: 0 8px 32px rgba(255,145,0,0.1);
  transform: translateY(-2px);
}
.framework-card--soon {
  opacity: 0.5;
  cursor: default;
}

.framework-logo {
  width: 72px; height: 72px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.framework-logo img { width: 40px; height: 40px; }

.framework-card h3 { font-size: 18px; font-weight: 700; }
.framework-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 240px; }

.framework-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: 4px;
}
.framework-badge--active {
  background: rgba(255,145,0,0.12);
  color: var(--orange);
  border: 1px solid rgba(255,145,0,0.25);
}
.framework-badge--soon {
  background: var(--border);
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
}

/* ─────────────────────────────────────────────
   PRICING
───────────────────────────────────────────── */

.pricing-billing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.pricing-billing-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.pricing-billing-label--active { color: var(--text); }

.pricing-annual-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,145,0,0.12);
  color: var(--orange);
  border: 1px solid rgba(255,145,0,0.25);
  padding: 2px 8px;
  border-radius: 999px;
}

.pricing-billing-toggle {
  width: 44px;
  height: 24px;
  background: var(--border-strong);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
  flex-shrink: 0;
}
.pricing-billing-toggle.active {
  background: linear-gradient(90deg, var(--orange), var(--red));
}

.pricing-billing-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  pointer-events: none;
}
.pricing-billing-toggle.active .pricing-billing-thumb {
  transform: translateX(20px);
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4px;
  width: fit-content;
  margin: 0 auto 24px;
}

.pricing-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
}
.pricing-tab.active {
  background: linear-gradient(90deg, var(--orange), var(--red));
  color: #fff;
}
.pricing-tab:not(.active):hover { color: var(--text); }

/* Type-based visibility */
.pricing-grid[data-type="indi"] .pi-org { display: none; }
.pricing-grid[data-type="org"]  .pi-indi { display: none; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
  padding-top: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}
.pricing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.pricing-card--featured {
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              linear-gradient(135deg, var(--orange), var(--red)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 8px 40px rgba(255,145,0,0.15), var(--shadow-card);
}
.pricing-card--featured:hover {
  box-shadow: 0 12px 48px rgba(255,145,0,0.22), var(--shadow-card);
  transform: translateY(-3px);
}

.pricing-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--orange), var(--red));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.pricing-plan-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}


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

.pricing-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  align-self: flex-start;
  margin-top: 8px;
}

.pricing-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-period {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-annual-note {
  font-size: 12px;
  color: var(--text-muted);
  min-height: 18px;
}

.pricing-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 24px;
}

.pricing-btn {
  width: 100%;
  justify-content: center;
}

.pricing-sep {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.pricing-item--yes { color: var(--text); }
.pricing-item--no  { color: var(--text-muted); opacity: 0.5; }

.pricing-check {
  color: #28CA42;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.pricing-dash {
  color: var(--text-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ─────────────────────────────────────────────
   PLAY STORE BADGE
───────────────────────────────────────────── */
.playstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
  cursor: pointer;
}
.playstore-badge:hover {
  border-color: rgba(255,145,0,0.45);
  box-shadow: 0 8px 28px rgba(255,145,0,0.18);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.playstore-badge--lg { padding: 14px 24px; }
.playstore-badge--sm { padding: 10px 16px; }

.gp-icon { flex-shrink: 0; }
.playstore-badge--lg .gp-icon { width: 28px; height: 30px; }
.playstore-badge--sm .gp-icon { width: 20px; height: 22px; }

.playstore-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.playstore-badge-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.playstore-badge--lg .playstore-badge-sub { font-size: 11px; }

.playstore-badge-main {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.playstore-badge--sm .playstore-badge-main { font-size: 14px; }

/* ─────────────────────────────────────────────
   SHOWCASE DOWNLOAD PROMPT
───────────────────────────────────────────── */
.showcase-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.showcase-download-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   DOWNLOAD SECTION
───────────────────────────────────────────── */
.download {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.download-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
  pointer-events: none;
}
.download-glow-1 {
  width: 500px; height: 500px;
  background: var(--orange);
  top: -150px; left: 50%;
  transform: translateX(-60%);
}
.download-glow-2 {
  width: 400px; height: 400px;
  background: var(--red);
  bottom: -100px; right: 10%;
}

.download-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.download-inner .section-title { margin-bottom: 16px; }
.download-inner .section-desc  { margin-bottom: 40px; }

/* Footer Play Store badge — slightly muted in footer context */
.footer-playstore { margin-top: 4px; width: fit-content; }
.footer-playstore:hover { border-color: rgba(255,145,0,0.4); }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}

.footer-inner {
  display: flex;
  gap: 64px;
  padding-bottom: 48px;
}

.footer-brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo { height: 22px; width: auto; align-self: flex-start; }
[data-theme="light"] .footer-logo { filter: invert(1); }
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 220px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section { padding: 80px 0; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

  .cli-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cli-text { text-align: center; }
  .cli-text .section-desc { text-align: center; }
  .cli-text .section-title { text-align: center !important; }
  .cli-bullets { align-items: flex-start; max-width: 400px; margin: 24px auto 32px; }
  .cli-actions { justify-content: center; }
}

@media (max-width: 900px) {
  /* Showcase — horizontal snap slider */
  .showcase-phones {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* justify-content: center causes a browser bug where overflow items at the
       end are unreachable. flex-start is required for scroll to work correctly. */
    justify-content: flex-start;
    align-items: center;
    padding: 24px 0 32px;
    scrollbar-width: none;
    gap: 0;
  }
  .showcase-phones::-webkit-scrollbar { display: none; }

  .phone {
    flex: 0 0 100%;
    scroll-snap-align: center;
    justify-content: center;
  }

  /* Restore left/right phones — hidden on desktop fan, shown in slider */
  .phone-left,
  .phone-right {
    display: flex;
    transform: none;
  }

  /* Centre phone loses its special larger size & glow on mobile */
  .phone-center .phone-frame {
    width: 220px;
    box-shadow:
      0 0 0 8px var(--bg-card),
      0 0 0 10px var(--border-strong),
      0 24px 64px rgba(0,0,0,0.4);
  }

  .showcase-dots { display: flex; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-burger { display: flex; }
  .nav-actions { gap: 8px; }

  .section { padding: 72px 0; }
  .hero { padding-top: 120px; padding-bottom: 72px; }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .step { flex-direction: column; align-items: center; padding: 16px 0; }
  .step-connector {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, var(--orange), var(--red));
    margin: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }
  .footer-links { gap: 40px; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: 36px; }
  .hero-desc  { font-size: 16px; }

  .terminal-body { font-size: 12px; padding: 16px; }

  .footer-links { flex-direction: column; gap: 32px; }

  .showcase-download { gap: 12px; }

  .playstore-badge--lg { padding: 12px 20px; }
  .playstore-badge--lg .playstore-badge-main { font-size: 15px; }
}

/* ──── COMPARE ──── */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--text);
}
.compare-table thead th {
  text-align: left;
  padding: 18px 16px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: transparent;
  white-space: nowrap;
}
.compare-table th.compare-th-feature {
  color: var(--text);
  width: 28%;
}
.compare-table th.compare-th-us {
  color: var(--orange);
  font-weight: 700;
}
.compare-table tbody th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.compare-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td.compare-td-us {
  color: var(--text);
  font-weight: 600;
  background: rgba(255, 145, 0, 0.04);
}
.compare-table td.compare-td-us svg { color: var(--orange); }
.compare-table td.compare-td-no { color: var(--text-muted); }
.compare-table td.compare-td-no svg { color: var(--text-muted); opacity: 0.6; }
.compare-table td svg,
.compare-table td i {
  vertical-align: middle;
  margin-right: 4px;
}
.compare-note {
  margin-top: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ──── FAQ ──── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: rgba(255, 145, 0, 0.3); }
.faq-item[open] { border-color: rgba(255, 145, 0, 0.4); }
.faq-item summary {
  list-style: none;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "−";
  color: var(--orange);
}
.faq-item .faq-body {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.faq-item .faq-body code {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 145, 0, 0.08);
  color: var(--orange);
  border: 1px solid rgba(255, 145, 0, 0.15);
}

@media (max-width: 560px) {
  .faq-item summary { font-size: 15px; padding: 16px; }
  .faq-item .faq-body { padding: 0 16px 16px; font-size: 14px; }
}
