:root {
  --bg: #17100a;
  --bg-panel: #241811;
  --leather: #c8622a;
  --gold: #f2c14e;
  --gold-bright: #ffd97a;
  --cream: #f7ecd9;
  --text-dim: #cbb89a;
  --cell: #26262a;
  --radius: 14px;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Fira Sans', system-ui, -apple-system, sans-serif;
  color: var(--cream);
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 55% at 50% 0%, rgba(255, 170, 60, 0.08), transparent 60%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0 2px, transparent 2px 88px),
    repeating-linear-gradient(90deg, #221709 0 88px, #251a0b 88px 176px, #20150a 176px 264px);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

::selection { background: rgba(242, 193, 78, 0.35); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: #241708;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(19, 12, 6, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(242, 193, 78, 0.16);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.brand-name {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-name em { color: var(--gold); font-style: normal; }

.site-nav {
  margin-left: auto;
  display: flex;
  gap: clamp(12px, 2.5vw, 28px);
}
.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.site-nav a:hover { color: var(--gold); }
.site-nav .nav-cta { color: var(--gold); font-weight: 600; }

.lang-switch {
  display: flex;
  border: 1px solid rgba(242, 193, 78, 0.35);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.lang-switch button {
  background: transparent;
  border: 0;
  color: var(--text-dim);
  font: 600 0.8rem 'Fira Sans', sans-serif;
  letter-spacing: 0.06em;
  padding: 6px 13px;
  cursor: pointer;
}
.lang-switch button.active {
  background: var(--gold);
  color: #241708;
}

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 9vw, 96px) clamp(16px, 4vw, 40px) clamp(40px, 7vw, 80px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-title {
  margin: 0 0 18px;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffedbe;
  text-shadow:
    0 0 14px rgba(255, 196, 87, 0.5),
    0 0 42px rgba(255, 140, 40, 0.32),
    0 3px 0 rgba(90, 45, 8, 0.9),
    0 5px 12px rgba(0, 0, 0, 0.45);
}

.hero-tag {
  margin: 0;
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.65;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
}

.ghost-link {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed rgba(242, 193, 78, 0.5);
  padding-bottom: 2px;
}
.ghost-link:hover { color: var(--gold); border-color: var(--gold); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { order: 0; }
  .hero-phone { order: 1; }
}

/* ---------- Store button ---------- */

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0d0d0f;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 10px 20px 10px 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.store-btn:hover { transform: translateY(-2px); border-color: var(--gold); }
.store-btn .apple, .store-btn .mail { width: 26px; height: 26px; fill: #fff; flex: none; }
.store-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-text small {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.store-text strong { font-size: 1.12rem; font-weight: 600; }

.store-btn-soon {
  cursor: default;
  border-style: dashed;
  opacity: 0.88;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.store-btn-soon:hover { transform: none; border-color: rgba(255, 255, 255, 0.22); }
.store-btn-soon .store-text small { color: var(--gold); }

/* ---------- Phone frame ---------- */

.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 1290 / 2796;
  border-radius: 40px;
  border: 8px solid #0b0b0d;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 80px rgba(255, 150, 40, 0.1);
  overflow: hidden;
  background: #000;
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 12px;
  border-radius: 8px;
  background: #0b0b0d;
}
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-phone { display: flex; justify-content: center; }
.hero-phone .phone { width: min(330px, 78vw); }

/* ---------- Stats ---------- */

.stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat {
  text-align: center;
  padding: 22px 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(242, 193, 78, 0.18);
  border-radius: var(--radius);
}
.stat-num {
  display: block;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 190, 80, 0.35);
}
.stat-label { display: block; margin-top: 6px; color: var(--text-dim); font-size: 0.92rem; }

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

/* ---------- Sections ---------- */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 100px) clamp(16px, 4vw, 40px) 0;
}

.section-title {
  margin: 0 0 10px;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.05em;
  color: #ffedbe;
  text-shadow: 0 0 16px rgba(255, 190, 80, 0.35), 0 2px 0 rgba(90, 45, 8, 0.8);
}
.section-sub { margin: 0 0 36px; color: var(--text-dim); max-width: 60ch; }

.card {
  background: linear-gradient(180deg, rgba(58, 38, 18, 0.55), rgba(30, 20, 10, 0.65));
  border: 1px solid rgba(242, 193, 78, 0.22);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

/* ---------- Rules ---------- */

.rules-layout {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.rules-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}
.rules-steps li { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #241708;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.rules-steps h3 { margin: 2px 0 6px; font-size: 1.15rem; font-weight: 600; color: var(--cream); }
.rules-steps p { margin: 0; color: var(--text-dim); line-height: 1.6; }

.rules-note { margin-top: 28px; }
.rules-note h3 {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.rules-note h3 svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rules-note p { margin: 0; color: var(--text-dim); line-height: 1.6; }

.rules-phone { display: flex; justify-content: center; }
.rules-phone .phone { width: min(300px, 100%); }

@media (max-width: 900px) {
  .rules-layout { grid-template-columns: 1fr; }
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature { display: flex; flex-direction: column; gap: 10px; }
.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(242, 193, 78, 0.08);
  border: 1px solid rgba(242, 193, 78, 0.3);
  border-radius: 12px;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 { margin: 0; font-size: 1.12rem; color: var(--cream); font-weight: 600; }
.feature p { margin: 0; color: var(--text-dim); font-size: 0.96rem; line-height: 1.6; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Screens gallery ---------- */

.gallery {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 8px 4px 28px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: rgba(242, 193, 78, 0.3); border-radius: 4px; }
.gallery::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.25); border-radius: 4px; }

.gallery-item {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.gallery-item .phone {
  width: 230px;
  border-radius: 32px;
  border-width: 6px;
}
.gallery-item .phone::before { height: 8px; width: 30%; top: 6px; border-radius: 6px; }
.gallery-item figcaption {
  color: var(--text-dim);
  font-size: 0.9rem;
  text-align: center;
  max-width: 240px;
  line-height: 1.4;
}

/* ---------- Support ---------- */

.support { max-width: 860px; }
.support-grid { display: grid; gap: 18px; }
.support-card h2 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 1.02rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.support-card p { margin: 0 0 12px; color: var(--text-dim); line-height: 1.65; }
.support-card p:last-child { margin-bottom: 0; }
.support-card ol { margin: 0; padding-left: 22px; color: var(--text-dim); line-height: 1.65; }
.support-card ol li { margin-bottom: 8px; }
.support-card ol li:last-child { margin-bottom: 0; }
.support-hint { font-size: 0.9rem; color: rgba(203, 184, 154, 0.8); }
.support-mailto { font-size: 0.9rem; }
.support-mailto a { color: var(--text-dim); }
.support-mailto a:hover { color: var(--gold); }

.faq details { padding: 12px 0; border-top: 1px solid rgba(242, 193, 78, 0.18); }
.faq details:first-of-type { border-top: 0; padding-top: 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--cream); }
.faq summary:hover { color: var(--gold); }
.faq details[open] summary { margin-bottom: 10px; }

/* ---------- Download ---------- */

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 48px);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(255, 170, 60, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(58, 38, 18, 0.6), rgba(28, 18, 9, 0.75));
}
.download-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 170, 60, 0.18);
}
.download-card h2 {
  margin: 0;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.05em;
  color: #ffedbe;
  text-shadow: 0 0 16px rgba(255, 190, 80, 0.35), 0 2px 0 rgba(90, 45, 8, 0.8);
}
.download-card p { margin: 0; color: var(--text-dim); }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(56px, 9vw, 100px);
  border-top: 1px solid rgba(242, 193, 78, 0.16);
  background: rgba(0, 0, 0, 0.3);
  padding: 28px clamp(16px, 4vw, 40px) 36px;
}
.footer-row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.footer-row .brand img { width: 30px; height: 30px; }
.footer-row .brand-name { font-size: 1.1rem; }
.footer-privacy { margin: 0; color: var(--text-dim); font-size: 0.88rem; max-width: 52ch; }
.footer-copy {
  max-width: 1200px;
  margin: 18px auto 0;
  color: rgba(203, 184, 154, 0.65);
  font-size: 0.85rem;
}
.footer-copy a { color: var(--text-dim); }
.footer-copy a:hover { color: var(--gold); }

/* ---------- Reveal on scroll ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .store-btn { transition: none; }
}
