:root {
  color-scheme: dark;
  --bg: #070914;
  --surface: rgba(19, 23, 44, .72);
  --surface-strong: #12162a;
  --text: #f7f8ff;
  --muted: #a8afca;
  --purple: #8b5cf6;
  --purple-light: #b197fc;
  --cyan: #31d9f5;
  --line: rgba(255, 255, 255, .1);
  --shadow: 0 30px 90px rgba(0, 0, 0, .45);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.page-glow { position: fixed; z-index: -2; width: 520px; height: 520px; border-radius: 50%; filter: blur(120px); opacity: .2; pointer-events: none; }
.page-glow-one { top: -260px; left: -180px; background: var(--purple); }
.page-glow-two { top: 32%; right: -300px; background: var(--cyan); opacity: .13; }

.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 86px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 760; letter-spacing: -.02em; }
.brand img { border-radius: 12px; box-shadow: 0 8px 28px rgba(139, 92, 246, .28); }
.site-header nav { display: flex; gap: 30px; color: var(--muted); font-size: .93rem; }
.site-header nav a, .back-link, .site-footer a, .legal-footer a { transition: color .2s ease; }
.site-header nav a:hover, .back-link:hover, .site-footer a:hover, .legal-footer a:hover { color: var(--cyan); }

.hero { min-height: 730px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding-block: 70px 90px; }
.eyebrow, .kicker { color: var(--cyan); text-transform: uppercase; font-size: .76rem; font-weight: 760; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 700px; margin: 20px 0 24px; font-size: clamp(3.2rem, 6.3vw, 5.7rem); line-height: .98; letter-spacing: -.065em; }
.gradient-text { background: linear-gradient(120deg, var(--purple-light), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-subtitle { max-width: 600px; color: var(--muted); font-size: 1.13rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store-button { min-width: 176px; display: flex; flex-direction: column; padding: 13px 20px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(49,217,245,.08)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.store-button strong { line-height: 1.2; }
.store-button small { color: var(--muted); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #858da9; font-size: .78rem; }
.trust-row span::before { content: '•'; margin-right: 8px; color: var(--purple-light); }

.hero-visual { position: relative; height: 590px; }
.orbit { position: absolute; inset: 12% 0; border: 1px solid rgba(139, 92, 246, .18); border-radius: 50%; transform: rotate(-22deg); }
.orbit-two { inset: 23% -8%; border-color: rgba(49, 217, 245, .12); transform: rotate(24deg); }
.phone { margin: 0; position: absolute; width: 250px; padding: 9px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 38px; background: #050713; box-shadow: var(--shadow), inset 0 0 0 2px rgba(255,255,255,.04); }
.phone::before { content: ''; position: absolute; z-index: 2; top: 16px; left: 50%; width: 74px; height: 20px; transform: translateX(-50%); border-radius: 999px; background: #050713; }
.phone img { width: 100%; border-radius: 30px; }
.phone-front { z-index: 2; right: 20%; top: 25px; transform: rotate(3deg); }
.phone-back { left: 2%; top: 120px; width: 220px; transform: rotate(-9deg); opacity: .78; }

.section { padding-block: 110px; }
.section-heading { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-heading h2, .final-cta h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 4.5vw, 3.7rem); line-height: 1.05; letter-spacing: -.05em; }
.section-heading > p:last-child, .final-cta p, .legal-header > p:last-child { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .glass-card { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(24,29,54,.8), rgba(12,15,30,.72)); backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.feature-card { min-height: 230px; padding: 28px; border-radius: 24px; transition: transform .25s ease, border-color .25s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(139,92,246,.42); }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 14px; color: var(--cyan); font-size: 1.3rem; background: linear-gradient(135deg, rgba(139,92,246,.3), rgba(49,217,245,.13)); }
.feature-card h3 { margin-bottom: 9px; font-size: 1.08rem; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

.showcase { position: relative; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(139,92,246,.05), rgba(49,217,245,.025)); }
.showcase-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.align-left { margin: 0; text-align: left; }
.check-list { display: grid; gap: 13px; margin: 30px 0 0; padding: 0; list-style: none; color: #d6daf0; }
.check-list li::before { content: '✓'; margin-right: 12px; color: var(--cyan); }
.screenshot-stage { min-height: 570px; position: relative; }
.phone-showcase { top: 45px; left: 10%; width: 230px; transform: rotate(-5deg); }
.phone-raised { z-index: 2; left: auto; right: 8%; top: 0; transform: rotate(4deg); }

.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: center; gap: 22px; }
.price-card { position: relative; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.premium-card { border-color: rgba(139,92,246,.48); background: linear-gradient(145deg, rgba(139,92,246,.2), rgba(13,18,38,.9) 50%, rgba(49,217,245,.08)); box-shadow: 0 30px 80px rgba(44,27,94,.3); }
.popular { position: absolute; top: 18px; right: 18px; padding: 6px 11px; border-radius: 999px; background: rgba(49,217,245,.12); color: var(--cyan); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.plan-name { color: var(--purple-light); font-weight: 750; }
.price-card h3 { margin-bottom: 8px; font-size: 2.25rem; letter-spacing: -.04em; }
.plan-caption { color: var(--muted); }
.price-card ul { display: grid; gap: 12px; margin: 30px 0; padding: 0; list-style: none; }
.price-card li::before { content: '✓'; margin-right: 12px; color: var(--cyan); }
.plan-button { display: block; padding: 13px; border-radius: 14px; text-align: center; background: rgba(255,255,255,.06); color: var(--muted); }
.price-options { display: grid; gap: 8px; padding-top: 4px; }
.price-options span { display: flex; justify-content: space-between; padding: 11px 14px; border-radius: 13px; background: rgba(255,255,255,.05); color: var(--muted); }
.price-options strong { color: var(--text); }

.final-cta { display: flex; align-items: center; justify-content: center; gap: 30px; margin-block: 40px 110px; padding: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, rgba(139,92,246,.17), rgba(49,217,245,.07)); }
.final-cta img { flex: 0 0 auto; border-radius: 24px; box-shadow: 0 15px 40px rgba(139,92,246,.25); }
.final-cta h2 { margin-bottom: 8px; }
.final-cta p { margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-block: 55px 38px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid .brand { color: var(--text); }
.footer-label { margin-bottom: 5px; color: var(--text); font-size: .78rem; font-weight: 760; text-transform: uppercase; letter-spacing: .12em; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 22px; border-top: 1px solid var(--line); font-size: .78rem; }

.legal-page { background: radial-gradient(circle at 50% -20%, rgba(139,92,246,.17), transparent 42%), var(--bg); }
.back-link { color: var(--muted); font-size: .9rem; }
.legal-shell { max-width: 900px; padding-block: 70px 100px; }
.legal-header { max-width: 700px; margin-bottom: 38px; }
.legal-header h1 { margin: 8px 0 16px; font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1; letter-spacing: -.055em; }
.legal-document { padding: clamp(26px, 5vw, 58px); border-radius: var(--radius); }
.legal-document h2 { margin: 42px 0 12px; font-size: 1.45rem; letter-spacing: -.025em; }
.legal-document h2:first-child { margin-top: 0; font-size: 2rem; }
.legal-document h3, .legal-document h4 { margin: 32px 0 10px; }
.legal-document p, .legal-document li { color: #c3c8dc; }
.legal-document ul { padding-left: 24px; }
.legal-document strong { color: var(--text); }
.legal-document a { color: var(--cyan); text-decoration: underline; }
.loading-copy { color: var(--muted); }
.legal-footer { display: flex; justify-content: space-between; padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.legal-footer nav { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 55px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { width: min(560px, 100%); margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; }
  .align-left { margin-inline: auto; text-align: center; }
  .check-list { display: inline-grid; text-align: left; }
  .screenshot-stage { width: min(590px, 100%); margin-inline: auto; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1140px); }
  .site-header { min-height: 74px; }
  .site-header nav { display: none; }
  .hero { min-height: auto; padding-block: 54px 64px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .hero-visual { height: 490px; }
  .phone-front { right: 4%; width: 210px; }
  .phone-back { left: 0; top: 100px; width: 185px; }
  .section { padding-block: 78px; }
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .screenshot-stage { min-height: 470px; }
  .phone-showcase { left: 0; width: 190px; }
  .phone-raised { left: auto; right: 0; }
  .price-card { padding: 30px 24px; }
  .final-cta { align-items: flex-start; margin-bottom: 80px; padding: 28px; }
  .final-cta img { width: 64px; height: 64px; border-radius: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom, .legal-footer { gap: 16px; flex-direction: column; }
  .legal-shell { padding-block: 50px 75px; }
  .back-link { font-size: 0; }
  .back-link::after { content: '← Home'; font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
