/* Aurora — Android landing (ported from web-aurora) */
:root {
  --bg: #05070d;
  --bg-2: #0a0f18;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.045);
  --border: rgba(214, 224, 255, 0.1);
  --border-strong: rgba(214, 224, 255, 0.2);
  --text: #f2f5fb;
  --muted: #93a0b5;
  --ice: #d7e3ff;
  --ice-2: #9ec5ff;
  --mint: #8fe3c8;
  --champagne: #e4d7b4;
  --radius: 28px;
  --radius-sm: 16px;
  --max: 1140px;
  --header-offset: 88px;
  --glass: rgba(12, 16, 26, 0.72);
  --glass-strong: rgba(10, 14, 22, 0.88);
  --font-display: "Manrope", Inter, system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", Inter, system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  -webkit-text-size-adjust: 100%;
}

body.page {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: var(--font-body);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* First-open page entrance */
.page-boot {
  position: fixed;
  inset: 0;
  z-index: 4000;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(158, 197, 255, 0.08), transparent 55%),
    var(--bg);
  opacity: 1;
  transition: opacity 0.7s ease, visibility 0.7s;
}

body.page.is-ready .page-boot {
  opacity: 0;
  visibility: hidden;
}

.page-enter {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  overflow-anchor: none;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar-slot,
.shell,
main,
.footer {
  overflow-anchor: none;
}

/* Header: fade only — transform would break sticky/fixed */
.topbar-slot.page-enter {
  transform: none;
}

.page-enter--1 { transition-delay: 0.04s; }
.page-enter--2 { transition-delay: 0.12s; }
.page-enter--3 { transition-delay: 0.22s; }
.page-enter--4 { transition-delay: 0.32s; }

body.page.is-ready .page-enter {
  opacity: 1;
  transform: none;
}

/* Large / display type */
h1,
h2,
h3,
.brand__name,
.hero h1,
.section__head h2,
.step h3,
.feature h3,
.tariff h3,
.tariff__price,
.product__title,
.faq__item summary {
  font-family: var(--font-display);
}

/* Regular / UI type */
p,
li,
.hero__lead,
.hero__badge,
.hero__stats,
.section__lead,
.eyebrow,
.brand__kicker,
.topbar__link,
.btn,
.step p,
.feature p,
.tariff__per,
.tariff li,
.product__desc,
.products__more,
.faq__body,
.footer,
.footer__nav,
.footer__trust-label,
.browser {
  font-family: var(--font-body);
}

.footer__brand strong {
  font-family: var(--font-display);
}

body.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(120, 150, 220, 0.18), transparent 58%),
    radial-gradient(ellipse 50% 40% at 0% 30%, rgba(80, 140, 170, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 35% at 100% 55%, rgba(90, 110, 180, 0.08), transparent 50%),
    linear-gradient(180deg, #05070d 0%, #080d16 45%, #060910 100%);
}

body.page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.aurora-sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.aurora-sky__ribbon {
  position: absolute;
  width: 70vmax;
  height: 28vmax;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: ribbon-drift 14s ease-in-out infinite;
}

.aurora-sky__ribbon--1 {
  top: -8%;
  left: -10%;
  background: linear-gradient(110deg, rgba(110, 190, 210, 0.35), rgba(120, 140, 220, 0.12), transparent 70%);
}

.aurora-sky__ribbon--2 {
  top: 8%;
  right: -18%;
  background: linear-gradient(210deg, rgba(150, 180, 255, 0.22), rgba(100, 200, 180, 0.1), transparent 72%);
  animation-delay: -4s;
}

.aurora-sky__ribbon--3 {
  top: 28%;
  left: 20%;
  width: 50vmax;
  height: 18vmax;
  background: linear-gradient(160deg, rgba(212, 200, 168, 0.08), transparent 65%);
  animation-delay: -8s;
  opacity: 0.22;
}

@keyframes ribbon-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg) scale(1); }
  50% { transform: translate3d(2%, 3%, 0) rotate(4deg) scale(1.04); }
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; font-weight: 800; }
p { margin: 0; }

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: rgba(214, 224, 255, 0.35);
  box-shadow: none;
}

/* Header scrolls with hero; pins only after leaving the viewport */
.topbar-slot {
  margin-top: 16px;
}

.topbar {
  position: relative;
  z-index: 1100;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border-strong);
  border-bottom-color: var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    border-radius 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.topbar.is-scrolled {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  margin: 0;
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
  will-change: transform, opacity;
}

.topbar.is-scrolled.is-entering {
  transform: translate3d(0, calc(-100% - 24px), 0);
  opacity: 0;
  pointer-events: none;
}

.topbar.is-scrolled .topbar__inner {
  border-radius: var(--radius);
  border-bottom-color: var(--border-strong);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Hero shell — continues the same glass panel under the header */
.shell {
  margin-top: 0;
  border: 1px solid var(--border-strong);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--glass);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: clip;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
}

.brand:hover { color: inherit; }

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.55), transparent 22%),
    radial-gradient(circle at 68% 78%, rgba(96, 165, 250, 0.65), transparent 46%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.88), rgba(96, 165, 250, 0.8));
  box-shadow:
    0 8px 22px rgba(96, 165, 250, 0.28),
    0 0 28px rgba(139, 92, 246, 0.16),
    inset 0 1px 8px rgba(255, 255, 255, 0.3),
    inset 0 -6px 14px rgba(6, 12, 28, 0.2);
  animation: logo-melt 5.8s ease-in-out infinite;
}

.brand__logo::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(circle at 42% 36%, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.2) 45%, transparent 62%);
  filter: blur(3px);
  opacity: 0.75;
  animation: logo-caustic 4.8s ease-in-out infinite;
}

.brand__logo::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 58%);
  opacity: 0.45;
  animation: logo-rim 5.8s ease-in-out infinite;
}

@keyframes logo-melt {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-1px, 1px, 0) scale(1.04); }
}

@keyframes logo-caustic {
  0%, 100% { transform: translate(-14%, -8%) rotate(-4deg); opacity: 0.45; }
  50% { transform: translate(8%, 6%) rotate(8deg); opacity: 0.82; }
}

@keyframes logo-rim {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.98); }
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice);
}

.brand__name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.topbar__link {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.topbar__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.topbar .btn--sm {
  margin-left: 6px;
}

.topbar__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.topbar__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s;
}

.topbar.is-open .topbar__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar.is-open .topbar__toggle-bar:nth-child(2) { opacity: 0; }
.topbar.is-open .topbar__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn__icon { flex-shrink: 0; }
.btn--block { width: 100%; }
.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn--light {
  background: #f4f7ff;
  color: #0b1220;
  box-shadow: 0 10px 28px rgba(180, 200, 255, 0.14);
}

.btn--light:hover {
  color: #0b1220;
  background: #fff;
  box-shadow: 0 14px 34px rgba(180, 200, 255, 0.22);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(214, 224, 255, 0.16);
  color: var(--text);
}

.btn--ghost:hover {
  color: #fff;
  border-color: rgba(214, 224, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

/* Hero — bottom of the same shell */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px 40px;
  align-items: center;
  padding: 36px 28px 40px;
  background:
    radial-gradient(ellipse 70% 80% at 90% 20%, rgba(126, 200, 192, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 70% at 10% 90%, rgba(120, 150, 220, 0.08), transparent 50%);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 224, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice);
}

.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(143, 227, 200, 0.55);
  animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(143, 227, 200, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(143, 227, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 227, 200, 0); }
}

.hero h1 {
  max-width: 16ch;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.12;
  font-weight: 800;
  color: #f5f8ff;
}

.hero__brand {
  display: inline;
  color: #fff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow: 0 0 28px rgba(158, 197, 255, 0.2);
}

.hero__lead {
  margin-top: 16px;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 500;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  max-width: 36rem;
}

.hero__stats li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.28em;
  margin: 0;
  padding: 2px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}

.hero__stats li:first-child {
  padding-left: 0;
}

.hero__stats li + li {
  border-left: 1px solid rgba(214, 224, 255, 0.14);
}

.hero__stats-value {
  color: #e8eefc;
  font-weight: 750;
  letter-spacing: -0.02em;
}

/* Hero visual — glass browser window, same material as the shell */
.hero__visual {
  display: grid;
  place-items: center;
  min-height: 340px;
}

.hero-stage {
  position: relative;
  width: min(100%, 420px);
  padding: 12px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 8% 4% 4%;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(158, 197, 255, 0.14), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(143, 227, 200, 0.08), transparent 50%);
  filter: blur(22px);
  animation: stage-glow 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-window {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 40%),
    rgba(10, 14, 22, 0.78);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  animation: window-float 7s ease-in-out infinite;
}

.hero-window__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(214, 224, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.hero-window__dots,
.hero-window__dots::before,
.hero-window__dots::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(214, 224, 255, 0.22);
}

.hero-window__dots {
  position: relative;
  margin-right: 18px;
}

.hero-window__dots::before,
.hero-window__dots::after {
  content: "";
  position: absolute;
  top: 0;
}

.hero-window__dots::before { left: 12px; }
.hero-window__dots::after { left: 24px; }

.hero-window__url {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(214, 224, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.hero-window__url:hover {
  border-color: rgba(214, 224, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
}

.hero-window__url:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(158, 197, 255, 0.45);
}

.hero-window__ssl {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  color: #3dd68c;
  filter: drop-shadow(0 0 6px rgba(61, 214, 140, 0.35));
}

.hero-window__host {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-window__body {
  position: relative;
  min-height: 280px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(158, 197, 255, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}

.hero-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.hero-scene.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-scene[hidden] {
  display: block !important;
}

.hero-scene--fade .gpt-sim {
  animation: scene-in 0.4s ease both;
}

@keyframes scene-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ChatGPT simulator scene */
.gpt-sim {
  display: grid;
  grid-template-columns: 44px 1fr;
  height: 100%;
  min-height: 280px;
  background: #212121;
  color: #ececec;
  font-family: var(--font-body);
}

.gpt-sim__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: #171717;
}

.gpt-sim__rail-btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.gpt-sim__rail-item {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.gpt-sim__rail-item.is-active {
  background: rgba(255, 255, 255, 0.18);
}

.gpt-sim__main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.gpt-sim__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 8px;
  font-size: 13px;
  font-weight: 650;
}

.gpt-sim__logo {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}

.gpt-sim__thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 14px 10px;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.gpt-sim__thread.is-typing .gpt-sim__msg--user {
  animation: gpt-user-in 0.28s ease both;
}

@keyframes gpt-user-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.gpt-sim__msg {
  max-width: 92%;
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 500;
}

.gpt-sim__msg--user {
  align-self: flex-end;
  padding: 8px 12px;
  border-radius: 16px;
  background: #2f2f2f;
  color: #f5f5f5;
}

.gpt-sim__msg--bot {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  align-items: start;
  color: #d9d9d9;
}

.gpt-sim__msg--bot p {
  margin: 0;
}

.gpt-sim__msg--bot em {
  font-style: normal;
  color: #fff;
  font-weight: 650;
}

.gpt-sim__bot-mark {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 4px;
  display: block;
  object-fit: cover;
}

.gpt-sim__cursor {
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 1px;
  vertical-align: -2px;
  border-radius: 1px;
  background: #ececec;
  animation: gpt-blink 0.9s steps(1) infinite;
}

.gpt-sim__cursor.is-done {
  display: none;
}

@keyframes gpt-blink {
  50% { opacity: 0; }
}

.gpt-sim__prompts {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.gpt-sim__prompts::-webkit-scrollbar {
  display: none;
}

.gpt-sim__footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 12px 12px;
  background: linear-gradient(180deg, rgba(33, 33, 33, 0.92), #212121 30%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.gpt-sim__prompt {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #2a2a2a;
  color: #e8e8e8;
  border-radius: 999px;
  padding: 5px 10px;
  font: inherit;
  font-size: 10.5px;
  font-weight: 550;
  line-height: 1.25;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  flex: 0 0 auto;
  text-align: left;
}

.gpt-sim__prompt:hover,
.gpt-sim__prompt:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  outline: none;
}

.gpt-sim__prompt.is-active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.gpt-sim__prompt:disabled {
  opacity: 0.55;
  cursor: default;
}

.gpt-sim__composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #2f2f2f;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.gpt-sim__send {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  flex-shrink: 0;
}

.gpt-sim__send::before {
  content: "";
  position: absolute;
  inset: 6px 7px 7px;
  border-left: 2px solid #111;
  border-top: 2px solid #111;
  transform: rotate(135deg);
  transform-origin: center;
}

.hero-popup {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: min(calc(100% - 32px), 280px);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(214, 224, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 50%),
    rgba(12, 16, 26, 0.92);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  animation: popup-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  touch-action: none;
  will-change: left, top;
}

.hero-popup.is-dragging {
  animation: none;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(214, 224, 255, 0.12);
  cursor: grabbing;
}

.hero-popup__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -6px -6px 0;
  padding: 6px;
  border-radius: 12px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.hero-popup.is-dragging .hero-popup__head {
  cursor: grabbing;
}

.hero-popup__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.55), transparent 22%),
    radial-gradient(circle at 68% 78%, rgba(96, 165, 250, 0.65), transparent 46%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.88), rgba(96, 165, 250, 0.8));
  box-shadow:
    0 8px 20px rgba(96, 165, 250, 0.28),
    inset 0 1px 6px rgba(255, 255, 255, 0.28);
}

.hero-popup__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero-popup__meta strong {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.hero-popup__meta span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.hero-popup__action {
  display: grid;
  place-items: center;
  margin-top: 16px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: #f4f7ff;
  color: #0b1220;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 8px 20px rgba(180, 200, 255, 0.12);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hero-popup__action:hover {
  color: #0b1220;
  background: #fff;
  box-shadow: 0 10px 24px rgba(180, 200, 255, 0.18);
  transform: translateY(-1px);
}

.hero-popup__note {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.35;
}

.hero-popup__browsers {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  margin: 14px 0 0;
  padding: 12px 10px 2px;
  border-top: 1px solid rgba(214, 224, 255, 0.1);
}

.hero-popup__browsers li {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-popup__browsers img {
  width: 22px;
  height: 22px;
  opacity: 0.92;
}

@keyframes stage-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}

@keyframes window-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes popup-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Sections — soft panels with gentle variation */
.section {
  position: relative;
  isolation: isolate;
  margin-top: 20px;
  padding: 44px 34px 48px;
  border-radius: 36px;
  border: 1px solid transparent;
  background:
    radial-gradient(ellipse 90% 70% at 8% 12%, rgba(158, 197, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 60% at 92% 88%, rgba(143, 227, 200, 0.04), transparent 50%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008) 45%, transparent 80%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(214, 224, 255, 0.04);
}

.section::before {
  content: "";
  position: absolute;
  inset: 10% 18% auto;
  height: 45%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(158, 197, 255, 0.08), transparent 70%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
}

.section:first-child {
  margin-top: 32px;
}

/* Break monotony: shift light, tint and spacing */
.section:nth-child(3n + 2) {
  margin-top: 28px;
  padding: 48px 36px 52px;
  border-radius: 40px 32px 40px 32px;
  background:
    radial-gradient(ellipse 85% 75% at 88% 18%, rgba(158, 197, 255, 0.08), transparent 52%),
    radial-gradient(ellipse 65% 55% at 12% 90%, rgba(139, 92, 246, 0.05), transparent 48%),
    linear-gradient(195deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006) 50%, transparent 85%);
}

.section:nth-child(3n + 2)::before {
  inset: auto 10% 8% 40%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(143, 227, 200, 0.07), transparent 70%);
}

.section:nth-child(3n + 3) {
  margin-top: 24px;
  padding: 42px 38px 50px;
  border-radius: 32px 40px 32px 40px;
  background:
    radial-gradient(ellipse 80% 65% at 50% 0%, rgba(214, 224, 255, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(96, 165, 250, 0.05), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 70%);
}

.section:nth-child(3n + 3)::before {
  inset: 30% 30% auto 30%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(96, 165, 250, 0.07), transparent 70%);
}

.section[id] {
  scroll-margin-top: 24px;
}

.section__head {
  margin-bottom: 32px;
  max-width: 40rem;
}

.section__head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 750;
}

.section__lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  max-width: 46ch;
}

.browsers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid rgba(214, 224, 255, 0.12);
  border-bottom: 1px solid rgba(214, 224, 255, 0.12);
}

.browser {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

.browser + .browser {
  border-left: 1px solid rgba(214, 224, 255, 0.1);
}

.browser:hover { color: var(--text); }

.browser img {
  width: 40px;
  height: 40px;
  opacity: 0.92;
  transition: opacity 0.2s, transform 0.2s;
}

.browser:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.step {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 8px 28px 8px 0;
  border: 0;
  background: none;
  border-radius: 0;
}

.step + .step {
  padding-left: 28px;
  border-left: 1px solid rgba(214, 224, 255, 0.12);
}

.step__num {
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: none;
  color: var(--ice);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.step p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  max-width: 30ch;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
}

.feature {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  transition: none;
}

.feature:hover {
  transform: none;
  border-color: transparent;
  background: none;
}

.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature h3::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin-bottom: 16px;
  background: rgba(214, 224, 255, 0.35);
}

.feature p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

/* Tariffs — unified card layout */
.tariffs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.tariff {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 42px 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(214, 224, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.22s, background 0.22s;
}

.tariff:hover {
  border-color: rgba(214, 224, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.tariff--recommended,
.tariff--best {
  border-color: rgba(158, 197, 255, 0.28);
  background: rgba(158, 197, 255, 0.05);
}

/* Badge sits in reserved top padding — titles stay aligned */
.tariff__badge {
  position: absolute;
  top: 14px;
  left: 18px;
  right: 18px;
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  color: var(--ice);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tariff__badge--empty {
  display: none;
}

.tariff__badge--best {
  color: var(--mint);
}

.tariff h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  color: var(--muted);
}

.tariff__price {
  margin: 2px 0 0;
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}

.tariff__per {
  margin: 0;
  min-height: 1.35em;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.tariff__per--hl { color: var(--mint); }

.tariff ul {
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 8px 0 0;
  flex: 1;
}

.tariff li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.tariff li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(214, 224, 255, 0.4);
}

.tariff .btn {
  margin-top: 14px;
  min-height: 42px;
  padding: 0 14px;
  font-size: 14px;
}

/* Products */
.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(214, 224, 255, 0.12);
  border-bottom: 1px solid rgba(214, 224, 255, 0.12);
}

.product {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  border: 0;
  border-radius: 0;
  background: none;
  transition: background 0.2s, color 0.2s;
}

.product + .product {
  border-left: 1px solid rgba(214, 224, 255, 0.1);
}

.product:hover {
  color: inherit;
  transform: none;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.03);
}

.product--current .product__title {
  color: var(--ice);
}

.product__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ice);
}

.product__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.product__desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.products__more {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.products__more a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ — exclusive accordion with smooth panel */
.faq {
  display: grid;
  gap: 0;
  max-width: 720px;
  border-top: 1px solid rgba(214, 224, 255, 0.12);
}

.faq__item {
  border: 0;
  border-bottom: 1px solid rgba(214, 224, 255, 0.12);
  border-radius: 0;
  background: none;
  overflow: hidden;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -0.01em;
  position: relative;
  transition: color 0.2s;
  scroll-margin-top: var(--header-offset);
  user-select: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary:hover {
  color: #fff;
  background: none;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__item.is-open summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__item.is-open .faq__panel {
  grid-template-rows: 1fr;
}

.faq__body {
  overflow: hidden;
  padding: 0;
  min-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.35s ease;
}

.faq__item.is-open .faq__body {
  padding: 0 0 18px;
  opacity: 1;
  transform: none;
}

.faq__body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  max-width: 54ch;
}

.faq__body a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .faq__panel,
  .faq__body,
  .faq__item summary::after {
    transition: none !important;
  }
}

/* Footer */
.footer {
  padding: 28px 0 48px;
  margin-top: 12px;
}

/* Telegram news banner */
.tg-news {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px 18px;
  padding: 20px 22px;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  background:
    radial-gradient(ellipse 70% 90% at 0% 50%, rgba(42, 171, 238, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(42, 171, 238, 0.12), rgba(255, 255, 255, 0.03) 55%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(42, 171, 238, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tg-news:hover {
  color: inherit;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(42, 171, 238, 0.42),
    0 16px 36px -20px rgba(42, 171, 238, 0.45);
}

.tg-news__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #2AABEE, #229ED9);
  box-shadow: 0 10px 22px rgba(34, 158, 217, 0.35);
  flex-shrink: 0;
}

.tg-news__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tg-news__copy strong {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tg-news__copy span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.tg-news__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 12px;
  background: #2AABEE;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(34, 158, 217, 0.28);
}

.tg-news:hover .tg-news__action {
  background: #34b7f1;
}

.topbar__link--tg {
  color: #7dd3f5;
}

.topbar__link--tg:hover {
  color: #b8e9fb;
}

.footer__panel {
  position: relative;
  isolation: isolate;
  padding: 28px 32px 26px;
  border-radius: 36px;
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(158, 197, 255, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(139, 92, 246, 0.04), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(214, 224, 255, 0.05);
}

.footer__panel::before {
  content: "";
  position: absolute;
  inset: 8% 20% auto;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(158, 197, 255, 0.07), transparent 70%);
  filter: blur(26px);
  z-index: -1;
  pointer-events: none;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
}

.footer__brand:hover { color: inherit; }

.footer__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.55), transparent 22%),
    radial-gradient(circle at 68% 78%, rgba(96, 165, 250, 0.65), transparent 46%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.88), rgba(96, 165, 250, 0.8));
  box-shadow:
    0 8px 20px rgba(96, 165, 250, 0.22),
    inset 0 1px 6px rgba(255, 255, 255, 0.28);
}

.footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.footer__brand-text strong {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.footer__brand-text span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.footer__nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
}

.footer__nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.footer__trust {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(214, 224, 255, 0.08);
}

.footer__trust-label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Official mark */
#official-mark-slot {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.official-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(214, 224, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.official-mark:hover,
.official-mark:focus,
.official-mark:active {
  text-decoration: none;
  color: inherit;
  border-color: rgba(214, 224, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.official-mark--footer {
  min-width: 260px;
  max-width: 360px;
}

.official-mark__seal {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.official-mark__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.official-mark__title {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  color: var(--text);
}

.official-mark__sub {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.25;
}

.btn:focus-visible,
.topbar__link:focus-visible,
.topbar__toggle:focus-visible,
.product:focus-visible,
.faq__item summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(158, 197, 255, 0.55);
}

/* Reveal — above-the-fold hero stays visible immediately */
.hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 20px 28px;
  }

  .hero h1 { max-width: none; }
  .hero__visual { min-height: 280px; order: -1; }
  .hero-stage { width: min(100%, 380px); }
  .hero-window__body { min-height: 220px; }
  .browsers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .browser:nth-child(3n + 1) { border-left: 0; }
  .browser:nth-child(n + 4) {
    border-top: 1px solid rgba(214, 224, 255, 0.1);
  }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step,
  .step + .step {
    padding: 0;
    border-left: 0;
  }
  .features { grid-template-columns: 1fr; gap: 28px; }
  .tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product:nth-child(2n + 1) { border-left: 0; }
  .product:nth-child(n + 3) {
    border-top: 1px solid rgba(214, 224, 255, 0.1);
  }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 78px; }

  .topbar-slot {
    margin-top: 10px;
  }

  .topbar.is-scrolled {
    top: 8px;
  }

  .topbar__inner {
    padding: 12px 14px;
    border-radius: 22px 22px 0 0;
    position: relative;
  }

  .topbar.is-scrolled .topbar__inner {
    border-radius: 22px;
  }

  .shell {
    border-radius: 0 0 22px 22px;
  }

  .topbar__toggle { display: inline-flex; }

  .topbar__nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(10, 18, 32, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 20;
  }

  .topbar.is-open .topbar__nav { display: flex; }
  .topbar__link { padding: 12px 14px; }
  .topbar .btn--sm {
    margin: 6px 0 0;
    width: 100%;
  }

  .section,
  .section:nth-child(3n + 2),
  .section:nth-child(3n + 3) {
    margin-top: 14px;
    padding: 30px 20px 34px;
    border-radius: 26px;
  }
  .section:first-child { margin-top: 22px; }
  .browsers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browser:nth-child(3n + 1) { border-left: 1px solid rgba(214, 224, 255, 0.1); }
  .browser:nth-child(2n + 1) { border-left: 0; }
  .browser:nth-child(n + 3) {
    border-top: 1px solid rgba(214, 224, 255, 0.1);
  }
  .tariffs { grid-template-columns: 1fr; }

  .footer__panel {
    padding: 22px 20px 20px;
    border-radius: 26px;
  }

  .tg-news {
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 18px;
  }

  .tg-news__action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .tg-news__copy strong {
    font-size: 16px;
  }

  .footer__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__nav {
    justify-content: flex-start;
    margin: 0 -6px;
  }

  .footer__trust {
    margin-top: 18px;
    padding-top: 16px;
  }

  .official-mark--footer {
    min-width: 0;
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 20px, var(--max)); }
  .hero { padding: 20px 16px 24px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero__stats li,
  .hero__stats li:first-child { padding: 0; }
  .hero__stats li + li { border-left: 0; }
  .products { grid-template-columns: 1fr; }
  .product,
  .product + .product {
    border-left: 0;
    border-top: 1px solid rgba(214, 224, 255, 0.1);
  }
  .product:first-child { border-top: 0; }
  .hero-popup { width: min(100%, 260px); padding: 16px; }
  .hero-popup__browsers li { width: 32px; height: 32px; }
  .hero-popup__browsers img { width: 20px; height: 20px; }
}

/* —— Android: phone hero —— */
.hero-stage--phone {
  width: min(100%, 300px);
  padding: 8px 18px;
}

.phone-frame {
  position: relative;
  border-radius: 36px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 35%),
    rgba(8, 12, 20, 0.92);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: visible;
  animation: window-float 7s ease-in-out infinite;
}

.phone-frame.is-off {
  animation: none;
}

/* Hardware side buttons */
.phone-hw {
  position: absolute;
  z-index: 3;
  border: 0;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04) 40%, rgba(0, 0, 0, 0.25)),
    #1a2230;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.phone-hw--vol {
  left: -5px;
  top: 96px;
  width: 5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.phone-hw__btn {
  display: block;
  width: 5px;
  height: 34px;
  border: 0;
  border-radius: 3px 0 0 3px;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 45%, rgba(0, 0, 0, 0.28)),
    #1a2230;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 2px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.phone-hw__btn:active,
.phone-hw__btn.is-pressed {
  transform: translateX(1.5px);
  filter: brightness(0.85);
}

.phone-hw--power {
  right: -5px;
  top: 118px;
  width: 5px;
  height: 52px;
  border-radius: 0 3px 3px 0;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.phone-hw--power:active,
.phone-hw--power.is-pressed {
  transform: translateX(-1.5px);
  filter: brightness(0.85);
}

.phone-frame__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 88px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 14px;
  background: #05070d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.phone-frame__screen {
  position: relative;
  border-radius: 35px;
  overflow: hidden;
  height: 500px;
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(158, 197, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #0b1220, #070b12 70%);
  transition: filter 0.35s ease, opacity 0.35s ease;
  scrollbar-width: none;
}

.phone-frame__screen::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.phone-frame__off {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: end center;
  padding-bottom: 36px;
  background: #02040a;
  color: rgba(214, 224, 255, 0.35);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.phone-frame.is-off .phone-frame__off {
  opacity: 1;
  visibility: visible;
}

.phone-frame.is-off .phone-scene {
  opacity: 0;
  pointer-events: none;
}

.phone-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
  transform: translateY(8px);
}

.phone-scene.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.phone-scene[hidden] {
  display: block !important;
}

.phone-scene--aurora {
  padding: 34px 14px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-scene--yt {
  display: flex;
  flex-direction: column;
  background: #0f0f0f;
  color: #f1f1f1;
}

.phone-app {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-height: 0;
  width: 100%;
  padding: 4px 2px 0;
  transition: opacity 0.28s ease;
}

.phone-app__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 4px 4px 10px;
  color: var(--ice);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.phone-app__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 25%, #fff 0 18%, transparent 19%),
    linear-gradient(145deg, #9ec5ff, #5a8fd4 55%, #2a4a7a);
  box-shadow: 0 6px 16px rgba(94, 150, 230, 0.35);
}

.phone-app__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 224, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.phone-app__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(143, 227, 200, 0.55);
  animation: phone-pulse 2.2s ease-out infinite;
  transition: background 0.25s ease;
}

@keyframes phone-pulse {
  0% { box-shadow: 0 0 0 0 rgba(143, 227, 200, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(143, 227, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 227, 200, 0); }
}

.phone-app__power {
  margin-top: 18px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(214, 224, 255, 0.22);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.16), transparent 45%),
    linear-gradient(160deg, rgba(158, 197, 255, 0.28), rgba(20, 28, 44, 0.9));
  color: var(--ice);
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  flex-shrink: 0;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    filter 0.2s ease;
}

.phone-app__power:hover {
  filter: brightness(1.06);
}

.phone-app__power:active,
.phone-app__power.is-pressed {
  transform: scale(0.9);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.4),
    inset 0 2px 8px rgba(0, 0, 0, 0.35);
}

.phone-app__power.is-on {
  border-color: rgba(143, 227, 200, 0.55);
  color: #dffaf0;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(160deg, rgba(143, 227, 200, 0.45), rgba(24, 56, 48, 0.95));
  box-shadow:
    0 0 0 6px rgba(143, 227, 200, 0.12),
    0 16px 36px rgba(40, 120, 90, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  animation: phone-power-glow 1.8s ease-in-out infinite;
}

.phone-app__power.is-on:active,
.phone-app__power.is-on.is-pressed {
  animation: none;
  transform: scale(0.9);
}

@keyframes phone-power-glow {
  0%, 100% { box-shadow: 0 0 0 6px rgba(143, 227, 200, 0.1), 0 16px 36px rgba(40, 120, 90, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.16); }
  50% { box-shadow: 0 0 0 10px rgba(143, 227, 200, 0.18), 0 18px 40px rgba(40, 120, 90, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
}

.phone-frame.is-connected .phone-app__status {
  border-color: rgba(143, 227, 200, 0.3);
  background: rgba(143, 227, 200, 0.08);
  color: var(--mint);
}

.phone-frame.is-connected .phone-app__pulse {
  background: #3dd68c;
}

.phone-app__hint {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  transition: color 0.25s ease;
  flex-shrink: 0;
}

.phone-frame.is-connected .phone-app__hint {
  color: var(--mint);
}

.phone-app__meta {
  list-style: none;
  margin: auto 0 0;
  padding: 10px 0 0;
  width: 100%;
  display: grid;
  gap: 6px;
  border-top: 1px solid rgba(214, 224, 255, 0.1);
  flex-shrink: 0;
}

.phone-app__meta li {
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.phone-app__volume {
  position: absolute;
  top: 54px;
  left: 50%;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100% - 16px, 180px);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(214, 224, 255, 0.14);
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateX(-50%) translateY(-6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.phone-app__volume.is-visible,
.phone-app__volume:not([hidden]) {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.phone-app__volume[hidden] {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
}

.phone-app__volume-icon {
  color: var(--ice);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.phone-app__volume-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(214, 224, 255, 0.12);
  overflow: hidden;
}

.phone-app__volume-fill {
  display: block;
  height: 100%;
  width: 60%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ice-2), var(--mint));
  transition: width 0.18s ease;
}

/* YouTube demo scene */
.yt-chrome {
  flex-shrink: 0;
  padding: 28px 8px 0;
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.yt-chrome__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 6px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.yt-chrome__icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.yt-chrome__sig,
.yt-chrome__wifi,
.yt-chrome__bat {
  display: block;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1px;
}

.yt-chrome__sig {
  width: 12px;
  height: 8px;
  clip-path: polygon(0 100%, 25% 70%, 25% 100%, 50% 40%, 50% 100%, 75% 15%, 75% 100%, 100% 0, 100% 100%, 0 100%);
}

.yt-chrome__wifi {
  width: 11px;
  height: 8px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-bottom: 0;
}

.yt-chrome__bat {
  width: 14px;
  height: 7px;
  border-radius: 1.5px;
  box-shadow: inset 8px 0 0 rgba(255, 255, 255, 0.85);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  position: relative;
}

.yt-chrome__bat::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 1.5px;
  width: 2px;
  height: 3px;
  border-radius: 0 1px 1px 0;
  background: rgba(255, 255, 255, 0.85);
}

.yt-chrome__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px 8px;
}

.yt-chrome__back {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.yt-chrome__back[hidden] {
  display: none !important;
}

.yt-chrome__url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #272727;
  color: #aaa;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-body);
}

.yt-chrome__lock {
  color: #3dd68c;
  flex-shrink: 0;
}

.yt-chrome__host {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f1f1f1;
}

.yt-chrome__caret {
  width: 1px;
  height: 12px;
  background: #f1f1f1;
  animation: yt-caret 0.9s step-end infinite;
  opacity: 0;
}

.yt-chrome__caret.is-on {
  opacity: 1;
}

@keyframes yt-caret {
  50% { opacity: 0; }
}

.yt-chrome__aurora {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  background:
    radial-gradient(circle at 30% 25%, #fff 0 16%, transparent 17%),
    linear-gradient(145deg, #9ec5ff, #2a4a7a);
  box-shadow: 0 0 0 0 rgba(143, 227, 200, 0.35);
  animation: phone-pulse 2.4s ease-out infinite;
}

.yt-chrome__aurora-dot {
  display: none;
}

.yt-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.yt-boot,
.yt-home,
.yt-watch {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
}

.yt-boot.is-active,
.yt-home.is-active,
.yt-watch.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.yt-boot[hidden],
.yt-home[hidden],
.yt-watch[hidden] {
  display: block !important;
}

.yt-boot {
  display: grid;
  place-content: center;
  gap: 12px;
  text-align: center;
  color: #aaa;
  font-size: 11px;
  font-weight: 600;
  background: #0f0f0f;
}

.yt-boot p { margin: 0; }

.yt-boot__spinner {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: #ff0033;
  animation: yt-spin 0.7s linear infinite;
}

@keyframes yt-spin {
  to { transform: rotate(360deg); }
}

.yt-home {
  overflow: hidden;
  padding: 8px 0 12px;
  background: #0f0f0f;
}

.yt-home__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.yt-logo {
  width: 22px;
  height: 16px;
  border-radius: 5px;
  background: #ff0033;
  display: grid;
  place-items: center;
}

.yt-logo__play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.yt-home__actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.yt-home__actions span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.yt-chips {
  display: flex;
  gap: 6px;
  padding: 0 12px 12px;
  overflow: hidden;
}

.yt-chips span {
  padding: 5px 10px;
  border-radius: 8px;
  background: #272727;
  color: #f1f1f1;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.yt-chips span.is-on {
  background: #f1f1f1;
  color: #0f0f0f;
}

.yt-card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 0 14px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.yt-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  margin: 0 0 8px;
  background:
    radial-gradient(circle at 30% 40%, rgba(158, 197, 255, 0.45), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(255, 0, 51, 0.35), transparent 42%),
    linear-gradient(145deg, #1b2740, #0b1220 55%, #2a1530);
  overflow: hidden;
}

.yt-card__glow {
  position: absolute;
  inset: -20%;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18), transparent 70%);
  animation: yt-shine 3.2s ease-in-out infinite;
}

@keyframes yt-shine {
  0%, 100% { transform: translateX(-30%); }
  50% { transform: translateX(30%); }
}

.yt-card__duration {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.yt-card__meta {
  display: flex;
  gap: 8px;
  padding: 0 12px;
}

.yt-card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 30% 25%, #fff 0 16%, transparent 17%),
    linear-gradient(145deg, #9ec5ff, #2a4a7a);
}

.yt-card__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.yt-card__text strong {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  color: #f1f1f1;
}

.yt-card__text em {
  font-style: normal;
  font-size: 10px;
  color: #aaa;
}

.yt-card--ghost {
  pointer-events: none;
  opacity: 0.55;
  display: none;
}

.yt-card--ghost .yt-card__thumb {
  background: #212121;
}

.yt-card--ghost .yt-card__text strong,
.yt-card--ghost .yt-card__text em {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #272727;
}

.yt-card--ghost .yt-card__text strong { width: 78%; }
.yt-card--ghost .yt-card__text em { width: 52%; margin-top: 4px; }
.yt-card--ghost .yt-card__avatar { background: #272727; }

.yt-card.is-pressing {
  transform: scale(0.985);
  opacity: 0.92;
}

.yt-watch {
  display: flex;
  flex-direction: column;
  background: #0f0f0f;
  overflow: hidden;
}

.yt-player {
  position: relative;
  background: #000;
  flex-shrink: 0;
}

.yt-player__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(40, 80, 140, 0.45), transparent 55%),
    linear-gradient(180deg, #101820, #05070d);
}

.yt-player__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.75;
  animation: yt-orb 6s ease-in-out infinite;
}

.yt-player__orb--1 {
  width: 90px;
  height: 90px;
  left: 8%;
  top: 20%;
  background: rgba(158, 197, 255, 0.55);
}

.yt-player__orb--2 {
  width: 70px;
  height: 70px;
  right: 12%;
  top: 18%;
  background: rgba(255, 0, 51, 0.4);
  animation-delay: -2s;
}

.yt-player__orb--3 {
  width: 110px;
  height: 60px;
  left: 28%;
  bottom: 8%;
  background: rgba(143, 227, 200, 0.35);
  animation-delay: -3.5s;
}

@keyframes yt-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10px, -8px) scale(1.12); }
}

.yt-player__title-burn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(242, 245, 251, 0.92);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  animation: yt-title-pulse 3.5s ease-in-out infinite;
}

@keyframes yt-title-pulse {
  0%, 100% { opacity: 0.82; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.yt-player__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.yt-watch.is-playing .yt-player__controls {
  opacity: 1;
}

.yt-player__play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
}

.yt-player__time { margin-right: auto; }

.yt-player__vol,
.yt-player__fs {
  width: 12px;
  height: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 2px;
}

.yt-player__vol {
  clip-path: polygon(0 30%, 40% 30%, 70% 0, 70% 100%, 40% 70%, 0 70%);
  border: 0;
  background: #fff;
}

.yt-player__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.yt-player__buf,
.yt-player__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
}

.yt-player__buf { background: rgba(255, 255, 255, 0.35); }
.yt-player__bar { background: #ff0033; }

.yt-player__knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #ff0033;
  box-shadow: 0 0 0 2px rgba(255, 0, 51, 0.25);
  opacity: 0;
}

.yt-watch.is-playing .yt-player__knob { opacity: 1; }

.yt-watch__info {
  padding: 8px 12px 10px;
  display: grid;
  gap: 5px;
  min-height: 0;
  overflow: hidden;
}

.yt-watch__info > strong {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.yt-watch__info > em {
  font-style: normal;
  font-size: 10px;
  color: #aaa;
}

.yt-watch__channel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.yt-watch__channel span:nth-child(2) {
  display: grid;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.yt-watch__channel b {
  font-size: 11px;
  font-weight: 700;
}

.yt-watch__channel i {
  font-style: normal;
  font-size: 9px;
  color: #aaa;
}

.yt-watch__sub {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f1f1;
  color: #0f0f0f;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.yt-watch__actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.yt-watch__actions span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #272727;
  font-size: 9px;
  font-weight: 650;
}

/* Platforms */
.platforms {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.platform {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}

.platform__icon {
  color: var(--ice-2);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}

.platform__title {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.platform__desc {
  font-size: 13px;
  line-height: 1.4;
}

/* APK download overlay */
.apk-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.apk-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.apk-overlay[hidden] {
  display: none !important;
}

.apk-overlay.is-open[hidden] {
  display: flex !important;
}

.apk-overlay__dialog {
  position: relative;
  width: min(100%, 440px);
  max-height: min(90vh, 640px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 28px 26px 24px;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 40%),
    var(--glass-strong);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.28s ease;
}

.apk-overlay.is-open .apk-overlay__dialog {
  transform: none;
}

.apk-overlay__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.apk-overlay__close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.apk-overlay__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-right: 28px;
}

.apk-overlay__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background:
    url("/assets/brand/logo-512.png") center / cover no-repeat,
    linear-gradient(145deg, #9ec5ff, #2a4a7a);
  box-shadow: 0 8px 20px rgba(94, 150, 230, 0.3);
}

.apk-overlay__header h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ice);
}

.apk-overlay__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.apk-overlay__lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.apk-overlay__info {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.apk-overlay__row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
}

.apk-overlay__row svg {
  color: var(--ice-2);
  flex-shrink: 0;
}

.apk-overlay__warn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(228, 215, 180, 0.28);
  background: rgba(228, 215, 180, 0.08);
  color: var(--champagne);
  font-size: 13px;
  line-height: 1.45;
}

.apk-overlay__warn svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.apk-overlay__download {
  justify-content: center;
  margin-top: 4px;
}

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

@media (max-width: 768px) {
  .apk-overlay {
    align-items: flex-start;
    padding-top: 56px;
  }
  .apk-overlay__dialog {
    max-height: calc(100vh - 72px);
  }
}

@media (max-width: 520px) {
  .phone-frame__screen { height: 460px; }
  .phone-app__power { width: 92px; height: 92px; margin-top: 14px; }
  .phone-app__meta li { padding: 6px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .brand__logo,
  .aurora-sky__ribbon,
  .hero-stage::before,
  .hero-window,
  .hero-popup,
  .phone-frame,
  .phone-app__pulse,
  .phone-app__power.is-on,
  .yt-boot__spinner,
  .yt-card__glow,
  .yt-player__orb,
  .yt-player__title-burn,
  .yt-chrome__caret,
  .yt-chrome__aurora,
  .hero__dot,
  .topbar.is-scrolled,
  .page-enter,
  .page-boot { animation: none !important; transition: none !important; }
  .reveal,
  .page-enter { opacity: 1; transform: none; }
  .page-boot { display: none; }
  .topbar.is-scrolled.is-entering {
    transform: none;
    opacity: 1;
  }
}
