@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=DM+Sans:wght@400;500;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --bg: #070a10;
  --bg2: #0d131f;
  --card: #121a2a;
  --card-hover: #172236;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(52, 211, 153, 0.35);
  --text: #eef2f9;
  --muted: #94a3b8;
  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent2: #22d3ee;
  --danger: #f87171;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --head: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ==========================================================================
   1. RESET & BASE MOBILE-FIRST
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--body);
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  padding-bottom: 110px;
  -webkit-font-smoothing: antialiased;
}

main {
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-emerald-light);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(1180px, 100% - 2rem);
  margin-inline: auto;
}

section {
  padding: 3.5rem 0;
  position: relative;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

.hide-mobile {
  display: none !important;
}

/* Scroll Reveal Suave */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   2. KEYFRAMES EM LOOPING CONTÍNUO
   ========================================================================== */
@keyframes orbDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(35px, -25px) scale(1.08);
  }

  66% {
    transform: translate(-25px, 30px) scale(0.94);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.65);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

@keyframes soundwaveExpand {
  0% {
    transform: translate(-50%, -50%) scale(0.75);
    opacity: 0.65;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.45);
    opacity: 0;
  }
}

@keyframes floatY1 {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes floatY2 {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(9px);
  }
}

@keyframes marqueeLoop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes eqBounce {

  0%,
  100% {
    height: calc(var(--base-h, 60%) * 0.45);
  }

  50% {
    height: var(--base-h, 85%);
  }
}

@keyframes miniEqLoop {

  0%,
  100% {
    transform: scaleY(0.3);
  }

  50% {
    transform: scaleY(1);
  }
}

@keyframes spinVinyl {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shineSweep {
  0% {
    transform: translateX(-120%) skewX(-20deg);
  }

  35%,
  100% {
    transform: translateX(220%) skewX(-20deg);
  }
}

/* Luzes Ambientais em Loop */
.ambient-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  animation: orbDrift 18s ease-in-out infinite;
}

.ambient-glow-1 {
  width: 360px;
  height: 360px;
  background: var(--accent-emerald);
  top: -120px;
  left: -120px;
  opacity: 0.22;
}

.ambient-glow-2 {
  width: 340px;
  height: 340px;
  background: var(--accent2);
  bottom: -100px;
  right: -120px;
  opacity: 0.15;
  animation-delay: -6s;
}

.ambient-glow-3 {
  width: 280px;
  height: 280px;
  background: #6366f1;
  top: 45%;
  left: 50%;
  opacity: 0.08;
  animation-delay: -12s;
}

/* ==========================================================================
   3. BOTÕES & UTILITÁRIOS DE UI
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font: 700 0.95rem var(--body);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-emerald-light), var(--accent-emerald));
  color: #03150e;
  box-shadow: 0 8px 26px -6px rgba(16, 185, 129, 0.65);
}

.btn-primary:hover {
  box-shadow: 0 12px 34px -4px rgba(16, 185, 129, 0.85);
  transform: translateY(-2px);
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: shineSweep 4.5s infinite;
  pointer-events: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 0.95rem 1.65rem;
  font-size: 1rem;
  width: 100%;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   4. HEADER & MENU MOBILE DRAWER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 10, 16, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 66px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 55;
}

.logo-icon-wrap {
  position: relative;
  width: 40px;
  height: 40px;
}

.logo-icon {
  border-radius: 11px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-pulse-ring {
  position: absolute;
  inset: -2px;
  border-radius: 13px;
  border: 1px solid var(--accent-emerald-light);
  opacity: 0.45;
  animation: pulseGlow 2.6s infinite;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font: 800 1.1rem var(--head);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--muted);
  display: none;
}

/* Gaveta Mobile */
.main-nav {
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  background: rgba(11, 16, 26, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-strong);
  padding: 1.25rem 1.25rem 1.5rem;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, visibility 0.25s;
}

.site-header.menu-open .main-nav {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-links {
  display: grid;
  gap: 0.35rem;
}

.nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(52, 211, 153, 0.1);
}

.nav-drawer-cta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.hamburger-line {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-header.menu-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   5. HERO SECTION (MOBILE-FIRST + SOUNDWAVES EM LOOP)
   ========================================================================== */
.hero-section {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.8rem;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--accent-emerald-light);
  margin-bottom: 1.2rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald-light);
  animation: pulseGlow 2s infinite;
}

.hero-title {
  font: 800 clamp(2rem, 7vw, 4rem)/1.06 var(--head);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent-emerald-light), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 54ch;
  margin: 0 auto 1.6rem;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-meta-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.85rem 0.35rem;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.proof-item {
  text-align: center;
  padding: 0 0.15rem;
}

.proof-item:not(:last-child) {
  border-right: 1px solid var(--line);
}

.proof-value {
  display: block;
  font: 700 clamp(0.82rem, 3.2vw, 0.94rem) var(--head);
  color: var(--accent-emerald-light);
}

.proof-label {
  display: block;
  font-size: clamp(0.62rem, 2.4vw, 0.7rem);
  color: var(--muted);
  line-height: 1.25;
  margin-top: 0.15rem;
}

/* Palco do Celular + Anéis em Loop */
.hero-visual {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.phone-stage {
  position: relative;
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.soundwave-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.soundwave-rings span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(52, 211, 153, 0.32);
  animation: soundwaveExpand 4.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.soundwave-rings span:nth-child(2) {
  animation-delay: -1.5s;
  border-color: rgba(34, 211, 238, 0.28);
}

.soundwave-rings span:nth-child(3) {
  animation-delay: -3s;
}

.phone-mockup-wrap {
  position: relative;
  width: min(240px, 70vw);
  margin-inline: auto;
  z-index: 2;
}

.phone-mockup {
  position: relative;
  border-radius: 38px;
  padding: 8px;
  background: linear-gradient(160deg, #2b374d, #0b101d);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(16, 185, 129, 0.3);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 16px;
  background: #05070c;
  border-radius: 999px;
  z-index: 3;
}

.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 330 / 715;
  background: #000;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badges Flutuantes Seguros para Mobile */
.floating-glass-badge {
  position: absolute;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.45rem 0.65rem;
  border-radius: 14px;
  background: rgba(15, 22, 36, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.7);
  z-index: 4;
  white-space: nowrap;
}

.float-loop-1 {
  animation: floatY1 4s ease-in-out infinite;
}

.float-loop-2 {
  animation: floatY2 4.6s ease-in-out infinite;
}

.float-loop-3 {
  animation: floatY1 5.2s ease-in-out infinite -1.5s;
}

.badge-top-left {
  top: 6%;
  left: -6%;
}

.badge-bottom-right {
  bottom: 8%;
  right: -6%;
}

.badge-mid-left {
  bottom: 27%;
  left: -8%;
}

.badge-icon-box {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(52, 211, 153, 0.16);
  font-size: 0.95rem;
}

.badge-text-title {
  font: 700 0.76rem var(--head);
}

.badge-text-sub {
  font-size: 0.65rem;
  color: var(--muted);
}

/* Mini Equalizador em Loop nos Badges e Player */
.mini-eq-loop {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  padding: 0 2px;
}

.mini-eq-loop span {
  width: 3px;
  height: 100%;
  background: var(--accent-emerald-light);
  border-radius: 2px;
  transform-origin: bottom;
  animation: miniEqLoop 0.75s ease-in-out infinite;
}

.mini-eq-loop span:nth-child(2) {
  animation-delay: -0.25s;
  background: var(--accent2);
}

.mini-eq-loop span:nth-child(3) {
  animation-delay: -0.5s;
}

.mini-eq-loop span:nth-child(4) {
  animation-delay: -0.15s;
  background: var(--accent2);
}

.mini-eq-loop.paused span {
  animation-play-state: paused;
  transform: scaleY(0.25);
}

/* ==========================================================================
   6. FAIXA MARQUEE EM LOOP INFINITO
   ========================================================================== */
.tech-ticker {
  border-block: 1px solid var(--line);
  background: rgba(13, 19, 31, 0.75);
  overflow: hidden;
  padding: 0.85rem 0;
  user-select: none;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marqueeLoop 28s linear infinite;
}

.tech-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
}

.ticker-item {
  font: 600 0.76rem var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-item b {
  color: var(--accent-emerald-light);
}

/* ==========================================================================
   7. CABEÇALHOS DE SEÇÃO
   ========================================================================== */
.section-header {
  max-width: 680px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-emerald-light);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.section-title {
  font: 800 clamp(1.6rem, 5vw, 2.65rem)/1.12 var(--head);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.section-desc {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ==========================================================================
   8. ALGORITMO & SIMULADOR TIME-DECAY
   ========================================================================== */
.algorithm-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem;
}

.algo-human-header {
  margin-bottom: 1.2rem;
}

.algo-mini-badge {
  display: inline-block;
  font: 600 0.76rem var(--body);
  color: var(--accent-emerald-light);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.algo-text-group h3 {
  font: 700 1.25rem/1.25 var(--head);
  margin-bottom: 0.5rem;
}

.algo-text-group p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Fases Musicais Humanizadas para Usuários Comuns */
.music-phases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 1.15rem 0 1.4rem;
}

.phase-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.phase-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

.phase-icon {
  font-size: 1.3rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.12);
  flex-shrink: 0;
}

.phase-body {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.phase-body strong {
  font: 700 0.92rem var(--head);
  color: var(--text);
}

.phase-body span {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
}

.phase-body em {
  color: var(--accent-emerald-light);
  font-style: normal;
  font-weight: 600;
}

/* Acordeão Técnico para Desenvolvedores */
.tech-details-accordion {
  margin: 1.1rem 0 1.35rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}

.tech-details-accordion[open] {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(11, 18, 30, 0.7);
}

.tech-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.95rem;
  cursor: pointer;
  font: 600 0.82rem var(--body);
  color: var(--muted);
  user-select: none;
  list-style: none;
}

.tech-summary::-webkit-details-marker {
  display: none;
}

.tech-summary-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-icon-code {
  font-size: 0.95rem;
}

.tech-summary-arrow {
  font-size: 0.75rem;
  color: var(--accent-emerald-light);
  transition: transform 0.25s ease;
}

.tech-details-accordion[open] .tech-summary-arrow {
  transform: rotate(180deg);
}

.tech-details-body {
  padding: 0 0.95rem 0.95rem;
}

.tech-details-text {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

.algo-formula-card {
  margin: 0;
  border-radius: 12px;
  background: #05080e;
  border: 1px solid rgba(52, 211, 153, 0.25);
  overflow: hidden;
  max-width: 100%;
}

.formula-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}

.formula-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.formula-dot.red {
  background: #ef4444;
}

.formula-dot.yellow {
  background: #f59e0b;
}

.formula-dot.green {
  background: #10b981;
}

.formula-label {
  margin-left: 0.35rem;
  font: 500 0.68rem var(--mono);
  color: var(--muted);
}

.formula-code {
  padding: 0.85rem 0.9rem;
  font: 500 0.76rem/1.5 var(--mono);
  color: var(--accent-emerald-light);
  overflow-x: auto;
  word-break: break-all;
  white-space: pre-wrap;
}

/* Simulador Interativo */
.decay-simulator {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1.4rem;
}

.sim-top {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.sim-title {
  font: 700 0.84rem var(--head);
  color: var(--text);
}

.sim-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.sim-btn {
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font: 600 0.76rem var(--body);
  cursor: pointer;
  transition: all 0.2s;
}

.sim-btn.active {
  background: rgba(52, 211, 153, 0.16);
  border-color: var(--accent-emerald-light);
  color: var(--accent-emerald-light);
}

.sim-bar-wrap {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.sim-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent2));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sim-metrics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.sim-score-badge {
  font: 600 0.74rem var(--mono);
  color: var(--accent-emerald-light);
  background: rgba(52, 211, 153, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.algo-features-list {
  display: grid;
  gap: 0.85rem;
}

.algo-features-list li {
  display: flex;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.algo-features-list li strong {
  color: var(--text);
}

.algo-features-list svg {
  flex: none;
  color: var(--accent-emerald-light);
  margin-top: 0.2rem;
}

.algo-visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.algo-card,
.feature-card,
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.35rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.algo-card:hover,
.feature-card:hover,
.step-card:hover {
  border-color: var(--line-strong);
  background: var(--card-hover);
  transform: translateY(-3px);
}

.algo-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.algo-card h4 {
  font: 700 1rem var(--head);
  margin-bottom: 0.3rem;
}

.algo-card p {
  font-size: 0.86rem;
  color: var(--muted);
}

/* ==========================================================================
   9. RECURSOS + KARAOKÊ LRC DEMO EM LOOP
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-card-highlight {
  border-color: rgba(52, 211, 153, 0.32);
  background: linear-gradient(165deg, var(--card), rgba(16, 185, 129, 0.07));
}

.feature-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  border-radius: 14px;
  background: rgba(52, 211, 153, 0.12);
  margin-bottom: 1rem;
}

.lrc-translate-toggle {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent-emerald-light);
  font: 600 0.72rem var(--mono);
  cursor: pointer;
}

.feature-title {
  font: 700 1.12rem/1.3 var(--head);
  margin-bottom: 0.55rem;
}

.feature-text {
  color: var(--muted);
  font-size: 0.91rem;
  margin-bottom: 1rem;
  flex: 1;
}

/* Caixa Demo Karaokê */
.karaoke-demo-box {
  background: #060911;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  display: grid;
  gap: 0.45rem;
}

.k-line {
  opacity: 0.35;
  transform: scale(0.98);
  transform-origin: left center;
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.k-line.active {
  opacity: 1;
  transform: scale(1.02);
}

.k-orig {
  font: 700 0.82rem var(--head);
  color: var(--text);
}

.k-line.active .k-orig {
  color: var(--accent-emerald-light);
}

.k-trans {
  font-size: 0.72rem;
  color: var(--accent2);
}

.karaoke-demo-box.hide-translation .k-trans {
  display: none;
}

.feature-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.feature-pill {
  font-size: 0.7rem;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
}

/* ==========================================================================
   10. GALERIA SHOWCASE (SWIPE NO CELULAR + TABS)
   ========================================================================== */
.showcase-mobile-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.showcase-tab {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font: 600 0.82rem var(--body);
  cursor: pointer;
  transition: all 0.2s;
}

.showcase-tab.active {
  background: var(--accent-emerald);
  color: #04120c;
  border-color: var(--accent-emerald-light);
}

.showcase-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.1rem;
  padding: 0.5rem 0.25rem 1.5rem;
  margin-inline: 0;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.showcase-grid::-webkit-scrollbar {
  display: none;
}

.showcase-card {
  flex: 0 0 78%;
  max-width: 310px;
  scroll-snap-align: center;
  text-align: center;
}

.showcase-img-wrap {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.75);
  aspect-ratio: 360 / 780;
  background: #000;
  margin-bottom: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.featured-card .showcase-img-wrap {
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 26px 60px -18px rgba(16, 185, 129, 0.38);
}

.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-info h4 {
  font: 700 1.05rem var(--head);
  margin-bottom: 0.25rem;
}

.showcase-info p {
  color: var(--muted);
  font-size: 0.86rem;
  max-width: 30ch;
  margin-inline: auto;
}

/* ==========================================================================
   11. EQUALIZADOR DSP EM LOOP & PRESETS
   ========================================================================== */
.audio-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: linear-gradient(145deg, var(--bg2), #0b191b);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem;
}

.audio-text-col .section-desc {
  margin-bottom: 1.3rem;
}

.eq-visualizer-container {
  background: #060911;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.2rem;
}

.eq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.eq-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font: 600 0.72rem var(--mono);
  color: var(--muted);
}

.eq-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald-light);
  animation: pulseGlow 2s infinite;
}

.eq-hires-badge {
  font: 600 0.7rem var(--mono);
  color: var(--accent-emerald-light);
  background: rgba(52, 211, 153, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.eq-presets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.eq-preset-btn {
  padding: 0.4rem 0.6rem;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font: 600 0.74rem var(--body);
  cursor: pointer;
  transition: all 0.2s;
}

.eq-preset-btn.active {
  background: rgba(52, 211, 153, 0.16);
  border-color: var(--accent-emerald-light);
  color: var(--accent-emerald-light);
}

.eq-bars-wrap {
  display: flex;
  justify-content: space-between;
  gap: 0.45rem;
  height: 150px;
  margin-bottom: 1.2rem;
  padding: 0 0.25rem;
}

.eq-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.eq-bar-track {
  flex: 1;
  width: 100%;
  max-width: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 2px;
}

.eq-bar-fill {
  width: 100%;
  height: var(--base-h, 70%);
  border-radius: 999px;
  background: linear-gradient(to top, var(--accent-emerald), var(--accent2));
  animation: eqBounce var(--anim-dur, 1.2s) ease-in-out var(--anim-delay, 0s) infinite;
  transition: height 0.35s ease;
}

.eq-bars-wrap.paused .eq-bar-fill {
  animation-play-state: paused;
  height: 18% !important;
}

.eq-bar-label {
  font: 500 0.62rem var(--mono);
  color: var(--muted);
}

.eq-controls-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.eq-knob-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.4rem;
  text-align: center;
}

.eq-knob-label {
  font-size: 0.68rem;
  color: var(--muted);
}

.eq-knob-val {
  font: 700 0.9rem var(--head);
  color: var(--accent-emerald-light);
  margin-top: 0.15rem;
}

/* ==========================================================================
   12. COMPARATIVO (CARDS EMPILHADOS NO MOBILE -> TABELA NO DESKTOP)
   ========================================================================== */
.table-responsive {
  border-radius: var(--r);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
}

/* No celular, cada linha vira um Card intuitivo sem scroll lateral */
@media (max-width: 767px) {
  .comp-table thead {
    display: none;
  }

  .comp-table,
  .comp-table tbody,
  .comp-table tr,
  .comp-table td {
    display: block;
    width: 100%;
  }

  .comp-table tr {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.85rem;
  }

  .comp-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
    text-align: right;
  }

  .comp-table td:first-child {
    display: block;
    text-align: left;
    font-size: 0.95rem;
    padding-top: 0;
    padding-bottom: 0.65rem;
    color: var(--text);
  }

  .comp-table td:first-child::before {
    display: none;
  }

  .comp-table td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .comp-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--muted);
    text-align: left;
  }

  .comp-table td.col-highlight {
    background: rgba(52, 211, 153, 0.1);
    margin-inline: -0.5rem;
    padding-inline: 0.65rem;
    border-radius: 8px;
    color: var(--text);
    font-weight: 600;
  }

  .comp-table td.col-highlight::before {
    color: var(--accent-emerald-light);
    font-weight: 700;
  }
}

.check-icon {
  color: var(--accent-emerald-light);
  font-weight: 700;
  margin-right: 0.25rem;
}

.cross-icon {
  color: var(--danger);
  font-weight: 700;
  margin-right: 0.25rem;
}

/* ==========================================================================
   13. PASSO A PASSO, FAQ & CTA
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.step-card {
  position: relative;
  padding-top: 1.6rem;
}

.step-number {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font: 800 1.5rem var(--head);
  color: rgba(255, 255, 255, 0.08);
}

.step-icon {
  font-size: 1.65rem;
  margin-bottom: 0.6rem;
}

.step-card h4 {
  font: 700 1.04rem var(--head);
  margin-bottom: 0.35rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item.active {
  border-color: var(--line-strong);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  background: none;
  border: 0;
  color: var(--text);
  font: 700 0.95rem/1.35 var(--body);
  text-align: left;
  cursor: pointer;
}

.faq-icon-arrow {
  font-size: 0.72rem;
  color: var(--accent-emerald-light);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* CTA Banner */
.cta-banner {
  text-align: center;
  padding: 2.4rem 1.35rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: radial-gradient(120% 140% at 50% 0%, rgba(16, 185, 129, 0.22), transparent 62%), var(--bg2);
}

.cta-banner h2 {
  font: 800 clamp(1.55rem, 4.5vw, 2.5rem)/1.15 var(--head);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: var(--muted);
  max-width: 54ch;
  margin: 0 auto 1.6rem;
  font-size: 0.95rem;
}

.cta-button-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

/* ==========================================================================
   14. MINIPLAYER INTERATIVO FLUTUANTE (FULL WIDTH NO CELULAR)
   ========================================================================== */
.sticky-miniplayer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  border-radius: 16px 16px 0 0;
  background: rgba(13, 19, 31, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(52, 211, 153, 0.4);
  border-inline: 0;
  border-bottom: 0;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  box-sizing: border-box;
}

.sticky-miniplayer.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.miniplayer-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.miniplayer-progress-bar {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--accent-emerald-light), var(--accent2));
  transition: width 0.25s linear;
}

.miniplayer-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 0%;
  overflow: hidden;
}

.miniplayer-thumb-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.miniplayer-thumb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(52, 211, 153, 0.45);
  animation: spinVinyl 12s linear infinite;
  animation-play-state: paused;
}

.miniplayer-thumb.playing {
  animation-play-state: running;
}

.vinyl-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.miniplayer-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  line-height: 1.25;
}

.miniplayer-title-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  overflow: hidden;
}

.miniplayer-title {
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.miniplayer-artist {
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.miniplayer-center {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.player-btn {
  background: none;
  border: 0;
  color: var(--text);
  font-size: 0.92rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.player-btn:active {
  transform: scale(0.9);
}

.play-circle {
  background: var(--accent-emerald-light);
  color: #04120c;
  width: 36px;
  height: 36px;
}

.miniplayer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}

.miniplayer-badge,
.fav-btn {
  display: none;
}

.close-player-btn {
  color: var(--muted);
  font-size: 0.82rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}

.close-player-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

.fav-btn {
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.2s, filter 0.2s, transform 0.2s;
}

.fav-btn.active {
  opacity: 1;
  filter: none;
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  background: #05070c;
  color: var(--muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  max-width: 38ch;
}

.footer-col h5 {
  color: var(--text);
  font: 700 0.94rem var(--head);
  margin-bottom: 0.75rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-link {
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent-emerald-light);
}

.footer-author-desc {
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.footer-author-link {
  color: var(--accent-emerald-light);
  font-weight: 600;
}

/* ==========================================================================
   16. BREAKPOINTS PROGRESSIVOS (TABLET & DESKTOP)
   ========================================================================== */
@media (min-width: 640px) {
  .brand-tagline {
    display: block;
  }

  .hide-mobile {
    display: inline-flex !important;
  }

  .btn-lg {
    width: auto;
  }

  .hero-cta-group,
  .cta-button-group {
    flex-direction: row;
    justify-content: center;
  }

  .sim-buttons,
  .eq-presets {
    grid-template-columns: repeat(4, 1fr);
  }

  .music-phases-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .algo-visual-grid,
  .features-grid,
  .steps-grid,
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .sticky-miniplayer {
    left: 50%;
    right: auto;
    bottom: 16px;
    width: min(880px, calc(100% - 2rem));
    transform: translateX(-50%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.65rem 1rem;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85);
  }

  .sticky-miniplayer.is-hidden {
    transform: translate(-50%, 30px);
  }

  .miniplayer-badge,
  .fav-btn {
    display: inline-flex;
  }
}

@media (min-width: 768px) {
  section {
    padding: 5rem 0;
  }

  .showcase-mobile-tabs {
    display: none;
  }

  .showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    overflow: visible;
    padding: 0;
    margin-inline: 0;
    align-items: start;
  }

  .showcase-card {
    max-width: none;
  }

  .featured-card {
    margin-top: -1.25rem;
  }

  /* Tabela Clássica no Tablet/PC */
  .table-responsive {
    border: 1px solid var(--line);
    background: var(--bg2);
    overflow-x: auto;
  }

  .comp-table th,
  .comp-table td {
    padding: 1rem 1.15rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
  }

  .comp-table th {
    font: 700 0.9rem var(--head);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
  }

  .comp-table tbody tr:last-child td {
    border-bottom: 0;
  }

  .comp-table td {
    color: var(--muted);
  }

  .comp-table td strong {
    color: var(--text);
  }

  .col-highlight {
    background: rgba(52, 211, 153, 0.07);
    color: var(--text) !important;
  }

  th.col-highlight {
    color: var(--accent-emerald-light) !important;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {

  .mobile-toggle,
  .nav-drawer-cta {
    display: none;
  }

  .main-nav {
    position: static;
    background: none;
    backdrop-filter: none;
    border: 0;
    padding: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    display: flex;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-size: 0.9rem;
  }

  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 3rem;
  }

  .hero-content {
    text-align: left;
  }

  .hero-subtitle {
    margin-inline: 0;
  }

  .hero-cta-group {
    justify-content: flex-start;
  }

  .phone-mockup-wrap {
    width: 285px;
  }

  .badge-top-left {
    left: -22%;
  }

  .badge-bottom-right {
    right: -22%;
  }

  .badge-mid-left {
    left: -24%;
  }

  .algorithm-box,
  .audio-box {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    padding: 2.6rem;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }

  .footer-top {
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}