/* =====================================================================
   Dota 2 Helper — REDESIGN "cinematic premium" (HERO prototype)
   Layers over styles.css. Keeps Dota art + gold, elevates craft:
   one type system (Space Grotesk + Inter), air, soft cinematic depth.
   Revert: remove the styles-premium.css <link> in index.html.
   ===================================================================== */

:root {
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --bg: #060607;
  --ink: #f4f1ea;              /* warm near-white */
  --ink-soft: rgba(244, 241, 234, 0.66);
  --ink-faint: rgba(244, 241, 234, 0.42);

  --gold: #f5c451;
  --gold-bright: #ffe6a3;
  --gold-deep: #b7852a;
  --gold-glow: rgba(245, 196, 81, 0.22);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Headings share one display face for a cohesive, designed system */
.section__title,
.section--features .section__title,
.cta__title,
.community-figma__title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* =====================================================================
   HERO — cinematic premium
   ===================================================================== */

/* Keep v1's proven hero geometry; just add a little breathing room at the base */
.hero {
  padding-bottom: 84px;
}

/* Remove the decorative HUD noise ([01][02][03] and [?]) */
.hero__notes,
.hero__notes2 {
  display: none !important;
}

/* Cinematic light: warm key light behind the hero art + deep vignette */
.hero__bg::after {
  background:
    radial-gradient(58% 52% at 50% 26%, rgba(255, 224, 150, 0.34) 0%, rgba(255, 210, 120, 0) 68%),
    radial-gradient(40% 40% at 50% 20%, rgba(245, 196, 81, 0.18) 0%, rgba(0, 0, 0, 0) 72%);
  filter: blur(14px);
}

/* Gentle fade of the art into the page (no harsh full-hero vignette) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 68%, var(--bg) 99%);
}

.hero__wrap {
  position: relative;
  z-index: 3;
}

.hero__trader {
  filter: drop-shadow(0 34px 80px rgba(0, 0, 0, 0.8));
}

/* Patch pill — quiet, refined kicker */
.pill--hero {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 7px 14px;
  backdrop-filter: blur(6px);
  box-shadow: none;
}

.pill--hero .pill__dot svg path {
  stroke: var(--gold);
}

/* Headline — large, tight, warm, softly lit (not neon) */
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8.4vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: none;
  color: #f7f1e4;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.72),
    0 0 52px rgba(245, 196, 81, 0.16);
  margin-top: 22px;
}

.hero__lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62;
  letter-spacing: 0;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-top: 20px;
}

.hero__actions {
  margin-top: 34px;
  gap: 12px;
}

/* Elegant trust line for supported languages */
.app-lang-notice {
  font-family: var(--font-body);
  margin-top: 28px;
  color: var(--ink-faint);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

.app-lang-notice__icons img {
  border-radius: 3px;
  border-color: rgba(255, 255, 255, 0.16);
}

/* =====================================================================
   Buttons — premium restraint (site-wide, so the hero feels intentional)
   ===================================================================== */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease,
    background 240ms ease,
    border-color 240ms ease;
}

.btn--lg {
  padding: 15px 22px;
}

.btn--primary {
  color: #241a06;
  border-color: rgba(245, 196, 81, 0.55);
  background: linear-gradient(180deg, #ffe6a3 0%, #f5c451 52%, #e0a838 100%);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  text-shadow: none;
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #fff0c2 0%, #ffd472 52%, #edb648 100%);
  border-color: rgba(255, 226, 150, 0.85);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 30px var(--gold-glow);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.btn__badge {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-soft);
}

/* Nav — quiet, refined */
.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

.nav__link:hover { color: var(--ink); }

.nav__link.is-active { color: var(--gold); }

.lang__btn,
.lang__item { font-family: var(--font-body); }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}


/* =====================================================================
   FULL-SITE PREMIUM ROLLOUT (features / community / cta / global / hero polish)
   Generated by section designers + coherence review. Appended after the
   hero prototype block — later rules intentionally supersede earlier ones.
   ===================================================================== */
/* ============ features ============ */
/* =====================================================================
   FEATURES — cinematic premium overlay
   Product-first: kill the to-black vignette, present screens in a clean
   device frame; cards go dark-glass with gold as hairline accent only.
   ===================================================================== */

/* --- Section head ------------------------------------------------- */

.section--features .section__title {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Gold kicker rule above the title (no text — i18n-safe) */
.section--features .section__title::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(245, 196, 81, 0.1) 0%, #f5c451 50%, rgba(245, 196, 81, 0.1) 100%);
}

.section--features .section__subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* --- Visual: the product must be seen ------------------------------ */

/* Neutralize the base to-black vignette that hides the screenshots */
.features-visual__slides::after {
  display: none;
}

/* Calm the decorative layers so the screen carries the section */
.features-visual__rings {
  opacity: 0.5;
}

.features-visual__particles {
  opacity: 0.6;
}

/* Frame shadow lives on the frame itself now — avoid double shadows */
.features-visual__phone--slides {
  filter: none;
}

/* Premium device frame: dark bezel, hairlines, deep soft shadow.
   Radii here are concentric bezel geometry (slide radius + padding),
   an intentional exception to the surface radius scale. */
.features-visual__slides {
  background: #0a0a0c;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 46px;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 60px 130px rgba(0, 0, 0, 0.45);
}

/* Slides sit inside the bezel; keep the base opacity crossfade */
.features-visual__slide {
  max-width: calc(100% - 20px);
  max-height: calc(100% - 20px);
  border-radius: 36px;
}

/* --- Cards: dark glass, gold only as a hairline accent ------------- */

.features-card {
  height: auto;
  min-height: 244px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 19, 24, 0.9) 0%, rgba(9, 10, 12, 0.95) 100%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.features-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(26, 27, 33, 0.92) 0%, rgba(12, 13, 16, 0.96) 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

/* Active carousel card: quiet gold hairline, slightly lifted surface */
.features-card.is-carousel-active {
  border-color: rgba(245, 196, 81, 0.45);
  background: linear-gradient(180deg, rgba(26, 27, 34, 0.94) 0%, rgba(12, 13, 16, 0.97) 100%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

/* Icon chip: dark, hairline, subtle gold tint */
.features-card__icon {
  outline: 0;
  border: 1px solid rgba(245, 196, 81, 0.18);
  border-radius: 12px;
  background: rgba(245, 196, 81, 0.08);
}

/* Card type */
.features-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.features-card__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--ink-soft);
}

/* Loader: thin, quiet, solid gold */
.features-card__loader {
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 16px 16px 999px 999px;
}

.features-card__loader-fill {
  background: #f5c451;
  box-shadow: none;
}

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

@media (max-width: 980px) {
  .features-visual__slides {
    border-radius: 40px;
  }

  .features-visual__slide {
    border-radius: 30px;
  }

  .features-card {
    height: auto;
  }
}

@media (max-width: 560px) {
  /* Restore base mobile heading scale (the unmedia'd clamp above would
     otherwise win the cascade and oversize long i18n titles) */
  .section--features .section__title {
    font-size: clamp(24px, 7.5vw, 30px);
    line-height: 1.2;
  }

  .features-visual__slides {
    padding: 8px;
    border-radius: 36px;
  }

  .features-visual__slide {
    max-width: calc(100% - 16px);
    max-height: calc(100% - 16px);
    border-radius: 28px;
  }

  .features-card {
    min-height: 0;
  }
}

/* ============ community-cta ============ */
/* =====================================================================
   COMMUNITY (#community) — dark warm glass, gold hairline
   ===================================================================== */

.community-figma {
  /* Base builds surface + border from this var (padding-box/border-box trick):
     redefine it AND set background directly so both layers go dark. */
  --community-surface: linear-gradient(180deg, rgba(30, 24, 18, 0.85) 0%, rgba(12, 10, 9, 0.92) 100%);
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(245, 196, 81, 0.06) 0%, rgba(245, 196, 81, 0) 55%),
    linear-gradient(180deg, rgba(30, 24, 18, 0.85) 0%, rgba(12, 10, 9, 0.92) 100%);
  border: 1px solid rgba(245, 196, 81, 0.18);
  border-radius: 28px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 230, 163, 0.07);
}

/* Art keeps base geometry; slightly deeper shadow so it seats on the dark glass */
.community-figma__art {
  filter: drop-shadow(0 36px 90px rgba(0, 0, 0, 0.78));
}

.community-figma__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.community-figma__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--ink-soft);
  max-width: 46ch;
}

.btn--community {
  width: fit-content;
}

.btn--community:hover {
  border-color: rgba(245, 196, 81, 0.45);
}

.btn--community:active {
  border-color: rgba(245, 196, 81, 0.35);
}

/* =====================================================================
   CTA (#download) — cinematic close over the video
   ===================================================================== */

.section--cta {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.65);
}

.cta__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--ink-soft);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

.app-lang-notice--cta {
  margin-top: 10px;
  color: var(--ink-faint);
}

/* =====================================================================
   Responsive (community + cta)
   ===================================================================== */

@media (max-width: 980px) {
  .community-figma__copy {
    text-align: left;
  }

  .community-figma__text {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .community-figma {
    border-radius: 20px;
  }

  .community-figma__title {
    font-size: clamp(23px, 6.5vw, 26px);
    line-height: 1.22;
  }

  .community-figma__text {
    font-size: 16px;
    line-height: 1.55;
  }

  .cta__title {
    font-size: clamp(25px, 6.8vw, 30px);
    line-height: 1.15;
  }

  .cta__text {
    font-size: 16px;
    line-height: 1.55;
  }
}

/* ============ global-rhythm ============ */
/* =====================================================================
   PREMIUM — global rhythm, header, footer, finishing touches
   ===================================================================== */

/* --- Global finishing: selection, smooth scroll, grain -------------- */

::selection {
  background: rgba(245, 196, 81, 0.28);
  color: #fff;
}

html {
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Cinematic grain — static feTurbulence overlay, cheap (no animation) */
body {
  position: relative;
}

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

/* --- Vertical rhythm ------------------------------------------------ */

.section {
  padding: 104px 0;
}

/* Sections whose geometry depends on base paddings keep their own values */
.section--features {
  padding-top: 62px;
  padding-bottom: 62px;
}

.section--community-figma {
  padding-top: 0;
  padding-bottom: 0;
}

.section--cta {
  padding: 104px 0;
}

/* --- Skip link ------------------------------------------------------ */

.skip-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(10, 10, 12, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

/* --- Header — sticky dark glass ------------------------------------- */

.site-header {
  background: rgba(6, 6, 7, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Height stays 64px — base mobile nav offsets depend on it */
.header-row {
  gap: 16px;
}

.brand {
  transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover {
  opacity: 0.85;
}

/* --- Lang dropdown -------------------------------------------------- */

.lang__btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-soft);
  border-radius: 12px;
  transition:
    background 200ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 200ms cubic-bezier(0.22, 1, 0.36, 1),
    color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lang__btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--ink);
}

.lang__flag {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lang__label {
  font-size: 13.5px;
  font-weight: 500;
}

.lang__menu {
  background: rgba(10, 10, 12, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  padding: 6px;
}

.lang__item {
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  transition:
    background 180ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lang__item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.lang__item[aria-selected="true"] {
  background: rgba(245, 196, 81, 0.08);
  box-shadow: inset 0 0 0 1px rgba(245, 196, 81, 0.32);
  color: var(--ink);
}

/* --- Footer top (brand + contacts) ---------------------------------- */

.section--footer-top {
  padding: 88px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--bg);
}

.footer-top {
  align-items: center;
}

.social {
  gap: 10px;
}

.social__link {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transition:
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.social__link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(245, 196, 81, 0.38);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.social__link--email {
  font-family: var(--font-body);
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0;
  transition:
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
    color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.social__link--email:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

/* --- Footer bottom (fineprint) --------------------------------------- */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 30px 0;
  background: var(--bg);
}

.fineprint {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
}

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

@media (max-width: 980px) {
  .section {
    padding: 72px 0;
  }

  .section--features {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .section--community-figma {
    padding-top: 0;
    padding-bottom: 48px;
  }

  .section--cta {
    padding: 72px 0;
  }

  .section--footer-top {
    padding: 64px 0 32px;
  }

  .footer-top {
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 56px 0;
  }

  /* Re-assert section-specific rhythm: the generic .section rule above is
     later in the cascade than the 980px overrides and would clobber them */
  .section--features {
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .section--community-figma {
    padding-top: 0;
    padding-bottom: 48px;
  }

  .section--cta {
    padding: 56px 0;
  }

  .section--footer-top {
    padding: 48px 0 24px;
  }

  .fineprint {
    font-size: 12px;
    line-height: 1.6;
  }
}

/* ============ hero-polish ============ */
/* =====================================================================
   HERO polish v2 — poster-grade title, calmer backdrop, grounded art
   (appended to styles-premium.css; wins ties by cascade order)
   ===================================================================== */

/* 1) Title — bright vertical gradient, clipped to glyphs.
   text-shadow paints THROUGH transparent glyphs, so it is removed;
   depth comes from drop-shadow(), which shadows the clipped pixels. */
.hero__title {
  color: #fdf6e3;                    /* fallback when clip unsupported */
  text-shadow: none;
  filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.75));
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title {
    background: linear-gradient(180deg, #ffffff 0%, #fdf6e3 45%, #f0d48a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* 2) Calm the diamond backdrop; keep base positioning from styles.css.
   NOTE: opacity on .hero__bg also multiplies its ::after key light by .55,
   so the gradient alphas below are pre-compensated (.76 * .55 ≈ .42 rendered,
   .38 * .55 ≈ .21 rendered) — net effect: quieter art, slightly stronger light. */
.hero__bg {
  opacity: 0.55;
}

.hero__bg::after {
  background:
    radial-gradient(58% 52% at 50% 24%, rgba(255, 224, 150, 0.76) 0%, rgba(255, 210, 120, 0) 68%),
    radial-gradient(40% 40% at 50% 20%, rgba(245, 196, 81, 0.38) 0%, rgba(0, 0, 0, 0) 72%);
  filter: blur(14px);
}

/* 3) Ground the character — soft elliptical floor glow under the art */
.hero__trader-stage::after {
  content: "";
  position: absolute;
  inset: -4%;
  pointer-events: none;
  background: radial-gradient(
    ellipse 46% 16% at 50% 92%,
    rgba(245, 196, 81, 0.10) 0%,
    rgba(245, 196, 81, 0.04) 48%,
    rgba(245, 196, 81, 0) 78%
  );
  filter: blur(6px);
}

/* 4) Lead — a touch more presence over the dark art */
.hero__lead {
  color: rgba(244, 241, 234, 0.78);
  max-width: 52ch;
}

/* 5) Store buttons row — tight, even rhythm.
   (Primary inner highlight + global gold :focus-visible ring already exist
   in styles.css / premium overlay — no override needed.) */
.hero__actions .store-actions {
  gap: 12px;
}

/* 6) Language trust row — quieter, smaller, precise */
.app-lang-notice {
  font-size: 12px;
}

.app-lang-notice__icons img {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  opacity: 0.85;
}

/* 7) Entrance: intentionally SKIPPED. The .reveal system already animates
   the whole .hero__copy block (opacity + 14px rise); a nested keyframe on
   .hero__title would double-move the headline and add compositing cost on
   a large clipped-text layer. The gradient + light upgrades carry the drama. */

/* Responsive */
@media (max-width: 980px) {
  .hero__title {
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.72));
  }

  .hero__trader-stage::after {
    filter: blur(4px);
  }
}

@media (max-width: 560px) {
  .hero__title {
    filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.7));
  }

  .hero__lead {
    color: rgba(244, 241, 234, 0.8);
  }

  .hero__trader-stage::after {
    background: radial-gradient(
      ellipse 52% 14% at 50% 92%,
      rgba(245, 196, 81, 0.08) 0%,
      rgba(245, 196, 81, 0) 75%
    );
  }
}

/* ============ motion safety (consolidated) ============ */

@media (prefers-reduced-motion: reduce) {
  .features-card,
  .social__link,
  .social__link--email,
  .lang__btn,
  .lang__item,
  .brand {
    transition: none;
  }

  .features-card:hover,
  .social__link:hover,
  .btn:hover {
    transform: none;
  }

  /* Base's `pop` keyframe on the lang menu is unguarded — disable it here */
  .lang[data-open="true"] .lang__menu {
    animation: none;
  }
}
/* =====================================================================
   VISUAL FIXES after live review
   1) The screenshots already include an iPhone body — drop our double
      bezel, keep the native body + one deep soft shadow.
   2) Cards overlap the phone (base geometry) — make them true glass so
      the overlap reads as intentional; add a soft base fade under them.
   ===================================================================== */

.features-visual__slides {
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.features-visual__slide {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0;
  filter: drop-shadow(0 34px 90px rgba(0, 0, 0, 0.62));
}

/* Soft landing strip at the very bottom of the visual (not a full vignette —
   the product stays visible; this only calms the zone the cards sit on) */
.features-visual__slides::after {
  display: block;
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -2%;
  top: auto;
  height: 26%;
  background: linear-gradient(to bottom, rgba(6, 6, 7, 0) 0%, rgba(6, 6, 7, 0.82) 62%, var(--bg) 100%);
  pointer-events: none;
  z-index: 2;
}

/* True glass cards — the phone behind blurs into the surface */
.features-card {
  background: rgba(13, 14, 17, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
}

.features-card:hover {
  background: rgba(18, 19, 24, 0.78);
}

.features-card.is-carousel-active {
  background: rgba(19, 20, 26, 0.82);
}

@media (max-width: 980px) {
  .features-visual__slides {
    padding: 0;
    border-radius: 0;
  }
  .features-visual__slide {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}

@media (max-width: 560px) {
  .features-visual__slides {
    padding: 0;
    border-radius: 0;
  }
  .features-visual__slide {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
  }
  /* On mobile cards stack below the visual — glass not needed for legibility,
     but keep it consistent; backdrop still cheap on one column */
}

/* Cards must stay legible even where backdrop-filter is unavailable:
   near-opaque surface first, blur as progressive enhancement on top */
.features-card {
  background: linear-gradient(180deg, rgba(19, 20, 25, 0.96) 0%, rgba(11, 12, 15, 0.97) 100%);
}

.features-card:hover {
  background: linear-gradient(180deg, rgba(24, 25, 31, 0.97) 0%, rgba(13, 14, 17, 0.98) 100%);
}

.features-card.is-carousel-active {
  background: linear-gradient(180deg, rgba(25, 26, 33, 0.97) 0%, rgba(14, 15, 19, 0.98) 100%);
}
