:root {
  --bg: #0d0018;
  --surface: #1a0030;
  --hero-start: #4a148c;
  --hero-end: #2d006e;
  --accent: #9b59b6;
  --accent-light: #ce93d8;
  --accent-muted: #9575cd;
  --text-dim: #6a4c93;
  --border: rgba(155, 89, 182, 0.2);
  --text: #ffffff;
  --text-muted: #b39ddb;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── NAV ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  position: relative;
  z-index: 10;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: white;
  text-decoration: none;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--accent-light);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: white;
}

.nav-links a[aria-current="page"] {
  color: white;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 40px 0;
  background: linear-gradient(180deg, var(--hero-start) 0%, var(--hero-end) 60%, var(--bg) 100%);
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

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

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--surface);
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(155, 89, 182, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(155, 89, 182, 0.5);
}

.cta-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── WAVE ── */
.hero-wave {
  display: block;
  width: 100%;
  margin-top: -1px;
  overflow: visible;
}

@keyframes wave-a {
  0%, 100% { transform: translateX(0px); }
  50%       { transform: translateX(-24px); }
}

@keyframes wave-b {
  0%, 100% { transform: translateX(0px); }
  50%       { transform: translateX(20px); }
}

.wave-path-1 { animation: wave-a 9s ease-in-out infinite; }
.wave-path-2 { animation: wave-b 7s ease-in-out infinite; opacity: 0.6; }
.wave-path-3 { animation: wave-a 11s ease-in-out infinite reverse; opacity: 0.35; }

/* ── SCREENSHOT ── */
.screenshot-section {
  display: flex;
  justify-content: center;
  padding: 48px 40px 20px;
}

.iphone-frame {
  width: 240px;
  background: var(--surface);
  border-radius: 40px;
  border: 2px solid var(--accent);
  padding: 16px;
  box-shadow:
    0 0 0 1px rgba(155, 89, 182, 0.3),
    0 0 60px rgba(155, 89, 182, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.5);
}

.iphone-notch {
  width: 60px;
  height: 18px;
  background: var(--bg);
  border-radius: 0 0 12px 12px;
  margin: 0 auto 8px;
}

.iphone-screen {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  background: linear-gradient(160deg, #2d006e, #1a0030);
  position: relative;
}

.iphone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── FEATURES ── */
.features {
  padding: 48px 40px 64px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.feature {
  text-align: center;
  max-width: 160px;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.feature-title {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 12px;
  color: var(--accent-muted);
  line-height: 1.5;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
}

.footer a {
  color: var(--accent-muted);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s;
}

.footer a:hover {
  color: white;
}

/* ── PAGE CONTENT (support, privacy) ── */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.page-content h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-subtitle {
  color: var(--accent-muted);
  margin-bottom: 40px;
  font-size: 15px;
}

.page-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-light);
  margin-top: 32px;
  margin-bottom: 12px;
}

.page-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-top: 16px;
  margin-bottom: 4px;
}

.page-content p {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.page-content ul {
  color: var(--text-muted);
  padding-left: 20px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.page-content strong {
  color: white;
  display: block;
  margin-top: 16px;
  margin-bottom: 4px;
}

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

.page-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .nav {
    padding: 16px 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    padding: 40px 20px 0;
  }

  .features {
    padding: 40px 20px 48px;
    gap: 32px;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px;
  }

  .footer a {
    margin-left: 10px;
    margin-right: 10px;
  }

  .page-content {
    padding: 40px 20px 60px;
  }

  .screenshot-section {
    padding: 32px 20px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wave-path-1,
  .wave-path-2,
  .wave-path-3 {
    animation: none;
  }
}
