/* =========================================================
   TradeMaxxing — Hero (polish pass)
   Production CSS. No framework.
   ========================================================= */

:root {
  /* Color */
  --bg-0: #050309;
  --bg-1: #07060c;
  --bg-2: #0d0a16;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --fg-0: #ffffff;
  --fg-1: rgba(255, 255, 255, 0.72);
  --fg-2: rgba(255, 255, 255, 0.46);
  --fg-3: rgba(255, 255, 255, 0.28);

  --violet: #7c5cff;
  --violet-2: #6a48ff;
  --violet-deep: #3a1f99;
  --violet-soft: rgba(124, 92, 255, 0.18);
  --red: #ff3b30;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale */
  --step--2: clamp(0.74rem, 0.72rem + 0.10vw, 0.80rem);
  --step--1: clamp(0.86rem, 0.83rem + 0.15vw, 0.94rem);
  --step-0:  clamp(0.96rem, 0.92rem + 0.20vw, 1.06rem);
  --step-1:  clamp(1.06rem, 1.00rem + 0.30vw, 1.18rem);
  --step-2:  clamp(1.30rem, 1.18rem + 0.55vw, 1.55rem);
  --step-3:  clamp(1.60rem, 1.40rem + 0.95vw, 2.10rem);
  --step-4:  clamp(2.00rem, 1.65rem + 1.60vw, 3.00rem);
  --step-5:  clamp(3.00rem, 2.20rem + 4.00vw, 5.40rem);
  --step-6:  clamp(3.60rem, 2.40rem + 6.20vw, 7.20rem);

  /* Rhythm */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 112px;
  --space-10: 160px;

  --container: 1360px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  background: #000;
  color: var(--fg-0);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  min-height: 100vh;
  font-feature-settings: "ss01", "cv11";
}

/* =========================================================
   Cinematic background — layered, breathing
   ========================================================= */
.scene-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  /* base: warm-cool gradient floor */
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(58, 31, 153, 0.30) 0%, rgba(0,0,0,0) 70%),
    radial-gradient(ellipse 90% 60% at 50% -20%, rgba(35, 20, 70, 0.55) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #07050d 0%, #050309 60%, #000 100%);
}

/* deep nebula bloom centred on devices */
.scene-bg::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 1400px;
  height: 92vh;
  background:
    radial-gradient(ellipse 38% 32% at 70% 55%, rgba(124, 92, 255, 0.28) 0%, rgba(124, 92, 255, 0) 65%),
    radial-gradient(ellipse 28% 22% at 78% 38%, rgba(170, 130, 255, 0.18) 0%, rgba(170, 130, 255, 0) 65%),
    radial-gradient(ellipse 24% 30% at 60% 82%, rgba(180, 100, 255, 0.16) 0%, rgba(180, 100, 255, 0) 70%);
  filter: blur(8px);
  animation: nebula 14s ease-in-out infinite;
  will-change: transform, opacity;
}

/* angled volumetric light shaft */
.scene-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg,
      transparent 30%,
      rgba(124, 92, 255, 0.045) 48%,
      rgba(170, 140, 255, 0.06) 55%,
      rgba(124, 92, 255, 0.04) 62%,
      transparent 80%),
    linear-gradient(112deg,
      transparent 60%,
      rgba(124, 92, 255, 0.025) 75%,
      transparent 88%);
  mix-blend-mode: screen;
  animation: shaft 22s ease-in-out infinite;
}

@keyframes nebula {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
  50%      { transform: translateX(-50%) translateY(-12px) scale(1.04); opacity: 0.85; }
}
@keyframes shaft {
  0%, 100% { opacity: 0.85; transform: translateX(0); }
  50%      { opacity: 1.0;  transform: translateX(-1.5%); }
}

/* top-edge mask — hides status-bar bleed on iOS */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, #07050d 0%, #07050d 40%, transparent 100%);
  pointer-events: none;
  z-index: 200;
}

/* fine grain — kills banding, adds film texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =========================================================
   NAV — lighter, more elegant
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 210;
  padding: 16px 0;
  transition: backdrop-filter 0.4s var(--ease-out), background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 3, 9, 0.55);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom-color: rgba(255,255,255,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg-0);
}
.brand__logo {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: block;
  object-fit: contain;
}

.nav__links {
  display: flex;
  gap: 36px;
  font-size: 14.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  margin-left: 20px;
}
.nav__links a {
  transition: color 0.25s var(--ease-out);
}
.nav__links a:hover { color: var(--fg-0); }

.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav__stores {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  transition:
    background 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.nav-store svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-store:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.20);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -14px rgba(124, 92, 255, 0.55);
}
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.nav__burger span {
  display: block;
  width: 16px; height: 1.5px;
  background: rgba(255,255,255,0.85);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile dropdown menu */
.nav__mobile {
  position: absolute;
  top: 100%;
  left: 16px; right: 16px;
  margin-top: 8px;
  padding: 16px;
  background: rgba(10, 7, 18, 0.92);
  backdrop-filter: saturate(160%) blur(24px);
  -webkit-backdrop-filter: saturate(160%) blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.7);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out);
}
.nav__mobile.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav__mobile nav {
  display: flex;
  flex-direction: column;
}
.nav__mobile nav a {
  padding: 12px 8px;
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s var(--ease-out);
}
.nav__mobile nav a:last-child { border-bottom: none; }
.nav__mobile nav a:hover { color: var(--fg-0); }
.nav__mobile-stores {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav__mobile-stores .nav-store { flex: 1; justify-content: center; padding-block: 12px; }

.nav__contact {
  font-size: 14.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  transition: color 0.25s var(--ease-out);
}
.nav__contact:hover { color: var(--fg-0); }

.nav__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8a6bff 0%, #6a48ff 100%);
  color: var(--fg-0);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), filter 0.3s var(--ease-out);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 8px 24px -8px rgba(124, 92, 255, 0.65),
    0 0 0 1px rgba(255,255,255,0.04);
}
.nav__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 14px 36px -8px rgba(124, 92, 255, 0.85);
}
.nav__cta svg { transition: transform 0.3s var(--ease-out); }
.nav__cta:hover svg { transform: translate(2px, -2px); }

@media (max-width: 980px) {
  .nav__links, .nav__contact, .nav__cta, .nav__stores { display: none; }
  .nav__burger { display: inline-flex; }
}
@media (min-width: 981px) {
  .nav__mobile { display: none !important; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: clamp(180px, 22vh, 240px);
  padding-bottom: var(--space-10);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  min-height: 72vh;
}

/* ---------- Copy column ---------- */
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 580px;
  padding-block: var(--space-4);
}

.hero__title {
  font-size: var(--step-6);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0;
  color: var(--fg-0);
  text-shadow: 0 1px 0 rgba(255,255,255,0.02);
}
.hero__title .stop {
  display: block;
  color: var(--red);
  font-weight: 600;
  background: linear-gradient(180deg, #ff5a52 0%, #d92e25 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 24px rgba(255, 59, 48, 0.18));
}

.hero__sub {
  font-size: var(--step-2);
  color: #a692ff;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 0 28px rgba(124, 92, 255, 0.22);
}

.hero__support {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.50);
  max-width: 44ch;
  margin: 0;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.003em;
}

/* CTAs */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px 13px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  min-width: 188px;
  backdrop-filter: blur(6px);
}
.store-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.32);
  box-shadow: 0 22px 50px -18px rgba(124, 92, 255, 0.35);
}
.store-btn__icon { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  text-align: left;
}
.store-btn__txt small {
  font-size: 10.5px;
  letter-spacing: 0.02em;
  opacity: 0.7;
  font-weight: 400;
  margin-bottom: 2px;
}
.store-btn__txt strong {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* =========================================================
   DEVICES — composited into the scene
   ========================================================= */
.hero__devices {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}

/* Outer purple atmosphere — large soft glow */
.hero__devices::before {
  content: "";
  position: absolute;
  inset: -10% -8% -20% -8%;
  background:
    radial-gradient(ellipse 65% 55% at 50% 55%, rgba(140, 100, 255, 0.32) 0%, rgba(140, 100, 255, 0) 65%),
    radial-gradient(ellipse 38% 30% at 60% 35%, rgba(190, 150, 255, 0.18) 0%, rgba(190, 150, 255, 0) 70%);
  filter: blur(20px);
  z-index: -1;
  animation: bloom 11s ease-in-out infinite;
}

/* Floor glow / shelf — devices "stand" on light */
.hero__devices::after {
  content: "";
  position: absolute;
  bottom: -2%;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  height: 220px;
  background:
    radial-gradient(ellipse at center,
      rgba(168, 130, 255, 0.55) 0%,
      rgba(124, 92, 255, 0.35) 25%,
      rgba(124, 92, 255, 0) 65%);
  filter: blur(28px);
  z-index: -1;
  animation: floor 9s ease-in-out infinite;
}

@keyframes bloom {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1.0;  transform: scale(1.04); }
}
@keyframes floor {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1.0;  transform: translateX(-50%) scale(1.05); }
}

.hero__devices img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  height: auto;
  /* layered drop-shadow: contact + ambient + bloom */
  filter:
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55))
    drop-shadow(0 22px 44px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 60px rgba(124, 92, 255, 0.28));
  animation: hover 8s ease-in-out infinite;
  will-change: transform;
}
@keyframes hover {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* =========================================================
   Reveal animation utilities
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.2s var(--ease-out),
    transform 1.2s var(--ease-out),
    filter 1.2s var(--ease-out);
  transition-delay: var(--d, 0ms);
  filter: blur(6px);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero { padding-top: 100px; padding-bottom: var(--space-7); }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    text-align: left;
    min-height: unset;
  }
  .hero__copy { max-width: 100%; order: 2; }
  .hero__devices { order: 1; }
}

@media (max-width: 560px) {
  .hero { padding-top: 80px; padding-bottom: var(--space-6); }
  .hero__inner { gap: var(--space-4); }
  .hero__title { font-size: clamp(30px, 9.5vw, 44px) !important; }
  .hero__title .stop { font-size: clamp(30px, 9.5vw, 44px) !important; }
  .hero__copy { gap: var(--space-3); padding-block: 0; }
  .hero__cta { margin-top: var(--space-2); }
}

@media (max-width: 560px) {
  .nav { padding: 14px 0; }
  .brand { font-size: 17px; }
  .brand__logo { width: 32px; height: 32px; }
  .store-btn { min-width: 160px; padding: 11px 18px 11px 14px; }
  .store-btn__icon { width: 24px; height: 24px; }
  .store-btn__txt strong { font-size: 16px; }
}

/* =========================================================
   FEATURES SECTION
   ========================================================= */
.features {
  position: relative;
  padding-block: clamp(80px, 12vh, 160px);
}

.features__head {
  max-width: 760px;
  margin: 0 auto var(--space-9);
  text-align: center;
  padding-inline: var(--gutter);
}
.features__title {
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--fg-0);
  margin: 0 0 var(--space-5);
}
.features__lede {
  font-size: var(--step-1);
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 56ch;
  letter-spacing: -0.003em;
}

/* Block grid */
.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(60px, 9vh, 120px);
}
.feature-block--reverse .feature-block__copy { order: 2; }
.feature-block--reverse .feature-block__visual { order: 1; }

.feature-block__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 460px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #c8b9ff;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.25);
  backdrop-filter: blur(6px);
}

.feature-block__title {
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  color: var(--fg-0);
}

.feature-block__text {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 0;
  max-width: 42ch;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 11px 18px;
  border-radius: 999px;
  background: #ececec;
  color: #0a0810;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-top: var(--space-2);
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.btn-pill:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 14px 30px -10px rgba(255,255,255,0.25);
}
.btn-pill svg { transition: transform 0.3s var(--ease-out); }
.btn-pill:hover svg { transform: translate(2px, -2px); }

/* ---------- Visual frame (the "card" each feature sits inside) ---------- */
.feature-visual {
  position: relative;
  border-radius: 28px;
  aspect-ratio: 5 / 3.5;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 70% 35%, rgba(124, 92, 255, 0.25) 0%, rgba(124, 92, 255, 0) 60%),
    linear-gradient(160deg, #14101f 0%, #0a0813 60%, #07050d 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 30px 80px -30px rgba(0,0,0,0.6),
    0 0 0 1px rgba(124,92,255,0.04);
  isolation: isolate;
}
/* subtle grid texture inside visual */
.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 70%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 70%, #000 30%, transparent 80%);
  opacity: 0.6;
  pointer-events: none;
}
/* corner glow */
.feature-visual::after {
  content: "";
  position: absolute;
  top: -10%; right: -10%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(170, 130, 255, 0.35) 0%, rgba(170, 130, 255, 0) 60%);
  filter: blur(40px);
  pointer-events: none;
  animation: bloom 9s ease-in-out infinite;
}

/* ============= Visual 1 — Session control ============= */
.viz-session {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8%;
}
.session-card {
  width: 100%;
  max-width: 360px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(36,28,64,0.85) 0%, rgba(20,15,38,0.85) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 50px -22px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: hover 9s ease-in-out infinite;
}
.session-card__top {
  display: flex; justify-content: space-between; align-items: center;
}
.session-card__lbl {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.session-card__pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(127, 231, 196, 0.12);
  border: 1px solid rgba(127, 231, 196, 0.3);
  color: #7fe7c4;
  letter-spacing: 0.04em;
}
.session-card__title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.session-card__title small { font-size: 13px; color: rgba(255,255,255,0.4); font-weight: 400; }

.rule {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}
.rule__check {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(180deg, #8a6bff, #5b3fe0);
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(124, 92, 255, 0.4);
}
.rule__check svg { width: 12px; height: 12px; color: #fff; }
.rule__txt { font-size: 14px; color: #fff; font-weight: 500; }
.rule__sub { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 2px; letter-spacing: 0.02em; }

.session-progress {
  display: flex; gap: 4px; height: 4px;
}
.session-progress i { flex: 1; border-radius: 4px; background: rgba(255,255,255,0.08); }
.session-progress i.on { background: linear-gradient(90deg, #8a6bff, #b89bff); box-shadow: 0 0 8px rgba(124, 92, 255, 0.6); }

/* ============= Visual 2 — AI review dial ============= */
.viz-ai {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8%;
}
.ai-dial {
  position: relative;
  width: 280px; height: 280px;
  display: grid; place-items: center;
  animation: hover 10s ease-in-out infinite;
}
.ai-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ai-dial__track { stroke: rgba(255,255,255,0.06); stroke-width: 8; fill: none; }
.ai-dial__arc {
  stroke: url(#dialGrad);
  stroke-width: 8;
  fill: none;
  stroke-linecap: round;
  filter: drop-shadow(0 0 12px rgba(124, 92, 255, 0.7));
  stroke-dasharray: 754;
  stroke-dashoffset: 754;
  animation: dialDraw 2.4s var(--ease-out) forwards 0.4s;
}
@keyframes dialDraw {
  to { stroke-dashoffset: 264; }
}
.ai-dial__center {
  position: absolute;
  text-align: center;
}
.ai-dial__score {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, #b89bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.ai-dial__lbl {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}
.ai-dial__delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  margin-top: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(127, 231, 196, 0.12);
  color: #7fe7c4;
  border: 1px solid rgba(127, 231, 196, 0.3);
}

.ai-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ai-tag {
  position: absolute;
  font-size: 11px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(20, 15, 38, 0.85);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6);
  animation: hover 10s ease-in-out infinite;
}
.ai-tag::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  margin-right: 7px; vertical-align: middle;
  background: var(--violet);
  box-shadow: 0 0 6px var(--violet);
}
.ai-tag.t1 { top: 18%; left: 8%; }
.ai-tag.t2 { top: 28%; right: 6%; animation-delay: -2s; }
.ai-tag.t3 { bottom: 22%; left: 6%; animation-delay: -4s; }
.ai-tag.t3::before { background: #ff8b6a; box-shadow: 0 0 6px #ff8b6a; }

/* ============= Visual 3 — Apple Watch BPM ============= */
.viz-watch {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 6%;
}
.watch {
  flex-shrink: 0;
  width: 168px; height: 200px;
  border-radius: 38px;
  background: linear-gradient(180deg, #2a2730 0%, #14121a 100%);
  padding: 6px;
  position: relative;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.1),
    0 30px 50px -20px rgba(0,0,0,0.7);
  animation: hover 8s ease-in-out infinite;
}
.watch::before, .watch::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: linear-gradient(180deg, #1f1d27, #100e16);
  border-radius: 8px 8px 14px 14px;
}
.watch::before { top: -22px; }
.watch::after { bottom: -22px; border-radius: 14px 14px 8px 8px; }
.watch__crown {
  position: absolute;
  right: -3px; top: 36%;
  width: 8px; height: 22px;
  background: linear-gradient(90deg, #2a2730, #46414f);
  border-radius: 2px;
}
.watch__screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  background: #000;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  gap: 6px;
}
.watch__top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.watch__top .anti  { color: rgba(255,255,255,0.5); }
.watch__top .calm  { color: #7fe7c4; }
.watch__bpm {
  margin-top: 4px;
  display: flex; align-items: baseline; gap: 4px;
  color: #4ade80;
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
}
.watch__bpm strong { font-size: 42px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.watch__bpm em { font-size: 11px; font-style: normal; opacity: 0.8; }
.watch__heart {
  display: inline-block;
  color: #ff3b30;
  animation: beat 1.1s ease-in-out infinite;
  font-size: 11px;
  vertical-align: middle;
}
@keyframes beat {
  0%, 100% { transform: scale(1); }
  20%      { transform: scale(1.25); }
  40%      { transform: scale(1); }
}
.watch__btn {
  margin-top: auto;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  font-size: 9.5px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  letter-spacing: 0.04em;
}
.watch__sync {
  font-size: 8px;
  color: rgba(255,255,255,0.45);
  text-align: center;
  letter-spacing: 0.06em;
}

.watch-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  max-width: 200px;
}
.stat-card {
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(20, 15, 38, 0.75);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  animation: hover 11s ease-in-out infinite;
}
.stat-card:nth-child(2) { animation-delay: -3s; }
.stat-card:nth-child(3) { animation-delay: -6s; }
.stat-card__lbl {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.stat-card__val {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 2px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-card__val sub { font-size: 10px; color: rgba(255,255,255,0.45); font-weight: 400; }
.stat-card__delta {
  font-size: 10px;
  color: #ff8b6a;
  margin-left: auto;
  letter-spacing: 0.02em;
}
.stat-card__delta.ok { color: #7fe7c4; }
.stat-card__row { display: flex; align-items: center; }

.spark-mini {
  height: 20px;
  margin-top: 6px;
  width: 100%;
}

/* Responsive features */
@media (max-width: 980px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: var(--space-7);
    padding-block: var(--space-8);
  }
  .feature-block--reverse .feature-block__copy { order: 1; }
  .feature-block--reverse .feature-block__visual { order: 2; }
  .feature-block__copy { max-width: 100%; }
  .feature-visual { aspect-ratio: 4/3; }
}
@media (max-width: 560px) {
  .viz-watch { flex-direction: column; gap: 14px; padding: 8%; }
  .watch { width: 130px; height: 154px; }
  .ai-dial { width: 220px; height: 220px; }
  .session-card { padding: 18px; }
}

/* =========================================================
   TOOLS GRID — 6-up cards
   ========================================================= */
.tools {
  position: relative;
  padding-block: clamp(80px, 12vh, 160px);
  isolation: isolate;
}
.tools::before {
  /* very soft purple ambient glow behind the section */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 35% at 50% 30%, rgba(124, 92, 255, 0.10) 0%, rgba(124, 92, 255, 0) 70%),
    radial-gradient(ellipse 60% 40% at 50% 80%, rgba(124, 92, 255, 0.06) 0%, rgba(124, 92, 255, 0) 70%);
  pointer-events: none;
  animation: bloom 14s ease-in-out infinite;
}

.tools__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  margin-bottom: clamp(56px, 8vh, 88px);
}
.tools__title {
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--fg-0);
  margin: 0 0 var(--space-5);
  text-wrap: balance;
}
.tools__lede {
  font-size: var(--step-1);
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 50ch;
  letter-spacing: -0.003em;
  text-wrap: balance;
}

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

.tool-card {
  position: relative;
  border-radius: 22px;
  padding: 28px 28px 32px;
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(20, 16, 32, 0.8) 0%, rgba(12, 10, 20, 0.85) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 24px 48px -28px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    background 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
  overflow: hidden;
}
.tool-card::before {
  /* sheen highlight along top-left edge */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 40%);
  pointer-events: none;
}
.tool-card::after {
  /* subtle hover glow */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(60% 50% at 50% 0%, rgba(124, 92, 255, 0.18) 0%, rgba(124, 92, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.12);
  background:
    linear-gradient(180deg, rgba(28, 22, 46, 0.85) 0%, rgba(16, 12, 26, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 30px 60px -28px rgba(0,0,0,0.8),
    0 0 0 1px rgba(124,92,255,0.18);
}
.tool-card:hover::after { opacity: 1; }

.tool-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(124, 92, 255, 0.18) 0%, rgba(124, 92, 255, 0.06) 100%);
  border: 1px solid rgba(124, 92, 255, 0.18);
  color: #c8b9ff;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.tool-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0;
  margin-top: auto;
  color: var(--fg-0);
}
.tool-card__text {
  font-size: 0.96rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin: 0;
  letter-spacing: -0.003em;
  max-width: 32ch;
}

@media (max-width: 980px) {
  .tools__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tools__grid { grid-template-columns: 1fr; }
  .tool-card { min-height: auto; padding: 24px; }
}

/* =========================================================
   WORKFLOW — 4 numbered steps
   ========================================================= */
.workflow {
  position: relative;
  padding-block: clamp(80px, 12vh, 160px);
  isolation: isolate;
}
.workflow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 35% at 50% 65%, rgba(124, 92, 255, 0.10) 0%, rgba(124, 92, 255, 0) 70%),
    radial-gradient(ellipse 30% 20% at 50% 25%, rgba(124, 92, 255, 0.06) 0%, rgba(124, 92, 255, 0) 70%);
  animation: bloom 14s ease-in-out infinite;
}

.workflow__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  margin-bottom: clamp(56px, 8vh, 96px);
}
.workflow__title {
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--fg-0);
  margin: 0 0 var(--space-5);
  text-wrap: balance;
}
.workflow__lede {
  font-size: var(--step-1);
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 50ch;
  letter-spacing: -0.003em;
  text-wrap: balance;
}

.workflow__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  position: relative;
  border-radius: 24px;
  padding: 36px 28px 32px;
  min-height: 280px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(124, 92, 255, 0.10) 0%, rgba(124, 92, 255, 0) 55%),
    linear-gradient(180deg, rgba(22, 18, 38, 0.75) 0%, rgba(12, 10, 22, 0.85) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 24px 48px -28px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  gap: 26px;
  transition:
    transform 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    background 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
  overflow: hidden;
}
.step-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(60% 60% at 50% 0%, rgba(124, 92, 255, 0.18) 0%, rgba(124, 92, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 30px 60px -28px rgba(0,0,0,0.8),
    0 0 0 1px rgba(124, 92, 255, 0.18);
}
.step-card:hover::after { opacity: 1; }

.step-card__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, #b89bff 0%, #7c5cff 55%, #5b3fe0 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -6px 14px rgba(0,0,0,0.25),
    0 8px 24px -6px rgba(124, 92, 255, 0.55),
    0 0 0 1px rgba(255,255,255,0.06);
}

.step-card__text {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: rgba(255,255,255,0.82);
  line-height: 1.45;
  margin: 0;
  margin-top: auto;
  text-wrap: balance;
}

.workflow__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(48px, 7vh, 72px);
}
.workflow__cta .btn-pill {
  margin-top: 0;
  padding: 13px 24px;
  font-size: 15px;
  background: #ececec;
  box-shadow: 0 18px 40px -16px rgba(255,255,255,0.18), inset 0 1px 0 rgba(255,255,255,0.6);
}

@media (max-width: 980px) {
  .workflow__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .workflow__grid { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
}

/* =========================================================
   SHOWCASE — horizontal scrollable phone gallery
   ========================================================= */
.showcase {
  position: relative;
  padding-block: clamp(80px, 12vh, 160px);
  isolation: isolate;
  overflow: hidden;
}
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 40% at 50% 60%, rgba(124, 92, 255, 0.12) 0%, rgba(124, 92, 255, 0) 70%),
    radial-gradient(ellipse 35% 25% at 20% 50%, rgba(170, 130, 255, 0.08) 0%, rgba(170, 130, 255, 0) 70%),
    radial-gradient(ellipse 35% 25% at 80% 50%, rgba(170, 130, 255, 0.08) 0%, rgba(170, 130, 255, 0) 70%);
  animation: bloom 16s ease-in-out infinite;
}

.showcase__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  margin-bottom: clamp(56px, 8vh, 88px);
}
.showcase__title {
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--fg-0);
  margin: 0 0 var(--space-5);
  text-wrap: balance;
}
.showcase__lede {
  font-size: var(--step-1);
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 56ch;
  letter-spacing: -0.003em;
  text-wrap: balance;
}

.showcase__track {
  position: relative;
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
  padding-inline: clamp(20px, calc((100vw - 1280px) / 2 + 24px), 200px);
  padding-block: 24px 56px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.showcase__track::-webkit-scrollbar { display: none; }
.showcase__track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.showcase__track.is-dragging .show-card { pointer-events: none; }

/* edge fade so cards bleed gently */
.showcase__fade {
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.showcase__fade--l {
  left: 0;
  background: linear-gradient(90deg, var(--bg-0) 0%, rgba(5,3,9,0) 100%);
}
.showcase__fade--r {
  right: 0;
  background: linear-gradient(270deg, var(--bg-0) 0%, rgba(5,3,9,0) 100%);
}

.show-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(192px, 17.6vw, 256px);
  scroll-snap-align: center;
  border-radius: 32px;
  overflow: hidden;
  background: #0a0810;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 60px -28px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transition:
    transform 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out),
    border-color 0.6s var(--ease-out);
  will-change: transform;
}
.show-card::before {
  /* purple bloom behind some cards */
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: inherit;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(124, 92, 255, 0.30) 0%, rgba(124, 92, 255, 0) 65%);
  filter: blur(30px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.show-card:nth-child(odd)::before { opacity: 0.55; }

.show-card img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.show-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(255,255,255,0.14);
  box-shadow:
    0 40px 80px -28px rgba(0,0,0,0.9),
    0 0 0 1px rgba(124, 92, 255, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.show-card:hover::before { opacity: 0.9; }

/* parallax stagger — every other card sits slightly lower */
.show-card:nth-child(even) { transform: translateY(18px); }
.show-card:nth-child(even):hover { transform: translateY(12px) scale(1.015); }

/* progress / hint row */
.showcase__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}
.showcase__hint svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

@media (max-width: 720px) {
  .show-card { width: 58vw; max-width: 224px; border-radius: 28px; }
  .showcase__track { padding-inline: 12vw; }
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta-final {
  position: relative;
  padding-block: clamp(60px, 9vh, 120px);
  isolation: isolate;
}
.cta-final__inner {
  position: relative;
  border-radius: 32px;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 80px);
  min-height: clamp(420px, 56vh, 560px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(124, 92, 255, 0.12) 0%, rgba(124, 92, 255, 0) 65%),
    linear-gradient(180deg, rgba(20, 16, 32, 0.7) 0%, rgba(8, 6, 14, 0.85) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 40px 80px -40px rgba(0,0,0,0.8);
}

/* Soft purple ambient glow behind the phones */
.cta-final__inner::before {
  content: "";
  position: absolute;
  top: 8%;
  right: 0;
  width: 70%;
  height: 80%;
  background:
    radial-gradient(ellipse 50% 50% at 60% 50%, rgba(140, 100, 255, 0.22) 0%, rgba(140, 100, 255, 0) 65%),
    radial-gradient(ellipse 30% 30% at 75% 35%, rgba(190, 150, 255, 0.18) 0%, rgba(190, 150, 255, 0) 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
  animation: bloom 12s ease-in-out infinite;
}

/* Smooth purple floor light */
.cta-final__inner::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -2px;
  height: 200px;
  background:
    radial-gradient(ellipse 50% 100% at 60% 100%,
      rgba(170, 130, 255, 0.55) 0%,
      rgba(124, 92, 255, 0.35) 25%,
      rgba(124, 92, 255, 0) 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
  animation: floor 10s ease-in-out infinite;
}

.cta-final__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 540px;
}
.cta-final__title {
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4.0rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
  color: var(--fg-0);
  text-wrap: balance;
}
.cta-final__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  margin: 0;
  max-width: 46ch;
  letter-spacing: -0.003em;
}
.cta-final__text strong {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.cta-final__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-3);
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  min-width: 188px;
  transition:
    transform 0.35s var(--ease-out),
    background 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}
.store-badge:hover {
  transform: translateY(-2px);
  background: #0a0a0a;
  border-color: rgba(255,255,255,0.32);
  box-shadow: 0 22px 50px -18px rgba(124, 92, 255, 0.5);
}
.store-badge__icon { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge__txt {
  display: flex; flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}
.store-badge__txt small {
  font-size: 10.5px;
  letter-spacing: 0.02em;
  opacity: 0.78;
  font-weight: 400;
  margin-bottom: 2px;
}
.store-badge__txt strong {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.cta-final__phones {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta-final__phones img {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: auto;
  filter:
    drop-shadow(0 4px 8px rgba(0,0,0,0.55))
    drop-shadow(0 24px 48px rgba(0,0,0,0.55))
    drop-shadow(0 0 60px rgba(124, 92, 255, 0.25));
  animation: hover 9s ease-in-out infinite;
  will-change: transform;
}

@media (max-width: 980px) {
  .cta-final__inner {
    grid-template-columns: 1fr;
    text-align: left;
    padding-block: clamp(40px, 6vw, 64px);
  }
  .cta-final__phones { order: 2; }
  .cta-final__inner::before { top: 50%; right: -10%; width: 110%; height: 60%; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  padding-block: clamp(56px, 8vh, 88px) clamp(28px, 4vh, 40px);
  isolation: isolate;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
}
.footer::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 220px;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(124, 92, 255, 0.10) 0%, rgba(124, 92, 255, 0) 70%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 380px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg-0);
}
.footer__logo img {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: contain;
}
.footer__tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  margin: 0;
  letter-spacing: -0.003em;
}
.footer__copy {
  font-size: 12.5px;
  color: rgba(255,255,255,0.32);
  margin: 0;
  margin-top: 18px;
  letter-spacing: -0.002em;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  transition: color 0.25s var(--ease-out);
}
.footer__links a:hover { color: var(--fg-0); }

@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { align-items: flex-start; }
}

/* =========================================================
   LEGAL pages (privacy / terms)
   ========================================================= */
.legal {
  position: relative;
  padding-top: clamp(140px, 18vh, 200px);
  padding-bottom: clamp(80px, 12vh, 140px);
}
.legal__container {
  max-width: 760px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.legal__eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(124, 92, 255, 0.85);
  margin: 0 0 16px;
  font-weight: 500;
}
.legal__title {
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 var(--space-7);
  color: var(--fg-0);
}
.legal__body {
  font-size: 1.04rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  letter-spacing: -0.003em;
}
.legal__body p { margin: 0 0 var(--space-5); }
.legal__body h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg-0);
  margin: var(--space-7) 0 var(--space-3);
}
.legal__body ul {
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal__body ul li {
  position: relative;
  padding-left: 22px;
  color: rgba(255,255,255,0.7);
}
.legal__body ul li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 4px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 8px rgba(124, 92, 255, 0.6);
}
.legal__body a {
  color: #b89bff;
  border-bottom: 1px solid rgba(184, 155, 255, 0.4);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.legal__body a:hover { color: #fff; border-bottom-color: #fff; }
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  margin-bottom: var(--space-6);
  transition: color 0.25s var(--ease-out);
}
.legal__back:hover { color: var(--fg-0); }

/* =========================================================
   MOBILE SPACING — tighten all section gaps on small screens
   ========================================================= */
@media (max-width: 560px) {

  /* Section padding — all full-width sections */
  .features,
  .tools,
  .workflow,
  .showcase,
  .cta-final {
    padding-block: 48px;
  }

  /* Section heading blocks — huge margin-bottom cut */
  .features__head,
  .tools__head,
  .workflow__head,
  .showcase__head {
    margin-bottom: 28px;
  }

  /* Section title bottom margin */
  .features__title,
  .tools__title,
  .workflow__title,
  .showcase__title {
    margin-bottom: var(--space-3);
  }

  /* Feature blocks — stacked on mobile already but still too tall */
  .feature-block {
    padding-block: 32px;
    gap: 20px;
  }

  .feature-block__copy {
    gap: var(--space-3);
  }

  /* CTA final inner card — phones above text on mobile */
  .cta-final__inner {
    padding: 28px 20px;
    min-height: unset;
    gap: 20px;
  }
  .cta-final__phones { order: 1; }
  .cta-final__copy   { order: 2; }

  /* Footer */
  .footer {
    padding-block: 40px 20px;
  }

  /* Legal pages */
  .legal {
    padding-top: 90px;
    padding-bottom: 48px;
  }
}

