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

:root {
  --bg: #0a0a0f;
  --surface: rgba(255, 255, 255, 0.02);
  --border: rgba(255, 255, 255, 0.06);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #475569;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-light: #818cf8;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Header / Nav ── */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
}

.nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 900;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.4px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

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

/* Dark overlay — covers full hero so carousel shows behind text throughout */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(10, 10, 15, 0.90) 0%,
      rgba(10, 10, 15, 0.62) 18%,
      rgba(10, 10, 15, 0.62) 82%,
      rgba(10, 10, 15, 0.90) 100%
    );
  pointer-events: none;
}

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

/* ── Carousel background ── */
.carousel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  pointer-events: none;
  opacity: 0.50;
}

.carousel-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}

.carousel-img {
  width: 220px;
  height: 155px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scrollRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.track-left  { animation: scrollLeft  152s linear infinite; }
.track-right { animation: scrollRight 120s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .carousel-track { animation: none; }
}

.badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.28);
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero-brand {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--accent-light);
}

.accent {
  color: var(--accent-light);
}

.hero-sub {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 400px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* ── Store badges ── */
.store-badge {
  display: inline-block;
  transition: transform 0.15s, opacity 0.2s;
  line-height: 0;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.store-badge img {
  /* Apple SVG is natively 40px tall — render at that exact height */
  height: 40px;
  width: auto;
  display: block;
}

/* Web button — same 40px visual height as the store badges */
.btn-web {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Use padding instead of height so flex content never overflows */
  padding: 0 18px;
  line-height: 40px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: transform 0.15s, background 0.2s;
}

.btn-web:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-web svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  flex-shrink: 0;
  /* vertically center the icon relative to the line-height */
  margin-top: -1px;
}

/* ── Coming soon buttons ── */
.cta-soon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.42;
  filter: grayscale(0.5);
  cursor: default;
}

.soon-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: var(--accent-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0 24px;
}

/* ── Features ── */
.features {
  padding: 72px 0 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  justify-items: center;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 24px;
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-light);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

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

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

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

.footer-brand {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
}

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

.footer-link {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ── Privacy page ── */
.page-header {
  padding: 44px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.page-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.page-updated {
  font-size: 13px;
  color: var(--text-dim);
}

.page-intro {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 28px;
}

.privacy-content {
  padding-bottom: 72px;
}

.privacy-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 20px 22px;
  margin-bottom: 14px;
}

.privacy-section h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.privacy-section p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  white-space: pre-line;
}

.privacy-section a {
  display: inline-block;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 10px;
  margin-right: 16px;
  transition: opacity 0.2s;
}

.privacy-section a:hover {
  opacity: 0.75;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--text);
}

/* ── Responsive ── */
@media (max-width: 560px) {
  .hero {
    padding: 60px 0 52px;
  }

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

  .features {
    padding: 52px 0 60px;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
