:root {
  --bg: #0A0A0F;
  --bg-2: #12121A;
  --card: #1B1B26;
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.62);
  --accent: #7B6CFF;
  --accent-2: #B06CFF;
  --radius: 22px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .brand { font-family: "Sora", "Inter", sans-serif; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand-mark {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, #4838F2, var(--accent-2) 55%, #FF6BC7);
  font-weight: 800; font-size: 16px; color: #fff;
}
.nav-links { display: flex; gap: 28px; color: var(--text-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; font: inherit; font-weight: 600;
  padding: 13px 22px; border-radius: 999px; transition: transform .15s ease, opacity .15s ease;
  color: #fff;
}
.btn:active { transform: scale(0.97); }
.btn-small { padding: 9px 16px; font-size: 14px; background: rgba(255,255,255,.08); }
.btn-small:hover { background: rgba(255,255,255,.14); }
.btn-primary { background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 30px rgba(123, 108, 255, .35); }
.btn-ghost { background: rgba(255,255,255,.06); border: 1px solid var(--stroke); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding: 72px 24px 40px;
}
.eyebrow { letter-spacing: .18em; font-size: 12px; font-weight: 600; color: var(--accent-2); margin: 0 0 14px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.03; margin: 0 0 20px; font-weight: 800; letter-spacing: -0.02em; }
.grad-text { background: linear-gradient(90deg, #37D3B0, var(--accent) 45%, #FF6BC7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(16px, 2vw, 19px); color: var(--text-2); max-width: 30em; line-height: 1.6; margin: 0 0 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.micro { font-size: 13px; color: var(--text-2); margin-top: 18px; }

/* Phone */
.hero-phone { display: grid; place-items: center; }
.phone {
  position: relative; width: 300px; aspect-ratio: 360 / 780;
  border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2a2a36, #101017);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone-canvas { width: 100%; height: 100%; border-radius: 34px; display: block; background: #111; }
.phone-notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 30px; background: #000; border-radius: 18px; z-index: 3;
}
.phone-clock {
  position: absolute; top: 78px; left: 0; right: 0; text-align: center; z-index: 2;
  color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); pointer-events: none;
}
.clock-time { font-family: "Sora", sans-serif; font-weight: 600; font-size: 60px; line-height: 1; }
.clock-date { font-size: 14px; opacity: .85; margin-top: 6px; }

/* Sections */
.section { padding: 64px 24px; }
.section-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; text-align: center; }
.section-sub { color: var(--text-2); text-align: center; margin: 0 auto 40px; max-width: 34em; }

/* Style grid */
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.style-card {
  background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: transform .18s ease, border-color .18s ease;
}
.style-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.style-card canvas { width: 100%; aspect-ratio: 16 / 11; display: block; }
.style-meta { padding: 14px 16px; }
.style-meta h3 { margin: 0; font-size: 17px; font-family: "Sora", sans-serif; }
.style-meta p { margin: 3px 0 0; font-size: 13px; color: var(--text-2); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--stroke); border-radius: 18px; padding: 26px; }
.feature-icon { font-size: 26px; margin-bottom: 12px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.6; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 32px; }
.gallery canvas {
  width: 100%; aspect-ratio: 9 / 19.5; border-radius: 16px; display: block;
  border: 1px solid var(--stroke); cursor: pointer; transition: transform .18s ease;
}
.gallery canvas:hover { transform: scale(1.03); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 840px; margin: 0 auto; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--stroke); border-radius: 24px; padding: 28px;
}
.price-card.featured {
  border-color: rgba(123, 108, 255, 0.55);
  background: radial-gradient(120% 130% at 50% 0%, rgba(123,108,255,.18), transparent 55%), var(--card);
  box-shadow: 0 20px 50px rgba(123, 108, 255, .18);
}
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price-name { font-family: "Sora", sans-serif; font-size: 20px; font-weight: 700; margin: 0; }
.price-tagline { color: var(--text-2); font-size: 14px; margin: 4px 0 18px; }
.price-amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price-amount .num { font-family: "Sora", sans-serif; font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.price-amount .per { color: var(--text-2); font-size: 14px; }
.price-note { color: var(--text-2); font-size: 13px; margin: 0 0 20px; min-height: 18px; }
.price-features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text); }
.price-features li .tick { color: #37D3B0; font-weight: 800; flex: none; line-height: 1.4; }
.price-features li.muted { color: var(--text-2); }
.price-features li.muted .tick { color: var(--text-2); }
.price-card .btn { width: 100%; }

/* Download */
.download-card {
  text-align: center; background: radial-gradient(120% 140% at 50% 0%, rgba(123,108,255,.22), transparent 60%), var(--card);
  border: 1px solid var(--stroke); border-radius: 28px; padding: 56px 24px;
}
.download-card h2 { font-size: clamp(24px, 3.5vw, 34px); margin: 0 0 8px; }
.download-card > p { color: var(--text-2); margin: 0 0 26px; }
.store-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  background: #000; border: 1px solid rgba(255,255,255,.18); border-radius: 12px;
  padding: 8px 18px; line-height: 1.15;
}
.store-badge-sub { font-size: 10px; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; }
.store-badge-main { font-size: 19px; font-weight: 700; font-family: "Sora", sans-serif; }

/* Legal pages */
.legal { max-width: 780px; padding-top: 48px; padding-bottom: 64px; }
.legal h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .updated { color: var(--text-2); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 30px 0 8px; }
.legal p { color: var(--text-2); font-size: 16px; line-height: 1.7; margin: 0 0 12px; }
.legal a { color: var(--accent-2); }
.legal .back { display: inline-block; margin-bottom: 24px; color: var(--text-2); font-size: 14px; }
.legal .back:hover { color: #fff; }

/* Footer */
.footer { border-top: 1px solid var(--stroke); padding: 32px 24px; margin-top: 40px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-2); font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { color: var(--text-2); font-size: 13px; margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-copy { text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-phone { order: -1; }
  .style-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .style-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
