/* =========================================================
   ADVINO — Agency Ad Accounts
   Dark theme + magenta brand. Mobile-first responsive.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --c-magenta:        #b502bd;
  --c-magenta-light:  #fc90fd;
  --c-magenta-soft:   #fdb9fe;
  --c-magenta-dark:   #810283;
  --c-purple-deep:    #450146;
  --c-purple-darker:  #4a0150;

  /* Surfaces */
  --c-bg:             #0b0d0e;
  --c-bg-elev-1:      #131517;
  --c-bg-elev-2:      #1a1c1f;
  --c-bg-card:        #171a1c;
  --c-border:         #2a2d31;
  --c-border-strong:  #3a3d42;

  /* Text */
  --c-text:           #ffffff;
  --c-text-muted:     #b9bcc2;
  --c-text-dim:       #8a8e95;

  /* Accents / states */
  --c-success:        #2ecc71;
  --c-danger:         #ff5577;

  /* Typography */
  --font-sans: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;

  /* Sizes */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card: 0 6px 24px rgba(0, 0, 0, .35);
  --shadow-glow: 0 0 60px rgba(252, 144, 253, .25);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #b502bd 0%, #fc90fd 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(181, 2, 189, .15) 0%, rgba(252, 144, 253, .12) 100%);

  /* Motion */
  --t-fast: 150ms cubic-bezier(.4, 0, .2, 1);
  --t-base: 240ms cubic-bezier(.4, 0, .2, 1);

  /* Header height */
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-magenta-light); }

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

h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__video { display: none; }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: 64px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
@media (min-width: 1024px) { .section { padding: 120px 0; } }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 12px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p {
  color: var(--c-text-muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform var(--t-fast), background var(--t-base), box-shadow var(--t-base), color var(--t-base);
  border: 1px solid transparent;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(181, 2, 189, .4);
}
.btn--primary:hover { color: #fff; box-shadow: 0 10px 24px rgba(252, 144, 253, .5); }

.btn--ghost {
  background: rgba(255, 255, 255, .04);
  color: var(--c-text);
  border-color: var(--c-border-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(252, 144, 253, .08); border-color: var(--c-magenta-light); color: var(--c-text); }

.btn--lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 13, 14, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background var(--t-base), border-color var(--t-base);
}
.header.is-scrolled {
  background: rgba(11, 13, 14, .92);
  border-bottom-color: rgba(252, 144, 253, .12);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 32px; width: auto; }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav {
    display: flex;
    gap: 32px;
    list-style: none;
  }
  .nav a {
    color: var(--c-text-muted);
    font-size: 14.5px;
    font-weight: 500;
    transition: color var(--t-fast);
    position: relative;
  }
  .nav a:hover { color: var(--c-text); }
  .nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--grad-brand);
    transition: width var(--t-base);
  }
  .nav a:hover::after { width: 100%; }
}

.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta .btn--ghost { display: none; }
@media (min-width: 768px) { .header__cta .btn--ghost { display: inline-flex; } }

/* Mobile burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
@media (min-width: 1024px) { .burger { display: none; } }
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--c-bg-elev-1);
  border-bottom: 1px solid var(--c-border);
  padding: 24px 20px 32px;
  transform: translateY(-110%);
  transition: transform var(--t-base);
  z-index: 99;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 17px;
  border-radius: var(--radius-md);
  color: var(--c-text);
  border: 1px solid transparent;
}
.mobile-menu a:hover { background: rgba(252, 144, 253, .06); border-color: var(--c-border); }
.mobile-menu .btn { width: 100%; margin-bottom: 8px; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: auto;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 1024px) {
  .hero {
    min-height: 100vh;
    padding-top: calc(var(--header-h) + 32px);
  }
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: .55;
}
.hero::before {
  /* Vignette / gradient overlay over the video */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(181, 2, 189, .18), transparent 60%),
    linear-gradient(180deg, rgba(11, 13, 14, .55) 0%, rgba(11, 13, 14, .85) 70%, var(--c-bg) 100%);
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 820px;
}

/* ---------- Hero visual (laptop image) — premium static ---------- */
.hero__visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1600px;
  perspective-origin: 50% 50%;
}

/* Soft static glow behind laptop — restrained, no pulsing */
.hero__visual::before {
  content: '';
  position: absolute;
  width: min(620px, 100%);
  aspect-ratio: 4 / 3;
  background: radial-gradient(ellipse at 60% 50%,
    rgba(252, 144, 253, .22) 0%,
    rgba(181, 2, 189, .14) 30%,
    transparent 65%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

.hero__laptop {
  position: relative;
  width: 100%;
  max-width: 680px;
  border-radius: 18px;
  --ltx: 0deg;
  --lty: 0deg;
  --gx: 50%;
  --gy: 50%;
  transform-style: preserve-3d;
  transform: rotateX(var(--ltx)) rotateY(var(--lty));
  transition: transform 700ms cubic-bezier(.2, .8, .2, 1);
  filter:
    drop-shadow(0 24px 48px rgba(181, 2, 189, .28))
    drop-shadow(0 8px 16px rgba(0, 0, 0, .45));
  opacity: 0;
  animation: laptop-reveal 1.4s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: .25s;
}
.hero__laptop > img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

/* Mouse-follow light overlay — subtle, like a soft directional highlight */
.hero__laptop::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 280px at var(--gx) var(--gy),
    rgba(252, 144, 253, .12),
    transparent 55%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero__visual:hover .hero__laptop::after { opacity: 1; }

/* Subtle ambient float — gentle, almost imperceptible */
.hero__laptop.is-loaded {
  animation: laptop-float 9s ease-in-out infinite;
}
.hero__laptop.is-tracked {
  animation: none;
  transition: transform 250ms cubic-bezier(.2, .8, .2, 1);
}

@keyframes laptop-reveal {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes laptop-float {
  0%, 100% { transform: rotateX(var(--ltx, 0deg)) rotateY(var(--lty, 0deg)) translateY(0); }
  50%      { transform: rotateX(var(--ltx, 0deg)) rotateY(var(--lty, 0deg)) translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__laptop {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Fallback when laptop image is missing — shows a styled mockup */
.hero__laptop-fallback {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px;
  background:
    radial-gradient(circle at 30% 20%, rgba(252, 144, 253, .25), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(181, 2, 189, .35), transparent 50%),
    linear-gradient(135deg, #1a1c1f 0%, #0b0d0e 100%);
  border: 1px solid rgba(252, 144, 253, .25);
  border-radius: 24px;
  text-align: center;
}
.hero__laptop.is-fallback > img { display: none; }
.hero__laptop.is-fallback .hero__laptop-fallback { display: flex; }
.hero__laptop-fallback__chip {
  padding: 8px 16px;
  background: rgba(252, 144, 253, .12);
  border: 1px solid rgba(252, 144, 253, .35);
  color: var(--c-magenta-light);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero__laptop-fallback__icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.hero__laptop-fallback__icons img {
  width: 48px; height: 48px;
  object-fit: contain;
  filter: brightness(.95);
  padding: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--c-border);
  border-radius: 12px;
}
.hero__laptop-fallback__hint {
  font-size: 12px;
  color: var(--c-text-dim);
  letter-spacing: .04em;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-magenta-light);
  background: rgba(252, 144, 253, .08);
  border: 1px solid rgba(252, 144, 253, .25);
  border-radius: var(--radius-pill);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero__eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-magenta-light);
  box-shadow: 0 0 10px var(--c-magenta-light);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.05;
}
.hero h1 .accent,
.hero h1 .accent .word,
.hero h1 .accent .word > span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--c-text-muted);
  max-width: 580px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero scroll-down hint */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: var(--c-text-dim);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  display: none;
}
@media (min-width: 1024px) { .hero__scroll { display: block; } }
.hero__scroll::after {
  content: '';
  display: block;
  width: 1px; height: 32px;
  margin: 8px auto 0;
  background: linear-gradient(180deg, var(--c-magenta-light), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(.4); transform-origin: top; }
  50% { transform: scaleY(1); }
}

/* ---------- Stats ---------- */
.stats {
  background: var(--c-bg-elev-1);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.stat {
  text-align: center;
  padding: 16px 8px;
}
.stat__num {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.02em;
}
.stat__label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.stats__copy {
  margin: 32px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--c-text-muted);
  font-size: 16px;
}

/* ---------- Card grid (verticals + benefits + platforms) ---------- */
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  padding: 28px 24px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: transform var(--t-base), border-color var(--t-base), background var(--t-base);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand-soft);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(252, 144, 253, .35);
}
.card:hover::before { opacity: 1; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(252, 144, 253, .25);
  margin-bottom: 16px;
  position: relative;
}
.card__icon img { width: 26px; height: 26px; filter: brightness(0) invert(1); }
.card__title { font-size: 18px; margin-bottom: 8px; position: relative; }
.card__text { color: var(--c-text-muted); font-size: 14.5px; line-height: 1.6; position: relative; }

/* Vertical card (icon + title only) */
.card--vertical { text-align: center; padding: 32px 20px; }
.card--vertical .card__icon { margin-left: auto; margin-right: auto; }

/* ---------- Platforms grid (logos) ---------- */
.platforms {
  background: var(--c-bg);
}
.platforms__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 560px) { .platforms__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .platforms__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .platforms__grid { grid-template-columns: repeat(7, 1fr); } }

.platform-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  transition: transform var(--t-base), border-color var(--t-base), background var(--t-base);
}
.platform-tile:hover {
  transform: translateY(-3px);
  border-color: var(--c-magenta-light);
  background: var(--c-bg-elev-2);
}
.platform-tile img {
  width: 48px; height: 48px;
  object-fit: contain;
  filter: grayscale(.2) brightness(.95);
  transition: filter var(--t-base);
}
.platform-tile:hover img { filter: none; }
.platform-tile__name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-text-muted);
  letter-spacing: .02em;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.step {
  position: relative;
  padding: 32px 24px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}
.step__num {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-magenta-light);
  letter-spacing: .15em;
  margin-bottom: 12px;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--c-text-muted); font-size: 14.5px; line-height: 1.6; }

/* connecting line on desktop */
@media (min-width: 1024px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 20px; height: 2px;
    background: linear-gradient(90deg, var(--c-magenta), transparent);
    transform: translateY(-50%);
  }
}

/* ---------- Partners (Facebook, Google, etc - the named ones) ---------- */
.partners {
  background: var(--c-bg-elev-1);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.partners__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
  margin-top: 36px;
}
@media (min-width: 768px) { .partners__row { gap: 32px 64px; } }
.partners__row img {
  height: 32px;
  width: auto;
  opacity: .65;
  filter: grayscale(.4);
  transition: opacity var(--t-base), filter var(--t-base);
}
.partners__row img:hover { opacity: 1; filter: none; }

/* ---------- FAQ ---------- */
.faq__list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-base);
}
.faq__item[open] { border-color: rgba(252, 144, 253, .35); }
.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  transition: background var(--t-fast);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: rgba(252, 144, 253, .04); }
.faq__q::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--c-magenta-light);
  flex-shrink: 0;
  transition: transform var(--t-base);
  line-height: 1;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a {
  padding: 0 24px 20px;
  color: var(--c-text-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(181, 2, 189, .15), transparent 60%),
    var(--c-bg);
}
.contact__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-top: 48px;
}
@media (min-width: 768px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.contact__lead {
  font-size: 18px;
  color: var(--c-text-muted);
  line-height: 1.6;
}
.contact__lead strong { color: var(--c-text); }

.contact__methods { display: flex; flex-direction: column; gap: 16px; }

/* Mascot decoration in contact section */
.contact__brand { display: flex; flex-direction: column; gap: 24px; }
.contact__mascot {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(181, 2, 189, .35),
    0 0 0 1px rgba(252, 144, 253, .25);
  animation: mascot-float 6s ease-in-out infinite;
  isolation: isolate;
}
@media (min-width: 768px) {
  .contact__mascot {
    max-width: 360px;
    margin: 0 auto 0 0;
  }
}
.contact__mascot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contact__mascot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 13, 14, .55));
  pointer-events: none;
}
@keyframes mascot-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(.4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .contact__mascot { animation: none; }
}
.contact-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-base), transform var(--t-base);
}
.contact-method:hover { border-color: var(--c-magenta-light); transform: translateY(-2px); }
.contact-method__label { color: var(--c-text-muted); font-size: 14px; }
.contact-method__value { font-size: 16px; font-weight: 600; color: var(--c-text); margin-top: 2px; word-break: break-all; }
.contact-method .btn { flex-shrink: 0; }
.contact__address {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px dashed var(--c-border-strong);
  border-radius: var(--radius-md);
  color: var(--c-text-muted);
  font-size: 14.5px;
}
.contact__address strong { display: block; color: var(--c-text); margin-bottom: 4px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--c-bg-elev-1);
  border-top: 1px solid var(--c-border);
  padding: 48px 0 24px;
}
.footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer__brand img { height: 28px; margin-bottom: 16px; }
.footer__brand p { color: var(--c-text-muted); font-size: 14.5px; max-width: 360px; }

.footer h5 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-text);
  margin-bottom: 16px;
}
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { color: var(--c-text-muted); font-size: 14.5px; }
.footer__nav a:hover { color: var(--c-magenta-light); }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--c-text-dim);
  font-size: 13px;
  text-align: center;
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; text-align: left; } }
.footer__bottom a { color: var(--c-text-muted); }
.footer__bottom a:hover { color: var(--c-magenta-light); }

/* ---------- Privacy page ---------- */
.legal {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 80px;
}
.legal__inner {
  max-width: 820px;
  margin: 0 auto;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
}
@media (min-width: 768px) { .legal__inner { padding: 56px 48px; } }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 8px; }
.legal__updated { color: var(--c-text-dim); font-size: 14px; margin-bottom: 32px; }
.legal h2 {
  font-size: 1.4rem;
  margin: 36px 0 12px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--c-text-muted); font-size: 15.5px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; list-style: disc; margin: 12px 0; }
.legal ul li { margin-bottom: 6px; }
.legal a { color: var(--c-magenta-light); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Misc ---------- */
.skip-link {
  position: absolute;
  top: -40px; left: 12px;
  z-index: 200;
  padding: 8px 14px;
  background: var(--c-magenta);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }

::selection { background: var(--c-magenta); color: #fff; }

:focus-visible { outline: 2px solid var(--c-magenta-light); outline-offset: 3px; border-radius: 4px; }

/* Scroll lock when mobile menu open */
body.no-scroll { overflow: hidden; }


/* ---------- Lazy fade-in for important images ----------
   Hidden until the <img> finishes loading, then smoothly fades in.
   Eliminates the "image pop" flash on page reload. */
.lazy-fade {
  opacity: 0;
  transition: opacity 700ms cubic-bezier(.2, .8, .2, 1);
}
.lazy-fade.is-loaded {
  opacity: 1;
}


/* ---------- Brand 3D section (interactive triangle logo) ---------- */
.brand3d {
  position: relative;
  background: transparent;   /* no own bg — inherits the page flow */
  overflow: hidden;
  isolation: isolate;
}

.brand3d__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .brand3d__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }
}

.brand3d__copy { max-width: 520px; }

.brand3d__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-magenta-light);
  background: rgba(252, 144, 253, .08);
  border: 1px solid rgba(252, 144, 253, .25);
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.brand3d__copy h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand3d__copy p {
  font-size: 1.0625rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.brand3d__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--c-text-muted);
  background: rgba(255, 255, 255, .03);
  border: 1px dashed var(--c-border-strong);
  border-radius: var(--radius-pill);
}

.brand3d__stage {
  position: relative;
  width: 100%;
  height: clamp(360px, 55vh, 560px);
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ---------- Workspace preview section ---------- */
.workspace {
  position: relative;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(181, 2, 189, .12), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 80%, rgba(252, 144, 253, .08), transparent 60%);
  overflow: hidden;
}

.workspace__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .workspace__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 72px;
  }
}

.workspace__copy { max-width: 520px; }

.workspace__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-magenta-light);
  background: rgba(252, 144, 253, .08);
  border: 1px solid rgba(252, 144, 253, .25);
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.workspace__copy h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 18px;
  letter-spacing: -.02em;
}

.workspace__copy > p {
  font-size: 1.0625rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.workspace__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.workspace__list li {
  position: relative;
  padding-left: 30px;
  color: var(--c-text);
  font-size: 15.5px;
  line-height: 1.5;
}
.workspace__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--c-magenta), var(--c-magenta-light)) padding-box,
    rgba(252, 144, 253, .3) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 12px rgba(252, 144, 253, .35);
}
.workspace__list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 11px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.workspace__visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.workspace__visual::before {
  content: '';
  position: absolute;
  width: 80%;
  aspect-ratio: 4 / 3;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(252, 144, 253, .22) 0%,
    rgba(181, 2, 189, .12) 40%,
    transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

.workspace__image {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  filter: drop-shadow(0 30px 60px rgba(181, 2, 189, .3))
          drop-shadow(0 12px 24px rgba(0, 0, 0, .5));
  transition: transform 600ms cubic-bezier(.2, .8, .2, 1);
}
.workspace__image:hover { transform: translateY(-4px); }
.workspace__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}


/* ---------- Music panel (bottom-right): sound toggle + track switcher ---------- */
.music-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
@media (min-width: 768px) {
  .music-panel { right: 28px; bottom: 28px; }
}

.sound-toggle {
  position: relative;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 13, 14, .82);
  border: 1px solid rgba(252, 144, 253, .35);
  color: var(--c-magenta-light);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform var(--t-base), border-color var(--t-base), background var(--t-base);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, .35),
    0 0 24px rgba(181, 2, 189, .25);
}
.sound-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--c-magenta-light);
  background: rgba(181, 2, 189, .15);
}
.sound-toggle__icon {
  width: 22px;
  height: 22px;
  position: absolute;
  transition: opacity 200ms ease, transform 200ms ease;
}
.sound-toggle.is-muted .sound-toggle__icon--on { opacity: 0; transform: scale(.85); }
.sound-toggle:not(.is-muted) .sound-toggle__icon--off { opacity: 0; transform: scale(.85); }

/* Animated bars when playing */
.sound-toggle__bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}
.sound-toggle__bars span {
  display: block;
  width: 2px;
  height: 4px;
  background: var(--c-magenta-light);
  border-radius: 1px;
  animation: bar-bounce 1s ease-in-out infinite;
}
.sound-toggle__bars span:nth-child(1) { animation-delay: 0ms; }
.sound-toggle__bars span:nth-child(2) { animation-delay: 150ms; }
.sound-toggle__bars span:nth-child(3) { animation-delay: 300ms; }
.sound-toggle__bars span:nth-child(4) { animation-delay: 450ms; }
@keyframes bar-bounce {
  0%, 100% { height: 4px; }
  50%      { height: 16px; }
}
.sound-toggle.is-playing .sound-toggle__icon--on { opacity: 0; }
.sound-toggle.is-playing .sound-toggle__bars { opacity: 1; }

/* Pulse ring for first-time hint */
.sound-toggle.is-hint::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid var(--c-magenta-light);
  border-radius: 50%;
  opacity: 0;
  animation: hint-pulse 1.6s ease-out infinite;
}
@keyframes hint-pulse {
  0%   { transform: scale(.85); opacity: .9; }
  100% { transform: scale(1.4);  opacity: 0;  }
}

@media (prefers-reduced-motion: reduce) {
  .sound-toggle__bars span,
  .sound-toggle.is-hint::before { animation: none; }
}

/* Hide audio element completely */
audio#bgMusic { display: none; }

/* Track switcher controls (prev / next) — appear below sound toggle */
.music-panel__controls {
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(-4px) scale(.95);
  pointer-events: none;
  transition: opacity 250ms cubic-bezier(.2, .8, .2, 1),
              transform 250ms cubic-bezier(.2, .8, .2, 1);
}
.music-panel.is-active .music-panel__controls {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.track-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 13, 14, .78);
  border: 1px solid rgba(252, 144, 253, .25);
  color: var(--c-text-muted);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--t-fast), border-color var(--t-base), color var(--t-base), background var(--t-base);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .3);
}
.track-btn svg { width: 14px; height: 14px; }
.track-btn:hover {
  transform: scale(1.08);
  color: var(--c-magenta-light);
  border-color: var(--c-magenta-light);
  background: rgba(181, 2, 189, .12);
}
.track-btn:active { transform: scale(.95); }

/* Track name toast — appears briefly when changing track */
.music-panel__name {
  position: absolute;
  right: 60px;
  top: 14px;
  white-space: nowrap;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--c-text);
  background: rgba(11, 13, 14, .92);
  border: 1px solid rgba(252, 144, 253, .35);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 300ms ease, transform 300ms cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
}
.music-panel__name.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.music-panel__name::before {
  content: '♪ ';
  color: var(--c-magenta-light);
}


/* =========================================================
   PREMIUM LAYER — cursor, magnetic, tilt, blobs, marquee
   ========================================================= */

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(252, 144, 253, .6);
  z-index: 200;
  transition: width 80ms linear;
  pointer-events: none;
}

/* ---------- Custom cursor (desktop / hover-capable only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: none; }
  a, button, [data-magnetic], summary, .platform-tile, .card,
  .contact-method, input, textarea, select { cursor: none; }

  .cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
  }
  .cursor__dot,
  .cursor__ring {
    position: fixed;
    top: 0; left: 0;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, width, height, opacity;
    transform: translate3d(-50%, -50%, 0);
  }
  .cursor__dot {
    width: 6px; height: 6px;
    background: var(--c-magenta-light);
    box-shadow: 0 0 12px rgba(252, 144, 253, .8);
    z-index: 10000;
    transition: width 200ms ease, height 200ms ease, opacity 200ms ease;
  }
  .cursor__ring {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(252, 144, 253, .6);
    z-index: 9999;
    transition: width 280ms cubic-bezier(.4,0,.2,1),
                height 280ms cubic-bezier(.4,0,.2,1),
                border-color 200ms ease,
                background 200ms ease,
                opacity 200ms ease;
    backdrop-filter: invert(.06);
    -webkit-backdrop-filter: invert(.06);
  }
  /* Hover state — ring grows, dot shrinks */
  .cursor.is-hover .cursor__ring {
    width: 64px; height: 64px;
    border-color: rgba(252, 144, 253, .9);
    background: rgba(252, 144, 253, .08);
  }
  .cursor.is-hover .cursor__dot {
    width: 0; height: 0; opacity: 0;
  }
  /* Click pulse */
  .cursor.is-down .cursor__ring { width: 28px; height: 28px; }
}

/* ---------- Hero animated background blobs + grid ---------- */
.hero__blobs {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero__blobs::before,
.hero__blobs::after {
  content: '';
  position: absolute;
  width: 60vmin; height: 60vmin;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  will-change: transform;
}
.hero__blobs::before {
  background: radial-gradient(circle, var(--c-magenta) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation: blob-float-1 18s ease-in-out infinite;
}
.hero__blobs::after {
  background: radial-gradient(circle, var(--c-purple-deep) 0%, transparent 70%);
  bottom: -15%;
  right: -10%;
  animation: blob-float-2 22s ease-in-out infinite;
}
@keyframes blob-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(20vw, 10vh) scale(1.1); }
  66%      { transform: translate(-10vw, 20vh) scale(.9); }
}
@keyframes blob-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-25vw, -15vh) scale(1.2); }
}

/* Subtle dot grid overlay for hero */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(252, 144, 253, .12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
  opacity: .55;
}

/* ---------- Hero word-by-word reveal ---------- */
.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.05;
}
.hero h1 .word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: word-rise .9s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: var(--rd, 0s);
}
@keyframes word-rise {
  to { transform: translateY(0); opacity: 1; }
}

.hero__eyebrow,
.hero__sub,
.hero__actions {
  opacity: 0;
  transform: translateY(12px);
  animation: hero-fade-in .8s cubic-bezier(.2, .8, .2, 1) forwards;
}
.hero__eyebrow { animation-delay: .05s; }
.hero__sub     { animation-delay: .75s; }
.hero__actions { animation-delay: .9s; }
@keyframes hero-fade-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Magnetic buttons ---------- */
[data-magnetic] {
  --mx: 0px;
  --my: 0px;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 250ms cubic-bezier(.2, .8, .2, 1);
  position: relative;
  overflow: hidden;
}
[data-magnetic]:hover { transition-duration: 100ms; }

/* Shimmer sweep on primary buttons */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(255, 255, 255, .35) 50%,
    transparent 70%);
  transform: translateX(-100%);
  transition: transform 700ms cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
.btn--primary:hover::before { transform: translateX(100%); }

/* ---------- 3D tilt cards ---------- */
[data-tilt] {
  --tx: 0deg;
  --ty: 0deg;
  --gx: 50%;
  --gy: 50%;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty)) translateZ(0);
  transition: transform 400ms cubic-bezier(.2, .8, .2, 1), border-color var(--t-base);
  will-change: transform;
}
[data-tilt]:hover { transition-duration: 100ms; }
[data-tilt]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 220px at var(--gx) var(--gy),
    rgba(252, 144, 253, .18), transparent 60%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
  border-radius: inherit;
}
[data-tilt]:hover::after { opacity: 1; }

/* Card icon micro-interaction */
.card { position: relative; }
.card .card__icon { transition: transform 400ms cubic-bezier(.2, .8, .2, 1); }
.card:hover .card__icon { transform: translateZ(20px) scale(1.08) rotate(-4deg); }
.card .card__title,
.card .card__text { transition: transform 400ms cubic-bezier(.2, .8, .2, 1); }
.card:hover .card__title { transform: translateZ(12px); }
.card:hover .card__text { transform: translateZ(8px); }

/* Vertical card — glowing icon */
.card--vertical .card__icon {
  position: relative;
}
.card--vertical .card__icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  background: var(--grad-brand);
  filter: blur(16px);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--t-base);
}
.card--vertical:hover .card__icon::after { opacity: .6; }

/* ---------- Platform tile — improved hover with glow ---------- */
.platform-tile {
  position: relative;
  isolation: isolate;
}
.platform-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad-brand);
  opacity: 0;
  z-index: -1;
  filter: blur(20px);
  transition: opacity var(--t-base);
}
.platform-tile:hover::before { opacity: .35; }
.platform-tile img {
  transition: transform 300ms cubic-bezier(.2, .8, .2, 1), filter var(--t-base);
}
.platform-tile:hover img { transform: scale(1.12); }

/* ---------- Steps — animated line connector (desktop) ---------- */
@media (min-width: 1024px) {
  .step:not(:last-child)::after {
    background: linear-gradient(90deg, var(--c-magenta-light), transparent);
    height: 2px;
    box-shadow: 0 0 8px rgba(252, 144, 253, .5);
  }
}
.step__num {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.step__num::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-magenta-light);
  box-shadow: 0 0 8px var(--c-magenta-light);
}
.step { transition: transform var(--t-base), border-color var(--t-base); }
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(252, 144, 253, .35);
}

/* ---------- Marquee row of platforms (under hero) ---------- */
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 32px 0;
  background: linear-gradient(180deg, transparent, rgba(11, 13, 14, .6), transparent);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 40s linear infinite;
  align-items: center;
}
.marquee__track:hover { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  opacity: .55;
  transition: opacity var(--t-base);
}
.marquee__item:hover { opacity: 1; }
.marquee__item img {
  height: 28px; width: auto;
  filter: grayscale(.3) brightness(.95);
}
.marquee__item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Stats counter — number style refinement ---------- */
.stat__num { display: inline-block; }

/* ---------- Reveal on scroll — refined (replaces JS-injected styles) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(.2, .8, .2, 1),
              transform 700ms cubic-bezier(.2, .8, .2, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* stagger via inline --rd seconds */
[data-reveal] { transition-delay: var(--rd, 0s); }

/* ---------- Section title — animated underline accent ---------- */
.section-head h2 { position: relative; display: inline-block; }
.section-head h2::after {
  content: '';
  display: block;
  width: 56px; height: 3px;
  margin: 18px auto 0;
  border-radius: 3px;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(252, 144, 253, .5);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 700ms cubic-bezier(.2, .8, .2, 1);
}
[data-reveal].is-visible .section-head h2::after,
.section-head[data-reveal].is-visible h2::after { transform: scaleX(1); }
/* Always show on revealed parents */
.is-visible.section-head h2::after { transform: scaleX(1); }

/* ---------- Contact section — subtle moving glow ---------- */
.contact { position: relative; isolation: isolate; }
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 100%, rgba(252, 144, 253, .12), transparent);
  z-index: -1;
  pointer-events: none;
  animation: contact-glow 8s ease-in-out infinite alternate;
}
@keyframes contact-glow {
  from { opacity: .4; transform: scale(1); }
  to   { opacity: .9; transform: scale(1.05); }
}

/* ---------- Header — slight backdrop saturation on scroll ---------- */
.header.is-scrolled { backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }

/* ---------- FAQ — open animation with content slide ---------- */
.faq__a { animation: faq-slide .35s ease forwards; }
@keyframes faq-slide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Reduced motion — kill all premium animations ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__blobs::before, .hero__blobs::after,
  .contact::before { animation: none; }
  [data-tilt] { transform: none !important; }
  [data-magnetic] { transform: none !important; }
  .marquee__track { animation: none; }
  .hero h1 .word > span,
  .hero__eyebrow, .hero__sub, .hero__actions {
    transform: none; opacity: 1; animation: none;
  }
  .scroll-progress { display: none; }
  .cursor { display: none !important; }
  html, body, * { cursor: auto !important; }
}

/* =========================================================
   MOBILE POLISH — fixes for small screens (< 480px)
   ========================================================= */
@media (max-width: 480px) {
  :root { --header-h: 60px; }

  .hero {
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 40px;
  }
  .hero h1 { font-size: 2rem; }
  .hero__sub { font-size: 0.9375rem; }
  .hero__eyebrow { font-size: 11px; padding: 6px 10px; }
  .hero__actions { gap: 8px; }
  .hero__actions .btn--lg { padding: 12px 20px; font-size: 14px; }

  .section { padding: 48px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 1.5rem; }

  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }

  [data-tilt] {
    transform: none !important;
    transform-style: flat;
    will-change: auto;
  }

  .steps { gap: 14px; }
  .step { padding: 24px 20px; }
  .step h3 { font-size: 16px; }
  .step p { font-size: 13.5px; }

  .platform-tile { padding: 16px 10px; }
  .platform-tile img { width: 36px; height: 36px; }
  .platform-tile__name { font-size: 11px; }

  .workspace__copy h2 { font-size: 1.5rem; }
  .workspace__copy > p { font-size: 0.9375rem; }
  .workspace__list li { font-size: 14px; }
  .workspace__copy .btn { display: block; width: fit-content; margin: 0 auto; }

  .workspace__image { border-radius: 14px; }

  .contact-method { padding: 16px 18px; gap: 12px; }
  .contact__mascot { max-width: 240px; }

  .stats__grid { gap: 16px; }
  .stat { padding: 20px 16px; }
  .stat__val { font-size: 2rem; }

  .card { padding: 24px 18px; }

  .footer__brand p { font-size: 13px; }
  .footer__bottom p { font-size: 12px; }

  .music-panel { right: 12px; bottom: 12px; }
  .sound-toggle { width: 44px; height: 44px; }
  .track-btn { width: 30px; height: 30px; }
  .track-btn svg { width: 12px; height: 12px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.75rem; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .platforms__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
