/* ============================================================
   BAK — Custom CSS
   Glassmorphism · Editorial · Animations · Feature visuals
   ============================================================ */

:root {
  --cream: #F8F8F6;
  --ink: #0D0D0D;
  --green: #10B981;
  --green-deep: #065F46;
  --orange: #F97316;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  text-rendering: optimizeLegibility;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: #D8D8CF; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* ---------- Noise overlay ---------- */
.noise-overlay {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.05;
}

/* ---------- Glass ---------- */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 50px -20px rgba(13, 13, 13, 0.12);
}
.glass-dark {
  background: rgba(13, 13, 13, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  will-change: transform;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 16px 40px -16px rgba(13, 13, 13, 0.45);
}
.btn-primary:hover {
  background: var(--green-deep);
  transform: scale(1.05);
  box-shadow: 0 24px 56px -18px rgba(6, 95, 70, 0.55);
}
.btn-primary:active { transform: scale(0.97); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border: 1px solid rgba(13, 13, 13, 0.14);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  transform: scale(1.05);
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px -20px rgba(13, 13, 13, 0.25);
}
.btn-secondary:active { transform: scale(0.97); }

/* ---------- Nav ---------- */
#site-header.is-scrolled {
  background: rgba(248, 248, 246, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(13, 13, 13, 0.06);
}
.nav-link {
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-link:hover { color: var(--ink); }

/* ---------- Menu icon (mobile) ---------- */
.menu-icon {
  position: relative;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background 0.3s;
}
.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0; width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out);
}
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
#menu-toggle.open .menu-icon { background: transparent; }
#menu-toggle.open .menu-icon::before { transform: translateY(6px) rotate(45deg); }
#menu-toggle.open .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Section primitives ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.section-tag::before {
  content: '';
  width: 34px; height: 1px;
  background: var(--green);
}
.section-title {
  margin-top: 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}

/* ---------- Reveal system ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-48px); }
[data-reveal="right"] { transform: translateX(48px); }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
[data-reveal="blur"] {
  filter: blur(10px);
}
[data-reveal="blur"].is-visible { filter: blur(0); }

/* ---------- HERO ---------- */
.hero-blob {
  background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.5), rgba(6, 95, 70, 0.05) 60%);
  filter: blur(50px);
  animation: blobFloat 14s ease-in-out infinite;
}
.hero-blob-2 {
  background: radial-gradient(circle at 60% 40%, rgba(249, 115, 22, 0.28), rgba(249, 115, 22, 0.02) 65%);
  animation: blobFloat 18s ease-in-out infinite reverse;
}

/* Vinyl */
.vinyl-body {
  background:
    repeating-radial-gradient(circle at center, transparent 0 2px, rgba(13, 13, 13, 0.35) 2px 3px),
    conic-gradient(from 0deg, #0D0D0D, #26261f, #0D0D0D, #2a2a24, #0D0D0D, #20201a, #0D0D0D);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.85);
}
.vinyl-label {
  box-shadow: 0 0 0 2px rgba(13, 13, 13, 0.1), 0 10px 30px -8px rgba(13, 13, 13, 0.4);
}
.vinyl-spin .vinyl-body,
.vinyl-spin .vinyl-label { animation: spinSlow 24s linear infinite; }
.vinyl-spin .vinyl-label { animation-duration: 12s; animation-direction: reverse; }

/* Equalizer bars */
.eq span {
  display: block;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--green), var(--green-deep));
  animation: eqBar 1.1s ease-in-out infinite;
}
.eq span:nth-child(2n) { animation-delay: 0.2s; }
.eq span:nth-child(3n) { animation-delay: 0.5s; background: linear-gradient(180deg, var(--orange), #9A3412); }
.eq span:nth-child(4n) { animation-delay: 0.8s; }
.eq-mini span { width: 3px; }

/* Float cards */
.float-card { animation: floatCard 6s ease-in-out infinite; }
.float-anim { animation: floatCard 6s ease-in-out infinite; }
.float-anim-delay { animation: floatCard 7.5s ease-in-out 0.8s infinite; }
.float-anim-slow { animation: floatCard 9s ease-in-out 0.4s infinite; }

/* Cover tiles */
.cover-tile {
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 60px -20px rgba(13, 13, 13, 0.4);
}
.cover-soul { background: linear-gradient(145deg, #8B5CF6, #4C1D95); }
.cover-jazz { background: linear-gradient(145deg, #E11D48, #881337); }
.cover-house { background: linear-gradient(145deg, #0EA5E9, #075985); }
.cover-popesp { background: linear-gradient(145deg, #FB7185, #BE123C); }
.cover-lofi { background: linear-gradient(145deg, #F59E0B, #92400E); }
.cover-salsa { background: linear-gradient(145deg, #F97316, #C2410C); }
.cover-poping { background: linear-gradient(145deg, #6366F1, #3730A3); }
.cover-bolero { background: linear-gradient(145deg, #A78BFA, #6D28D9); }

/* Scroll pip */
.scroll-pip { animation: scrollPip 2s ease-in-out infinite; }

/* ---------- Marquee ---------- */
.marquee { width: max-content; animation: marquee 28s linear infinite; }
.marquee .dot { color: var(--green); font-size: 10px; }
.marquee:hover { animation-play-state: paused; }

/* ---------- Genre cards ---------- */
.genre-card {
  perspective: 900px;
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease-out);
  will-change: transform;
}
.genre-cover {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  box-shadow: 0 14px 34px -16px rgba(13, 13, 13, 0.25);
}
.genre-soul .genre-cover { background: linear-gradient(145deg, #8B5CF6, #3B0764); }
.genre-house .genre-cover { background: linear-gradient(145deg, #14B8A6, #065F46); }
.genre-lofi .genre-cover { background: linear-gradient(145deg, #FBBF24, #92400E); }
.genre-jazz .genre-cover { background: linear-gradient(145deg, #F43F5E, #881337); }
.genre-popesp .genre-cover { background: linear-gradient(145deg, #FB7185, #9F1239); }
.genre-poping .genre-cover { background: linear-gradient(145deg, #818CF8, #312E81); }
.genre-salsa .genre-cover { background: linear-gradient(145deg, #F97316, #9A3412); }
.genre-bolero .genre-cover { background: linear-gradient(145deg, #C084FC, #5B21B6); }

.genre-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.28), transparent 55%);
  opacity: 0.5;
  transition: opacity 0.5s;
}
.genre-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.45));
}
.genre-card:hover .genre-cover {
  transform: scale(1.03);
  box-shadow: 0 30px 60px -18px rgba(13, 13, 13, 0.45);
}

.genre-wave {
  position: absolute;
  inset: auto 0 22%;
  padding: 0 1.25rem;
  z-index: 2;
}
.genre-wave svg { width: 100%; height: 34px; overflow: visible; }
.wave-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 5 16;
  animation: waveDash 1.6s linear infinite;
  opacity: 0.35;
  transition: opacity 0.4s;
}
.genre-card:hover .wave-path {
  opacity: 1;
  stroke-width: 3.5;
  animation-duration: 0.9s;
}

.genre-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 56px; height: 56px;
  border-radius: 9999px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
  z-index: 3;
  opacity: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out);
}
.genre-play svg { width: 20px; height: 20px; margin-left: 3px; }
.genre-card:hover .genre-play {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.genre-tracks {
  position: absolute;
  top: 1.1rem; right: 1.2rem;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  z-index: 2;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s, transform 0.4s;
}
.genre-card:hover .genre-tracks { opacity: 1; transform: none; }

.genre-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.15rem 0;
}
.genre-arrow {
  font-size: 1.3rem;
  color: var(--green);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s, transform 0.4s;
}
.genre-card:hover .genre-arrow { opacity: 1; transform: none; }

/* ---------- Player ---------- */
.player-shell { position: relative; }
.player-shell::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(16, 185, 129, 0.14), transparent 40%, rgba(249, 115, 22, 0.1) 100%);
  pointer-events: none;
}
.player-cover-current {
  background-size: cover;
  border: 1px solid rgba(13, 13, 13, 0.06);
  box-shadow: 0 16px 34px -12px rgba(13, 13, 13, 0.35);
  transition: background 0.6s var(--ease-out);
}

.track-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(13, 13, 13, 0.07);
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, background 0.35s, box-shadow 0.35s;
  cursor: pointer;
}
.track-item:hover {
  transform: translateX(6px);
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(255, 255, 255, 0.9);
}
.track-item.track-active {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 14px 34px -14px rgba(16, 185, 129, 0.35);
}
.track-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.35;
  width: 24px;
}
.track-active .track-num { opacity: 1; color: var(--green); }
.track-cover {
  width: 40px; height: 40px;
  border-radius: 0.75rem;
  flex-shrink: 0;
  background-size: cover;
}
.track-eq { opacity: 0; transition: opacity 0.3s; }
.track-active .track-eq { opacity: 1; }
.track-active .track-eq { animation: spinSlow 6s linear infinite; }
.track-active .track-eq { animation: none; }

/* ---------- Features (sticky) ---------- */
.features-shell { min-height: 100vh; }
.feature-list-col { position: relative; }

#feature-list .feature-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.05rem 1rem;
  text-align: left;
  border-radius: 14px;
  cursor: pointer;
  transition: opacity 0.5s var(--ease-out), background 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  opacity: 0.32;
}
#feature-list .feature-item:hover { opacity: 0.75; }
#feature-list .feature-item.feature-active {
  opacity: 1;
  transform: translateX(12px);
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.14), transparent 75%);
  box-shadow: inset 3px 0 0 var(--green);
}
.feature-index {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.4s, transform 0.4s var(--ease-out);
}
.feature-item.feature-active .feature-index {
  color: var(--green);
  transform: scale(1.25);
}
.feature-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.7);
  transform-origin: left center;
  transition: color 0.4s, transform 0.45s var(--ease-out);
}
.feature-item.feature-active .feature-text {
  color: #fff;
  transform: scale(1.06);
}

/* Feature stage + visuals */
.feature-stage {
  background: linear-gradient(160deg, #121212, #0D0D0D 60%);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.7);
}
.feature-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity, filter;
}
.feature-visual.feature-active {
  opacity: 1;
  visibility: visible;
  filter: blur(0) brightness(1);
  transform: scale(1);
}

/* Spacer que define el recorrido de scroll de la sección */
.feature-spacer {
  height: 150vh;
}
.fv-inner {
  position: absolute;
  inset: 0;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow: hidden;
}
.fv-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  z-index: 5;
}
.fv-dot { width: 7px; height: 7px; border-radius: 9999px; }
.fv-label { text-transform: uppercase; }
.fv-count {
  margin-left: auto;
  font-family: 'Space Grotesk', sans-serif;
  color: rgba(255, 255, 255, 0.85);
}
.fv-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.22), transparent 55%);
  pointer-events: none;
}
.fv-glow.orange {
  background: radial-gradient(circle at 70% 70%, rgba(249, 115, 22, 0.22), transparent 55%);
}

/* Visual: biblioteca */
.fv-biblio {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  padding: 5.5rem 2.2rem 2rem;
  perspective: 600px;
  transform: rotateX(4deg);
}
.biblio-spine {
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  box-shadow: inset -4px 0 10px rgba(0, 0, 0, 0.4), 0 12px 24px -12px rgba(0, 0, 0, 0.6);
  animation: spineFloat 5s ease-in-out infinite;
}
.biblio-spine:nth-child(2n) { animation-delay: 0.6s; }
.biblio-spine:nth-child(3n) { animation-delay: 1.2s; }
.biblio-spine span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}

/* Visual: documentos */
.fv-docs {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 5.5rem 2.4rem 2rem;
  perspective: 700px;
}
.doc {
  position: relative;
  background: #F5F3EC;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  max-width: 340px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6);
  animation: docFloat 6s ease-in-out infinite;
}
.doc-1 { transform: rotate(-2deg); margin-right: auto; }
.doc-2 { transform: rotate(1.5deg); margin-left: auto; animation-delay: 1s; }
.doc-3 { transform: rotate(-1deg); margin-right: auto; animation-delay: 2s; }
.doc-title {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 10px;
}
.doc-line {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: #DFDED6;
  margin-top: 7px;
  width: 100%;
}
.doc-line.short { width: 62%; }
.doc-stamp {
  position: absolute;
  right: 14px; top: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #B45309;
  border: 2px solid #B45309;
  border-radius: 6px;
  padding: 3px 8px;
  transform: rotate(8deg);
}
.doc-stamp.green { color: var(--green-deep); border-color: var(--green-deep); }

/* Visual: TV */
.fv-tv {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tv-screen {
  width: 74%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  background: linear-gradient(150deg, #1C1C1C, #0A0A0A);
  border: 2px solid #2E2E2E;
  box-shadow: inset 0 0 60px rgba(16, 185, 129, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}
.tv-karaoke {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.01em;
}
.eq-tv span { background: linear-gradient(180deg, var(--green), #059669); height: 100%; }
.tv-stand {
  width: 3px; height: 34px;
  background: #2E2E2E;
}
.tv-base {
  width: 90px; height: 6px;
  border-radius: 4px;
  background: #2E2E2E;
}

/* Visual: expansión */
.fv-expand {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.expand-core {
  width: 180px; height: 180px;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, var(--green), var(--green-deep));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 3;
  box-shadow: 0 0 80px rgba(16, 185, 129, 0.45);
  animation: pulseCore 3s ease-in-out infinite;
}
.expand-ring {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  animation: expandRing 4s ease-out infinite;
}
.expand-ring.r2 { width: 320px; height: 320px; animation-delay: 1.1s; border-color: rgba(16, 185, 129, 0.28); }
.expand-ring.r3 { width: 380px; height: 380px; animation-delay: 2.2s; border-color: rgba(249, 115, 22, 0.22); }
.expand-orb {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 9999px;
  background: var(--green);
  animation: orbOrbit 6s linear infinite;
}
.expand-orb.o1 { transform-origin: 120px 120px; }
.expand-orb.o2 { transform-origin: -120px 120px; animation-delay: 2s; background: var(--orange); }
.expand-orb.o3 { transform-origin: 0 -160px; animation-delay: 4s; background: #6EE7B7; }

/* Visual: dashboard */
.fv-dash {
  position: absolute;
  inset: 0;
  display: flex;
  padding: 4.6rem 1.8rem 1.8rem;
  gap: 14px;
  align-items: stretch;
}
.dash-side {
  flex: 0 0 38%;
  background: #151515;
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.dash-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
  margin-bottom: 8px;
}
.dash-menu {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  padding: 6px 9px;
  border-radius: 8px;
}
.dash-menu.active {
  color: #fff;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.dash-main {
  flex: 1;
  background: #1A1A1A;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}
.dash-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}
.dash-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-bottom: 4px;
}
.bar {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--green), #065F46);
  animation: barGrow 2.4s ease-in-out infinite alternate;
}
.bar:nth-child(2n) { animation-delay: 0.4s; background: linear-gradient(180deg, var(--orange), #7C2D12); }
.bar:nth-child(3n) { animation-delay: 0.9s; }
.dash-recs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.dash-rec {
  flex: 1;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  border-radius: 8px;
  padding: 6px 0;
}

/* Visual: chat */
.fv-chat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  padding: 4.6rem 2.4rem 2rem;
}
.chat-bubble {
  max-width: 78%;
  padding: 0.85rem 1.15rem;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.5;
  animation: chatIn 0.7s var(--ease-out) both;
}
.chat-bubble.in {
  align-self: flex-start;
  background: #1C1C1C;
  color: rgba(255, 255, 255, 0.85);
  border-bottom-left-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.chat-bubble.out {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #fff;
  border-bottom-right-radius: 6px;
  box-shadow: 0 14px 30px -12px rgba(16, 185, 129, 0.5);
}
.chat-bubble:nth-child(2) { animation-delay: 0.5s; }
.chat-bubble:nth-child(3) { animation-delay: 1s; }
.chat-bubble:nth-child(4) { animation-delay: 1.5s; }
.chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 5px;
  background: #1C1C1C;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  padding: 0.8rem 1.1rem;
  animation: chatIn 0.7s var(--ease-out) 2s both;
}
.chat-typing span {
  width: 7px; height: 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  animation: typingDot 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

/* Mobile feature stages */
.feature-stage-mobile {
  position: relative;
  background: linear-gradient(160deg, #121212, #0D0D0D);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.feature-stage-mobile .feature-visual {
  opacity: 1;
  visibility: visible;
  filter: none;
  transform: none;
}

/* ---------- Testimonials ---------- */
.mosaic {
  grid-auto-rows: minmax(0, 1fr);
}
.testimonial {
  position: relative;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.07);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 50px -30px rgba(13, 13, 13, 0.15);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 70px -30px rgba(13, 13, 13, 0.25);
}
.mosaic-tall { grid-row: span 2; }
.mosaic-mid { grid-row: span 1; }
.mosaic-rotate { transform: rotate(-1.2deg); }
.mosaic-rotate:hover { transform: translateY(-6px) rotate(0deg); }
.testimonial-quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 3.6rem;
  line-height: 0.7;
  color: var(--green);
  height: 2.2rem;
}
.testimonial-text {
  margin-top: 1rem;
  flex: 1;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #3A3A34;
  font-weight: 400;
}
figcaption {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
}
.avatar {
  width: 46px; height: 46px;
  border-radius: 9999px;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.25);
}
.avatar-1 { background: linear-gradient(135deg, #8B5CF6, #4C1D95); }
.avatar-2 { background: linear-gradient(135deg, #10B981, #065F46); }
.avatar-3 { background: linear-gradient(135deg, #F97316, #9A3412); }
.avatar-4 { background: linear-gradient(135deg, #E11D48, #881337); }
.avatar-5 { background: linear-gradient(135deg, #0EA5E9, #075985); }
.avatar-6 { background: linear-gradient(135deg, #F59E0B, #92400E); }

/* ---------- CTA ---------- */
.cta-glow {
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.28), rgba(16, 185, 129, 0.06) 45%, transparent 70%);
  filter: blur(40px);
  animation: blobFloat 16s ease-in-out infinite;
}
.cta-noise {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;
}

/* ---------- FAQ ---------- */
.faq-answer {
  max-height: 0;
  transition: max-height 0.6s var(--ease-out);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-item.open .faq-toggle svg { transform: rotate(45deg); }
.faq-item.open .faq-toggle {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.faq-toggle svg { transition: transform 0.4s var(--ease-out); }

/* ---------- Footer ---------- */
.footer-link {
  position: relative;
  transition: color 0.3s;
}
.footer-link:hover { color: var(--green); }

/* ---------- Sticky CTA ---------- */
#sticky-cta.show {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- Keyframes ---------- */
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes blobFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-46%, -54%) scale(1.12); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes eqBar {
  0%, 100% { height: 20%; }
  50% { height: 100%; }
}
@keyframes scrollPip {
  0% { transform: translateY(0); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes waveDash { to { stroke-dashoffset: -84; } }
@keyframes spineFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes docFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulseCore {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes expandRing {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes orbOrbit {
  from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}
@keyframes barGrow {
  from { height: 20%; }
  to { height: 100%; }
}
@keyframes chatIn {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  #feature-list { display: none; }
  .hero-visual { margin-top: 2rem; }
}

@media (max-width: 640px) {
  .mosaic-tall { grid-row: span 1; }
  .mosaic-rotate { transform: none; }
  .fv-biblio { grid-template-columns: repeat(6, 1fr); }
  .dash-side { flex-basis: 44%; }
  .fv-biblio { padding: 1.8rem 0.8rem 1.8rem; }
  .fv-docs { padding: 1.8rem 1rem 1rem; }
  .fv-dash { padding: 1.8rem 0.8rem 0.8rem; flex-direction: column-reverse; }
  .fv-chat { padding: 1.8rem 1rem 1rem; }
  .fv-tv .tv-screen { width: 82%; }
}
