/* ═══════════════════════════════════════════════════════════════
   FilmTime — filmtimeapp.com
   Cinematic dark theme, ported from the app palette:
   bg #171D21 / bg2 #11141D / surface #21232B / accent #E2D703
   ═══════════════════════════════════════════════════════════════ */

/* ─── Fonts ─────────────────────────────────────────────────── */
/* Vazirmatn Variable (wght 100–900) — one subset file for all weights */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn-var.woff2") format("woff2") tech("variations"),
    url("../fonts/vazirmatn-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

/* ─── Tokens ────────────────────────────────────────────────── */
:root {
  --bg: #171d21;
  --bg-deep: #11141d;
  --surface: #21232b;
  --surface-2: #2e303e;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --gold: #e2d703;
  --gold-soft: #f3ea4d;
  --gold-deep: #b8ae00;
  --on-gold: #1d1a28;
  --emerald: #34d399;
  --text: #ffffff;
  --soft: #e3dede;
  --muted: #a7abb6;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --ease-snappy: cubic-bezier(0.23, 1, 0.32, 1); /* GradientDeck-style snappy ease */
  --shadow-gold: 0 10px 40px -8px rgba(226, 215, 3, 0.45);
  --container: 1180px;
  --header-h: 72px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 16px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  text-align: right;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  line-height: 1.45;
  font-weight: 800;
}
::selection {
  background: rgba(226, 215, 3, 0.85);
  color: var(--on-gold);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 8px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: #3a3d4d;
}

/* ─── Layout helpers ────────────────────────────────────────── */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.en {
  font-weight: 500;
  letter-spacing: 0.02em;
}
.gold {
  background: linear-gradient(115deg, #fff35c 10%, var(--gold) 45%, #cdbf14 90%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gold-shine 7s linear infinite;
}
@keyframes gold-shine {
  to {
    background-position: 220% center;
  }
}

/* ─── Film grain overlay (subtle, over everything) ───────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ─── Scroll progress bar ─────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 300;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold) 60%, #fff35c);
  transform: scaleX(0);
  transform-origin: 100% 50%; /* fills right-to-left in RTL */
  pointer-events: none;
  will-change: transform;
}

/* ─── Back-to-top floating pill ─────────────────────────── */
.to-top {
  position: fixed;
  bottom: calc(18px + env(safe-area-inset-bottom));
  inset-inline-end: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(33, 35, 43, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  color: var(--gold);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, border-color 0.3s;
  z-index: 150;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.7);
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  border-color: rgba(226, 215, 3, 0.5);
  color: var(--gold-soft);
  transform: translateY(-2px);
}
.to-top svg {
  width: 20px;
  height: 20px;
}

.skip-link {
  position: fixed;
  top: -60px;
  right: 16px;
  z-index: 200;
  background: var(--gold);
  color: var(--on-gold);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.25s ease;
}
.skip-link:focus-visible {
  top: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
/* floating "dock" pill — GradientDeck-style modern header */
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: transparent;
  border-bottom-color: transparent;
}
.site-header.scrolled .header-inner {
  background: rgba(17, 20, 29, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-color: var(--line-strong);
  box-shadow: 0 22px 60px -24px rgba(0, 0, 0, 0.9);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
  flex-shrink: 0;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.brand .en {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: -4px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
}
.nav > a:not(.btn) {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--soft);
  transition: color 0.2s, background 0.2s;
}
.nav > a:not(.btn):hover {
  color: var(--gold);
  background: rgba(226, 215, 3, 0.07);
}
.nav-toggle {
  display: none;
  margin-inline-start: auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--gold-soft), var(--gold) 55%, #d3c800);
  color: var(--on-gold);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translate(var(--mgx, 0px), var(--mgy, 0px)) translateY(-2px);
  box-shadow: 0 16px 48px -8px rgba(226, 215, 3, 0.6);
}
/* light sweep across gold buttons on hover */
.btn-gold::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  width: 42%;
  inset-inline-start: -55%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0;
  pointer-events: none;
}
.btn-gold:hover::after {
  transform: skewX(-18deg) translateX(420%);
  opacity: 1;
  transition: transform 0.65s ease, opacity 0.15s ease;
}
.btn-gold:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}
.btn-gold:active {
  transform: translate(var(--mgx, 0px), var(--mgy, 0px)) translateY(0) scale(0.97);
  box-shadow: 0 8px 28px -10px rgba(226, 215, 3, 0.55);
}
.btn svg {
  transition: transform 0.25s ease;
}
.btn-gold:hover .ico-dl {
  transform: translateY(3px);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(226, 215, 3, 0.5);
  color: var(--gold);
  background: rgba(226, 215, 3, 0.06);
  transform: translateY(-2px);
}
.btn-ghost:active {
  transform: translateY(0) scale(0.97);
}
/* magnetic buttons (JS-fed vars) */
.magnetic {
  transform: translate(var(--mgx, 0px), var(--mgy, 0px));
}
.btn-lg {
  padding: 17px 32px;
  font-size: 16.5px;
  border-radius: 16px;
}
.btn-lg svg {
  width: 21px;
  height: 21px;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 54px) 0 40px;
  overflow: clip;
  isolation: isolate;
}
/* layered cinematic glow */
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(52% 46% at 50% -6%, rgba(226, 215, 3, 0.2) 0%, rgba(226, 215, 3, 0.07) 42%, transparent 72%),
    radial-gradient(34% 30% at 82% 12%, rgba(52, 211, 153, 0.05) 0%, transparent 70%),
    radial-gradient(60% 55% at 50% 115%, rgba(33, 35, 43, 0.9) 0%, transparent 75%);
}
/* grain */
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
}
/* geometric outline decor (digimoviez nod) */
.hero-deco {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}
.hero-deco.tl {
  top: 70px;
  inset-inline-start: 24px;
}
.hero-deco.br {
  bottom: 40px;
  inset-inline-end: 24px;
  transform: rotate(180deg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
  min-height: 560px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  text-align: right;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gold-soft);
  background: rgba(226, 215, 3, 0.08);
  border: 1px solid rgba(226, 215, 3, 0.28);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(226, 215, 3, 0.8);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.8);
  }
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 14ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
}
.trust-row svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ─── Phone mockup ──────────────────────────────────────────── */
.phone-zone {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
/* stacked back phone — depth collage (GradientDeck wall nod) */
.phone-stack {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone.back {
  position: absolute;
  top: 6%;
  left: -32%;
  width: min(280px, 70vw);
  transform: rotate(9deg) scale(0.92);
  opacity: 0.5;
  filter: blur(2px) brightness(0.62) saturate(0.9);
  z-index: 0;
  animation: none;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .phone.back {
    display: none;
  }
}
/* cursor glow following pointer inside hero */
.hero-cursor-glow {
  position: absolute;
  top: -120px;
  left: -60px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 215, 3, 0.13) 0%, transparent 62%);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}
.hero:hover .hero-cursor-glow {
  opacity: 1;
}
@media (hover: none) {
  .hero-cursor-glow {
    display: none;
  }
}
.phone-glow {
  position: absolute;
  width: 115%;
  height: 115%;
  top: -4%;
  background: radial-gradient(50% 50% at 50% 45%, rgba(226, 215, 3, 0.24) 0%, transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.phone {
  position: relative;
  z-index: 1;
  width: min(315px, 78vw);
  aspect-ratio: 9 / 18.6;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(165deg, #3a3d4b 0%, #17181f 55%, #262933 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    0 40px 80px -20px rgba(0, 0, 0, 0.75),
    0 0 90px -18px rgba(226, 215, 3, 0.28);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotateY(calc(-7deg + var(--ry, 0deg))) rotateX(calc(2deg + var(--rx, 0deg)));
  }
  50% {
    transform: translateY(-14px) rotateY(calc(-5deg + var(--ry, 0deg))) rotateX(calc(1deg + var(--rx, 0deg)));
  }
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: var(--bg-deep);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 12px;
}
/* real app screenshot inside the hero phone — pans down on hover */
.phone-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: object-position 4s cubic-bezier(0.4, 0, 0.2, 1);
}
.phone:hover .phone-shot {
  object-position: center bottom;
}
/* notch */
.phone-screen::before {
  content: "";
  position: absolute;
  top: 7px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 34%;
  height: 17px;
  border-radius: 999px;
  background: #060708;
  z-index: 10;
}

/* floating chips */
.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(33, 35, 43, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7);
  animation: floaty2 5.5s ease-in-out infinite;
}
.float-chip .ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.float-chip .ico svg {
  width: 14px;
  height: 14px;
}
.float-chip.g .ico {
  background: rgba(226, 215, 3, 0.15);
  color: var(--gold);
}
.float-chip.e .ico {
  background: rgba(52, 211, 153, 0.14);
  color: var(--emerald);
}
.float-chip.w .ico {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.fc-1 {
  top: 13%;
  inset-inline-end: 4%;
  animation-delay: -1.2s;
}
.fc-2 {
  top: 46%;
  inset-inline-start: -3%;
  animation-delay: -3s;
}
.fc-3 {
  bottom: 9%;
  inset-inline-end: 2%;
  animation-delay: -2s;
}
@keyframes floaty2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
/* shelf */
.shelf {
  position: absolute;
  bottom: -34px;
  width: 68%;
  height: 34px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.55), transparent 70%);
  z-index: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════════════════════════ */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(17, 20, 29, 0.6);
  overflow: hidden;
  padding: 15px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: slide 36s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes slide {
  to {
    transform: translateX(50%);
  }
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(226, 215, 3, 0.55);
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS — shared
   ═══════════════════════════════════════════════════════════════ */
section {
  position: relative;
}
.section-pad {
  padding: 88px 0;
}
.section-head {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 52px;
}
.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13.5px;
  font-weight: 700;
  background: rgba(226, 215, 3, 0.08);
  border: 1px solid rgba(226, 215, 3, 0.22);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--muted);
  font-size: 15.5px;
}

/* ─── Stats glass bar ───────────────────────────────────────── */
.stats {
  margin-top: 34px;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--soft);
  padding: 10px 6px;
}
.stat + .stat {
  border-inline-start: 1px solid var(--line);
}
.stat svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 215, 3, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(226, 215, 3, 0.3);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6), 0 0 40px -18px rgba(226, 215, 3, 0.4);
}
.feature:hover::before {
  opacity: 1;
}
/* cursor spotlight — GradientDeck-style card hover */
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 30%), rgba(226, 215, 3, 0.13), transparent 68%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.feature:hover::after {
  opacity: 1;
}
.feature .f-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(226, 215, 3, 0.1);
  color: var(--gold);
  border: 1px solid rgba(226, 215, 3, 0.2);
}
.feature .f-ico svg {
  width: 22px;
  height: 22px;
}
.feature.e .f-ico {
  background: rgba(52, 211, 153, 0.1);
  color: var(--emerald);
  border-color: rgba(52, 211, 153, 0.2);
}
.feature h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

/* ═══════════════════════════════════════════════════════════════
   SHOWCASE (app preview — detail screen)
   ═══════════════════════════════════════════════════════════════ */
.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.showcase-copy .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13.5px;
  font-weight: 700;
  background: rgba(226, 215, 3, 0.08);
  border: 1px solid rgba(226, 215, 3, 0.22);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.showcase-copy h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 14px;
}
.showcase-copy > p {
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 46ch;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.check-list .ck {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: rgba(226, 215, 3, 0.12);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 3px;
}
.check-list .ck svg {
  width: 14px;
  height: 14px;
}
.check-list.e .ck {
  background: rgba(52, 211, 153, 0.12);
  color: var(--emerald);
}
.check-list h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 2px;
}
.check-list p {
  font-size: 13.5px;
  color: var(--muted);
}

/* showcase phone */
.showcase-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone.alt {
  animation-duration: 8.5s;
  animation-delay: -2.5s;
  width: min(300px, 74vw);
}
/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open {
  border-color: rgba(226, 215, 3, 0.32);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  font-size: 15.5px;
  font-weight: 700;
  text-align: right;
  color: var(--text);
  transition: color 0.2s;
}
.faq-q:hover {
  color: var(--gold-soft);
}
.faq-q .plus {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(226, 215, 3, 0.09);
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s, color 0.3s;
}
.faq-q .plus svg {
  width: 15px;
  height: 15px;
}
.faq-item.open .plus {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--on-gold);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a-inner {
  overflow: hidden;
}
.faq-a-inner p {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 2.05;
}

/* ═══════════════════════════════════════════════════════════════
   DOWNLOAD CTA
   ═══════════════════════════════════════════════════════════════ */
.cta-band {
  position: relative;
  overflow: clip;
}
.cta-box {
  position: relative;
  text-align: center;
  padding: 64px 32px;
  border-radius: 28px;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(226, 215, 3, 0.14) 0%, transparent 70%),
    linear-gradient(175deg, #1d212b 0%, var(--bg-deep) 100%);
  border: 1px solid rgba(226, 215, 3, 0.22);
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 200px;
  background: radial-gradient(50% 60% at 50% 50%, rgba(226, 215, 3, 0.3), transparent 75%);
  filter: blur(26px);
  pointer-events: none;
}
/* rotating gold conic border — edge glow (fallback: static) */
@property --ga {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1.5px;
  background: conic-gradient(from var(--ga), rgba(226, 215, 3, 0.18) 0deg, rgba(226, 215, 3, 0.65) 60deg, rgba(255, 243, 92, 0.95) 90deg, rgba(226, 215, 3, 0.65) 120deg, rgba(226, 215, 3, 0.18) 180deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: border-spin 7s linear infinite;
  pointer-events: none;
}
@keyframes border-spin {
  to {
    --ga: 360deg;
  }
}
.cta-box h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 10px;
}
.cta-box .cta-sub {
  color: var(--muted);
  margin-bottom: 30px;
  font-size: 15.5px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.cta-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
}
.cta-meta span {
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 7px 14px;
  border-radius: 999px;
}
.cta-meta span b {
  color: var(--gold);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 54px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  max-width: 34ch;
  margin-top: 14px;
}
.footer-col h4 {
  font-size: 14.5px;
  margin-bottom: 16px;
  color: var(--gold);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-col a svg {
  width: 16px;
  height: 16px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  /* 70px: clears the fixed back-to-top button zone (18px offset + 46px + buffer) */
  padding: 18px 0 calc(70px + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom .made {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.footer-bottom .dev-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 215, 3, .35);
  transition: color .2s var(--ease-snappy), border-color .2s var(--ease-snappy);
}
.footer-bottom .dev-link:hover,
.footer-bottom .dev-link:focus-visible {
  color: #fff;
  border-color: currentColor;
}

/* ═══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS (JS-gated, safe fallback)
   ═══════════════════════════════════════════════════════════════ */
/* GradientDeck "enter-up" — blur-in cinematic entrance */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease-snappy), transform 0.7s var(--ease-snappy),
    filter 0.7s var(--ease-snappy);
  transition-delay: var(--d, 0ms);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  html.js .w-anim {
    opacity: 1 !important;
    translate: none !important;
    scale: none !important;
    rotate: none !important;
    filter: none !important;
    transition: none !important;
  }
  html.js .reveal.in .f-ico {
    animation: none !important;
  }
  .phone,
  .float-chip,
  .hero-badge .dot,
  .marquee-track,
  .gold,
  .cta-box::after,
  .cta-box::before,
  .phone-screen::after,
  .scroll-progress::after {
    animation: none !important;
  }
  .phone-shot,
  .btn-gold::after,
  .float-chip,
  .f-ico,
  .nav::before {
    transition: none !important;
  }
  .float-chip {
    translate: none !important;
  }
  .to-top::before {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 26px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-inner {
    gap: 34px;
  }
}
@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 14px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(17, 20, 29, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-lg);
    padding: 14px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: 0.28s ease;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8);
  }
  .nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav > a:not(.btn) {
    padding: 13px 16px;
    font-size: 15px;
  }
  .nav .btn {
    margin-top: 6px;
    margin-inline-start: 0 !important;
    justify-content: center;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-toggle svg {
    transition: transform 0.3s;
  }
  .nav-toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
  }

  .hero {
    padding-top: calc(var(--header-h) + 34px);
  }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 54px;
    text-align: center;
  }
  .hero-copy {
    align-items: center;
    text-align: center;
  }
  .hero h1 {
    max-width: 100%;
  }
  .hero-cta {
    justify-content: center;
  }
  .trust-row {
    justify-content: center;
  }
  .hero-deco {
    display: none;
  }
  .phone {
    width: min(300px, 82vw);
  }
  .fc-2 {
    inset-inline-start: 0;
  }
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .stat {
    justify-content: flex-start;
    padding: 12px 14px;
  }
  .stat + .stat {
    border-inline-start: 0;
  }
  .stats-inner .stat:nth-child(even) {
    border-inline-start: 1px solid var(--line);
  }
  .showcase-inner {
    grid-template-columns: 1fr;
  }
  .showcase-visual {
    order: 2;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .section-pad {
    padding: 62px 0;
  }
  .btn {
    padding: 13px 20px;
    font-size: 14.5px;
  }
  .btn-lg {
    padding: 15px 24px;
    width: 100%;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .float-chip {
    padding: 8px 12px;
    font-size: 11.5px;
  }
  .float-chip .ico {
    width: 22px;
    height: 22px;
  }
  .cta-box {
    padding: 46px 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   GRADIENTDECK-INSPIRED ENHANCEMENTS — ROUND 2
   (all progressive; every effect respects reduced-motion)
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. Hero headline: word-by-word blur cascade ─────────── */
html.js .w-anim {
  display: inline-block;
  opacity: 0;
  translate: 0 16px;
  scale: 0.94;
  filter: blur(7px);
  transition: opacity 0.55s var(--ease-snappy), translate 0.55s var(--ease-snappy),
    scale 0.55s var(--ease-snappy), filter 0.55s var(--ease-snappy);
  transition-delay: calc(var(--wi, 0) * 55ms);
  will-change: opacity, filter;
}
html.js .w-anim.w-in {
  opacity: 1;
  translate: none;
  scale: none;
  filter: none;
}

/* ─── 2. Nav: sliding gold pill behind active section link ── */
/* Desktop nav only — must NOT touch the fixed mobile dropdown */
.nav > a:not(.btn).active {
  color: var(--gold);
}
@media (min-width: 861px) {
  .nav {
    position: relative;
  }
  .nav::before {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: var(--pill-x, 0px);
    width: var(--pill-w, 0px);
    border-radius: 10px;
    background: rgba(226, 215, 3, 0.1);
    box-shadow: inset 0 0 0 1px rgba(226, 215, 3, 0.18);
    opacity: var(--pill-o, 0);
    transition: left 0.4s var(--ease-snappy), width 0.4s var(--ease-snappy),
      opacity 0.25s ease;
    pointer-events: none;
  }
}

/* ─── 3. Scroll-driven hero drift (Chrome/Edge/FF modern) ─── */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-backdrop {
      animation: hero-drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0% 32%;
    }
    .hero-deco.tl,
    .hero-deco.br {
      animation: deco-drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0% 32%;
    }
  }
}
@keyframes hero-drift {
  to {
    translate: 0 110px;
    scale: 1.06;
  }
}
@keyframes deco-drift {
  to {
    translate: 0 -80px;
  }
}

/* ─── 4. Float chips: layers separate when phone-zone hovered ── */
@media (hover: hover) and (pointer: fine) {
  .float-chip {
    transition: translate 0.5s var(--ease-snappy);
  }
  .phone-zone:hover .fc-1 {
    translate: -9px -7px;
  }
  .phone-zone:hover .fc-2 {
    translate: 10px 5px;
  }
  .phone-zone:hover .fc-3 {
    translate: -7px 8px;
  }
}

/* ─── 5. Feature icon: pop-in cascade + playful hover tilt ── */
html.js .reveal.in .f-ico {
  animation: icon-pop 0.5s var(--ease-snappy) backwards;
  animation-delay: calc(var(--d, 0ms) + 200ms);
}
@keyframes icon-pop {
  from {
    scale: 0.5;
    opacity: 0;
  }
}
.feature .f-ico {
  transition: rotate 0.35s var(--ease-snappy), scale 0.35s var(--ease-snappy);
}
.feature:hover .f-ico {
  rotate: -7deg;
  scale: 1.14;
}

/* ─── 6. Phone screen: periodic cinematic glare sweep ──────── */
.phone-screen::after {
  content: "";
  position: absolute;
  top: -22%;
  bottom: -22%;
  left: -48%;
  width: 34%;
  transform: skewX(-16deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.11), transparent);
  pointer-events: none;
  z-index: 12;
  animation: glare-sweep 7s var(--ease-snappy) 2.2s infinite;
}
@keyframes glare-sweep {
  0% {
    translate: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  36% {
    translate: 480%;
    opacity: 0;
  }
  100% {
    translate: 480%;
    opacity: 0;
  }
}

/* ─── 7. CTA box: breathing top glow ───────────────────────── */
.cta-box::before {
  animation: glow-breathe 6s ease-in-out infinite;
}
@keyframes glow-breathe {
  50% {
    opacity: 0.55;
    scale: 1.2;
  }
}

/* ─── 8. Back-to-top: conic scroll-progress ring ───────────── */
.to-top::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(
    var(--gold) calc(var(--p, 0) * 1%),
    rgba(226, 215, 3, 0.14) 0
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 2.5px));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.to-top.show::before {
  opacity: 1;
}

/* ─── 9. FAQ: answer fades in while unfolding ──────────────── */
.faq-a-inner {
  opacity: 0;
  translate: 0 -8px;
  transition: opacity 0.32s ease 0.07s, translate 0.38s var(--ease-snappy) 0.07s;
}
.faq-item.open .faq-a-inner {
  opacity: 1;
  translate: none;
}

/* ─── 11. Scroll progress: travelling glint ────────────────── */
.scroll-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%) no-repeat;
  background-size: 36% 100%;
  animation: glint 2.5s linear infinite;
}
@keyframes glint {
  from {
    background-position: -80% 0;
  }
  to {
    background-position: 320% 0;
  }
}
