:root {
  --bg: #0e0820;
  --bg-2: #1a0e3a;
  --surface: #ffffff;
  --ink: #14102b;
  --ink-soft: #4a4566;
  --muted: #7d7898;
  --accent: #7c3aed;
  --accent-2: #a855f7;
  --accent-soft: #ede9fe;
  --line: #e8e5f2;
  --radius: 18px;
  --shadow: 0 30px 60px -20px rgba(20, 16, 43, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  color: var(--ink);
  background: #faf9fd;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif; letter-spacing: -0.02em; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 18px;
}
.brand img { border-radius: 8px; }
.nav nav a {
  margin-left: 22px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}
.nav nav a:hover { color: var(--accent); text-decoration: none; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(168, 85, 247, 0.35), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(124, 58, 237, 0.4), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: #fff;
  padding: 80px 24px 100px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-icon {
  border-radius: 22px;
  box-shadow: 0 18px 40px -10px rgba(124, 58, 237, 0.6);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 24px;
  font-weight: 700;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #c4b5fd, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 0 0 28px;
}
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}
.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.cta { display: flex; align-items: center; gap: 16px; }
.coming-soon {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}
.cta-beta {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(124, 58, 237, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-beta:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(168, 85, 247, 0.7);
}

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

/* Phone frame */
.phone {
  width: 260px;
  border-radius: 38px;
  padding: 8px;
  background: linear-gradient(160deg, #2a2348, #0e0820);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

/* Features */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
}
.features h2,
.screenshots h2,
.privacy h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 48px;
  text-align: center;
  font-weight: 700;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(124, 58, 237, 0.35);
  border-color: #d6cdf0;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.feature h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 600;
}
.feature p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* Screenshots */
.screenshots {
  background: #f3f0fa;
  padding: 100px 24px;
}
.shots {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px 24px;
  justify-items: center;
}
.shots figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 260px;
}
.shots figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* TestFlight */
.testflight {
  padding: 100px 24px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(168, 85, 247, 0.25), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(124, 58, 237, 0.3), transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  color: #fff;
}
.testflight-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.testflight h2 {
  color: #fff;
  margin: 0 0 24px;
}
.testflight p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 36px;
}
.testflight-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 18px 36px -12px rgba(124, 58, 237, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.testflight-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -10px rgba(168, 85, 247, 0.8);
  text-decoration: none;
}
.testflight-cta .arrow {
  transition: transform 0.15s ease;
}
.testflight-cta:hover .arrow {
  transform: translateX(4px);
}

/* Privacy */
.privacy {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 24px;
  text-align: center;
}
.privacy p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

/* Footer */
footer {
  background: var(--bg);
  color: rgba(255, 255, 255, 0.75);
  padding: 28px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-inner strong { color: #fff; font-size: 16px; }
.footer-inner p { margin: 6px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.footer-links a { color: #c4b5fd; font-size: 15px; }
.copy {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 820px) {
  .hero { padding: 60px 20px 80px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .services { justify-content: center; }
  .nav nav a { margin-left: 14px; }
  .features, .screenshots, .privacy { padding: 70px 20px; }
}

@media (max-width: 480px) {
  .nav nav { display: none; }
  .phone { width: 220px; }
}
