:root {
  --bg: #090312;
  --bg-2: #14071f;
  --bg-3: #1a0b2b;
  --panel: rgba(26, 14, 44, 0.68);
  --panel-strong: rgba(34, 17, 58, 0.9);
  --glass: rgba(255, 255, 255, 0.07);
  --border: rgba(197, 150, 255, 0.18);
  --text: #ffffff;
  --muted: #c9bcdf;
  --accent-purple: #b14dff;
  --accent-purple-2: #7b61ff;
  --accent-cyan: #45d7ff;
  --accent-red: #ff5d79;
  --accent-red-dark: #ff3d66;
  --accent-green: #7dffb6;
  --glow-purple: 0 0 0 1px rgba(177, 77, 255, 0.28), 0 22px 60px rgba(120, 43, 255, 0.3);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(177, 77, 255, 0.28), transparent 28%),
    radial-gradient(circle at 100% 5%, rgba(69, 215, 255, 0.14), transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(123, 97, 255, 0.12), transparent 35%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 40%, var(--bg-3) 100%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.page-shell { width: min(1180px, calc(100% - 28px)); margin: 0 auto; padding-bottom: 28px; }
.hero { padding: 22px 0 40px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 18px; margin-top: 8px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: rgba(15, 8, 28, 0.72);
  backdrop-filter: blur(18px); position: sticky; top: 10px; z-index: 10; box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.03em; }
.brand-icon { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 12px 35px rgba(0,0,0,0.35); }
.nav-actions { display: flex; align-items: center; gap: 18px; color: var(--muted); font-weight: 600; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 800; transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  color: white; background: linear-gradient(135deg, var(--accent-purple), var(--accent-red-dark));
  box-shadow: 0 18px 42px rgba(177, 77, 255, 0.35);
}
.button-secondary { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); color: var(--text); }
.button-small { padding: 10px 16px; }

.hero-grid {
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 34px; align-items: center; padding: 54px 0 10px;
}
.eyebrow, .section-kicker, .stats-kicker, .showcase-kicker {
  margin: 0 0 14px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.18em; color: #d9b6ff; font-weight: 800;
}
.hero-copy h1, .section h2, .download-card h2 {
  margin: 0; line-height: 0.96; letter-spacing: -0.055em; color: #fff;
}
.hero-copy h1 { font-size: clamp(3.2rem, 7.2vw, 6rem); text-shadow: 0 6px 24px rgba(0,0,0,0.18); }
.title-stack { display: inline-block; }
.lead, .section-heading p, .step-card p, .feature-card p, .roadmap-list, .download-card p, .footer-copy, .stats-grid span, .mini-list, figcaption, .showcase-copy p, .footer-policy { color: var(--muted); }
.lead { max-width: 60ch; margin: 20px 0 0; font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.hero-pills li, .trust-strip div {
  padding: 10px 14px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); font-weight: 700; color: #f4eaff;
}

.hero-visual { display: grid; gap: 18px; }
.glass-card, .roadmap-card, .download-card, .trust-strip, .footer, .stats-card, .home-copy-card, .showcase-copy {
  background: var(--panel); border: 1px solid var(--border); backdrop-filter: blur(20px); box-shadow: var(--shadow);
}
.glow-shell { box-shadow: var(--shadow), var(--glow-purple); }

.hero-device-stage {
  position: relative; min-height: 660px; padding: 24px; border-radius: 36px; overflow: hidden;
  background:
    radial-gradient(circle at 30% 0%, rgba(177, 77, 255, 0.3), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(69, 215, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(26, 12, 44, 0.92), rgba(13, 7, 25, 0.98));
}
.hero-device-stage::before {
  content: "";
  position: absolute; inset: auto -10% -16% auto; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 77, 255, 0.22), transparent 60%);
  pointer-events: none;
}
.hero-device {
  position: absolute;
  width: clamp(180px, 34vw, 260px);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(7, 4, 15, 0.88);
  box-shadow: 0 28px 60px rgba(0,0,0,0.45);
}
.hero-device img, .device-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-device-main { left: 6%; top: 10%; z-index: 2; }
.hero-device-secondary { right: 5%; top: 16%; z-index: 3; }
.hero-device-tertiary { left: 28%; bottom: 10%; z-index: 4; width: clamp(165px, 29vw, 220px); }
.tilt-left { transform: rotate(-7deg); }
.tilt-right { transform: rotate(7deg); }
.tilt-left-small { transform: rotate(-3.5deg); }
.hero-callout {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 5;
  display: grid; gap: 6px; padding: 18px 20px; border-radius: 24px;
  background: rgba(16, 11, 29, 0.72); border: 1px solid rgba(255,255,255,0.12);
}
.hero-callout strong { font-size: 1.1rem; }
.hero-callout span { color: var(--muted); }

.stats-card { padding: 24px; border-radius: var(--radius-lg); }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.stats-grid div, .feature-card, .step-card, .home-shot-card { border-radius: var(--radius-md); }
.stats-grid div { padding: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); }
.stats-grid strong { display: block; margin-bottom: 6px; font-size: 1rem; }

.section { margin-top: 22px; }
.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; padding: 18px; border-radius: var(--radius-lg); }
.two-column-section, .feature-section, .screenshots-section, .roadmap-section, .download-section, .home-preview-section { padding: 38px; border-radius: var(--radius-xl); }
.two-column-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; }
.section h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 14ch; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.step-card, .feature-card, .home-copy-card, .showcase-copy {
  padding: 24px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
}
.step-index { display: inline-flex; margin-bottom: 18px; color: #f0c8ff; font-weight: 900; }
.section-heading { max-width: 72ch; margin-bottom: 30px; }
.section-heading.narrow { max-width: 56ch; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.home-preview-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 18px; align-items: stretch; }
.home-shot-card {
  display: flex; align-items: center; justify-content: center; padding: 18px;
  background: linear-gradient(180deg, rgba(31, 13, 50, 0.95), rgba(22, 10, 38, 0.95));
  border: 1px solid rgba(255,255,255,0.07);
}
.home-copy-card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.mini-list { margin: 14px 0 0; padding-left: 18px; }
.mini-list li + li { margin-top: 8px; }
.feature-card h3, .step-card h3, .showcase-copy h3 { margin: 0 0 10px; font-size: 1.18rem; }
.accent-purple { background: linear-gradient(180deg, rgba(177,77,255,0.18), rgba(255,255,255,0.04)); }
.accent-blue { background: linear-gradient(180deg, rgba(69,215,255,0.14), rgba(255,255,255,0.04)); }
.accent-red { background: linear-gradient(180deg, rgba(255,93,121,0.15), rgba(255,255,255,0.04)); }
.accent-violet { background: linear-gradient(180deg, rgba(123,97,255,0.18), rgba(255,255,255,0.04)); }

.screenshot-heading { margin-bottom: 22px; }
.showcase-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr 0.7fr;
  gap: 18px;
  align-items: stretch;
}
.showcase-copy {
  border-radius: 28px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.preview-rail {
  display: grid;
  gap: 18px;
}
.preview-gallery {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.device-shot {
  position: relative;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(10, 6, 18, 0.9);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 22px 46px rgba(0,0,0,0.35);
}
.tall-shot { aspect-ratio: 589 / 1280; }
.compact-shot { aspect-ratio: 589 / 1280; }
.spotlight-shot {
  padding: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(177,77,255,0.22), transparent 36%),
    rgba(10, 6, 18, 0.96);
}
.spotlight-shot img,
.home-shot img { border-radius: 24px; }
.home-shot { max-width: 310px; width: 100%; }
.compact-shot img { display: block; }
figcaption {
  padding: 12px 14px 15px;
  font-size: 0.92rem;
  font-weight: 600;
  background: linear-gradient(180deg, rgba(12, 8, 20, 0), rgba(12, 8, 20, 0.88));
}
.spotlight-panel {
  background:
    radial-gradient(circle at 50% 0%, rgba(177,77,255,0.2), transparent 38%),
    linear-gradient(180deg, rgba(31, 13, 50, 0.95), rgba(22, 10, 38, 0.95));
}

.roadmap-card, .download-card { padding: 30px; border-radius: var(--radius-xl); }
.roadmap-card { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; }
.roadmap-list { margin: 0; padding-left: 18px; }
.roadmap-list li + li { margin-top: 10px; }
.download-card { text-align: center; }
.download-icon { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 22px; box-shadow: 0 20px 40px rgba(0,0,0,0.34); }
.download-note { margin-top: 14px; font-size: 0.95rem; }
.footer { margin-top: 22px; padding: 26px 28px; border-radius: var(--radius-xl); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.footer-policy { font-weight: 700; }
.footer-family {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 700;
}
.footer-link img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  object-fit: cover;
}
.footer-link.secret { color: var(--muted); }
.mystery-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-block;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(177,77,255,0.15));
  border: 1px dashed rgba(255,255,255,0.35);
}
.footer-copy { margin: 0; text-align: center; }

@media (max-width: 1080px) {
  .hero-grid, .two-column-section, .roadmap-card, .home-preview-grid, .showcase-grid { grid-template-columns: 1fr; }
  .steps, .feature-grid, .trust-strip, .preview-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .preview-rail { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-device-stage { min-height: 780px; }
}
@media (max-width: 760px) {
  .page-shell { width: min(100% - 18px, 1180px); }
  .nav, .footer-top { flex-direction: column; align-items: flex-start; }
  .nav-actions, .hero-actions { flex-wrap: wrap; }
  .hero, .section, .footer { margin-top: 14px; }
  .hero-grid { padding-top: 26px; gap: 24px; }
  .two-column-section, .feature-section, .screenshots-section, .roadmap-section, .download-section, .roadmap-card, .download-card, .home-preview-section { padding: 22px; }
  .steps, .feature-grid, .trust-strip, .stats-grid, .preview-gallery, .preview-rail { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(2.8rem, 13vw, 4.6rem); }
  .hero-device-stage { min-height: 880px; }
  .hero-device { width: 68vw; }
  .hero-device-main { left: 4%; top: 4%; }
  .hero-device-secondary { right: 3%; top: 26%; }
  .hero-device-tertiary { left: 16%; bottom: 14%; width: 58vw; }
  .hero-callout { position: static; margin-top: 600px; }
  .home-shot { max-width: 100%; }
  .footer-family { justify-content: flex-start; }
}
