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

/* ── Fixed Background Video ─────────────────────── */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: #0a0a0a;
}

.bg-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.15;
}

/* Content sits above the video */
.nav,
.hero,
.features,
.how-it-works,
.cta,
.footer,
.legal {
  position: relative;
  z-index: 1;
}

:root {
  /* Surfaces */
  --bg: #0a0a0a;
  --card: #121212;
  --card-elevated: #1c1c1e;
  --card-border: #1e1e1e;
  --border: #2A2A2E;

  /* Text */
  --text: #e4e4e4;
  --text-muted: #999;
  --text-disabled: #666;

  /* Brand */
  --green: #51cf66;
  --green-dark: #3aad4e;
  --purple: #8b5cf6;
  --purple-dark: #6d28d9;
  --blue: #4dabf7;

  /* Semantic */
  --error: #ff6b6b;
  --warning: #ffd43b;

  --max-w: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--purple);
}

img {
  max-width: 100%;
}

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

/* ── Navigation ──────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

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

.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-brand span {
  color: var(--green);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ── Hero ────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-content {
}

.hero-badge {
  display: inline-block;
  background: rgba(81, 207, 102, 0.1);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--green), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: var(--green-dark);
  color: #000;
  transform: translateY(-1px);
}

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

/* Phone mockup */
.hero-phone {
  flex-shrink: 0;
  width: 280px;
  height: 560px;
  background: var(--card);
  border: 3px solid var(--border);
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.hero-phone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-screen {
  position: absolute;
  inset: 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0a1a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0px;
}

.phone-screen-icon {
  width: 56px;
  height: 56px;
  background: var(--green);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #000;
  font-weight: 700;
}

.phone-screen-title {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.phone-screen-subtitle {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.5;
}

.phone-screen-bars {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.phone-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(81, 207, 102, 0.15);
}

.phone-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--green);
}

/* ── Features ────────────────────────────────────── */
.features {
}

.section-label {
  display: inline-block;
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 48px;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 0 0 40%;
  min-width: 0;
}

.feature-image-life img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.feature-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.feature-image.placeholder {
  background: var(--card);
  border: 1px dashed #333;
  border-radius: 16px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image.placeholder::after {
  content: "Image coming soon";
  color: #555;
  font-size: 0.9rem;
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-text {
  flex: 1;
  min-width: 0;
}

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

.feature-text p {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.75;
}

/* ── How It Works ────────────────────────────────── */
.how-it-works {
  padding: 80px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(81, 207, 102, 0.1);
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

/* ── CTA ─────────────────────────────────────────── */
.cta {
  padding: 80px 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(81, 207, 102, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 64px 32px;
}

.cta-box h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

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

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

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

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

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── Legal Pages ─────────────────────────────────── */
.legal {
  padding: 120px 0 80px;
  max-width: 760px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal .legal-date {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text);
}

.legal h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text);
}

.legal p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.legal strong {
  color: var(--text);
  font-weight: 600;
}

.legal ul {
  color: var(--text-muted);
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal a {
  color: var(--green);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 0 60px;
    gap: 48px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-tagline {
    margin: 0 auto 32px;
  }

  .hero-phone {
    width: 240px;
    height: 480px;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    gap: 24px;
  }

  .feature-image img {
    height: 240px;
  }

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

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step {
    padding: 24px;
  }

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

  .legal {
    padding: 100px 24px 60px;
  }

  .legal h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .nav-links {
    gap: 16px;
  }
}
