/* ===== Design tokens ===== */
:root {
  --bg: #05070A;
  --surface: #0E1116;
  --surface-2: #0A0D10;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.3);
  --accent: #C6FF3D;
  --accent-2: #3DFFC6;
  --text: #F5F7FA;
  --text-muted: rgba(245, 247, 250, 0.55);
  --text-faint: rgba(245, 247, 250, 0.4);
  --radius-card: 18px;
  --radius-btn: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* ===== Reset & base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
[x-cloak] { display: none !important; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); background: rgba(5, 7, 10, 0.75); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; }
.site-header__logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.site-header__logo-badge { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.site-header__logo-text { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; }
.site-header__logo-accent { color: var(--accent); }
.site-header__nav { display: flex; }
.site-header__cta { font-size: 14px; font-weight: 700; white-space: nowrap; background: var(--accent); color: var(--bg); padding: 10px 18px; border-radius: 10px; }
.site-header__cta:hover { color: var(--bg); background: var(--accent-2); }
.nav-links { display: flex; gap: 28px; }
.nav-links__link { font-size: 14.5px; font-weight: 600; color: var(--text-muted); }
.nav-links__link:hover { color: var(--text); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.lang-switch__link { color: var(--text-muted); }
.lang-switch__current { color: var(--accent); }
.lang-switch__sep { color: var(--text-faint); }

/* ===== Hero ===== */
.hero { padding: 80px 0 60px; }
.hero__grid { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.hero__copy { flex: 1 1 420px; min-width: 320px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 20px; background: rgba(198, 255, 61, 0.1); border: 1px solid rgba(198, 255, 61, 0.25); font-size: 12.5px; font-weight: 700; color: var(--accent); margin-bottom: 22px; }
.hero__title { font-size: 52px; font-weight: 800; line-height: 1.05; letter-spacing: -1.5px; }
.hero__subtitle { font-size: 17px; line-height: 1.6; color: var(--text-muted); margin-top: 22px; max-width: 460px; }
.hero__stores { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* ===== Store buttons ===== */
.store-button { display: inline-flex; align-items: center; gap: 10px; background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: var(--radius-btn); }
.store-button:hover { color: var(--bg); background: var(--accent-2); }
.store-button__labels { text-align: left; line-height: 1.2; }
.store-button__small { font-size: 10px; opacity: 0.7; display: block; }
.store-button__name { font-size: 15px; font-weight: 700; display: block; }

/* ===== Stats ===== */
.stats { display: flex; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.stats__value { font-size: 22px; font-weight: 800; }
.stats__label { font-size: 12.5px; color: var(--text-faint); }

/* ===== Phone mockup ===== */
.phone-mockup { flex: 0 0 300px; display: flex; justify-content: center; }
.phone { width: 260px; height: 560px; border-radius: 40px; background: var(--surface-2); border: 8px solid #14181E; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(198, 255, 61, 0.08); overflow: hidden; position: relative; animation: floatY 5s ease-in-out infinite; }
.phone__notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 90px; height: 20px; background: #14181E; border-radius: 0 0 12px 12px; z-index: 2; }
.phone__screen { width: 100%; height: 100%; }
.phone__screen--placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #0E1116 0%, #14181E 55%, rgba(198, 255, 61, 0.12) 100%); color: var(--text-faint); font-size: 13px; text-align: center; padding: 0 24px; }
.phone__screen-img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ===== Sections ===== */
.section { padding: 70px 0; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-2); text-align: center; }
.section__title { font-size: 34px; font-weight: 800; text-align: center; margin-top: 10px; letter-spacing: -0.6px; }

/* ===== Features ===== */
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 44px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 26px; }
.feature-card__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(198, 255, 61, 0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card__icon--mint { background: rgba(61, 255, 198, 0.12); }
.feature-card__swatch { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #C6FF3D 50%, #3DFFC6 50%); }
.feature-card__title { font-size: 16.5px; font-weight: 700; }
.feature-card__text { font-size: 14px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }

/* ===== Screens ===== */
.screens { padding: 20px 0 90px; }
.screens__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.screen-card { aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); background: linear-gradient(160deg, #0E1116, #14181E); }
.screen-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== CTA banner ===== */
.cta-banner { max-width: 1180px; margin: 0 auto 90px; padding: 50px 40px; border-radius: 26px; background: linear-gradient(120deg, rgba(198, 255, 61, 0.14), rgba(61, 255, 198, 0.1)); border: 1px solid rgba(198, 255, 61, 0.2); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-banner__title { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.cta-banner__subtitle { font-size: 14.5px; color: var(--text-muted); margin-top: 6px; }
.cta-banner__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14.5px; padding: 12px 22px; border-radius: var(--radius-btn); border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: var(--accent-2); color: var(--bg); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: var(--accent-2); color: var(--bg); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Legal teaser ===== */
.legal-teaser { padding: 30px 0 90px; }
.legal-teaser__kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-2); }
.legal-teaser__title { font-size: 34px; font-weight: 800; margin-top: 10px; letter-spacing: -0.6px; }
.legal-teaser__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 32px; }
.legal-teaser__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 26px; }
.legal-teaser__card h3 { font-size: 16.5px; font-weight: 700; }
.legal-teaser__card p { font-size: 14px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }
.legal-teaser__actions { display: flex; gap: 12px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.legal-teaser__full { margin-top: 16px; }
.legal-teaser__full h2 { font-size: 15px; margin-top: 16px; }
.legal-teaser__full p { margin-top: 6px; }

/* ===== Legal pages ===== */
.legal { max-width: 760px; padding: 50px 24px 90px; }
.legal__kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-2); }
.legal__header h1 { font-size: 30px; font-weight: 800; margin-top: 8px; letter-spacing: -0.5px; }
.legal__updated { font-size: 13px; color: var(--text-faint); margin-top: 6px; }
.legal-content { margin-top: 28px; display: flex; flex-direction: column; gap: 22px; font-size: 14.5px; line-height: 1.7; color: var(--text-muted); }
.legal-content__section h2 { font-weight: 700; color: var(--text); margin-bottom: 6px; font-size: 16px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer__copy { font-size: 13px; color: var(--text-faint); }
.site-footer__links { display: flex; gap: 20px; }
.site-footer__links a { font-size: 13px; color: var(--text-muted); }
.site-footer__links a:hover { color: var(--text); }

/* ===== Cookie banner ===== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4); }
.cookie-banner__inner { max-width: 1180px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-banner__title { font-size: 15px; font-weight: 700; }
.cookie-banner__text { font-size: 13px; color: var(--text-muted); margin-top: 4px; max-width: 640px; }
.cookie-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Error pages ===== */
.error { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.error__title { font-size: 34px; font-weight: 800; }
.error__text { font-size: 16px; color: var(--text-muted); margin-top: 10px; }
.error__back { margin-top: 24px; }

/* ===== Contact form ===== */
.contact { padding: 30px 0 90px; }
.contact__inner { max-width: 560px; margin: 0 auto; }
.kicker--left { text-align: left; }
.contact__title { font-size: 30px; font-weight: 800; margin-top: 8px; letter-spacing: -0.5px; }
.contact__subtitle { font-size: 14.5px; color: var(--text-muted); margin-top: 10px; line-height: 1.6; }
.contact__email {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px 20px;
}
.contact__email-label { font-size: 13px; color: var(--text-faint); }
.contact__email-link { font-size: 15px; font-weight: 700; }
.contact-form { margin-top: 28px; }
.contact-form__fields { display: flex; flex-direction: column; gap: 14px; }
.contact-form__input {
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 13px 15px; color: var(--text);
  font-size: 14.5px; font-family: inherit;
}
.contact-form__input:focus { outline: none; border-color: var(--accent); }
.contact-form__error { font-size: 13px; color: #FF7A7A; }
.contact-form__success {
  margin-top: 28px; padding: 20px; border-radius: 14px;
  background: rgba(198, 255, 61, 0.1); border: 1px solid rgba(198, 255, 61, 0.25);
  font-size: 14.5px; color: var(--accent);
}
.contact-form__captcha { min-height: 0; }
.contact-form .frc-captcha { margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero { padding: 60px 0 40px; }
  .hero__title { font-size: 38px; }
  .site-header__nav { display: none; }
  .cta-banner { margin-bottom: 60px; }
}
