/* ============================================================
   Tavolo Marketing Website — Style Sheet
   ============================================================ */

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

/* ── Design Tokens ── */
:root {
  /* Neutrals (dark-first) */
  --bg-primary: #09090b;
  --bg-secondary: #18181b;
  --bg-tertiary: #27272a;
  --bg-elevated: #131316;
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --border: #27272a;
  --border-subtle: #1f1f23;

  /* Accent */
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-subtle: rgba(245, 158, 11, 0.12);
  --accent-glow: rgba(245, 158, 11, 0.06);

  /* Semantic */
  --success: #22c55e;
  --info: #3b82f6;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  /* Sizing */
  --container: 1120px;
  --nav-height: 64px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 60px rgba(245,158,11,0.15);

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
}

/* ── Light Mode ── */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #fafafa;
    --bg-secondary: #f4f4f5;
    --bg-tertiary: #e4e4e7;
    --bg-elevated: #ffffff;
    --text-primary: #09090b;
    --text-secondary: #52525b;
    --text-tertiary: #a1a1aa;
    --border: #e4e4e7;
    --border-subtle: #f0f0f2;
    --accent: #d97706;
    --accent-hover: #b45309;
    --accent-subtle: rgba(217, 119, 6, 0.1);
    --accent-glow: rgba(217, 119, 6, 0.04);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 60px rgba(217,119,6,0.1);
  }
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navbar ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--duration-base) var(--ease);
}

@media (prefers-color-scheme: light) {
  .nav {
    background: rgba(250, 250, 250, 0.85);
  }
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}

.nav-brand svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease);
}

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

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #09090b;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--duration-fast) var(--ease);
  cursor: pointer;
  border: none;
}

.nav-links .nav-cta:hover {
  background: var(--accent-hover);
  color: #09090b;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--duration-base) var(--ease);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #09090b;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--duration-fast) var(--ease);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all var(--duration-fast) var(--ease);
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--text-tertiary);
  transform: translateY(-2px);
}

/* Hero screenshot */
.hero-screenshot {
  position: relative;
  max-width: 880px;
  margin: 60px auto 0;
}

.hero-screenshot img,
.hero-screenshot svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-screenshot::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ── About App ── */
.about-app {
  padding: 0 0 80px;
}

.about-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.about-card h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.about-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-privacy-link {
  margin-top: 20px;
}

.about-privacy-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease);
}

.about-privacy-link a:hover {
  color: var(--accent-hover);
}

/* ── Features ── */
.features {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

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

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition: all var(--duration-base) var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 158, 11, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

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

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

/* ── Showcase ── */
.showcase {
  padding: 80px 0 100px;
  position: relative;
}

.showcase-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.showcase-wrapper img,
.showcase-wrapper svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.showcase-wrapper::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Floating badges */
.showcase-badge {
  position: absolute;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

@media (prefers-color-scheme: light) {
  .showcase-badge {
    background: rgba(255, 255, 255, 0.9);
  }
}

.showcase-badge .badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

.showcase-badge.badge-top-left {
  top: -20px;
  left: -24px;
  animation: float 6s ease-in-out infinite;
}

.showcase-badge.badge-top-right {
  top: 40px;
  right: -32px;
  animation: float 6s ease-in-out infinite 2s;
}

.showcase-badge.badge-bottom-left {
  bottom: 40px;
  left: -20px;
  animation: float 6s ease-in-out infinite 4s;
}

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

/* ── Ambient Background Orbs ── */
@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.1); }
  50% { transform: translate(-30px, -80px) scale(0.95); }
  75% { transform: translate(-60px, -20px) scale(1.05); }
}

@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-50px, 30px) scale(1.05); }
  50% { transform: translate(40px, 60px) scale(0.9); }
  75% { transform: translate(70px, -30px) scale(1.1); }
}

@keyframes drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, -50px) scale(1.08); }
  66% { transform: translate(50px, 30px) scale(0.95); }
}

.ambient-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.ambient-orb--1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -5%;
  background: rgba(245, 158, 11, 0.06);
  animation: drift-1 20s ease-in-out infinite;
}

.ambient-orb--2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -8%;
  background: rgba(245, 158, 11, 0.04);
  animation: drift-2 25s ease-in-out infinite;
}

.ambient-orb--3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 50%;
  background: rgba(59, 130, 246, 0.03);
  animation: drift-3 18s ease-in-out infinite;
}

/* Stronger orbs for hero */
.hero .ambient-orb--1 {
  background: rgba(245, 158, 11, 0.08);
}

.hero .ambient-orb--2 {
  background: rgba(245, 158, 11, 0.05);
}

@media (prefers-color-scheme: light) {
  .ambient-orb--1 { background: rgba(217, 119, 6, 0.06); }
  .ambient-orb--2 { background: rgba(217, 119, 6, 0.04); }
  .ambient-orb--3 { background: rgba(59, 130, 246, 0.03); }
  .hero .ambient-orb--1 { background: rgba(217, 119, 6, 0.08); }
  .hero .ambient-orb--2 { background: rgba(217, 119, 6, 0.05); }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .ambient-orb { animation: none; }
}

/* ── Download CTA ── */
.download-cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.download-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
}

.download-cta p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
}

.download-cta .btn-primary {
  position: relative;
}

.system-reqs {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-tertiary);
  position: relative;
}

.badge-oss {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  position: relative;
}

/* ── Data Usage ── */
.data-usage {
  padding: 0 0 100px;
}

.data-usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.data-usage-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.data-usage-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--duration-fast) var(--ease);
  text-decoration: none;
}

.data-usage-footer a:hover {
  background: rgba(245, 158, 11, 0.18);
  color: var(--accent-hover);
  transform: translateY(-1px);
}

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

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand svg {
  width: 24px;
  height: 24px;
}

.footer-brand span {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-tertiary);
  transition: color var(--duration-fast);
}

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

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.footer-email {
  font-size: 13px;
  color: var(--text-tertiary);
  transition: color var(--duration-fast);
}

.footer-email:hover {
  color: var(--accent);
}

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

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

/* ── Legal Pages ── */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.legal-page .effective-date {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 48px;
}

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

.legal-page p,
.legal-page li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

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

.legal-page a:hover {
  color: var(--accent-hover);
}

/* ── Download Page ── */
.download-page {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.download-header {
  text-align: center;
  margin-bottom: 48px;
}

.download-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.download-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.download-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition: all var(--duration-base) var(--ease);
  display: flex;
  flex-direction: column;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.download-card--primary {
  border-color: rgba(245, 158, 11, 0.3);
}

.download-card--primary:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: var(--shadow-glow);
}

.download-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.download-card-icon {
  margin-bottom: 20px;
}

.download-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.download-card-format {
  font-size: 13px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.download-card-size {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.download-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

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

/* Download info cards */
.download-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.download-info-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.download-info-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.download-info-card h4 svg {
  color: var(--accent);
  flex-shrink: 0;
}

.download-info-card ul {
  list-style: none;
  padding: 0;
}

.download-info-card li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.download-info-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-tertiary);
  transform: translateY(-50%);
}

/* ── Download Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease), visibility var(--duration-base) var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 90%;
  max-width: 440px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(16px) scale(0.97);
  transition: transform var(--duration-base) var(--ease);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.modal-header svg {
  color: var(--accent);
  flex-shrink: 0;
}

.modal-header h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.modal-body strong {
  color: var(--text-primary);
  font-weight: 500;
}

.modal-cmd {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  margin: 16px 0 8px;
  user-select: all;
  -webkit-user-select: all;
  letter-spacing: -0.3px;
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease);
}

.modal-cmd:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.modal-hint {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 0;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.modal-cancel {
  flex: 1;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
}

.modal-cancel:hover {
  color: var(--text-primary);
  border-color: var(--text-tertiary);
}

.modal-confirm {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #09090b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease);
}

.modal-confirm:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.install-steps {
  text-align: center;
}

.install-steps h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.install-steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.install-step {
  flex: 1;
  max-width: 200px;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.install-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.install-step h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.install-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.install-step-arrow {
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .data-usage-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 24px;
  }

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

  .download-info {
    grid-template-columns: 1fr;
  }

  .install-steps-grid {
    flex-direction: column;
  }

  .install-step {
    max-width: 100%;
    width: 100%;
  }

  .install-step-arrow {
    transform: rotate(90deg);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 24px;
  }

  .nav-links li:has(.nav-cta) {
    width: auto;
  }

  .nav-links .nav-cta {
    margin: 8px 24px;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

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

  .footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }

  .hero-screenshot {
    margin-left: -12px;
    margin-right: -12px;
  }
}
