/* =========================================================
   Folia 音乐播放器 · 中文站
   Design system / layout / sections
   ========================================================= */

:root {
  --paper: #f4f2ed;
  --paper-2: #eceaf2;
  --ink: #10131b;
  --ink-soft: #303643;
  --muted: #6d7280;
  --line: rgba(16, 19, 27, 0.12);
  --night: #070a11;
  --night-2: #0b0f18;
  --night-3: #111623;
  --white: #f6f7fb;
  --white-dim: #b6bfd0;
  --accent: #aeb8f2;
  --accent-strong: #7f8bdd;
  --teal: #8ac3c3;
  --gold: #e2c08f;
  --rose: #d6adc4;
  --radius: 20px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #0c0f17;
  background: #c8d0ff;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid #8e9dec;
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  color: #10131b;
  background: #f6f7fb;
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #5f6677;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow--light {
  color: #aab5cc;
}

h2 {
  color: var(--ink);
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-head {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  align-items: end;
  gap: 72px;
  margin-bottom: 52px;
}

.section-head-main {
  min-width: 0;
}

.section-head-side {
  width: 100%;
  max-width: 430px;
  justify-self: end;
  padding-bottom: 5px;
}

.section-head-side p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.section-head-side .text-link {
  margin-top: 18px;
}

.section-head--dark h2 {
  color: var(--white);
}

.section-head--dark .section-head-side p {
  color: #99a3b6;
}

.section-head--center {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head--center .section-head-main {
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .section-head-side {
  max-width: 540px;
  margin-top: 18px;
  justify-self: center;
  text-align: center;
}

.section-fineprint {
  margin-top: 20px;
  color: #747986;
  font-size: 10px;
  text-align: right;
}

.fineprint {
  margin-top: 18px;
  color: #7d8492;
  font-size: 10px;
  line-height: 1.8;
}

/* Buttons / links ------------------------------------------------ */

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  color: #10131b;
  background: linear-gradient(135deg, #f2f4ff 0%, #d9ddff 48%, #b9dedc 100%);
  box-shadow: 0 16px 38px rgba(170, 183, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(170, 183, 255, 0.28);
}

.btn-ghost {
  color: #edf0f8;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(235, 241, 255, 0.17);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(235, 241, 255, 0.32);
}

.btn-dark {
  color: #f6f7fb;
  background: #121620;
  box-shadow: 0 14px 30px rgba(25, 30, 47, 0.16);
}

.btn-dark:hover {
  transform: translateY(-2px);
  background: #1b2130;
  box-shadow: 0 18px 36px rgba(25, 30, 47, 0.2);
}

.btn-lg {
  min-height: 60px;
  padding: 0 30px;
  font-size: 15px;
}

.play-mini {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.play-mini .icon {
  width: 10px;
  height: 10px;
  margin-left: 1px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #424dbe;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.4;
  border-bottom: 1px solid rgba(66, 77, 190, 0.24);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: #222d9d;
  border-color: currentColor;
}

.text-link:hover .icon {
  transform: translate(2px, -2px);
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 10, 17, 0.86);
  border-bottom-color: rgba(235, 241, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: min-height 0.3s ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--white);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy b {
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-copy small {
  margin-top: 5px;
  color: #8f99ad;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(234, 238, 249, 0.64);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transition: right 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
}

.header-cta {
  height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  color: #10131b;
  background: #f1f3fb;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 800;
  transition: transform 0.25s var(--ease), background-color 0.25s ease;
}

.header-cta .icon {
  width: 13px;
  height: 13px;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 43px;
  height: 43px;
  place-items: center;
  padding: 0;
  color: #f3f5fb;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(235, 241, 255, 0.15);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 20px;
  height: 20px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 930px;
  overflow: hidden;
  padding: 154px 0 92px;
  color: var(--white);
  background: var(--night) url("../assets/img/hero-atmosphere.jpg") center 32% / cover no-repeat;
}

.hero-shade {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 9, 16, 0.94) 0%, rgba(6, 9, 16, 0.8) 37%, rgba(6, 9, 16, 0.24) 69%, rgba(6, 9, 16, 0.4) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(7, 10, 17, 0) 28%),
    radial-gradient(70% 85% at 82% 35%, rgba(7, 10, 17, 0) 0%, rgba(7, 10, 17, 0.14) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 684px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  align-items: center;
  gap: 54px;
}

.hero-copy {
  min-width: 0;
  max-width: 620px;
}

.status-pill {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  color: #cbd2e3;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(235, 241, 255, 0.12);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9ed5c6;
  box-shadow: 0 0 0 4px rgba(158, 213, 198, 0.1);
  animation: pulse 2.6s ease-in-out infinite;
}

.status-line {
  width: 1px;
  height: 11px;
  background: rgba(235, 241, 255, 0.16);
}

.status-muted {
  color: #8b95a9;
  font-weight: 500;
}

.hero h1 {
  margin-top: 24px;
  color: #f5f6fb;
  font-size: clamp(58px, 6.5vw, 90px);
  font-weight: 900;
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.h1-kicker {
  display: block;
  margin-bottom: 18px;
  color: #aab5cc;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(106deg, #f0dfcb 0%, #cdd2fa 38%, #acd8d5 82%);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
  white-space: nowrap;
}

.h1-dot {
  color: var(--accent);
}

.hero-lead {
  max-width: 550px;
  margin-top: 28px;
  color: #aab3c4;
  font-size: 16px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.hero-platform-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
  color: #7f8a9f;
  font-size: 10px;
}

.hero-platform-note .icon {
  width: 13px;
  height: 13px;
  margin-left: 2px;
  color: #a3aec3;
}

.hero-platform-note span {
  margin: 0 1px;
  color: #4e586b;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(235, 241, 255, 0.1);
}

.hero-proof b {
  display: block;
  color: #e3e7f1;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.hero-proof span {
  display: block;
  margin-top: 4px;
  color: #7d879b;
  font-size: 9.5px;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 558px;
  min-width: 0;
  margin: 0;
  justify-self: end;
}

.hero-aura {
  position: absolute;
  inset: 2% -10% 2% -8%;
  z-index: 0;
  background:
    radial-gradient(closest-side at 55% 40%, rgba(136, 155, 235, 0.24), transparent 72%),
    radial-gradient(closest-side at 80% 78%, rgba(99, 164, 164, 0.17), transparent 70%);
  filter: blur(54px);
  opacity: 0.9;
}

.stage-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: rgba(12, 16, 26, 0.9);
  border: 1px solid rgba(226, 233, 250, 0.16);
  border-radius: 24px;
  box-shadow:
    0 48px 100px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.04) inset,
    0 0 0 1px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px);
}

.stage-bar {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 17px;
  background: rgba(9, 12, 20, 0.66);
  border-bottom: 1px solid rgba(235, 241, 255, 0.09);
}

.window-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.window-dots i {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  background: #5a6275;
}

.window-dots i:first-child {
  background: #c98b81;
}

.window-dots i:nth-child(2) {
  background: #cbb17d;
}

.window-dots i:nth-child(3) {
  background: #7eb398;
}

.stage-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b8c0d1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-brand img {
  width: 17px;
  height: 17px;
  border-radius: 5px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 4px 7px;
  color: #d4d9e5;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(235, 241, 255, 0.12);
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.live-pill i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b5e2d2;
  box-shadow: 0 0 0 3px rgba(181, 226, 210, 0.08);
}

.stage-screen {
  position: relative;
  height: 425px;
  overflow: hidden;
  background-color: #0a0f1a;
  background-image:
    radial-gradient(50% 60% at 73% 38%, rgba(143, 157, 226, 0.24) 0%, rgba(143, 157, 226, 0) 68%),
    radial-gradient(40% 52% at 19% 76%, rgba(91, 160, 160, 0.18) 0%, rgba(91, 160, 160, 0) 70%),
    linear-gradient(180deg, rgba(5, 8, 14, 0.16) 0%, rgba(5, 8, 14, 0.06) 44%, rgba(5, 8, 14, 0.62) 100%),
    url("../assets/img/hero-atmosphere.jpg");
  background-position: center, center, center, center 38%;
  background-size: auto, auto, auto, cover;
  background-repeat: no-repeat;
}

.stage-screen::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(46% 54% at 55% 46%, rgba(8, 13, 23, 0.34) 0%, rgba(8, 13, 23, 0) 70%),
    linear-gradient(90deg, rgba(5, 8, 14, 0.32), transparent 58%);
  pointer-events: none;
}

.stage-screen::after {
  content: "F";
  position: absolute;
  z-index: 1;
  top: -104px;
  right: -18px;
  color: rgba(242, 245, 255, 0.035);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 330px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.stage-orbit {
  position: absolute;
  border: 1px solid rgba(225, 233, 250, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.stage-orbit--one {
  width: 520px;
  height: 520px;
  top: -255px;
  right: -205px;
}

.stage-orbit--two {
  width: 310px;
  height: 310px;
  right: -140px;
  bottom: -190px;
  border-color: rgba(225, 233, 250, 0.08);
}

.theme-chip {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  color: #dfe4f0;
  background: rgba(12, 17, 29, 0.55);
  border: 1px solid rgba(235, 241, 255, 0.14);
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.theme-chip .icon {
  width: 11px;
  height: 11px;
  color: #c4cdf7;
}

.stage-lyrics {
  position: absolute;
  z-index: 2;
  top: 51%;
  left: 32px;
  right: 32px;
  transform: translateY(-50%);
}

.stage-line {
  color: rgba(236, 241, 252, 0.32);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.005em;
  transition: color 0.65s ease, opacity 0.65s ease;
}

.stage-line.is-active {
  margin: 8px 0;
  color: #fff;
  font-size: clamp(27px, 3vw, 35px);
  font-weight: 850;
  line-height: 1.34;
  letter-spacing: -0.035em;
  text-shadow: 0 9px 34px rgba(0, 0, 0, 0.5);
}

.stage-line.is-active span {
  color: transparent;
  background: linear-gradient(100deg, #f3e3cf 0%, #cbd1fb 54%, #a9d8d5 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.stage-screen-foot {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(225, 232, 246, 0.55);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.equalizer {
  height: 12px;
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
}

.equalizer i {
  width: 2px;
  height: 100%;
  display: block;
  border-radius: 2px;
  background: #a1cdcb;
  transform-origin: bottom;
  animation: equalize 1.1s ease-in-out infinite;
}

.equalizer i:nth-child(1) {
  height: 45%;
  animation-delay: -0.2s;
}

.equalizer i:nth-child(2) {
  height: 80%;
  animation-delay: -0.55s;
}

.equalizer i:nth-child(3) {
  height: 58%;
  animation-delay: -0.35s;
}

.equalizer i:nth-child(4) {
  height: 100%;
  animation-delay: -0.75s;
}

.equalizer i:nth-child(5) {
  height: 38%;
  animation-delay: -0.1s;
}

.stage-controls {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 18px 9px;
  background: #0a0e17;
}

.track-art {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #f8f9fd;
  background: linear-gradient(145deg, #263346 0%, #6b628f 55%, #9c86b5 100%);
  border: 1px solid rgba(235, 241, 255, 0.14);
  border-radius: 11px;
}

.track-art::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  top: -14px;
  right: -10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.track-art span {
  position: relative;
  z-index: 1;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.track-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.track-meta b {
  overflow: hidden;
  color: #e9ecf4;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.track-meta small {
  overflow: hidden;
  margin-top: 3px;
  color: #768196;
  font-size: 8.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.stage-play {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  margin-left: auto;
  padding: 0;
  color: #10131b;
  background: #f2f4fb;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.stage-play:hover {
  transform: scale(1.05);
  background: #fff;
}

.stage-play .icon {
  width: 14px;
  height: 14px;
}

.stage-play .icon-play {
  display: none;
  margin-left: 2px;
}

.stage-play.is-paused .icon-pause {
  display: none;
}

.stage-play.is-paused .icon-play {
  display: block;
}

.stage-progress {
  height: 3px;
  margin: 2px 18px 0;
  overflow: hidden;
  background: rgba(235, 241, 255, 0.1);
  border-radius: 99px;
}

.stage-progress span {
  width: 38%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #b9c2f6, #a7d5d2);
  border-radius: inherit;
  transition: width 0.8s linear;
}

.stage-times {
  display: flex;
  justify-content: space-between;
  padding: 7px 18px 15px;
  color: #5f6b80;
  background: #0a0e17;
  font-size: 8px;
  letter-spacing: 0.03em;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(193, 203, 223, 0.38);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  transform: translateX(-50%);
}

.hero-scroll i {
  width: 44px;
  height: 1px;
  display: block;
  background: linear-gradient(90deg, rgba(193, 203, 223, 0.36), transparent);
}

/* Gallery ------------------------------------------------------- */

.gallery {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 460px 460px;
  gap: 16px;
}

.shot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  background: #0b0e16;
  border: 1px solid rgba(16, 19, 27, 0.08);
  border-radius: 20px;
}

.shot--wide {
  grid-column: span 7;
}

.shot--phone {
  grid-column: span 5;
}

.shot--violet {
  background:
    radial-gradient(80% 85% at 76% 7%, rgba(112, 96, 166, 0.42), transparent 58%),
    linear-gradient(160deg, #1b1829 0%, #0c0f18 72%);
}

.shot--ink {
  background:
    radial-gradient(80% 85% at 24% 8%, rgba(53, 91, 111, 0.44), transparent 62%),
    linear-gradient(160deg, #101b24 0%, #0b0f17 72%);
}

.shot--phone::before {
  content: attr(data-ghost);
  position: absolute;
  z-index: 0;
  top: 34px;
  left: 50%;
  color: rgba(244, 246, 252, 0.04);
  font-size: clamp(56px, 6.3vw, 82px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.shot--wide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s var(--ease);
}

.shot--wide:hover > img {
  transform: scale(1.035);
}

.shot::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 14, 0) 42%, rgba(5, 8, 14, 0.8) 100%);
  pointer-events: none;
}

.shot-index {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  min-width: 30px;
  height: 23px;
  display: grid;
  place-items: center;
  color: rgba(244, 246, 252, 0.76);
  background: rgba(8, 11, 18, 0.54);
  border: 1px solid rgba(235, 241, 255, 0.14);
  border-radius: 99px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.shot figcaption {
  position: absolute;
  z-index: 3;
  left: 24px;
  right: 24px;
  bottom: 21px;
  display: grid;
  gap: 2px;
  color: #f5f6fb;
}

.shot-type {
  color: rgba(238, 242, 250, 0.5);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.shot figcaption b {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.shot figcaption small {
  color: rgba(238, 242, 250, 0.58);
  font-size: 10.5px;
  line-height: 1.5;
}

.shot-phone {
  position: absolute;
  z-index: 1;
  top: 23px;
  left: 50%;
  width: min(41%, 190px);
  height: calc(100% - 118px);
  overflow: hidden;
  background: #080b12;
  border: 5px solid #070a10;
  border-radius: 29px;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.46);
  transform: translateX(-50%);
}

.shot-phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  width: 34%;
  height: 4px;
  background: rgba(7, 10, 16, 0.8);
  border-radius: 99px;
  transform: translateX(-50%);
}

.shot-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.9s var(--ease);
}

.shot--phone:hover .shot-phone img {
  transform: scale(1.025);
}

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

.features {
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.features-glow {
  position: absolute;
  top: -12%;
  right: -8%;
  width: 48%;
  aspect-ratio: 1;
  pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(120, 137, 214, 0.19), transparent 70%),
    radial-gradient(closest-side, rgba(101, 164, 163, 0.13), transparent 70%);
  filter: blur(70px);
}

.features .container {
  position: relative;
  z-index: 1;
}

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

.feature {
  position: relative;
  min-height: 276px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 27px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 72%);
  border: 1px solid rgba(231, 237, 251, 0.09);
  border-radius: 18px;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(72% 95% at 8% 0%, var(--card-accent), transparent 65%);
  opacity: 0;
  mix-blend-mode: soft-light;
  transition: opacity 0.35s ease;
}

.feature:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.025);
  border-color: rgba(231, 237, 251, 0.18);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.2);
}

.feature:hover::before {
  opacity: 0.25;
}

.feature-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.feature-no {
  color: #697386;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--card-accent);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(234, 240, 253, 0.08);
  border-radius: 13px;
}

.feature-icon .icon {
  width: 22px;
  height: 22px;
}

.feature h3 {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  color: #f2f4fa;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.feature p {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: #a3adbe;
  font-size: 13px;
  line-height: 1.9;
}

.feature-tag {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 22px;
  color: #636e82;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

/* Platform ------------------------------------------------------ */

.platform {
  overflow: hidden;
  background: linear-gradient(180deg, #f3f1ec 0%, #ebe9f1 100%);
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 78px;
}

.platform-copy h2 {
  margin-top: 0;
}

.platform-lead {
  max-width: 460px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.platform-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.platform-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  color: #354256;
  background: rgba(16, 19, 27, 0.06);
  border: 1px solid rgba(16, 19, 27, 0.07);
  border-radius: 11px;
}

.platform-icon .icon {
  width: 18px;
  height: 18px;
}

.platform-icon--violet {
  color: #655d9d;
  background: rgba(112, 100, 176, 0.09);
  border-color: rgba(112, 100, 176, 0.09);
}

.platform-icon--gold {
  color: #91703f;
  background: rgba(164, 127, 67, 0.1);
  border-color: rgba(164, 127, 67, 0.08);
}

.platform-item > span:nth-child(2) {
  min-width: 0;
}

.platform-item b {
  display: block;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.5;
}

.platform-item small {
  display: block;
  margin-top: 2px;
  color: #6c7280;
  font-size: 10px;
  line-height: 1.5;
}

.platform-item em {
  margin-left: auto;
  padding: 4px 8px;
  color: #686f7d;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(16, 19, 27, 0.09);
  border-radius: 999px;
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.platform-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 27px;
}

.devices {
  position: relative;
  min-height: 548px;
  padding-top: 20px;
}

.desktop-window {
  position: relative;
  z-index: 1;
  width: 94%;
  margin-left: auto;
  overflow: hidden;
  background: #0a0d15;
  border: 1px solid rgba(16, 19, 27, 0.16);
  border-radius: 18px;
  box-shadow: 0 45px 90px rgba(39, 42, 66, 0.24);
  transform: rotate(-1.2deg);
}

.window-bar {
  height: 37px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  background: #0d111b;
  border-bottom: 1px solid rgba(235, 241, 255, 0.08);
}

.window-bar .window-dots i {
  width: 5px;
  height: 5px;
}

.window-title {
  color: #aeb7c9;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.window-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #667287;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.window-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8fc9b7;
}

.desktop-window img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.phone-float {
  position: absolute;
  z-index: 2;
  left: 2%;
  bottom: 2px;
  width: 186px;
  overflow: hidden;
  background: #090c13;
  border: 6px solid #090c13;
  border-radius: 31px;
  box-shadow: 0 30px 55px rgba(35, 38, 58, 0.32);
  transform: rotate(2.4deg);
}

.phone-float::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  width: 32%;
  height: 4px;
  background: rgba(5, 8, 13, 0.85);
  border-radius: 99px;
  transform: translateX(-50%);
}

.phone-float img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.device-note {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 28px;
  max-width: 250px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 19, 27, 0.1);
  border-radius: 13px;
  box-shadow: 0 15px 38px rgba(40, 43, 66, 0.14);
  backdrop-filter: blur(10px);
}

.device-note-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  color: #4c5870;
  background: rgba(16, 19, 27, 0.05);
  border-radius: 9px;
}

.device-note-icon .icon {
  width: 15px;
  height: 15px;
}

.device-note b {
  display: block;
  color: #161b26;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
}

.device-note small {
  display: block;
  margin-top: 2px;
  color: #7a808c;
  font-size: 8px;
  line-height: 1.5;
}

/* Guide --------------------------------------------------------- */

.guide {
  background: var(--paper);
}

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

.step {
  position: relative;
  min-height: 286px;
  padding: 25px 23px 27px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 19, 27, 0.18);
  box-shadow: 0 22px 45px rgba(44, 44, 57, 0.08);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -17px;
  width: 17px;
  height: 1px;
  background: var(--line);
}

.step-no {
  position: absolute;
  top: 20px;
  right: 22px;
  color: #dcd8d0;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.step-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-top: 49px;
  color: #2e3b4e;
  background: rgba(16, 19, 27, 0.06);
  border: 1px solid rgba(16, 19, 27, 0.06);
  border-radius: 13px;
}

.step-icon .icon {
  width: 21px;
  height: 21px;
}

.step-icon--violet {
  color: #615997;
  background: rgba(112, 100, 176, 0.1);
  border-color: rgba(112, 100, 176, 0.08);
}

.step-icon--gold {
  color: #8f6e3e;
  background: rgba(164, 127, 67, 0.11);
  border-color: rgba(164, 127, 67, 0.08);
}

.step-icon--rose {
  color: #966a84;
  background: rgba(168, 113, 142, 0.1);
  border-color: rgba(168, 113, 142, 0.08);
}

.step h3 {
  margin-top: 18px;
  color: var(--ink);
  font-size: 17.5px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

/* FAQ ----------------------------------------------------------- */

.faq {
  background: #fbfaf7;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  align-items: start;
  gap: 82px;
}

.faq-side {
  position: sticky;
  top: 108px;
}

.faq-side h2 {
  margin-top: 0;
}

.faq-side > p {
  max-width: 390px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.faq-note {
  margin-top: 32px;
  padding: 21px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.faq-note-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #48546c;
  background: rgba(16, 19, 27, 0.055);
  border-radius: 10px;
}

.faq-note-icon .icon {
  width: 18px;
  height: 18px;
}

.faq-note > b {
  display: block;
  margin-top: 13px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
}

.faq-note p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.8;
}

.faq-note .text-link {
  margin-top: 13px;
  font-size: 10.5px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

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

.faq-list summary:hover {
  color: #4d58bb;
}

.faq-plus {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  color: #626a79;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.faq-plus .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.3s var(--ease);
}

.faq-list details[open] .faq-plus {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.faq-list details[open] .faq-plus .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 52px 24px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
  animation: answerIn 0.3s ease both;
}

.faq-answer p {
  margin: 0;
}

.faq-answer a {
  color: #4b57bb;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Reviews ------------------------------------------------------- */

.reviews {
  background: var(--paper-2);
}

.review-grid {
  columns: 3;
  column-gap: 16px;
}

.review {
  width: 100%;
  display: inline-block;
  break-inside: avoid;
  margin: 0 0 16px;
  padding: 24px;
  background: #fbfafd;
  border: 1px solid rgba(68, 56, 96, 0.09);
  border-radius: 18px;
  box-shadow: 0 9px 30px rgba(46, 38, 70, 0.035);
}

.review-quote {
  width: 27px;
  height: 27px;
  display: block;
  color: #9a8fc5;
}

.review-quote .icon {
  width: 27px;
  height: 27px;
}

.review > p {
  margin: 12px 0 22px;
  color: #4e5260;
  font-size: 13.5px;
  line-height: 1.95;
}

.review > p a {
  color: #5c58b2;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.review footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid rgba(16, 19, 27, 0.08);
}

.avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #5d7f82, #92bdb7);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.avatar--violet {
  background: linear-gradient(145deg, #665e9f, #a39ad4);
}

.avatar--gold {
  background: linear-gradient(145deg, #937244, #ceb083);
}

.avatar--rose {
  background: linear-gradient(145deg, #976e85, #c9a2b8);
}

.avatar--blue {
  background: linear-gradient(145deg, #4e7399, #8cb2d0);
}

.avatar--green {
  background: linear-gradient(145deg, #54745d, #93b79b);
}

.review footer b {
  display: block;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.4;
}

.review footer small {
  display: block;
  margin-top: 3px;
  color: #747a85;
  font-size: 9px;
  line-height: 1.4;
}

/* Final CTA ----------------------------------------------------- */

.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 124px 0 128px;
  color: var(--white);
  text-align: center;
  background: var(--night);
}

.final-cta-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url("../assets/img/hero-atmosphere.jpg") center 60% / cover no-repeat;
  opacity: 0.62;
}

.final-cta::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(58% 82% at 50% 46%, rgba(7, 10, 17, 0.12) 0%, rgba(7, 10, 17, 0.72) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(7, 10, 17, 0) 38%);
  pointer-events: none;
}

.final-cta-ghost {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  color: rgba(255, 255, 255, 0.026);
  font-size: clamp(160px, 26vw, 360px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

.final-cta-inner {
  position: relative;
  z-index: 2;
}

.final-cta-inner .eyebrow {
  justify-content: center;
}

.final-cta h2 {
  color: #f5f6fb;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.04;
}

.final-cta h2 em {
  color: transparent;
  background: linear-gradient(106deg, #f0dfcb 0%, #cdd2fa 42%, #acd8d5 86%);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

.final-cta-inner > p {
  margin: 22px auto 0;
  color: #aab2c3;
  font-size: 13.5px;
  line-height: 1.9;
}

.final-cta .btn {
  margin-top: 33px;
}

.cta-meta {
  display: block;
  margin-top: 16px;
  color: #727c90;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

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

.site-footer {
  padding: 64px 0 92px;
  color: #fff;
  background: #05070c;
  border-top: 1px solid rgba(235, 241, 255, 0.07);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.45fr 0.62fr 0.72fr 1fr;
  gap: 54px;
}

.brand--footer .brand-mark {
  width: 40px;
  height: 40px;
}

.footer-brand > p {
  margin-top: 18px;
  color: #7e8696;
  font-size: 11.5px;
  line-height: 1.9;
}

.footer-domain {
  display: inline-block;
  margin-top: 17px;
  padding-bottom: 3px;
  color: #b8c0d2;
  border-bottom: 1px solid rgba(184, 192, 210, 0.24);
  font-size: 10px;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-domain:hover {
  color: #fff;
  border-color: #fff;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding-top: 7px;
}

.footer-nav b,
.footer-about > b {
  display: block;
  margin-bottom: 7px;
  color: #596274;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #a1a8b7;
  font-size: 11px;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.footer-nav a .icon {
  width: 11px;
  height: 11px;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-about {
  padding-top: 7px;
}

.footer-about p {
  max-width: 260px;
  color: #7e8696;
  font-size: 10.5px;
  line-height: 1.85;
}

.footer-about .footer-small {
  margin-top: 8px;
  color: #4f5766;
  font-size: 9px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding-top: 21px;
  border-top: 1px solid rgba(235, 241, 255, 0.065);
  color: #5c6474;
  font-size: 9px;
  line-height: 1.7;
}

/* Floating actions ---------------------------------------------- */

.floating-actions {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.floating-actions > * {
  pointer-events: auto;
}

.to-top {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #1c2230;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 19, 27, 0.12);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(16, 19, 27, 0.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s var(--ease), background-color 0.2s ease;
  backdrop-filter: blur(10px);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: #fff;
}

.to-top .icon {
  width: 16px;
  height: 16px;
}

.download-dock {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 11px 7px 7px;
  color: #fff;
  background: rgba(10, 14, 23, 0.93);
  border: 1px solid rgba(235, 240, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(18px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.download-dock:hover {
  transform: translateY(-2px);
  border-color: rgba(235, 240, 255, 0.3);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3);
}

.dock-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f7f8fc;
  border-radius: 11px;
}

.dock-mark img {
  width: 30px;
  height: 30px;
}

.dock-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.dock-copy b {
  font-size: 11.5px;
  font-weight: 800;
}

.dock-copy small {
  margin-top: 3px;
  color: #8993a7;
  font-size: 8.5px;
}

.dock-arrow {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  margin-left: 2px;
  color: #c9d1e2;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.dock-arrow .icon {
  width: 12px;
  height: 12px;
}

/* Motion -------------------------------------------------------- */

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(158, 213, 198, 0.08);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(158, 213, 198, 0.13);
  }
}

@keyframes equalize {
  0%,
  100% {
    transform: scaleY(0.48);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes answerIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.75s var(--ease);
  will-change: opacity, transform;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stage-shell.is-paused .equalizer i {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: heroIn 0.85s var(--ease) both;
  }

  .hero-copy > *:nth-child(2) {
    animation-delay: 0.06s;
  }

  .hero-copy > *:nth-child(3) {
    animation-delay: 0.12s;
  }

  .hero-copy > *:nth-child(4) {
    animation-delay: 0.18s;
  }

  .hero-copy > *:nth-child(5) {
    animation-delay: 0.22s;
  }

  .hero-copy > *:nth-child(6) {
    animation-delay: 0.27s;
  }

  .hero-visual {
    animation: heroVisualIn 1s var(--ease) 0.18s both;
  }

  @keyframes heroIn {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes heroVisualIn {
    from {
      opacity: 0;
      transform: translateY(26px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

/* Responsive ---------------------------------------------------- */

@media (max-width: 1160px) {
  .main-nav {
    gap: 19px;
  }

  .header-inner {
    gap: 22px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 34px;
  }

  .platform-grid {
    gap: 50px;
  }

  .faq-grid {
    gap: 58px;
  }
}

@media (max-width: 1040px) {
  .header-actions {
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    z-index: 99;
    top: 76px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px;
    background: rgba(9, 13, 21, 0.97);
    border: 1px solid rgba(235, 241, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.25s var(--ease);
    backdrop-filter: blur(20px);
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
  }

  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 142px;
    padding-bottom: 80px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 62px;
    min-height: auto;
  }

  .hero-copy {
    width: 100%;
    max-width: 720px;
  }

  .hero h1 {
    font-size: clamp(58px, 9.4vw, 84px);
  }

  .hero-visual {
    width: min(100%, 560px);
    min-width: 0;
    justify-self: center;
  }

  .hero-scroll {
    display: none;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 42px;
  }

  .section-head-side {
    max-width: 560px;
    justify-self: start;
  }

  .section-head--center {
    margin-bottom: 42px;
  }

  .section-head--center .section-head-side {
    justify-self: center;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-grid {
    grid-template-columns: 1fr;
    gap: 68px;
  }

  .platform-copy {
    max-width: 690px;
  }

  .devices {
    width: min(100%, 650px);
    min-height: 540px;
    margin-inline: auto;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-side {
    position: static;
  }

  .faq-side > p {
    max-width: 620px;
  }

  .faq-note {
    max-width: 560px;
  }

  .review-grid {
    columns: 2;
  }

  .footer-top {
    grid-template-columns: 1.25fr 0.7fr 0.8fr;
    gap: 36px;
  }

  .footer-about {
    grid-column: 1 / -1;
    padding-top: 0;
  }
}

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

  .container {
    width: min(100% - 36px, var(--container));
  }

  .section {
    padding: 80px 0;
  }

  .site-header .header-inner {
    min-height: 68px;
  }

  .site-header.is-scrolled .header-inner {
    min-height: 64px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-copy b {
    font-size: 21px;
  }

  .brand-copy small {
    font-size: 7.5px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    top: 68px;
    left: 18px;
    right: 18px;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 64px;
  }

  .hero h1 {
    margin-top: 21px;
    font-size: clamp(48px, 13.2vw, 70px);
    line-height: 1.01;
    letter-spacing: -0.06em;
  }

  .h1-kicker {
    margin-bottom: 14px;
    font-size: 10.5px;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 27px;
  }

  .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero-platform-note {
    font-size: 9.5px;
    line-height: 1.7;
  }

  .hero-proof {
    gap: 14px;
    margin-top: 29px;
    padding-top: 18px;
  }

  .hero-proof b {
    font-size: 10.5px;
  }

  .hero-proof span {
    font-size: 8.5px;
  }

  .hero-grid {
    gap: 48px;
  }

  .stage-bar {
    height: 45px;
    padding-inline: 14px;
  }

  .stage-screen {
    height: 360px;
  }

  .stage-lyrics {
    left: 24px;
    right: 24px;
  }

  .stage-line {
    font-size: 14px;
  }

  .stage-line.is-active {
    font-size: 27px;
  }

  .theme-chip {
    top: 13px;
    right: 13px;
    font-size: 8px;
  }

  .stage-screen-foot {
    left: 18px;
    bottom: 14px;
    font-size: 8px;
  }

  .stage-controls {
    padding: 13px 14px 8px;
  }

  .stage-progress {
    margin-inline: 14px;
  }

  .stage-times {
    padding: 6px 14px 13px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 9px;
  }

  h2 {
    font-size: clamp(34px, 8.7vw, 48px);
    letter-spacing: -0.045em;
  }

  .section-head,
  .section-head--center {
    margin-bottom: 34px;
  }

  .section-head-side p {
    font-size: 13px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 13px;
  }

  .shot--wide,
  .shot--phone {
    grid-column: auto;
  }

  .shot--wide {
    height: 280px;
  }

  .shot--phone {
    height: 450px;
  }

  .shot-phone {
    width: min(48%, 205px);
    height: calc(100% - 88px);
  }

  .shot figcaption {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

  .shot figcaption b {
    font-size: 19px;
  }

  .section-fineprint {
    text-align: left;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 248px;
    padding: 24px;
  }

  .feature h3 {
    margin-top: 22px;
  }

  .platform-lead {
    font-size: 13px;
  }

  .platform-item {
    gap: 11px;
  }

  .platform-item em {
    display: none;
  }

  .platform-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .devices {
    min-height: 0;
    padding-top: 4px;
    padding-bottom: 38px;
  }

  .desktop-window {
    width: 100%;
    transform: none;
    border-radius: 13px;
  }

  .window-bar {
    height: 31px;
  }

  .phone-float {
    width: 126px;
    left: 5px;
    bottom: 8px;
    border-width: 5px;
    border-radius: 23px;
  }

  .phone-float img {
    border-radius: 18px;
  }

  .device-note {
    right: 0;
    bottom: 0;
    max-width: 205px;
    padding: 9px 10px;
  }

  .device-note b {
    font-size: 9px;
  }

  .device-note small {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step {
    min-height: 0;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0 14px;
    padding: 20px;
  }

  .step-no {
    position: static;
    grid-column: 1 / -1;
    margin-bottom: 14px;
    color: #8a8f9a;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
  }

  .step-icon {
    width: 44px;
    height: 44px;
    margin-top: 0;
    grid-row: 2 / span 2;
  }

  .step h3 {
    margin-top: 0;
    align-self: end;
    font-size: 16px;
  }

  .step p {
    align-self: start;
    margin-top: 3px;
    font-size: 11.5px;
  }

  .faq-list summary {
    min-height: 62px;
    padding: 16px 0;
    font-size: 14px;
  }

  .faq-answer {
    padding-right: 12px;
    font-size: 12.5px;
  }

  .faq-side > p {
    font-size: 13px;
  }

  .review-grid {
    columns: 1;
  }

  .review {
    margin-bottom: 13px;
  }

  .final-cta {
    padding: 92px 0 96px;
  }

  .final-cta h2 {
    font-size: clamp(40px, 11.5vw, 60px);
  }

  .final-cta-inner > p {
    font-size: 12.5px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-top: 38px;
  }

  .floating-actions {
    right: 15px;
    bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }

  .to-top {
    width: 38px;
    height: 38px;
  }

  .download-dock {
    padding: 6px 9px 6px 6px;
    gap: 8px;
    border-radius: 14px;
  }

  .dock-mark {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
  }

  .dock-mark img {
    width: 28px;
    height: 28px;
  }

  .dock-copy small {
    display: none;
  }

  .dock-copy b {
    font-size: 11px;
  }

  .dock-arrow {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 430px) {
  .status-pill {
    gap: 7px;
    font-size: 8.5px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 60px);
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .hero-proof div {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .hero-proof span {
    margin-top: 0;
  }

  .stage-screen {
    height: 330px;
  }

  .stage-line.is-active {
    font-size: 24px;
  }

  .stage-times {
    font-size: 7px;
  }

  .shot--wide {
    height: 240px;
  }

  .shot--phone {
    height: 410px;
  }

  .shot-phone {
    width: min(53%, 190px);
    height: calc(100% - 85px);
  }

  .phone-float {
    width: 108px;
  }

  .device-note {
    max-width: 178px;
  }

  .download-dock {
    padding-right: 8px;
  }

  .dock-copy b {
    font-size: 10.5px;
  }

  .dock-arrow {
    width: 23px;
    height: 23px;
  }
}

/* Reduced motion / print --------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .floating-actions,
  .hero-visual,
  .final-cta-bg,
  .final-cta-ghost {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero,
  .features,
  .final-cta,
  .site-footer {
    color: #000;
    background: #fff;
  }
}
