:root {
  --bg: #0a0a0f;
  --bg-2: #0f0f1e;
  --card: #13131a;
  --elevated: #1a1a25;
  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --accent: #ec4899;
  --text: #f8f8fc;
  --muted: #b0b0cc;
  --dim: #6b6b8a;
  --border: #2a2a3d;
  --radius: 20px;
  --font: "Nunito", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

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

button,
.btn {
  font-family: inherit;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: rgba(109, 40, 217, 0.35);
  top: -120px;
  right: -80px;
}

.orb-b {
  width: 380px;
  height: 380px;
  background: rgba(236, 72, 153, 0.18);
  bottom: 10%;
  left: -120px;
}

#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.wrap {
  position: relative;
  z-index: 1;
}

.nav-inner,
.hero,
.section,
.legal,
.foot {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

header.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 15, 0.72);
  border-bottom: 1px solid transparent;
}

header.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}

.lang button {
  background: none;
  border: 0;
  color: var(--dim);
  padding: 6px 11px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.lang button[aria-pressed="true"] {
  background: var(--elevated);
  color: var(--text);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 96px;
}

.kicker {
  color: var(--primary-light);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 16px;
}

h1 {
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #fff, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 22px;
  color: var(--muted);
  font-size: 19px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 16px;
  color: var(--dim);
  font-size: 13px;
}

.phone {
  justify-self: center;
  width: 290px;
  height: 590px;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(180deg, #2a2a3d, #12121a);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 92px;
  height: 18px;
  transform: translateX(-50%);
  background: #050508;
  border-radius: 999px;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #12121c 0%, #0a0a0f 100%);
  padding: 42px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-greet {
  color: var(--dim);
  font-size: 12px;
}

.phone-title {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
}

.phone-cta {
  margin-top: 6px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
}

.dream-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
}

.dream-card small {
  color: var(--dim);
  font-size: 11px;
}

.dream-card strong {
  display: block;
  margin: 4px 0 6px;
}

.dream-card p {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 32px 0 88px;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(26, 26, 37, 0.9), rgba(19, 19, 26, 0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 210px;
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.15);
  color: var(--primary-light);
  margin-bottom: 16px;
  font-size: 18px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  padding: 8px 8px 8px 0;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: 42px;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
}

.download {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.store {
  display: inline-flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--elevated);
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 160px;
}

.store span {
  color: var(--dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.store strong {
  font-size: 15px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  color: var(--dim);
  font-size: 14px;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.foot nav {
  display: flex;
  gap: 18px;
}

.foot a:hover {
  color: var(--text);
}

.legal {
  padding: 48px 0 96px;
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(40px, 6vw, 64px);
  margin-bottom: 12px;
}

.legal .meta {
  color: var(--dim);
  margin-bottom: 36px;
}

.legal h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  margin: 32px 0 10px;
}

.legal p,
.legal li {
  color: var(--muted);
  margin-bottom: 12px;
}

.legal ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal code {
  font-size: 0.88em;
  color: var(--primary-light);
}

.legal-block[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .hero,
  .grid-3,
  .steps,
  .download {
    grid-template-columns: 1fr;
  }

  .phone {
    order: -1;
    transform: scale(0.92);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(10, 10, 15, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    width: 100%;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .download {
    padding: 28px;
  }
}
