/* DrMaco — Apple "liquid glass" on a dark canvas.
   Dark violet-charcoal background, translucent frosted panels with specular
   rim light. Buttons are white glass with black text. */

:root {
  --bg: #0f0c17;
  --bg-2: #161228;
  --bg-3: #1b1533;

  --text: #f6f4fb;
  --text-soft: #cdc6e0;
  --text-dim: #a49bbd;
  --text-faint: #7b7295;

  /* Glass layers on dark */
  --glass: rgba(255, 255, 255, 0.055);
  --glass-2: rgba(255, 255, 255, 0.085);
  --glass-3: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-lit: rgba(255, 255, 255, 0.26);
  --hairline: rgba(255, 255, 255, 0.08);

  --accent: #a78bfa;
  --accent-soft: rgba(167, 139, 250, 0.16);

  --ok: #4fd6a0;
  --warn: #f5c069;
  --no: #f2718a;

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.5);

  /* Specular top edge that sells the glass look */
  --lit: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  --lit-strong: inset 0 1px 0 rgba(255, 255, 255, 0.34);

  --blur: saturate(160%) blur(20px);
  --max-w: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Floating nav sits ~92px tall; keep anchored sections clear of it */
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1000px 620px at 14% -10%, rgba(167, 139, 250, 0.22) 0%, rgba(167, 139, 250, 0) 60%),
    radial-gradient(900px 560px at 88% 2%, rgba(96, 130, 220, 0.16) 0%, rgba(96, 130, 220, 0) 58%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 52%, var(--bg-3) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { font-family: var(--mono); font-size: 0.92em; }

.wrap { max-width: 100%; width: min(var(--max-w), 100%); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 780px; }
.narrow { max-width: 760px; margin: 0 auto; }
.section--flush-top { padding-top: 0; }
.section--tight-top { padding-top: 28px; }
.spaced-top { margin-top: 36px; }
.section-head--spaced { margin-top: 78px; }
.inline-link { color: var(--accent); font-weight: 700; }

/* ---------- Nav: floating island ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav__inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 8px 0 18px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 18px;
  background: rgba(22, 17, 40, 0.7);
  -webkit-backdrop-filter: saturate(190%) blur(26px);
  backdrop-filter: saturate(190%) blur(26px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.07) inset,
    0 20px 44px -20px rgba(0, 0, 0, 0.6);
  transition:
    height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Tightens and lifts once you scroll past the hero */
.nav.is-scrolled { padding: 8px 0; }

.nav.is-scrolled .nav__inner {
  height: 58px;
  background: rgba(16, 13, 30, 0.86);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.08) inset,
    0 22px 50px -20px rgba(0, 0, 0, 0.7);
}

@media (max-width: 1240px) {
  .nav__inner { max-width: calc(100% - 32px); }
}

/* ---------- Brand ---------- */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.022em;
  flex-shrink: 0;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand__word { color: var(--text); }

/* ---------- Nav links ---------- */

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  margin-inline: auto;
}

/* Pill hover surface instead of a 90s underline */
.nav__links > a,
.nav__group-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 11px;
  color: var(--text-dim);
  transition: color 0.18s ease, background 0.18s ease;
}

.nav__links > a::before,
.nav__group-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav__links > a:hover,
.nav__group-btn:hover,
.nav__links > a.is-current,
.nav__group.is-current .nav__group-btn,
.nav__group.is-open .nav__group-btn { color: var(--text); }

.nav__links > a:hover::before,
.nav__group-btn:hover::before,
.nav__group.is-open .nav__group-btn::before { opacity: 1; transform: scale(1); }

/* Active section gets a small dot, not a heavy underline */
.nav__links > a.is-current::after,
.nav__group.is-current .nav__group-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* Hairline divider separates browsing from actions */
.nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-left: 16px;
  position: relative;
}

.nav__cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 22px;
  width: 1px;
  margin-top: -11px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

@media (max-width: 1080px) {
  .nav__cta { padding-left: 0; }
  .nav__cta::before { display: none; }
}

/* ---------- Animated hamburger ---------- */

.nav__toggle {
  display: none;
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav__toggle span {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1.6px;
  margin-left: -8px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.nav__toggle span:nth-child(1) { top: 13px; }
.nav__toggle span:nth-child(2) { top: 18.2px; }
.nav__toggle span:nth-child(3) { top: 23.4px; }

.nav__toggle.is-active span:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0.3); }
.nav__toggle.is-active span:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.is-open {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-inline: 0;
    padding: 16px 18px 18px;
    border-radius: 20px;
    /* Opaque, not translucent — the hero headline was reading through
       the drawer links and destroying legibility. */
    background: linear-gradient(180deg, #221c3c 0%, #17122b 100%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow:
      0 1px 0 0 rgba(255, 255, 255, 0.07) inset,
      0 28px 64px -20px rgba(0, 0, 0, 0.8);
    z-index: 60;
    animation: drawer-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

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

@media (max-width: 560px) {
  .nav { padding: 10px 0; }
  .nav__inner { max-width: calc(100% - 20px); padding: 0 8px 0 14px; gap: 10px; }
  .nav__cta .btn--ghost, .nav__cta .btn--coffee { display: none; }
  .brand { font-size: 15.5px; gap: 8px; }
  .brand img { width: 27px; height: 27px; }
  .lang-switcher__toggle .lang-current { display: none; }
}

/* ---------- Language switcher ---------- */

.lang-switcher { position: relative; }

.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 620;
  letter-spacing: 0.01em;
  padding: 8px 10px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.06) inset;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.lang-switcher__toggle:hover {
  background: rgba(255, 255, 255, 0.11);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-switcher__toggle .globe { width: 15px; height: 15px; opacity: 0.85; }

.lang-switcher__toggle .caret {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-switcher__menu.is-open ~ .lang-switcher__toggle .caret,
.lang-switcher__toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }

.lang-switcher__menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(19, 15, 34, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  backdrop-filter: saturate(180%) blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 7px;
  min-width: 186px;
  z-index: 70;
  box-shadow: 0 26px 56px -20px rgba(0, 0, 0, 0.65), 0 1px 0 0 rgba(255, 255, 255, 0.08) inset;
}

.lang-switcher__menu.is-open {
  display: block;
  animation: lang-menu-in 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lang-menu-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lang-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 520;
  font-family: inherit;
  padding: 9px 11px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-option:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }

.lang-option.is-active { color: var(--text); font-weight: 650; }

/* Checkmark on the active language instead of a filled block */
.lang-option.is-active::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 5px;
  height: 9px;
  border-right: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(45deg) translateY(-1px);
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: inherit;
  font-weight: 620;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  padding: 11px 19px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  isolation: isolate;
  transition:
    transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.22s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn:active { transform: translateY(0) scale(0.975); transition-duration: 0.08s; }

.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Focus ring for keyboard users only */
.btn:focus-visible,
.nav__group-btn:focus-visible,
.lang-switcher__toggle:focus-visible,
.nav__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Primary: bright white slab with a soft violet bloom on hover */
.btn--primary {
  background: linear-gradient(180deg, #ffffff 0%, #ece9f5 100%);
  color: #14101f;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 6px -1px rgba(0, 0, 0, 0.35),
    0 8px 20px -8px rgba(0, 0, 0, 0.5);
}

.btn--primary:hover {
  transform: translateY(-1.5px);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.95) inset,
    0 4px 10px -2px rgba(0, 0, 0, 0.4),
    0 14px 34px -10px rgba(167, 139, 250, 0.55);
}

/* Ghost: frosted, gains a lit rim on hover */
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.07) inset;
}

.btn--ghost:hover {
  transform: translateY(-1.5px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
    0 10px 26px -12px rgba(0, 0, 0, 0.6);
}

/* Coffee: warm accent, subtle by default */
.btn--coffee {
  background: rgba(245, 192, 105, 0.1);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  color: var(--warn);
  border-color: rgba(245, 192, 105, 0.28);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.06) inset;
}

.btn--coffee:hover {
  transform: translateY(-1.5px);
  background: rgba(245, 192, 105, 0.17);
  border-color: rgba(245, 192, 105, 0.5);
  box-shadow: 0 10px 26px -12px rgba(245, 192, 105, 0.4);
}

.btn--sm { padding: 8px 14px; font-size: 13.5px; border-radius: 10px; }
.btn--sm svg { width: 14px; height: 14px; }

/* ---------- Reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal--right { transform: translateX(44px); }
.reveal.reveal--up { transform: translateY(30px); }
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-group .reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal-group .reveal:nth-child(6) { transition-delay: 0.3s; }

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

.hero { padding: 92px 0 84px; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__inner > * { min-width: 0; }

@media (max-width: 900px) {
  .hero { padding: 60px 0 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 46px; text-align: center; }
  .hero__cta, .hero__badges { justify-content: center; }
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--text-soft);
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  padding: 7px 15px;
  margin-bottom: 24px;
  box-shadow: var(--lit);
}

.pill-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(79, 214, 160, 0.2), 0 0 10px rgba(79, 214, 160, 0.6);
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-weight: 700;
}

.hero h1 .accent-text {
  display: block;
  background: linear-gradient(96deg, #ffffff 0%, var(--accent) 55%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 528px;
  margin: 0 0 32px;
}

@media (max-width: 900px) { .hero p.lead { margin-inline: auto; } }

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.hero__badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-faint);
}

.hero__badges span { display: inline-flex; align-items: center; gap: 6px; }

/* Tilted app-window showpiece. The screenshot already carries its own
   rounded corners + alpha, so the tilt/glow live on the image itself
   rather than on a wrapper panel (which would double the border). */
.hero__stage {
  perspective: 1600px;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.hero__art {
  position: relative;
  max-width: 430px;
  width: 100%;
  transform: rotateY(-14deg) rotateX(5deg) rotateZ(-1.6deg);
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.85s ease;
  filter:
    drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 40px rgba(167, 139, 250, 0.14));
  will-change: transform;
}

.hero__art:hover {
  transform: rotateY(-7deg) rotateX(2deg) rotateZ(-0.7deg) scale(1.02);
  filter:
    drop-shadow(0 34px 68px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 70px rgba(167, 139, 250, 0.32));
}

.hero__art img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

/* Specular sheen sweeping across the glass window */
.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(122deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 24%, rgba(255, 255, 255, 0) 46%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero__art { max-width: 380px; transform: rotateY(-8deg) rotateZ(-1deg); }
}

@media (max-width: 560px) {
  .hero__art { max-width: 320px; transform: none; }
}

.hero__coffee-hint { margin-top: 20px; }

.hero__coffee-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 11px 16px;
  box-shadow: var(--lit);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hero__coffee-link:hover { background: var(--glass-3); border-color: rgba(245, 192, 105, 0.5); }

.hero__coffee-link .coffee-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero__coffee-link .coffee-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero__coffee-link strong { display: block; font-size: 13.5px; color: var(--warn); font-weight: 700; }
.hero__coffee-link small { display: block; font-size: 11.5px; color: var(--text-faint); }

/* ---------- Strip ---------- */

.strip {
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

/* ---------- Sections ---------- */

section { padding: 92px 0; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 13px;
}

.section-head h2 {
  font-size: clamp(29px, 3.6vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 13px;
  font-weight: 700;
}

.section-head p { color: var(--text-dim); font-size: 16.5px; margin: 0; }

/* ---------- Feature grid ---------- */

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

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm), var(--lit);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--glass-2);
  border-color: var(--glass-border-lit);
  box-shadow: var(--shadow-md), var(--lit-strong);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--lit);
  margin-bottom: 18px;
  font-size: 21px;
  color: var(--accent);
}

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

.feature-card h3 { font-size: 16.5px; margin: 0 0 8px; font-weight: 700; letter-spacing: -0.015em; }
.feature-card p { font-size: 14.5px; color: var(--text-dim); margin: 0; }

/* ---------- Showcase rows ---------- */

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
}

.showcase-row:first-child { border-top: none; padding-top: 0; }
.showcase-row.is-reversed { direction: rtl; }
.showcase-row.is-reversed > * { direction: ltr; }

@media (max-width: 880px) {
  .showcase-row, .showcase-row.is-reversed { grid-template-columns: 1fr; direction: ltr; gap: 34px; }
}

.showcase-visual {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 26px;
  min-height: 230px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-md), var(--lit);
}

.mock-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }

.mock-card {
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  padding: 15px;
  box-shadow: var(--lit);
}

.mock-card .mock-label {
  font-size: 10.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 7px;
}

.mock-card .mock-value { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }

.mock-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-pill);
  margin-top: 11px;
  overflow: hidden;
}

.mock-bar span { display: block; height: 100%; background: var(--accent); border-radius: var(--r-pill); }
.mock-bar span.is-good { background: var(--ok); }
.mock-bar span.is-warn { background: var(--warn); }

.mock-stack { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.mock-value--sm { font-size: 16px; }
.mock-value.is-good { color: var(--ok); }

/* ---------- Background scan showcase: radar sweep + live counters ---------- */

.scan-showcase { flex-direction: column; gap: 26px; }

.scan-radar {
  position: relative;
  width: 128px;
  height: 128px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scan-radar__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.28);
}

.scan-radar__ring--2 { inset: 22px; border-color: rgba(167, 139, 250, 0.4); }

.scan-radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(167, 139, 250, 0.55), rgba(167, 139, 250, 0) 34%);
  animation: scan-sweep 3.2s linear infinite;
}

.scan-radar__core {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ok);
  background: var(--glass-2);
  border: 1px solid var(--glass-border-lit);
  box-shadow: var(--lit), 0 0 24px rgba(79, 214, 160, 0.25);
}

.scan-radar__core svg { width: 24px; height: 24px; }

@keyframes scan-sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.scan-stack { width: 100%; }

.showcase-copy h3 {
  font-size: 26px;
  margin: 0 0 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.showcase-copy > p { color: var(--text-dim); font-size: 15.5px; margin: 0 0 20px; }

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--text-soft);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-list { width: 100%; font-family: var(--mono); font-size: 12.5px; color: var(--text-dim); }

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}

.spec-list div:last-child { border-bottom: none; }
.spec-list b { color: var(--text-faint); font-weight: 500; }
.spec-list span { color: var(--text); font-weight: 600; }

/* ---------- Principles ---------- */

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm), var(--lit);
}

.why-card .num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 15px;
}

.why-card h4 { margin: 0 0 8px; font-size: 15.5px; font-weight: 700; letter-spacing: -0.015em; }
.why-card p { margin: 0; font-size: 13.5px; color: var(--text-dim); }

/* ---------- Comparison ---------- */

.rant {
  max-width: 100%;
  min-width: 0;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 44px;
  box-shadow: var(--shadow-md), var(--lit);
}

@media (max-width: 640px) { .rant { padding: 28px 20px; } }

.rant h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.rant > p { color: var(--text-dim); font-size: 15.5px; max-width: 660px; margin: 0 0 30px; }

.compare-table-scroll { overflow-x: auto; width: 100%; max-width: 100%; min-width: 0; }

.compare-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.compare-table th, .compare-table td { padding: 14px 15px; border-bottom: 1px solid var(--hairline); }
.compare-table tr:last-child td { border-bottom: none; }

.compare-table th {
  color: var(--text-faint);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.compare-table td:first-child { color: var(--text); font-weight: 500; }
.compare-table td.yes { color: var(--ok); font-weight: 650; }
.compare-table td.no { color: var(--text-faint); }

/* ---------- Install ---------- */

.install-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }

.install-tab {
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  color: var(--text-dim);
  font-family: inherit;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 17px;
  border-radius: var(--r-pill);
  cursor: pointer;
  box-shadow: var(--lit);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.install-tab { display: inline-flex; align-items: center; gap: 7px; }
.install-tab svg { width: 15px; height: 15px; flex: 0 0 auto; }

.install-tab:hover { background: var(--glass-3); color: var(--text); }

.install-tab.is-active {
  background: #ffffff;
  color: #0d0b14;
  border-color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  box-shadow: var(--shadow-sm), inset 0 1px 0 #fff;
}

.install-panel { display: none; }
.install-panel.is-active { display: block; }

.code-block {
  background: rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-soft);
  overflow-x: auto;
  position: relative;
  box-shadow: var(--lit);
}

.code-block pre { margin: 0; white-space: pre; }
.code-block .comment { color: var(--text-faint); }
.code-block .cmd { color: var(--accent); font-weight: 600; }

.install-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 22px;
  font-family: var(--font);
}

.install-download__label {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 650;
}

.copy-btn {
  position: absolute;
  top: 11px;
  right: 11px;
  background: var(--glass-3);
  border: 1px solid var(--glass-border);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 11px;
  font-weight: 650;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  cursor: pointer;
}

.copy-btn:hover { color: var(--text); border-color: var(--glass-border-lit); }

.install-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0 0;
  font-size: 13.5px;
  color: var(--text-faint);
  line-height: 1.6;
}

.install-note svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: var(--accent); }
.install-note--warn svg { color: var(--warn); }

/* ---------- Support ---------- */

.support-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 38px;
  box-shadow: var(--shadow-md), var(--lit);
}

@media (max-width: 760px) {
  .support-box { grid-template-columns: 1fr; text-align: center; padding: 28px 20px; }
}

.support-box h3 { font-size: 21px; margin: 0 0 10px; font-weight: 700; letter-spacing: -0.025em; }
.support-box p { color: var(--text-dim); margin: 0; font-size: 14.5px; }

.support-amounts { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }

@media (max-width: 760px) { .support-amounts { justify-content: center; } }

.amount-chip {
  border: 1px solid var(--glass-border);
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  color: var(--text-dim);
  font-family: inherit;
  font-weight: 650;
  font-size: 13.5px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  cursor: pointer;
  box-shadow: var(--lit);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.amount-chip:hover { background: var(--glass-3); color: var(--text); }

.amount-chip.is-active {
  background: rgba(245, 192, 105, 0.16);
  border-color: rgba(245, 192, 105, 0.55);
  color: var(--warn);
  font-weight: 700;
}

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

.faq-item {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  padding: 0 20px;
  box-shadow: var(--lit);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover { background: var(--glass-2); }
.faq-item.is-open { background: var(--glass-2); border-color: var(--glass-border-lit); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 650;
  font-size: 15.5px;
  gap: 16px;
  padding: 18px 0;
}

.faq-q .plus {
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.is-open .plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-dim);
  font-size: 14.5px;
}

.faq-item.is-open .faq-a { max-height: 340px; }
.faq-a p { margin: 0 0 18px; }

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

.cta-final {
  text-align: center;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(167, 139, 250, 0.16) 0%, rgba(167, 139, 250, 0) 70%),
    rgba(255, 255, 255, 0.025);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

.cta-final h2 {
  font-size: clamp(29px, 4vw, 44px);
  margin: 0 0 13px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.cta-final p { color: var(--text-dim); font-size: 16.5px; margin: 0 0 30px; }
.cta-final .hero__cta { justify-content: center; margin-bottom: 0; }

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

footer { padding: 56px 0 30px; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 42px; }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; margin-bottom: 12px; }
.footer-brand img { width: 24px; height: 24px; border-radius: 7px; }
.footer-col p.desc { color: var(--text-faint); font-size: 13px; max-width: 250px; margin: 0; }

.footer-col h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-faint);
  margin: 0 0 14px;
  font-weight: 700;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-dim); font-size: 13.5px; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-faint);
}

.footer-bottom--bare { border-top: none; padding-top: 0; }

.footer-bottom .socials { display: flex; gap: 8px; }

.footer-bottom .socials a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  color: var(--text-dim);
  font-size: 12px;
  box-shadow: var(--lit);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.footer-bottom .socials a svg { width: 15px; height: 15px; display: block; }

.footer-bottom .socials a:hover {
  background: var(--glass-3);
  color: var(--text);
  border-color: var(--glass-border-lit);
  transform: translateY(-1px);
}

/* ---------- Inner pages ---------- */

.page-hero { padding: 72px 0 10px; text-align: center; }

.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin: 0 0 13px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.page-hero p { color: var(--text-dim); font-size: 16.5px; max-width: 570px; margin: 0 auto; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }

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

.contact-card {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm), var(--lit);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover { background: var(--glass-2); border-color: var(--glass-border-lit); }

.contact-card h3 { margin: 0; font-size: 17.5px; font-weight: 700; letter-spacing: -0.02em; }
.contact-card p { margin: 0; color: var(--text-dim); font-size: 14.5px; }
.contact-card a.link-line { color: var(--accent); font-weight: 600; font-size: 13.5px; font-family: var(--mono); }

.author-card { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }

@media (max-width: 560px) { .author-card { grid-template-columns: 1fr; text-align: center; } }

.author-avatar {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: var(--glass-3);
  border: 1px solid var(--glass-border-lit);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -0.02em;
  color: var(--text);
  box-shadow: var(--shadow-md), var(--lit-strong);
}

@media (max-width: 560px) { .author-avatar { margin: 0 auto; } }

.author-card h3 { font-size: 20px; margin: 0 0 3px; }
.author-card .role { color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.author-card .links { display: flex; gap: 9px; flex-wrap: wrap; }
@media (max-width: 560px) { .author-card .links { justify-content: center; } }

/* ---------- Changelog ---------- */

.changelog-list { margin-top: 20px; }

.changelog-entry {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm), var(--lit);
}

@media (max-width: 640px) { .changelog-entry { grid-template-columns: 1fr; gap: 12px; padding: 22px; } }

.changelog-date { font-family: var(--mono); font-size: 12.5px; color: var(--text-faint); padding-top: 3px; }

.changelog-version {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16.5px;
  margin-bottom: 13px;
  flex-wrap: wrap;
  letter-spacing: -0.02em;
}

.tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
}

.tag--feature { color: var(--ok); }
.tag--fix { color: var(--warn); }
.tag--security { color: var(--no); }
.tag--initial { color: var(--accent); }

.changelog-entry ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-dim);
  font-size: 14.5px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.changelog-entry ul li::marker { color: var(--accent); }

.changelog-subscribe {
  margin-top: 44px;
  text-align: center;
  padding: 36px;
  border: 1px dashed var(--glass-border-lit);
  border-radius: var(--r-lg);
}

.changelog-subscribe h3 { margin: 0 0 7px; font-size: 18px; font-weight: 700; }
.changelog-subscribe p { color: var(--text-dim); margin: 0 0 22px; font-size: 14.5px; }

/* ---------- Support-first download modal ---------- */

.support-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 14, 0.7);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.support-modal-overlay.is-open { display: flex; }

.support-modal {
  position: relative;
  max-width: 452px;
  width: 100%;
  background: rgba(32, 26, 56, 0.82);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border-lit);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg), var(--lit-strong);
  animation: modal-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.975); }
  to { opacity: 1; transform: none; }
}

.support-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: var(--glass-2);
  color: var(--text-dim);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-modal__close svg { width: 13px; height: 13px; display: block; }

.support-modal__close:hover { color: var(--text); background: var(--glass-3); }

.support-modal__icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--lit);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  color: var(--accent);
}

.support-modal__icon svg { width: 24px; height: 24px; display: block; }

.support-modal .free-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ok);
  background: rgba(79, 214, 160, 0.12);
  border: 1px solid rgba(79, 214, 160, 0.3);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  margin-bottom: 15px;
}

.support-modal .free-badge svg { width: 13px; height: 13px; flex: 0 0 auto; }

.support-modal h3 { font-size: 20px; font-weight: 700; margin: 0 0 11px; letter-spacing: -0.028em; }
.support-modal > p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; }

.support-modal .perk-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(245, 192, 105, 0.1);
  border: 1px solid rgba(245, 192, 105, 0.32);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 24px;
}

.support-modal .perk-box .perk-icon { font-size: 18px; line-height: 1.3; color: var(--accent); flex: 0 0 auto; }
.support-modal .perk-box .perk-icon svg { width: 19px; height: 19px; display: block; }
.support-modal .perk-box p { margin: 0; font-size: 13.5px; color: var(--warn); }
.support-modal .perk-box strong { color: var(--text); }

.support-modal__actions { display: flex; flex-direction: column; gap: 9px; }
.support-modal__actions .btn { width: 100%; }

.support-modal__skip {
  background: none;
  border: none;
  color: var(--text-faint);
  font-family: inherit;
  font-size: 13px;
  font-weight: 550;
  padding: 8px;
  cursor: pointer;
}

.support-modal__skip:hover { color: var(--text-dim); }

/* ---------- BMC widget nudge ---------- */

.bmc-nudge {
  position: fixed;
  right: 90px;
  bottom: 28px;
  z-index: 190;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.bmc-nudge.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.bmc-nudge__bubble {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #0d0b14;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  padding: 12px 15px;
  border-radius: var(--r-md);
  max-width: 200px;
  box-shadow: var(--shadow-md);
  animation: nudge-bob 2.8s ease-in-out infinite;
}

.bmc-nudge__bubble .bmc-nudge__sub {
  display: block;
  font-weight: 500;
  font-size: 11.5px;
  color: #5c5470;
  margin-top: 2px;
}

.bmc-nudge__bubble::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 15px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.95);
  transform: rotate(45deg);
  border-radius: 2px;
}

.bmc-nudge__arrow {
  font-size: 20px;
  margin-left: 8px;
  color: #fff;
  animation: nudge-arrow 1.5s ease-in-out infinite;
}

.bmc-nudge__close {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2b2440;
  border: 1px solid var(--glass-border-lit);
  color: var(--text-dim);
  font-size: 9px;
  font-family: inherit;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.bmc-nudge__close svg { width: 10px; height: 10px; display: block; }

.bmc-nudge__close:hover { color: #fff; }

@keyframes nudge-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes nudge-arrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@media (max-width: 640px) {
  .bmc-nudge { right: 76px; bottom: 24px; }
  .bmc-nudge__bubble { max-width: 162px; font-size: 12px; padding: 10px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .hero__art { transform: none !important; }
}

/* =====================================================================
   LIQUID GLASS — extended layer
   Animated background orbs, directional scroll choreography,
   full-viewport sections and the new section components.
   ===================================================================== */

/* ---------- Living background: drifting light orbs behind the glass ---------- */

.orbs {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
}

.orb--1 {
  width: 620px; height: 620px;
  top: -12%; left: -8%;
  background: radial-gradient(circle at 35% 35%, rgba(167, 139, 250, 0.75), rgba(167, 139, 250, 0) 68%);
  animation: orb-drift-1 34s ease-in-out infinite;
}

.orb--2 {
  width: 540px; height: 540px;
  top: 28%; right: -10%;
  background: radial-gradient(circle at 60% 40%, rgba(96, 150, 245, 0.6), rgba(96, 150, 245, 0) 68%);
  animation: orb-drift-2 42s ease-in-out infinite;
}

.orb--3 {
  width: 480px; height: 480px;
  bottom: -8%; left: 26%;
  background: radial-gradient(circle at 50% 50%, rgba(236, 132, 214, 0.42), rgba(236, 132, 214, 0) 68%);
  animation: orb-drift-3 38s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(90px, 60px, 0) scale(1.12); }
  66%      { transform: translate3d(40px, 130px, 0) scale(0.94); }
}

@keyframes orb-drift-2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  40%      { transform: translate3d(-110px, 70px, 0) scale(1.1); }
  75%      { transform: translate3d(-50px, -60px, 0) scale(0.92); }
}

@keyframes orb-drift-3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(70px, -90px, 0) scale(1.14); }
}

/* ---------- Directional scroll choreography ---------- */
/* Each section declares its own entry vector, so the page reads as a
   left → down → right → down rhythm instead of one uniform fade. */

[data-anim] {
  opacity: 0;
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s ease;
  will-change: transform, opacity;
}

[data-anim="left"]    { transform: translate3d(-72px, 0, 0); }
[data-anim="right"]   { transform: translate3d(72px, 0, 0); }
[data-anim="up"]      { transform: translate3d(0, 56px, 0); }
[data-anim="down"]    { transform: translate3d(0, -56px, 0); }
[data-anim="zoom"]    { transform: scale(0.9); filter: blur(6px); }
[data-anim="tilt-l"]  { transform: perspective(1200px) rotateY(16deg) translate3d(-60px, 0, 0); }
[data-anim="tilt-r"]  { transform: perspective(1200px) rotateY(-16deg) translate3d(60px, 0, 0); }
[data-anim="rise"]    { transform: translate3d(0, 80px, 0) scale(0.97); filter: blur(4px); }

[data-anim].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Stagger children inside an animated group */
[data-anim-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim-stagger].is-in > * { opacity: 1; transform: none; }
[data-anim-stagger].is-in > *:nth-child(1) { transition-delay: 0.04s; }
[data-anim-stagger].is-in > *:nth-child(2) { transition-delay: 0.1s; }
[data-anim-stagger].is-in > *:nth-child(3) { transition-delay: 0.16s; }
[data-anim-stagger].is-in > *:nth-child(4) { transition-delay: 0.22s; }
[data-anim-stagger].is-in > *:nth-child(5) { transition-delay: 0.28s; }
[data-anim-stagger].is-in > *:nth-child(6) { transition-delay: 0.34s; }
[data-anim-stagger].is-in > *:nth-child(7) { transition-delay: 0.4s; }
[data-anim-stagger].is-in > *:nth-child(8) { transition-delay: 0.46s; }
[data-anim-stagger].is-in > *:nth-child(9) { transition-delay: 0.52s; }

/* ---------- Full-viewport sections ---------- */

.section-full {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0;
  position: relative;
}

@media (max-width: 900px) {
  .section-full { min-height: auto; padding: 72px 0; }
}

.hero.section-full { justify-content: center; }

/* Scroll cue under the hero */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--text-faint);
}

.scroll-cue--left { align-items: flex-start; margin-top: 8px; }

.scroll-cue__rail {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--glass-border-lit), rgba(255, 255, 255, 0));
  position: relative;
  overflow: hidden;
}

.scroll-cue__rail::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 1px;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  animation: cue-fall 2.1s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

@keyframes cue-fall {
  0%   { transform: translateY(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(300%); opacity: 0; }
}

@media (max-width: 900px) { .scroll-cue { margin-top: 36px; } }

/* ---------- Specular sheen shared by big glass panels ---------- */

.glass-sheen { position: relative; overflow: hidden; }

.glass-sheen::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 42%;
  height: 100%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-14deg);
  pointer-events: none;
  transition: left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-sheen:hover::before { left: 108%; }

/* ---------- Stats bar ---------- */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-md), var(--lit);
}

@media (max-width: 700px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

.stat {
  background: var(--glass);
  padding: 30px 22px;
  text-align: center;
}

.stat__value {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #b9aee0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  margin-top: 9px;
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 650;
}

/* ---------- How it works: numbered glass steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

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

.step {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm), var(--lit);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, border-color 0.35s ease;
}

.step:hover {
  transform: translateY(-6px);
  background: var(--glass-2);
  border-color: var(--glass-border-lit);
}

.step__num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--glass-3);
  border: 1px solid var(--glass-border-lit);
  box-shadow: var(--lit-strong);
  margin-bottom: 20px;
}

.step h3 { margin: 0 0 9px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.step p { margin: 0; font-size: 14.5px; color: var(--text-dim); }

/* ---------- Privacy: does / never ---------- */

.ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.ledger__col {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm), var(--lit);
}

.ledger__col--never { border-color: rgba(242, 113, 138, 0.22); }

.ledger__head {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}

.ledger__badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
  border: 1px solid var(--glass-border);
}

.ledger__badge svg { width: 14px; height: 14px; display: block; }

.ledger__badge--yes { color: var(--ok); background: rgba(79, 214, 160, 0.14); }
.ledger__badge--no  { color: var(--no); background: rgba(242, 113, 138, 0.14); }

.ledger__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }

.ledger__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--text-dim);
}

.ledger__list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  font-size: 12px;
}

.ledger__col--does .ledger__list li::before { content: "✓"; color: var(--ok); }
.ledger__col--never .ledger__list li::before { content: "✕"; color: var(--no); }

/* ---------- Specs table ---------- */

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-md), var(--lit);
}

@media (max-width: 800px) { .specs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .specs { grid-template-columns: 1fr; } }

.spec {
  background: var(--glass);
  padding: 24px 22px;
}

.spec__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.spec__value {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Reduced motion: kill the choreography, keep the layout ---------- */

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  [data-anim],
  [data-anim-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .scroll-cue__rail::after { animation: none; }
  .glass-sheen::before { display: none; }
}

/* =====================================================================
   SUPERHERO · NAV DROPDOWNS · MARQUEE · HORIZONTAL SHOWCASE · PARALLAX
   ===================================================================== */

/* ---------- Nav dropdown submenus (keeps the top bar short) ---------- */

.nav__group { position: relative; }

.nav__group-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.nav__group-btn:hover,
.nav__group.is-open .nav__group-btn { color: var(--text); }

.nav__group-btn .caret {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: currentColor;
  opacity: 0.65;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease;
}

.nav__group-btn:hover .caret { opacity: 1; }
.nav__group.is-open .nav__group-btn .caret { transform: rotate(180deg); opacity: 1; }

.nav__group::after {
  content: "";
  position: absolute;
  left: -40px;
  right: -40px;
  top: 100%;
  height: 22px;
}

/* Enterprise mega panel: icon chip + title + description per row.
   Base fill is near-opaque — a translucent panel over the hero made the
   headline bleed through the menu text and killed legibility. */
.nav__submenu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px) scale(0.97);
  transform-origin: top center;
  width: 336px;
  /* Opaque base — backdrop-filter alone let the hero headline read through
     the menu labels. The blur now only affects the panel's own edges. */
  background:
    linear-gradient(180deg, #261f40 0%, #1a1530 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: 8px;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.09) inset,
    0 8px 16px -8px rgba(0, 0, 0, 0.5),
    0 32px 64px -20px rgba(0, 0, 0, 0.72);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav__group.is-open .nav__submenu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Little arrow tying the panel to its trigger */
.nav__submenu::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: #261f40;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 2px 0 0 0;
  transform: rotate(45deg);
}

.nav__submenu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--text-dim);
  transition: background 0.16s ease;
}

.nav__submenu a + a { margin-top: 1px; }

.nav__submenu a:hover { background: rgba(255, 255, 255, 0.075); }

.nav__submenu a:hover .ico {
  background: rgba(167, 139, 250, 0.18);
  border-color: rgba(167, 139, 250, 0.45);
  color: #c9b6ff;
}

.nav__submenu a:hover .txt strong { color: #fff; }

.nav__submenu a.is-current { background: rgba(167, 139, 250, 0.12); }
.nav__submenu a.is-current .ico { color: var(--accent); border-color: rgba(167, 139, 250, 0.4); }

.nav__submenu .ico {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.nav__submenu .ico svg { width: 15px; height: 15px; }

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

.nav__submenu .txt strong {
  font-size: 13.5px;
  font-weight: 620;
  color: #ece8f8;
  letter-spacing: -0.008em;
  transition: color 0.16s ease;
}

.nav__submenu .txt small {
  font-size: 11.5px;
  color: #8b81a8;
  line-height: 1.3;
}

@media (max-width: 1080px) {
  .nav__links.is-open { max-height: calc(100svh - 68px); overflow-y: auto; }

  .nav__group { width: 100%; }
  .nav__group::after { display: none; }
  .nav__links > a::after { display: none; }

  /* In the drawer the trigger becomes a non-interactive group label so the
     two link clusters stay visually separated. */
  .nav__group-btn {
    display: block;
    pointer-events: none;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 0 0 8px;
    margin-bottom: 2px;
    border-bottom: 1px solid var(--hairline);
    width: 100%;
    text-align: left;
  }

  .nav__group-btn .caret { display: none; }
  .nav__group + a, a + .nav__group { margin-top: 4px; }
  .nav__submenu {
    display: block;
    position: static;
    width: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* The desktop trigger arrow has no meaning in the stacked drawer */
  .nav__submenu::after { display: none; }
  .nav__submenu a { padding: 8px 0; gap: 11px; }
  .nav__submenu a + a { margin-top: 0; }
  .nav__submenu a:hover { background: none; }
  .nav__submenu .ico { display: none; }
  .nav__submenu .txt small { display: none; }
  .nav__submenu .txt strong { font-size: 15px; font-weight: 600; }
}

/* ---------- SUPERHERO ---------- */

.superhero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 92px 0 48px;
  overflow: hidden;
}

.superhero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}

.superhero__col--text { min-width: 0; }

.superhero__col--art {
  display: flex;
  justify-content: center;
}

@media (max-width: 980px) {
  .superhero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .superhero__kicker,
  .superhero__cta,
  .scroll-cue--left { justify-content: center; margin-inline: auto; }
}

.superhero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  padding: 7px 16px;
  margin-bottom: 24px;
  box-shadow: var(--lit);
}

.superhero__kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(79, 214, 160, 0.2), 0 0 12px rgba(79, 214, 160, 0.7);
}

/* The oversized display type — the centrepiece */
.superhero__title {
  margin: 0 0 22px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.0;
  font-size: clamp(52px, 10.5vw, 140px);
  padding-bottom: 0.06em;
}

.superhero__title span { display: block; }

.superhero__title .l1 {
  background: linear-gradient(180deg, #ffffff 0%, #ded6f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.superhero__title .l2 {
  background: linear-gradient(96deg, var(--accent) 0%, #7ab8f5 48%, #ec84d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.superhero__sub {
  max-width: 480px;
  margin: 0 0 30px;
  font-size: 17.5px;
  color: var(--text-dim);
}

@media (max-width: 980px) { .superhero__sub { margin-inline: auto; } }

.superhero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

/* Floating app window, parallax-driven */
.superhero__window {
  position: relative;
  z-index: 2;
  max-width: 400px;
  width: 100%;
  perspective: 1700px;
}

.superhero__window .frame {
  border-radius: 20px;
  overflow: hidden;
  transform: rotateX(9deg) rotateZ(-1deg);
  transform-style: preserve-3d;
  filter:
    drop-shadow(0 40px 70px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 60px rgba(167, 139, 250, 0.2));
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.superhero__window:hover .frame { transform: rotateX(3deg) rotateZ(0deg) scale(1.02); }
.superhero__window img { width: 100%; display: block; border-radius: 20px; }

/* Decorative floating glass chips around the hero */
.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--text-soft);
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md), var(--lit);
  white-space: nowrap;
  animation: chip-float 7s ease-in-out infinite;
}

.float-chip svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--accent); }

.float-chip b { color: #fff; font-weight: 700; }
/* Parked in the empty bands above and below the app window: clear of the hero
   copy on the left and of the screenshot's own UI in the middle. */
.float-chip--a { top: -58px;    left: -14%;  animation-delay: 0s; }
.float-chip--b { top: -58px;    right: -12%; animation-delay: 1.4s; }
.float-chip--c { bottom: -58px; left: -12%;  animation-delay: 2.6s; }
.float-chip--d { bottom: -58px; right: -10%; animation-delay: 3.8s; }

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

@media (max-width: 1080px) { .float-chip--c, .float-chip--d { display: none; } }
@media (max-width: 780px)  { .float-chip { display: none; } }

@media (max-width: 900px) {
  .superhero { min-height: auto; padding: 72px 0 40px; }
  .superhero__window { margin: 30px auto -60px; max-width: 300px; }
  .superhero__window .frame { transform: none; }
}

/* ---------- Infinite marquee ticker ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee-run 32s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 650;
  color: var(--text-dim);
  white-space: nowrap;
}

.marquee__item::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

@keyframes marquee-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Tool grid: 3 across, centred ---------- */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 940px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tool-grid { grid-template-columns: 1fr; } }

.tool-card {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm), var(--lit);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.tool-card:hover {
  transform: translateY(-6px);
  background: var(--glass-2);
  border-color: var(--glass-border-lit);
  box-shadow: var(--shadow-md), var(--lit-strong);
}

.tool-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--lit);
  margin-bottom: 18px;
  color: var(--accent);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.tool-card__icon svg { width: 22px; height: 22px; display: block; }

.tool-card:hover .tool-card__icon {
  background: var(--accent-soft);
  border-color: var(--glass-border-lit);
}

.tool-card h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; letter-spacing: -0.015em; }
.tool-card p { margin: 0; font-size: 14.5px; color: var(--text-dim); }

/* ---------- Parallax layers ---------- */
/* JS writes --py; CSS decides how much each layer reacts. */

[data-parallax] {
  transform: translate3d(0, calc(var(--py, 0px) * var(--pf, 1)), 0);
  will-change: transform;
}

[data-parallax="slow"] { --pf: 0.18; }
[data-parallax="mid"]  { --pf: 0.36; }
[data-parallax="fast"] { --pf: 0.6; }

/* Sections that slide in from alternating sides as you scroll */
.pan-left,
.pan-right {
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.95s ease;
}

/* Panning sections translate horizontally; clip so the in-flight
   transform can never widen the document. */
.pan-left, .pan-right { overflow-x: clip; }
.pan-left  { transform: translate3d(-13vw, 0, 0); opacity: 0; }
.pan-right { transform: translate3d(13vw, 0, 0);  opacity: 0; }
.pan-left.is-in,
.pan-right.is-in { transform: none; opacity: 1; }

/* On narrow screens a 13vw side-pan is both cramped and widens the
   document (overflow-x: clip bounds a box's children, not the box).
   Swap to a vertical rise instead. */
@media (max-width: 900px) {
  .pan-left, .pan-right { transform: translate3d(0, 40px, 0); }

  /* Same reasoning for the per-element entries: drop their horizontal
     component on narrow screens so no pre-animation state can widen
     the document. */
  [data-anim="left"], [data-anim="right"] { transform: translate3d(0, 44px, 0); }
  [data-anim="tilt-l"], [data-anim="tilt-r"] { transform: translate3d(0, 44px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .float-chip { animation: none; }
  .scan-radar__sweep { animation: none; }
  [data-parallax] { transform: none !important; }
  .pan-left, .pan-right {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .superhero__window .frame { transform: none !important; }
}

/* Section heading used outside .section-head */
.section-head__h2 {
  font-size: clamp(27px, 3.4vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
  font-weight: 700;
}

/* =====================================================================
   SUPER SECTIONS — oversized display headers, sticky-pinned columns,
   bento grids and number-driven reveals. Each section gets its own
   visual identity instead of repeating the same centred-heading block.
   ===================================================================== */

/* ---------- Oversized section header ---------- */

.super-head { margin-bottom: 56px; }

.super-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  padding: 7px 15px;
  margin-bottom: 22px;
  box-shadow: var(--lit);
}

.super-head__title {
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  font-size: clamp(38px, 6.4vw, 84px);
  padding-bottom: 0.04em;
  background: linear-gradient(180deg, #ffffff 0%, #cec4ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.super-head__title .tint {
  background: linear-gradient(96deg, var(--accent), #7ab8f5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.super-head__sub {
  margin: 0;
  max-width: 560px;
  font-size: 17px;
  color: var(--text-dim);
}

.super-head--center { text-align: center; }
.super-head--center .super-head__sub { margin-inline: auto; }

/* ---------- Sticky split: copy pins while cards scroll past ---------- */

.sticky-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 980px) {
  .sticky-split { grid-template-columns: 1fr; gap: 36px; }
}

.sticky-split__pin { position: sticky; top: 128px; }

@media (max-width: 980px) {
  .sticky-split__pin { position: static; top: auto; }
}

.sticky-split__flow { display: flex; flex-direction: column; gap: 18px; }

/* ---------- Bento grid ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.bento__cell {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm), var(--lit);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 190px;
}

.bento__cell:hover {
  transform: translateY(-6px);
  background: var(--glass-2);
  border-color: var(--glass-border-lit);
}

.bento__cell--wide { grid-column: span 4; }
.bento__cell--half { grid-column: span 3; }
.bento__cell--third { grid-column: span 2; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--wide,
  .bento__cell--half,
  .bento__cell--third { grid-column: span 2; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell--wide,
  .bento__cell--half,
  .bento__cell--third { grid-column: span 1; }
}

.bento__cell h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.bento__cell p { margin: 0; font-size: 14.5px; color: var(--text-dim); }

.bento__big {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #fff 0%, #b9aee0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bento__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--lit);
  margin-bottom: auto;
  color: var(--accent);
}

.bento__icon svg { width: 22px; height: 22px; display: block; }

/* ---------- Step rail: vertical connected timeline ---------- */

.rail { position: relative; display: flex; flex-direction: column; gap: 18px; }

.rail::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 34px;
  bottom: 34px;
  width: 1px;
  background: linear-gradient(to bottom, var(--glass-border-lit), rgba(255, 255, 255, 0.04));
}

@media (max-width: 700px) { .rail::before { display: none; } }

.rail__item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm), var(--lit);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease;
}

.rail__item:hover {
  transform: translateX(6px);
  background: var(--glass-2);
  border-color: var(--glass-border-lit);
}

@media (max-width: 700px) {
  .rail__item { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
}

.rail__dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--glass-3);
  border: 1px solid var(--glass-border-lit);
  box-shadow: var(--lit-strong), 0 0 22px rgba(167, 139, 250, 0.22);
  position: relative;
  z-index: 1;
}

.rail__item h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.rail__item p { margin: 0; font-size: 14.5px; color: var(--text-dim); }

/* ---------- Section divider glow ---------- */

.divider-glow {
  height: 1px;
  border: none;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--glass-border-lit) 50%, transparent);
}

/* ---------- Clipboard history showcase mockup ---------- */

.clip-showcase { flex-direction: column; align-items: stretch; gap: 16px; }

.clip-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clip-bar__card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  box-shadow: var(--lit);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.clip-bar__card:hover { background: var(--glass-3); transform: translateX(3px); }

.clip-bar__card.is-active {
  background: var(--accent-soft);
  border-color: var(--glass-border-lit);
}

.clip-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.clip-bar__text {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clip-bar__hint {
  margin: 0;
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
}
