:root {
  --bg: #0b0a1a;
  --bg-2: #14122b;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --text: #f1eee6;
  --muted: #a7a2bd;
  --gold: #f5b942;
  --gold-2: #ffdb8a;
  --violet: #7b5cff;
  --radius: 20px;
  --font-display: "Cinzel", Georgia, serif;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; position: relative; z-index: 1; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

.sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(123, 92, 255, 0.35), transparent 60%),
    radial-gradient(700px 400px at 95% 10%, rgba(245, 185, 66, 0.18), transparent 60%),
    radial-gradient(1px 1px at 20% 30%, #fff8, transparent),
    radial-gradient(1px 1px at 70% 20%, #fff6, transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, #fff5, transparent),
    radial-gradient(1px 1px at 85% 60%, #fff7, transparent),
    radial-gradient(1px 1px at 55% 45%, #fff4, transparent),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }

/* Header */
.topbar {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(11, 10, 26, 0.7);
  border-bottom: 1px solid var(--border);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand__mark { color: var(--gold); font-size: 20px; text-shadow: 0 0 16px rgba(245, 185, 66, .7); }
.brand__name { font-family: var(--font-display); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 15px; }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--text); }

/* Typography */
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 600; margin: 0 0 12px; }
.display {
  font-family: var(--font-display); font-weight: 800; line-height: 1.05; margin: 0 0 16px;
  font-size: clamp(40px, 8vw, 84px);
  background: linear-gradient(180deg, #fff 0%, var(--gold-2) 60%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.display--md { font-size: clamp(34px, 6vw, 56px); }
.display--sm { font-size: clamp(28px, 5vw, 40px); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: #d9d4ea; margin: 0 0 12px; max-width: 640px; }
.section__title { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; margin: 0 0 20px; }
.prose { color: #d9d4ea; font-size: 17px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent, var(--gold)); background: color-mix(in srgb, var(--accent, var(--gold)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, var(--gold)) 35%, transparent);
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}

/* Buttons */
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px;
  border-radius: 14px; font-weight: 600; transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #2a1a00; box-shadow: 0 8px 30px rgba(245, 185, 66, .35); }
.btn--gold:hover { color: #2a1a00; box-shadow: 0 10px 36px rgba(245, 185, 66, .5); }
.btn--ghost { border: 1px solid var(--border); color: var(--text); background: var(--surface); }
.btn--ghost:hover { color: var(--text); background: var(--surface-2); }

.store-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px;
  background: #000; color: #fff; border: 1px solid #ffffff40; border-radius: 14px; font-weight: 600; font-size: 19px; line-height: 1;
}
.store-btn small { display: block; font-size: 11px; font-weight: 500; opacity: .8; margin-bottom: 3px; }
.store-btn:hover { color: #fff; border-color: #fff9; }
.store-btn__icon { font-size: 20px; color: var(--gold); }
.store-btn--soon { opacity: .85; cursor: default; }

/* Hero */
.hero { padding: clamp(64px, 12vw, 140px) 0 clamp(48px, 8vw, 96px); text-align: center; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero .lead { margin-inline: auto; }
.hero__actions { justify-content: inherit; }
.hero .hero__actions { justify-content: center; }

.section { padding: 32px 0 56px; }
.section--tight { padding-top: 8px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.cards--list { grid-template-columns: 1fr; margin-top: 24px; }
.card {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(400px 160px at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
}
.card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--text); }
.card:hover::before { opacity: 1; }
.card__body { flex: 1; min-width: 0; position: relative; }
.card__body h3 { margin: 0 0 2px; font-size: 19px; }
.card__body p { margin: 0; }
.card__arrow { color: var(--muted); font-size: 22px; transition: transform .2s; position: relative; }
.card:hover .card__arrow { transform: translateX(4px); color: var(--accent); }

/* App icon */
.app-icon { width: 72px; height: 72px; border-radius: 22%; flex: none; object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,.4); position: relative; }
.app-icon--xl { width: clamp(112px, 18vw, 168px); height: clamp(112px, 18vw, 168px); }
.app-icon--placeholder {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--accent) 90%, #fff) 0%, var(--accent) 35%, color-mix(in srgb, var(--accent) 30%, #1a0f3a) 100%);
  font-family: var(--font-display); font-weight: 800; color: #1c1030; font-size: 26px; letter-spacing: .04em;
  border: 2px solid color-mix(in srgb, var(--accent) 60%, #fff);
}
.app-icon--xl.app-icon--placeholder { font-size: clamp(38px, 6vw, 56px); }

/* App hero */
.app-hero { padding: clamp(48px, 8vw, 96px) 0 40px; }
.app-hero__inner { display: flex; gap: clamp(20px, 4vw, 40px); align-items: center; }

/* Screenshots */
.shots {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 20px;
  scrollbar-width: thin; scrollbar-color: #ffffff30 transparent;
}
.phone {
  margin: 0; flex: none; width: clamp(200px, 24vw, 250px); aspect-ratio: 9 / 19.5; scroll-snap-align: start;
  border-radius: 34px; padding: 8px; background: #05040c; border: 1px solid #ffffff22;
  box-shadow: 0 20px 50px rgba(0,0,0,.5), inset 0 0 0 2px #ffffff0d;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }
.phone__screen {
  height: 100%; border-radius: 27px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background:
    radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%),
    linear-gradient(180deg, #221a4a, #0d0b1f);
}
.phone__emoji { font-size: 56px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.5)); }
.phone__label { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.phone__hint { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

/* About / features */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.features { display: grid; gap: 14px; }
.feature { display: flex; gap: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.feature__icon { font-size: 28px; line-height: 1; }
.feature h3 { margin: 0 0 4px; font-size: 17px; }
.feature p { margin: 0; font-size: 15px; }

.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.panel-link {
  display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: border-color .2s, transform .2s;
}
.panel-link:hover { border-color: #f5b94280; color: var(--text); transform: translateY(-2px); }
.panel-link__icon { font-size: 26px; margin-bottom: 6px; }
.panel-link strong { font-size: 18px; }

/* Inner pages */
.page { padding: clamp(40px, 7vw, 80px) 0 64px; }
.back { display: inline-block; color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.contact-card {
  display: flex; gap: 16px; padding: 22px; margin: 28px 0 40px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245,185,66,.12), rgba(123,92,255,.10)); border: 1px solid #f5b94240;
}
.contact-card__icon { font-size: 28px; }
.contact-card strong { display: block; }
.contact-card a { font-size: 18px; font-weight: 600; word-break: break-all; }
.contact-card p { margin: 6px 0 0; font-size: 15px; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: #d9d4ea; }

.policy h2 { font-family: var(--font-display); font-size: 19px; color: var(--text); margin: 32px 0 8px; }
.policy ul { padding-left: 20px; }
.policy li { margin-bottom: 6px; }

/* Footer */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 32px 0 24px; margin-top: 24px; background: rgba(0,0,0,.2); }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__inner p { margin: 8px 0 0; font-size: 14px; max-width: 360px; }
.brand--small .brand__name { font-size: 13px; }
.footer__links { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--text); }
.footer__legal { font-size: 12px; margin-top: 24px; }

@media (max-width: 760px) {
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
  .brand__name { font-size: 13px; }
  .app-hero__inner { flex-direction: column; align-items: flex-start; }
  .about, .links-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .nav a:first-child { display: none; }
}

/* Language switch */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid #f5b94255; background: rgba(245, 185, 66, .08); color: var(--gold-2) !important; font-weight: 600 !important;
}
.lang-switch:hover { background: rgba(245, 185, 66, .16); color: var(--gold) !important; }
@media (max-width: 420px) { .nav { gap: 10px; } .lang-switch { padding: 4px 9px; } }
.brand__name { white-space: nowrap; }
@media (max-width: 420px) { .brand__name { font-size: 12px; letter-spacing: .04em; } .nav a { font-size: 13px; } }
