*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
:root {
  --bg: #09090b; --bg2: #0f0f12; --surface: #18181b; --surface2: #1f1f23;
  --border: #27272a; --border2: #3f3f46;
  --accent: #8b5cf6; --accent2: #a78bfa; --accent-solid: #7c3aed; --accent-d: rgba(139,92,246,.12);
  --lav: #b6a2ec;
  --text: #fafafa; --muted: #a1a1aa; --muted2: #8b8b94;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; border-radius: 8px; background: var(--text); color: var(--bg); transform: translateY(-160%); transition: transform .15s; }
.skip-link:focus { transform: none; }

/* NAV */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  height: 62px; padding: 0 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  background: rgba(9,9,11,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.logo { justify-self: start; display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.logo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.app-brand { justify-self: center; display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.app-brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 16px; }
.nav-menu { display: contents; }
.nav-menu ul { order: 1; margin-inline-end: 12px; }
.nav-right .language-menu { order: 2; }
.nav-cta { order: 3; }
.nav-toggle { order: 4; }
.nav-menu ul { list-style: none; display: flex; gap: 28px; }
.nav-menu ul a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-menu ul a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-solid); color: #fff; text-decoration: none;
  padding: 9px 18px; border-radius: 8px; font-size: 14px; font-weight: 600;
  transition: opacity .2s, transform .16s var(--ease);
}
.nav-cta:active { transform: scale(.97); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 24px; padding: 8px; cursor: pointer; }

/* BUTTONS */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 22px 11px 18px; border-radius: 10px;
  text-decoration: none; white-space: nowrap;
  transition: transform .16s var(--ease), background-color .2s, border-color .2s;
}
.store i { font-size: 26px; }
.store small { display: block; font-size: 11px; line-height: 1.2; font-weight: 500; opacity: .82; }
.store strong { display: block; font-size: 16px; line-height: 1.2; font-weight: 650; letter-spacing: -.2px; }
.store.primary { background: var(--accent-solid); color: #fff; }
.store.secondary { border: 1px solid var(--border2); color: var(--text); }
.store:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .store.primary:hover { background: #6d28d9; }
  .store.secondary:hover { border-color: var(--muted2); background: var(--surface); }
  .nav-cta:hover { opacity: .88; }
}

/* HERO */
.hero { position: relative; overflow: hidden; padding: 80px 56px 96px; }
.hero::before {
  content: ""; position: absolute; top: -220px; left: -140px; width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(139,92,246,.15) 0%, transparent 65%); pointer-events: none;
}
.hero-grid { position: relative; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 14px 5px 6px; margin-bottom: 30px;
  font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .5px; text-transform: uppercase;
}
.hero-tag img { width: 22px; height: 22px; border-radius: 6px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 700; letter-spacing: -2.6px; line-height: 1.04; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent2); }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 520px; line-height: 1.7; margin-bottom: 40px; }

.phone-wrap { position: relative; justify-self: center; width: min(320px, 100%); }
.phone-wrap::before {
  content: ""; position: absolute; inset: 10% -18% 4%; z-index: 0;
  background: radial-gradient(closest-side, rgba(139,92,246,.30), transparent); filter: blur(30px);
}
.phone {
  position: relative; z-index: 1;
  padding: 9px; border-radius: 46px;
  background: linear-gradient(160deg, #2a2a30, #121216);
  border: 1px solid var(--border2);
  box-shadow: 0 40px 90px rgba(5,4,20,.7), inset 0 1px 0 rgba(255,255,255,.06);
}
.phone img { border-radius: 37px; width: 100%; aspect-ratio: 780 / 1688; object-fit: cover; }

/* hero load */
.js .rise { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
.js .rise:nth-child(2) { animation-delay: .06s; }
.js .rise:nth-child(3) { animation-delay: .12s; }
.js .rise:nth-child(4) { animation-delay: .18s; }
.js .phone-wrap.rise { animation-delay: .22s; animation-duration: 1s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* SECTIONS */
.section { padding: 96px 56px; }
.section.dark { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.inner { max-width: 1100px; margin: 0 auto; }
.label { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent2); margin-bottom: 14px; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -1.8px; line-height: 1.1; margin-bottom: 16px; }
.sub { color: var(--muted); font-size: 17px; max-width: 560px; line-height: 1.7; }

/* SOUNDS */
.sounds-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 1 / .86; padding: 10px 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  font-size: 13px; font-weight: 500; color: #d4d4d8; text-align: center;
  transition: border-color .2s, transform .2s var(--ease);
}
.tile i { font-size: 22px; color: var(--lav); }
.tile.on { background: #221d33; border-color: rgba(182,162,236,.45); color: var(--text); }
@media (hover: hover) and (pointer: fine) { .tile:hover { border-color: var(--border2); transform: translateY(-2px); } }
.sound-notes { display: grid; gap: 28px; padding-top: 6px; }
.sound-notes h2 { margin-bottom: 4px; }
.note h3 { font-size: 16px; font-weight: 650; letter-spacing: -.2px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.note h3 i { color: var(--accent2); font-size: 18px; }
.note p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* TIMER */
.timer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.presets { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 28px; }
.preset {
  padding: 10px 18px; border-radius: 10px;
  background: var(--surface2); border: 1px solid var(--border);
  font-size: 15px; font-weight: 600; color: #d4d4d8; font-variant-numeric: tabular-nums;
}
.preset.on { background: var(--accent-d); border-color: rgba(167,139,250,.5); color: var(--text); }
.fact-row { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15px; line-height: 1.7; padding-top: 18px; border-top: 1px solid var(--border); }
.fact-row + .fact-row { margin-top: 18px; }
.fact-row i { color: var(--accent2); font-size: 20px; margin-top: 2px; flex-shrink: 0; }
.fact-row strong { color: var(--text); font-weight: 600; }
.timer-shot { justify-self: center; width: min(300px, 100%); }

/* BENTO */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 16px; margin-top: 48px; }
.cell { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 30px; position: relative; overflow: hidden; }
.cell h3 { font-size: 18px; font-weight: 650; letter-spacing: -.3px; margin-bottom: 10px; }
.cell p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.cell .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-d); color: var(--accent2); display: grid; place-items: center; font-size: 21px; margin-bottom: 20px; }
.cell.clock { grid-column: span 3; grid-row: span 2; display: grid; grid-template-rows: auto 1fr; background: linear-gradient(180deg, #121022 0%, #0b0b14 100%); border-color: #2a2540; }
.cell.clock .clock-shot { margin: 28px auto -64px; width: min(240px, 72%); border-radius: 30px 30px 0 0; border: 1px solid #2f2a45; border-bottom: 0; overflow: hidden; }
.cell.clock .clock-shot img { width: 100%; aspect-ratio: 780 / 1300; object-fit: cover; object-position: top; }
.cell.screenoff { grid-column: span 3; }
.cell.morning { grid-column: span 3; }
.quote-msg {
  margin-top: 18px; padding: 14px 16px; border-radius: 12px;
  background: #121216; border: 1px solid var(--border2);
  font-size: 14px; color: #e4e4e7; display: flex; gap: 10px; align-items: center;
}
.quote-msg i { color: var(--lav); font-size: 18px; }
.cell.alarm, .cell.seam, .cell.offline { grid-column: span 2; }
.cell.alarm { background: linear-gradient(160deg, #1d1830 0%, var(--surface) 60%); border-color: #2d2744; }

/* TOUR */
.tour { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.shot { margin: 0; }
.shot-media { border-radius: 28px; padding: 6px; background: #141418; border: 1px solid var(--border); overflow: hidden; }
.shot-media img { border-radius: 23px; width: 100%; aspect-ratio: 780 / 1688; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .shot:hover .shot-media img { transform: scale(1.015); } }
.shot figcaption { padding-top: 16px; }
.shot figcaption strong { display: block; font-size: 15px; font-weight: 650; margin-bottom: 4px; }
.shot figcaption span { display: block; color: var(--muted2); font-size: 13.5px; line-height: 1.6; }

/* PRICE */
.price {
  max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--surface);
}
.price > div { padding: 40px; }
.price .free h2 { margin-bottom: 12px; }
.price .free p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.price .tiers { background: var(--surface2); border-left: 1px solid var(--border); display: grid; gap: 22px; align-content: center; }
.tier h3 { font-size: 13px; font-weight: 700; letter-spacing: .4px; color: var(--text); margin-bottom: 4px; }
.tier p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.tier.prem h3 { color: var(--accent2); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 16.5px; font-weight: 600; letter-spacing: -.2px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--muted2); font-size: 18px; transition: transform .25s var(--ease); flex-shrink: 0; }
.faq-item[open] summary i { transform: rotate(45deg); color: var(--accent2); }
.faq-item p { color: var(--muted); font-size: 15px; line-height: 1.75; padding: 0 40px 22px 0; max-width: 640px; }

/* FINAL */
.final { text-align: left; }
.final-card {
  position: relative; overflow: hidden;
  max-width: 1100px; margin: 0 auto; padding: 64px;
  border-radius: 24px; border: 1px solid #2d2744;
  background: radial-gradient(120% 140% at 100% 0%, rgba(139,92,246,.20), transparent 55%), var(--surface);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; align-items: center;
}
.final-card img.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 16px 40px rgba(5,4,20,.6); }
.final-card h2 { margin-bottom: 8px; }
.final-card p { color: var(--muted); font-size: 17px; }
.final-card .stores { flex-direction: column; }

/* FOOTER */
footer { padding: 36px 56px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--text); }
.footer-links a[aria-current] { color: var(--text); }
.footer-copy { flex-basis: 100%; color: var(--muted2); font-size: 13px; }

/* REVEAL */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }


/* RESPONSIVE */
@media (max-width: 960px) {
  .site-nav { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav-right { gap: 4px; }
  .nav-menu {
    display: flex; position: fixed; top: 62px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px; padding: 24px 20px;
    background: rgba(9,9,11,.98); border-bottom: 1px solid var(--border);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav-menu.active { opacity: 1; visibility: visible; transform: none; }
  .nav-menu ul { flex-direction: column; gap: 14px; margin-inline-end: 0; }
  .nav-cta { justify-content: center; }
  .hero { padding: 56px 20px 72px; }
  .hero-grid, .sounds-grid, .timer-grid, .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .phone-wrap { width: min(280px, 78%); }
  .section { padding: 72px 20px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .cell.clock, .cell.screenoff, .cell.morning, .cell.alarm, .cell.seam, .cell.offline { grid-column: auto; grid-row: auto; }
  .tour { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price { grid-template-columns: minmax(0, 1fr); }
  .price .tiers { border-left: 0; border-top: 1px solid var(--border); }
  .final-card { grid-template-columns: minmax(0, 1fr); padding: 40px 28px; gap: 28px; }
  .final-card .stores { flex-direction: row; }
  footer { padding: 28px 20px 64px; }
}
@media (max-width: 520px) {
  .hero h1 { letter-spacing: -1.6px; }
  .hero-sub { font-size: 17px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tour { grid-template-columns: minmax(0, 1fr); max-width: 300px; margin-left: auto; margin-right: auto; }
  .price > div { padding: 28px 24px; }
  .cell { padding: 24px; }
  .store { width: 100%; justify-content: center; }
  .faq-item p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .tile, .shot-media img, .faq-item summary i, .store, .nav-menu { transition: none; }
}

/* LEGAL PAGES */
.legal { padding: 64px 56px 96px; position: relative; overflow-x: clip; }
.legal::before {
  content: ""; position: absolute; top: -200px; left: -140px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(139,92,246,.12) 0%, transparent 65%); pointer-events: none;
}
.legal-grid { position: relative; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.legal-head { grid-column: 1 / -1; max-width: 760px; }
.legal-head h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -2px; line-height: 1.06; margin-bottom: 14px; }
.legal-head .date { color: var(--muted2); font-size: 14px; }
.toc { position: sticky; top: 94px; border-left: 1px solid var(--border); padding-left: 18px; }
.toc p { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted2); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 8px; }
.toc a { color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.45; display: block; transition: color .2s; }
.toc a:hover { color: var(--text); }
.legal-body { max-width: 720px; }
.legal-body > p:first-child { font-size: 18px; color: #d4d4d8; line-height: 1.75; }
.legal-body section { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--border); }
.legal-body h2 { font-size: 22px; letter-spacing: -.4px; line-height: 1.3; margin-bottom: 12px; }
.legal-body p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.legal-body p + p { margin-top: 14px; }
.legal-body a { color: var(--accent2); text-underline-offset: 3px; }
.legal-body a:hover { color: var(--text); }
.legal-body section[lang="ru"] { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border2); }
.legal-body section[lang="ru"] h2 { font-size: 28px; letter-spacing: -.8px; }
.legal-cta { margin-top: 28px; }
@media (max-width: 960px) {
  .legal { padding: 48px 20px 72px; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .toc { display: none; }
}

/* LANGUAGE MENU */
.language-menu { position: relative; flex-shrink: 0; }
.language-menu summary {
  width: 44px; height: 36px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer; list-style: none;
  transition: border-color .2s, background-color .2s;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu[open] summary { border-color: var(--accent); background: var(--surface2); }
.language-current-flag { font-size: 17px; line-height: 1; }
.language-menu .fa-chevron-down { font-size: 9px; color: var(--muted); transition: transform .2s var(--ease); }
.language-menu[open] .fa-chevron-down { transform: rotate(180deg); }
.language-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 120; width: 220px; max-height: min(440px, calc(100vh - 90px)); overflow-y: auto;
  padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 45px rgba(0,0,0,.4);
}
.language-option { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.language-option[aria-current] { background: var(--accent-d); color: var(--accent2); }
.language-flag { width: 22px; text-align: center; font-size: 17px; line-height: 1; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) {
  .language-menu summary:hover { border-color: var(--border2); background: var(--surface2); }
  .language-option:hover { background: var(--surface2); }
}
[dir="rtl"] .language-dropdown { right: auto; left: 0; }
[dir="rtl"] .toc { border-left: 0; border-right: 1px solid var(--border); padding-left: 0; padding-right: 18px; }
@media (max-width: 1279px) and (min-width: 961px) {
  .nav-menu ul { display: none; }
}
@media (max-width: 960px) {
  .language-dropdown { position: fixed; top: 70px; right: 16px; }
  [dir="rtl"] .language-dropdown { left: 16px; right: auto; }
}
@media (max-width: 520px) {
  .logo-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
