:root {
  --purple-light: #a99bd9;
  --purple: #8b7bc7;
  --purple-deep: #6e5c9e;
  --purple-darker: #4f4178;
  --ink: #0c0a14;
  --ink-soft: #14111f;
  --card: #1b1726;
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f4f2fb;
  --text-dim: #b6b0c9;
  --radius: 18px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--purple);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 48px);
  background: rgba(12, 10, 20, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand img { border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px); }
.site-nav a { color: var(--text-dim); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.site-nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--purple);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--purple-light); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(70px, 12vw, 130px) 20px clamp(60px, 9vw, 100px);
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(139, 123, 199, 0.55), transparent 70%),
    linear-gradient(180deg, var(--purple-darker) 0%, var(--ink) 60%);
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 50% 20%, rgba(169, 155, 217, 0.25), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 740px; margin: 0 auto; }
.hero-icon {
  width: 120px; height: 120px;
  border-radius: 27px;
  margin: 0 auto 28px;
  box-shadow: 0 20px 50px rgba(78, 65, 120, 0.6);
}
.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hero-tagline {
  margin: 22px auto 0;
  max-width: 540px;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--text-dim);
}

/* Store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
}
.store-badge {
  transition: transform 0.18s ease, filter 0.18s ease;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}
.store-badge:hover { transform: translateY(-3px); filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.6)); }
.store-badge img { width: auto; height: 60px; }
.hero-note { margin-top: 22px; font-size: 0.9rem; color: var(--text-dim); }

/* Sections */
section { scroll-margin-top: 80px; }
.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  margin: 12px auto 0;
  max-width: 540px;
  font-size: 1.08rem;
}

/* Features */
.features { max-width: var(--max); margin: 0 auto; padding: clamp(70px, 10vw, 110px) clamp(20px, 5vw, 32px); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(169, 155, 217, 0.45);
  background: #211c30;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  font-size: 1.6rem;
  background: linear-gradient(145deg, var(--purple), var(--purple-deep));
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }
.feature-card p { margin-top: 8px; color: var(--text-dim); font-size: 0.98rem; }

/* Screenshots */
.screens {
  background: #000;
  padding: clamp(70px, 10vw, 110px) clamp(20px, 5vw, 32px);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.screens-row {
  display: flex;
  gap: clamp(8px, 1.6vw, 20px);
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 52px auto 0;
}
.screens-row figure {
  flex: 0 1 190px;
  transition: transform 0.25s ease;
}
.screens-row figure:hover { transform: translateY(-6px); }
.screens-row img { width: 100%; display: block; }

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(70px, 11vw, 120px) 20px;
  background:
    radial-gradient(900px 400px at 50% 120%, rgba(139, 123, 199, 0.5), transparent 70%),
    linear-gradient(0deg, var(--purple-darker) 0%, var(--ink) 70%);
}
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(500px 250px at 50% 100%, rgba(169, 155, 217, 0.3), transparent 70%);
  pointer-events: none;
}
.cta-icon { width: 84px; height: 84px; border-radius: 19px; margin: 0 auto 20px; position: relative; box-shadow: 0 16px 40px rgba(78, 65, 120, 0.6); }
.cta h2 { position: relative; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
.cta p { position: relative; color: var(--text-dim); margin-top: 12px; font-size: 1.1rem; }
.cta .store-badges { position: relative; }

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--card-border);
  background: var(--ink);
}
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.footer-brand img { border-radius: 7px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-dim); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-dim); font-size: 0.88rem; max-width: 520px; }

/* Legal / privacy page */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 90px) clamp(20px, 5vw, 32px) clamp(60px, 9vw, 100px);
}
.legal-back { margin-bottom: 26px; }
.legal-back a { color: var(--purple-light); font-weight: 500; font-size: 0.95rem; }
.legal-back a:hover { color: var(--text); }
.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.legal-updated { color: var(--text-dim); font-size: 0.95rem; margin-top: 10px; }
.legal-summary {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--purple);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 34px 0 8px;
  color: var(--text-dim);
}
.legal-summary strong { color: var(--text); }
.legal h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 44px;
}
.legal p { color: var(--text-dim); margin-top: 14px; }
.legal ul { color: var(--text-dim); margin: 14px 0 0; padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal strong { color: var(--text); }
.legal a { color: var(--purple-light); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 760px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .store-badge, .feature-card, .screens-row figure { transition: none; }
}
