/* Лендінг Аліас+ — конвертовано з Claude Design «Лендінг Аліас+.dc.html».
   Жодних зовнішніх ресурсів: шрифти — /fonts/fonts.css, картинки — /assets/. */

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: #12100C;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  background: radial-gradient(140% 90% at 70% 0%, #221D14 0%, #14110D 55%, #0D0B08 100%);
  color: #F2EFE7;
  font-family: 'Golos Text', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a { color: #F8A01E; text-decoration: none; }
a:hover { color: #FFB84D; }
::selection { background: #F8A01E; color: #221600; }

.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
.accent { color: #F8A01E; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- анімації ---------- */
@keyframes alFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes alGlow { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: .85; transform: scale(1.08); } }
@keyframes alMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes alBlink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes alScan { 0% { transform: translateY(-110%); } 100% { transform: translateY(1200%); } }

body.is-idle .anim { animation-play-state: paused !important; }

/* reveal: прихований стан лише коли є JS (клас .js на <html>) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- декоративна сітка ---------- */
.bg-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(248, 160, 30, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 160, 30, .03) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 55%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 55%);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(18, 16, 12, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #F2EFE7; }
.brand:hover { color: #F2EFE7; }
.brand-mark { width: 24px; height: 24px; display: block; flex: 0 0 auto; }
.brand-mark.small { width: 18px; height: 18px; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -.3px; }
.brand-tag { font-size: 9px; letter-spacing: 2px; color: rgba(242, 239, 231, .4); margin-left: 4px; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link { font-size: 11px; letter-spacing: 1.8px; color: rgba(242, 239, 231, .6); }
.nav-link:hover { color: #F8A01E; }
.nav-cta {
  font-size: 11px;
  letter-spacing: 1.8px;
  color: #221600;
  background: #F8A01E;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover { background: #FFB84D; color: #221600; }

/* ---------- HERO ---------- */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, 440px);
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 64px);
  position: relative;
}
.hero-copy { padding: 70px 0; position: relative; z-index: 2; }

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: #F8A01E;
}
.blink-dot { width: 9px; height: 9px; background: #F8A01E; display: block; animation: alBlink 2.4s steps(2) infinite; }

.hero-title {
  margin: 22px 0 0;
  font-size: clamp(48px, 6.2vw, 84px);
  line-height: .96;
  font-weight: 900;
  letter-spacing: -2.5px;
}
.demo-word { color: #F8A01E; transition: color .18s ease; }
.demo-word.hit { color: #7CC26B; }
.demo-word.miss { color: #E5605D; }

.timer-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: .72em;
  height: .72em;
  margin: 0 .06em;
  vertical-align: middle;
  transform: translateY(.02em);
}
.timer-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-ring #timerArc { transition: stroke-dashoffset 1s linear; }
.timer-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .25em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #F8A01E;
}

.hero-lead {
  margin: 26px 0 0;
  max-width: 480px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(242, 239, 231, .62);
}

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

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 208px;
  height: 62px;
  padding: 0 24px;
  border-radius: 14px;
}
.btn svg { flex-shrink: 0; width: 24px; height: 26px; }
.btn-label { display: flex; flex-direction: column; align-items: flex-start; }
.btn-over { font-size: 9px; letter-spacing: 1.5px; opacity: .75; }
.btn-over.dim { opacity: 1; color: rgba(242, 239, 231, .5); }
.btn-main { font-size: 19px; font-weight: 800; letter-spacing: -.2px; }
.btn-wide { width: 244px; padding: 0 26px; }

.btn-solid {
  background: #F8A01E;
  color: #221600;
  box-shadow: 0 8px 40px rgba(248, 160, 30, .35);
}
.btn-solid:hover { background: #FFB84D; color: #221600; box-shadow: 0 8px 50px rgba(248, 160, 30, .5); }

/* Компенсуємо рамку паддінгом, щоб контент обох кнопок сидів однаково. */
.btn-ghost { border: 1.5px solid rgba(248, 160, 30, .5); padding: 0 22.5px; color: #F2EFE7; }
.btn-ghost:hover { border-color: #F8A01E; background: rgba(248, 160, 30, .08); color: #F2EFE7; }


.hero-stats {
  display: flex;
  gap: 38px;
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
}
.stat-value { font-size: 28px; font-weight: 700; color: #F8A01E; }
.stat-label { font-size: 10px; letter-spacing: 1.8px; color: rgba(242, 239, 231, .4); margin-top: 4px; }

/* ---------- ТЕЛЕФОН ---------- */
.phone-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  perspective: 1400px;
}
.phone-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 160, 30, .22) 0%, rgba(248, 160, 30, 0) 65%);
  filter: blur(10px);
  animation: alGlow 5s ease-in-out infinite;
  pointer-events: none;
}
.phone-float { animation: alFloat 7s ease-in-out infinite; }
.phone-tilt {
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.phone-frame {
  width: 318px;
  aspect-ratio: 1188 / 2571;
  border-radius: 52px;
  background: #050403;
  border: 9px solid #26221B;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(248, 160, 30, .18), inset 0 0 24px rgba(0, 0, 0, .6);
  overflow: hidden;
  position: relative;
}
.screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .9s ease, transform 1.6s ease;
}
.screen.is-active { opacity: 1; transform: scale(1); }
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(248, 160, 30, 0), rgba(248, 160, 30, .06), rgba(248, 160, 30, 0));
  animation: alScan 9s linear infinite;
  pointer-events: none;
}

.phone-nav { display: flex; align-items: center; gap: 16px; margin-top: 30px; z-index: 2; }
.screen-counter { font-size: 10px; letter-spacing: 2px; color: rgba(242, 239, 231, .4); }
.dots { display: flex; gap: 8px; }
.dot {
  width: 22px;
  height: 4px;
  cursor: pointer;
  background: rgba(242, 239, 231, .18);
  transition: background .4s;
  border: 0;
  padding: 0;
  appearance: none;
}
.dot.is-active { background: #F8A01E; }
.idle-note { position: absolute; bottom: 16px; font-size: 9px; letter-spacing: 2px; color: rgba(242, 239, 231, .3); }

/* ---------- MARQUEE ---------- */
.marquee {
  border-top: 1px solid rgba(248, 160, 30, .25);
  border-bottom: 1px solid rgba(248, 160, 30, .25);
  background: rgba(248, 160, 30, .05);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track { display: flex; width: max-content; animation: alMarquee 36s linear infinite; }
.marquee-group { display: flex; }
.marquee-item { display: flex; align-items: center; gap: 14px; padding: 0 14px; white-space: nowrap; }
.m-name { font-size: 13px; letter-spacing: 2.5px; color: #F8A01E; }
.m-count { font-size: 11px; color: rgba(242, 239, 231, .35); }
.m-dot { width: 6px; height: 6px; background: rgba(248, 160, 30, .5); display: block; }

/* ---------- СЕКЦІЇ ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 110px 28px 30px; }
.section-cta { padding: 120px 28px; }

.kicker { font-size: 11px; letter-spacing: 2.5px; color: #F8A01E; }
.section-title {
  margin: 14px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.02;
}

/* можливості */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 14px;
  margin-top: 48px;
}
.card {
  background: #1D1912;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.card:hover { border-color: rgba(248, 160, 30, .45); }
.card-idx { font-size: 11px; letter-spacing: 1.5px; color: rgba(242, 239, 231, .35); }
.card-glyph { font-size: 34px; line-height: 1; color: #F8A01E; font-weight: 700; }
.card-title { font-size: 19px; font-weight: 800; letter-spacing: -.3px; margin-top: auto; }
.card-text { font-size: 14px; line-height: 1.5; color: rgba(242, 239, 231, .55); }

/* як грати */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 48px;
}
.step { border-top: 2px solid rgba(248, 160, 30, .5); padding: 24px 6px 0; }
.step-num { font-size: 48px; font-weight: 700; color: rgba(248, 160, 30, .35); line-height: 1; }
.step-title { font-size: 21px; font-weight: 800; letter-spacing: -.3px; margin-top: 16px; }
.step-text { font-size: 15px; line-height: 1.55; color: rgba(242, 239, 231, .55); margin-top: 10px; }

.swipe-panel {
  margin-top: 56px;
  background: #1D1912;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.swipe-row { display: flex; align-items: center; gap: 16px; }
.swipe-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  flex-shrink: 0;
}
.swipe-icon.hit { background: rgba(248, 160, 30, .14); color: #F8A01E; }
.swipe-icon.miss { background: rgba(229, 96, 93, .13); color: #E5605D; }
.swipe-title { font-weight: 800; font-size: 17px; }
.hit-text { color: #F8A01E; }
.miss-text { color: #E5605D; }
.swipe-sub { font-size: 14px; color: rgba(242, 239, 231, .5); margin-top: 3px; }

/* CTA */
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(248, 160, 30, .35);
  background:
    radial-gradient(120% 160% at 50% 0%, rgba(248, 160, 30, .16) 0%, rgba(248, 160, 30, .03) 55%, rgba(0, 0, 0, 0) 100%),
    #17140E;
  padding: 80px 40px;
  text-align: center;
}
.cta-corner { position: absolute; top: 18px; font-size: 10px; letter-spacing: 2px; color: rgba(248, 160, 30, .5); }
.cta-corner.left { left: 22px; }
.cta-corner.right { right: 22px; }
.cta-title {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1;
}
.cta-text { margin: 20px auto 0; max-width: 440px; font-size: 16px; line-height: 1.55; color: rgba(242, 239, 231, .55); }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* запрошення в закриту бету (Android) — під кнопками магазинів */
.cta-beta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  max-width: 520px;
  margin: 26px auto 0;
}
.cta-beta-label { font-size: 10px; letter-spacing: 2px; color: #F8A01E; }
.cta-beta-text { font-size: 14px; line-height: 1.5; color: rgba(242, 239, 231, .55); }

.cta-pro { margin-top: 26px; font-size: 10px; letter-spacing: 1.8px; color: rgba(242, 239, 231, .45); }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, .07); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-name { font-weight: 800; font-size: 15px; }
.footer-tag { font-size: 10px; letter-spacing: 1.5px; color: rgba(242, 239, 231, .35); margin-left: 8px; }
.footer-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-link { font-size: 11px; letter-spacing: 1.8px; color: rgba(242, 239, 231, .6); }
.footer-link:hover { color: #F8A01E; }
.footer-contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px 28px;
  margin-top: -8px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(242, 239, 231, .4);
}
.footer-mail { color: #F8A01E; }

/* ---------- адаптивність ---------- */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }
  .hero-copy { padding: 56px 0 8px; }
  .phone-zone { padding: 36px 0 48px; }
  .phone-glow { width: 340px; height: 340px; }
  .phone-frame { width: 264px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .section { padding: 76px 20px 20px; }
  .section-cta { padding: 90px 20px; }
  .cta-card { padding: 64px 24px; }
}

@media (max-width: 720px) {
  .brand-tag { display: none; }
  .swipe-panel { grid-template-columns: 1fr; padding: 22px; }
  .hero-title { letter-spacing: -1.5px; }
  .btn, .btn-wide { width: auto; min-width: 0; flex: 1 1 200px; }
}

@media (max-width: 640px) {
  .nav-link { display: none; }
  .nav-inner { padding: 0 20px; }
  .hero { padding: 0 20px; }
  .footer-inner, .footer-contact { padding-left: 20px; padding-right: 20px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim,
  .phone-float,
  .phone-glow,
  .scan-line,
  .blink-dot,
  .marquee-track { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .screen, .phone-tilt, .timer-ring #timerArc { transition: none !important; }
}
