@import url("./onest.css");

/* ── Brand faces supplied by the client ───────────────────────────────────── */
@font-face {
  font-family: "LogoShpak";
  src: url("../fonts/LogoShpak.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "IconSova";
  src: url("../fonts/IconSova.ttf") format("truetype");
  font-display: block;
}

/* ── Tokens ───────────────────────────────────────────────────────────────── */
:root {
  --font-sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Onest", system-ui, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "Fira Code", monospace;

  /* deep navy stack */
  --bg: #070d1a;
  --bg-2: #0a1223;
  --bg-3: #0e1a2e;
  --panel: rgba(20, 36, 62, 0.5);
  --panel-2: rgba(24, 44, 76, 0.42);

  --fg: #eaf1ff;
  --faint: #a7b6d0;
  --muted: #77879f;
  --dim: #556378;

  --primary-300: #8fd4ff;
  --primary-400: #5cbcff;
  --primary-500: #42aaff;
  --primary-600: #2b8ee6;
  --primary-700: #1f6fbd;
  --accent-2: #4d8eff;
  --glow-rgb: 66, 170, 255;
  --navy-rgb: 120, 170, 255;

  --line: rgba(var(--navy-rgb), 0.13);
  --line-soft: rgba(var(--navy-rgb), 0.08);
  --fill: rgba(var(--navy-rgb), 0.06);
  --fill-hover: rgba(var(--navy-rgb), 0.11);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  background-image: radial-gradient(1100px 620px at 50% -180px, rgba(38, 92, 168, 0.4), transparent 70%),
    radial-gradient(760px 520px at 105% 12%, rgba(31, 78, 148, 0.25), transparent 70%),
    radial-gradient(700px 500px at -5% 45%, rgba(24, 60, 120, 0.22), transparent 70%);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: rgba(var(--glow-rgb), 0.3);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #1d3355;
  border: 3px solid var(--bg);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2a4a78;
}

.gradient-text {
  background: linear-gradient(100deg, #ffffff 0%, var(--primary-300) 45%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mark {
  font-family: "IconSova", sans-serif;
  line-height: 1;
  display: inline-block;
  color: var(--primary-500);
}

.wordmark {
  font-family: "LogoShpak", sans-serif;
  line-height: 1;
  display: inline-block;
}

/* ── Preloader ────────────────────────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.45s var(--ease);
}
.preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.preloader .mark {
  font-size: 56px;
  animation: pulse-glow 1.6s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.35;
    filter: drop-shadow(0 0 0 rgba(var(--glow-rgb), 0));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 22px rgba(var(--glow-rgb), 0.55));
  }
}

/* ── Header: wide glass bar (not a centred pill) ──────────────────────────── */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 14px 16px;
  transition: transform 0.35s var(--ease);
}
.site-header.is-tucked {
  transform: translateY(-140%);
}

.nav {
  position: relative;
  display: none;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 1180px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 20, 38, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  font-family: var(--font-display);
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.is-compact {
  padding-block: 7px;
  background: rgba(8, 16, 32, 0.86);
  border-color: rgba(var(--navy-rgb), 0.2);
}
@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

.nav-sweep {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}
.nav-sweep i {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(var(--navy-rgb), 0.14), transparent);
  animation: sweep 9s var(--ease) infinite;
}
.nav-sweep i:nth-child(2) {
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(var(--navy-rgb), 0.06), transparent);
  animation-delay: 1.6s;
}
@keyframes sweep {
  0% {
    transform: translateX(-120%);
  }
  55%,
  100% {
    transform: translateX(320%);
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav-brand .mark {
  font-size: 22px;
}
.nav-brand b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-brand small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-400);
  padding: 2px 6px;
  border: 1px solid rgba(var(--glow-rgb), 0.3);
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}

.nav-sep {
  width: 1px;
  height: 18px;
  margin-inline: 8px;
  background: var(--line);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--fg);
  background: var(--fill);
}
.nav-link svg {
  width: 14px;
  height: 14px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding-inline: 16px;
  border-radius: 10px;
  border: 1px solid rgba(var(--glow-rgb), 0.35);
  background: rgba(var(--glow-rgb), 0.12);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-cta:hover {
  background: rgba(var(--glow-rgb), 0.2);
  border-color: rgba(var(--glow-rgb), 0.5);
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.lang:hover {
  color: var(--fg);
}

/* mobile bar */
.nav-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 560px;
  padding: 9px 10px 9px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 20, 38, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
@media (min-width: 900px) {
  .nav-mobile {
    display: none;
  }
}
.burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--faint);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 92px 16px 24px;
  background: rgba(6, 11, 22, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}
.drawer a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--fill);
  font-size: 15px;
}
.drawer .drawer-close {
  position: absolute;
  top: 26px;
  right: 22px;
  color: var(--faint);
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding-inline: 30px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.12s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:active {
  transform: scale(0.975);
}
.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--accent-2));
  color: #041020;
  font-weight: 600;
  box-shadow: 0 12px 34px -12px rgba(var(--glow-rgb), 0.7);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-400), #6ba0ff);
  box-shadow: 0 18px 46px -12px rgba(var(--glow-rgb), 0.85);
}
.btn-ghost {
  border: 1px solid var(--line);
  background: var(--fill);
  color: var(--faint);
}
.btn-ghost:hover {
  background: var(--fill-hover);
  color: var(--fg);
}
.btn-block {
  width: 100%;
}

/* ── Reveal animations ────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

.split span {
  display: inline-block;
  opacity: 0;
  transform: translateY(-34px);
  filter: blur(10px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), filter 0.55s var(--ease);
}
.split.is-in span {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal],
  .split span {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 40px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 13, 26, 0.35), rgba(7, 13, 26, 0.55) 45%, var(--bg));
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(var(--navy-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--navy-rgb), 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(700px 460px at 50% 22%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(700px 460px at 50% 22%, #000, transparent 78%);
}
.hero-glow {
  position: absolute;
  inset-inline: 0;
  top: 60px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.hero-glow i {
  width: 420px;
  height: 300px;
  border-radius: 50%;
  background: rgba(var(--glow-rgb), 0.16);
  filter: blur(90px);
}
@media (min-width: 1024px) {
  .hero-glow i {
    width: 760px;
    height: 460px;
    filter: blur(130px);
  }
}

.hero-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1180px;
  margin-inline: auto;
  padding: 148px 16px 0;
}
@media (min-width: 1024px) {
  .hero-inner {
    padding-top: 188px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--fill);
  font-size: 12.5px;
  color: var(--faint);
  margin-bottom: 24px;
}
.pill b {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(var(--glow-rgb), 0.18);
  color: var(--primary-300);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.hero p.lead {
  max-width: 600px;
  margin: 20px auto 0;
  text-align: center;
  font-size: clamp(0.92rem, 1.6vw, 1.1rem);
  line-height: 1.65;
  color: var(--faint);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 32px;
}
@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    width: auto;
    gap: 14px;
    margin-top: 40px;
  }
}

/* ── Showcase: one framed shot + floating glass panels ────────────────────── */
.showcase {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin-top: 52px;
}
@media (min-width: 1024px) {
  .showcase {
    margin-top: 76px;
  }
}
.showcase-main {
  position: relative;
  margin: 0;
  border: 1px solid rgba(var(--navy-rgb), 0.18);
  border-radius: 18px;
  overflow: hidden;
  background: #050a14;
  box-shadow: 0 50px 110px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 30px 90px -60px rgba(var(--glow-rgb), 0.7);
}
.showcase-main img {
  width: 100%;
}
.showcase-float {
  display: none;
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(var(--navy-rgb), 0.22);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(8, 16, 30, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.9);
}
.showcase-float img {
  width: 100%;
}
.showcase-float-a {
  left: -46px;
  bottom: 42px;
  width: 270px;
  transform: rotate(-2deg);
}
.showcase-float-b {
  right: -40px;
  top: 46px;
  width: 230px;
  padding: 16px 18px;
  transform: rotate(1.5deg);
}
@media (min-width: 1100px) {
  .showcase-float {
    display: block;
  }
}
.showcase-float-b h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-400);
}
.showcase-float-b p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--faint);
}
.showcase-fade {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 36%;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(7, 13, 26, 0.85) 65%, var(--bg));
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  width: 100%;
  max-width: 1080px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--line-soft);
}
@media (min-width: 760px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: rgba(10, 18, 35, 0.65);
}
.stats b {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--primary-300);
}
.stats span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ── Section chrome ───────────────────────────────────────────────────────── */
.section {
  position: relative;
  width: 100%;
  padding: 72px 16px;
}
@media (min-width: 1024px) {
  .section {
    padding: 104px 32px;
  }
}
.section-inner {
  max-width: 1180px;
  margin-inline: auto;
}
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 44px;
}
@media (min-width: 1024px) {
  .section-head {
    margin-bottom: 60px;
  }
}
.eyebrow {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-400);
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.section-head p {
  margin: 12px 0 0;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: var(--muted);
}

/* ── Review / video ───────────────────────────────────────────────────────── */
.review {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1000px) {
  .review {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
}
.review > * {
  min-width: 0;
}
.review-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.8rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.review-quote em {
  color: var(--primary-400);
  font-style: normal;
}
.review-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.video-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #04080f;
  aspect-ratio: 16 / 9;
  box-shadow: 0 40px 80px -40px rgba(var(--glow-rgb), 0.45);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Steps (numbered cards) ───────────────────────────────────────────────── */
.steps {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  position: relative;
  min-width: 0;
  padding: 26px 24px 28px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel), rgba(10, 18, 35, 0.35));
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.step:hover {
  border-color: rgba(var(--glow-rgb), 0.32);
  transform: translateY(-3px);
}
.step::before {
  content: attr(data-num);
  position: absolute;
  top: -14px;
  right: 6px;
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(var(--navy-rgb), 0.07);
  pointer-events: none;
}
.step h3 {
  position: relative;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.step p {
  position: relative;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border: 1px solid rgba(var(--glow-rgb), 0.3);
  border-radius: 11px;
  background: rgba(var(--glow-rgb), 0.1);
  color: var(--primary-400);
  font-family: var(--font-mono);
  font-size: 12px;
}

.banner {
  position: relative;
  margin-top: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 760px) {
  .banner img {
    height: 300px;
  }
}
.banner-cap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 24px;
  background: linear-gradient(to top, rgba(7, 13, 26, 0.94), rgba(7, 13, 26, 0.25) 60%, transparent);
}
.banner-cap h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.banner-cap p {
  margin: 0;
  max-width: 520px;
  font-size: 13.5px;
  color: var(--faint);
}

/* ── Bento grid (mouse-follow border glow) ────────────────────────────────── */
.bento {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  user-select: none;
}
@media (min-width: 700px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .bento .card:nth-child(1),
  .bento .card:nth-child(6) {
    grid-column: span 2;
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  min-width: 0;
  min-height: 196px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--panel), rgba(9, 16, 31, 0.35));
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-intensity: 0;
  --glow-radius: 220px;
}
.card:hover {
  border-color: rgba(var(--navy-rgb), 0.2);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 6px;
  border-radius: inherit;
  background: radial-gradient(
    var(--glow-radius) circle at var(--glow-x) var(--glow-y),
    rgba(var(--glow-rgb), calc(var(--glow-intensity) * 0.75)) 0%,
    rgba(var(--glow-rgb), calc(var(--glow-intensity) * 0.35)) 30%,
    transparent 60%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 1;
}
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(var(--glow-rgb), 0.25);
  border-radius: 11px;
  background: rgba(var(--glow-rgb), 0.1);
  color: var(--primary-400);
}
.card-icon svg {
  width: 18px;
  height: 18px;
}
.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.spotlight {
  position: fixed;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 5;
  opacity: 0;
  background: radial-gradient(circle, rgba(var(--glow-rgb), 0.13) 0%, transparent 65%);
  transition: opacity 0.4s var(--ease);
}

/* ── Tier cards (landing pricing) ─────────────────────────────────────────── */
.tiers {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) {
  .tiers {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .tiers {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel), rgba(9, 16, 31, 0.4));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.tier:hover {
  border-color: rgba(var(--navy-rgb), 0.22);
  transform: translateY(-3px);
}
.tier-featured {
  border-color: rgba(var(--glow-rgb), 0.45);
  background: linear-gradient(180deg, rgba(var(--glow-rgb), 0.14), rgba(9, 16, 31, 0.5));
  box-shadow: 0 30px 70px -40px rgba(var(--glow-rgb), 0.9);
}
.tier-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.tier-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tier-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.tier-price s {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--dim);
  letter-spacing: 0;
}
.tier-per {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}
.tier ul {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: grid;
  gap: 9px;
}
.tier li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--faint);
}
.tier li svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--primary-500);
}
.tier .btn {
  margin-top: auto;
  height: 44px;
  font-size: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}
.tag-hot {
  background: rgba(var(--glow-rgb), 0.18);
  color: var(--primary-300);
}
.tag-off {
  background: rgba(var(--navy-rgb), 0.1);
  color: var(--faint);
}
.tag-joke {
  background: rgba(255, 196, 66, 0.14);
  color: #ffc442;
}

.addon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(10, 18, 35, 0.5);
}
.addon h4 {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}
.addon p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.addon-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Plan picker (purchase page) ──────────────────────────────────────────── */
.plan-list {
  display: grid;
  gap: 10px;
}
.plan {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(10, 18, 35, 0.45);
  text-align: left;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.plan:hover {
  border-color: rgba(var(--navy-rgb), 0.24);
}
.plan.is-active {
  border-color: rgba(var(--glow-rgb), 0.6);
  background: rgba(var(--glow-rgb), 0.1);
  box-shadow: 0 18px 44px -30px rgba(var(--glow-rgb), 1);
}
.plan-radio {
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #2c4368;
  border-radius: 50%;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.plan.is-active .plan-radio {
  border-color: var(--primary-500);
  box-shadow: inset 0 0 0 4px var(--primary-500);
}
.plan-name {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
}
.plan-total {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

/* ── Order card (purchase page) ───────────────────────────────────────────── */
.order {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(var(--glow-rgb), 0.1), rgba(9, 16, 31, 0.55));
  overflow: hidden;
}
@media (min-width: 1000px) {
  .order {
    position: sticky;
    top: 96px;
  }
}
.order::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(var(--glow-rgb), 0.22);
  filter: blur(80px);
  pointer-events: none;
}
.order > * {
  position: relative;
}
.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}
.order-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.order-total span {
  font-size: 13px;
  color: var(--muted);
  margin-right: auto;
}
.order-total b {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  overflow-wrap: anywhere;
}
.order-total s {
  font-size: 14px;
  color: var(--dim);
}
.order-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}
.order ul {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.order li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--faint);
}
.order li svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--primary-500);
}

/* ── Buy steps strip ──────────────────────────────────────────────────────── */
.flow {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-top: 30px;
}
@media (min-width: 700px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
  }
}
.flow div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(10, 18, 35, 0.45);
  font-size: 13.5px;
  color: var(--faint);
}
.flow b {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(var(--glow-rgb), 0.14);
  color: var(--primary-300);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ── Closing CTA ──────────────────────────────────────────────────────────── */
.cta {
  position: relative;
  text-align: center;
  padding: 88px 16px 104px;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  width: 760px;
  height: 380px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(var(--glow-rgb), 0.13);
  filter: blur(130px);
  pointer-events: none;
}
.cta h2 {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.cta p {
  position: relative;
  max-width: 620px;
  margin: 18px auto 0;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: var(--muted);
  line-height: 1.7;
}
.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(6, 12, 24, 0.6);
  padding: 56px 16px 32px;
}
.footer-grid {
  display: grid;
  gap: 36px;
  max-width: 1180px;
  margin-inline: auto;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 24px;
  }
}
.footer-grid > * {
  min-width: 0;
}
.footer-brand .mark {
  font-size: 26px;
}
.footer-brand .brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .brand-row b {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}
.footer-brand p {
  margin: 14px 0 0;
  max-width: 320px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.footer-col h5 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: var(--faint);
  transition: color 0.2s var(--ease);
  overflow-wrap: anywhere;
}
.footer-col a:hover {
  color: var(--primary-300);
}
.footer-bottom {
  max-width: 1180px;
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.7;
}
@media (min-width: 900px) {
  .footer-bottom {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--faint);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.footer-social a:hover {
  background: var(--fill);
  color: var(--fg);
}
.footer-social svg {
  width: 14px;
  height: 14px;
}

/* ── Inner pages ──────────────────────────────────────────────────────────── */
.page {
  padding-top: 124px;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.page-sub {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
}

.panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel), rgba(9, 16, 31, 0.35));
}
.panel h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.panel p,
.panel li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.panel ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
.panel + .panel {
  margin-top: 14px;
}

.buy-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1000px) {
  .buy-grid {
    grid-template-columns: 1fr 380px;
    gap: 30px;
  }
}
.buy-grid > * {
  min-width: 0;
}

.spec {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}
.spec div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.spec span:last-child {
  color: var(--faint);
  text-align: right;
  overflow-wrap: anywhere;
}

.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery figure {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
  background: #04080f;
}
.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.doc-nav button {
  padding: 9px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--muted);
  transition: all 0.2s var(--ease);
}
.doc-nav button:hover {
  color: var(--fg);
  background: var(--fill);
}
.doc-nav button.is-active {
  color: var(--fg);
  border-color: rgba(var(--glow-rgb), 0.5);
  background: rgba(var(--glow-rgb), 0.13);
}
.doc[hidden] {
  display: none;
}

/* ── Auth ─────────────────────────────────────────────────────────────────── */
.auth {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 108px 16px 48px;
  overflow: hidden;
}
.auth-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.auth-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.auth-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 28%, rgba(var(--glow-rgb), 0.16), transparent 62%),
    linear-gradient(to bottom, rgba(7, 13, 26, 0.7), var(--bg));
}
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(11, 21, 40, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.95);
}
.auth-card .mark {
  font-size: 40px;
  display: block;
  text-align: center;
  margin-bottom: 18px;
}
.auth-card h1 {
  margin: 0 0 6px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.auth-card > p {
  margin: 0 0 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  color: var(--faint);
}
.field input {
  width: 100%;
  height: 44px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(var(--navy-rgb), 0.05);
  color: var(--fg);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input::placeholder {
  color: var(--dim);
}
.field input:focus {
  border-color: rgba(var(--glow-rgb), 0.65);
  background: rgba(var(--glow-rgb), 0.07);
}
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 6px 0 20px;
  font-size: 12.5px;
  color: var(--muted);
}
.auth-row a:hover {
  color: var(--fg);
}
.auth-foot {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.auth-foot a {
  color: var(--primary-400);
}
.auth-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 11.5px;
  color: var(--dim);
  line-height: 1.7;
}
