:root {
  --gold: #c9a84c;
  --gold-l: #e8c96a;
  --gold-d: #6b5520;
  --neon: #3dffa0;
  --bg: #080808;
  --s1: #0f0f0f;
  --s2: #161616;
  --s3: #1e1e1e;
  --b1: #242424;
  --b2: #2e2e2e;
  --tx: #f0ede8;
  --tx2: #9a9a9a;
  --tx3: #5a5a5a;
  --danger: #ff5a5a;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.18);
  --max: 1120px;
  --legal-max: 760px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--tx);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-l);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container--legal {
  width: min(100% - 2rem, var(--legal-max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--b1);
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--tx);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-gold);
}

.brand__mark svg {
  width: 18px;
  height: 18px;
  fill: #1a1000;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--tx2);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--gold-l);
  text-decoration: none;
}

.lang-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.25rem;
}

.lang-picker__sep {
  color: var(--tx3);
  font-size: 0.75rem;
  user-select: none;
}

.lang-picker button {
  border: none;
  background: transparent;
  color: var(--tx3);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.15rem 0.25rem;
}

.lang-picker button.is-active {
  color: var(--gold-l);
}

.lang-picker button:hover {
  color: var(--gold-l);
}

.legal-page__locale-note {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(201, 168, 76, 0.35);
  background: rgba(23, 16, 0, 0.45);
  color: var(--tx2);
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--b1);
  background: var(--s2);
  color: var(--tx);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent;
}

.store-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.store-btn--play {
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  color: #1a1000;
  box-shadow: var(--shadow-gold);
}

.store-btn--play:hover {
  box-shadow: 0 10px 36px rgba(201, 168, 76, 0.28);
}

.store-btn--apple {
  background: var(--s2);
  border-color: var(--b2);
  color: var(--tx);
}

.store-btn__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.store-btn__label {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.85;
}

.store-btn__name {
  font-size: 0.95rem;
}

.is-hidden {
  display: none !important;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--b2);
  background: var(--s2);
  color: var(--tx);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: rgba(201, 168, 76, 0.35);
  color: var(--gold-l);
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 168, 76, 0.14), transparent 60%),
    radial-gradient(circle at 85% 20%, rgba(61, 255, 160, 0.04), transparent 40%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(23, 16, 0, 0.85);
  color: var(--gold-l);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: var(--tx2);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero__note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--tx3);
}

.hero__card {
  border: 1px solid var(--b1);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.95), rgba(15, 15, 15, 0.98));
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero__card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero__card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  display: grid;
  place-items: center;
}

.hero__card-icon svg {
  width: 20px;
  height: 20px;
  fill: #1a1000;
}

.hero__card-title {
  font-weight: 700;
  font-size: 1rem;
}

.hero__card-sub {
  color: var(--tx3);
  font-size: 0.82rem;
}

.chat-preview {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chat-bubble {
  max-width: 88%;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.chat-bubble--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #1e1700, #2a2000);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: #e4d5a0;
}

.chat-bubble--ai {
  align-self: flex-start;
  background: var(--s2);
  border: 1px solid var(--b1);
  color: var(--tx);
}

.chat-suggestions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.chat-suggestion {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--b1);
  background: rgba(201, 168, 76, 0.06);
  color: var(--tx2);
  font-size: 0.8rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--s1);
  border-block: 1px solid var(--b1);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--gold-l);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section__desc {
  margin: 0;
  color: var(--tx2);
}

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

.feature {
  border: 1px solid var(--b1);
  border-radius: var(--radius);
  background: var(--s2);
  padding: 1.25rem;
}

.feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--gold-l);
  font-size: 1.1rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.feature p {
  margin: 0;
  color: var(--tx2);
  font-size: 0.92rem;
  line-height: 1.55;
}

.feature--soon {
  opacity: 0.92;
  border-style: dashed;
  border-color: rgba(201, 168, 76, 0.28);
  background: rgba(15, 15, 15, 0.6);
}

.feature__badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(23, 16, 0, 0.7);
  color: var(--gold-l);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  text-align: center;
  padding: 1rem;
}

.step__num {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  color: #1a1000;
  font-weight: 800;
  font-size: 0.9rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.step p {
  margin: 0;
  color: var(--tx2);
  font-size: 0.88rem;
}

.cta {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.12), transparent 55%),
    var(--s2);
}

.cta h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta p {
  margin: 0 auto 1.25rem;
  max-width: 520px;
  color: var(--tx2);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--b1);
  background: var(--s1);
  padding: 2.5rem 0 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--tx);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer a {
  color: var(--tx2);
  font-size: 0.92rem;
}

.site-footer__brand p {
  margin: 0.75rem 0 0;
  color: var(--tx2);
  font-size: 0.92rem;
  max-width: 280px;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--b1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--tx3);
  font-size: 0.82rem;
}

/* Legal pages */
.legal-page {
  padding: 2.5rem 0 4rem;
}

.legal-page h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
}

.legal-page__meta {
  margin: 0 0 2rem;
  color: var(--tx3);
  font-size: 0.88rem;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--gold-l);
}

.legal-section p {
  margin: 0 0 0.85rem;
  color: var(--tx2);
  line-height: 1.7;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  color: var(--tx2);
  font-size: 0.9rem;
  text-decoration: none;
}

.legal-back:hover {
  color: var(--gold-l);
  text-decoration: none;
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--b1);
  }

  .site-nav.is-open {
    display: flex;
  }

  .lang-picker {
    margin-left: 0;
    padding-top: 0.35rem;
  }

  .features,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }
}
