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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin-top: 16px;
  color: var(--text-muted);
  max-width: 640px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(12, 10, 20, 0.86);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

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

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

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

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: #0c0a14;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  color: var(--text);
  margin-left: auto;
}

.hero {
  padding: 104px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glow-1), var(--glow-2), var(--glow-3);
  opacity: 0.9;
  pointer-events: none;
}

.hero::after {
  background: var(--gradient-soft);
  opacity: 0.6;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  margin-top: -288px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(246, 92, 212, 0.12);
  border: 1px solid rgba(246, 92, 212, 0.3);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin: 22px 0 18px;
  letter-spacing: -0.03em;
}

.hero-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #0c0a14;
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(12, 10, 20, 0.6);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.stat-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(19, 14, 37, 0.7);
  border: 1px solid var(--line-soft);
}

.stat-card span {
  display: block;
}

.stat-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.stat-label {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.hero-device {
  display: flex;
  justify-content: center;
}

.device-stack {
  position: relative;
  display: grid;
  gap: 20px;
}

.device-stack .device {
  box-shadow: var(--shadow-strong);
}

.device-stack .device:nth-child(1) {
  transform: rotate(-2deg) translateX(-10px);
}

.device-stack .device:nth-child(2) {
  transform: rotate(2deg) translateX(14px);
}

.device {
  position: relative;
  background: linear-gradient(180deg, #0b0914, #140f26);
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.device--phone {
  width: min(280px, 71vw);
  aspect-ratio: 110 / 223;
}

.device--tablet {
  width: min(540px, 88vw);
  aspect-ratio: 1301 / 1000;
  border-radius: 28px;
  padding: 20px;
}

.device::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 40%;
  height: 16px;
  background: #0d0b18;
  border-radius: 999px;
  transform: translateX(-50%);
  opacity: 0.9;
}

.device--tablet::before {
  width: 120px;
  height: 10px;
}

.device::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.device--tablet::after {
  border-radius: 22px;
}

.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  background: #120d22;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.device--tablet .device-screen {
  border-radius: 18px;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.device--phone .device-screen img {
  object-fit: contain;
}

.device--tablet .device-screen img {
  object-fit: contain;
}

.device-label {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.feature-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--text-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.step-card {
  padding: 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(111, 107, 255, 0.2);
  color: var(--text);
  font-weight: 700;
  margin-bottom: 12px;
}

.screenshots {
  background: var(--bg-alt);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  margin-top: 40px;
}

.screens-grid .device {
  margin: 0 auto;
}

.tablet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--surface-strong);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 24px;
}

.testimonial-card p {
  color: var(--text-muted);
  margin: 12px 0 18px;
}

.testimonial-name {
  font-weight: 700;
}

.faq-list {
  margin-top: 36px;
  display: grid;
  gap: 16px;
}

.faq-item {
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  background: transparent;
  color: var(--text);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question span {
  color: var(--text-soft);
  font-size: 1.3rem;
  transition: transform 0.2s ease;
}

.faq-answer {
  padding: 0 22px 22px;
  color: var(--text-muted);
  display: none;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-question span {
  transform: rotate(45deg);
}

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(246, 92, 212, 0.16), rgba(111, 107, 255, 0.2));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.cta-card {
  padding: 40px;
  background: rgba(16, 12, 28, 0.8);
  border-radius: 24px;
  border: 1px solid var(--line);
  text-align: center;
}

.cta-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.store-badges {
  gap: 18px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  width: 220px;
  justify-content: flex-start;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(12, 10, 20, 0.7);
  color: var(--text);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.store-badge__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.store-badge__icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.store-badge__icon img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-badge__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.store-badge__name {
  font-size: 1rem;
  font-weight: 700;
}

.store-badge--apple {
  background: linear-gradient(135deg, rgba(18, 16, 28, 0.9), rgba(31, 24, 52, 0.8));
}

.store-badge--google {
  background: linear-gradient(135deg, rgba(18, 16, 28, 0.9), rgba(26, 22, 40, 0.8));
}

.footer {
  padding: 40px 0 60px;
  color: var(--text-soft);
  text-align: center;
}

.footer a {
  color: var(--text);
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--delay, 0s);
}

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

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

  .hero-device {
    order: -1;
  }

  .hero-copy {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: 16px;
    flex-direction: column;
    background: rgba(14, 12, 24, 0.98);
    padding: 20px;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    display: none;
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .cta-card {
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 110px;
  }

  .device-stack .device:nth-child(1),
  .device-stack .device:nth-child(2) {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }
}
