/* NinjaBot AI — Redesign — institutional fintech */

:root {
  --bg-primary: #0A0A0F;
  --bg-secondary: #111116;
  --bg-tertiary: #1A1A22;
  --bg-card-glass: rgba(26, 26, 37, 0.6);
  --accent-red: #E13850;
  --accent-red-dark: #BE2D44;
  --accent-red-glow: rgba(225, 56, 80, 0.35);
  --accent-green: #00D084;
  --accent-green-glow: rgba(0, 208, 132, 0.30);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.48);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-accent: rgba(225, 56, 80, 0.40);
  --gradient-primary: linear-gradient(135deg, #E13850 0%, #BE2D44 100%);
  --gradient-accent: linear-gradient(135deg, #E13850 0%, #00D084 100%);
  --gradient-mesh:
    radial-gradient(at 20% 0%, rgba(225, 56, 80, 0.18) 0%, transparent 50%),
    radial-gradient(at 80% 100%, rgba(0, 208, 132, 0.12) 0%, transparent 50%);
  --shadow-glow-red: 0 0 40px rgba(225, 56, 80, 0.25);
  --shadow-glow-green: 0 0 40px rgba(0, 208, 132, 0.20);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5);
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*::selection {
  background: var(--accent-red);
  color: #fff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-display);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.4;
  z-index: -2;
  pointer-events: none;
}

/* subtle grid pattern */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

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

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

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

:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 10px 16px;
  background: var(--accent-red);
  color: white;
  border-radius: 8px;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-accent);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10, 10, 15, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  border-bottom-color: var(--border-subtle);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  height: 48px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.logo-highlight {
  color: var(--accent-red);
  text-shadow: 0 0 20px var(--accent-red-glow);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-green);
  border: 1px solid rgba(0, 208, 132, 0.25);
  background: rgba(0, 208, 132, 0.06);
  border-radius: 100px;
}

.nav-cta {
  padding: 10px 18px;
  background: var(--gradient-primary);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  color: white;
  box-shadow: 0 4px 16px var(--accent-red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  transition: 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 880px) {
  .nav-live-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-200%);
    transition: transform 0.3s;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 16px;
  }
}

/* ============ TYPOGRAPHY HELPERS ============ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-green);
  padding: 6px 12px;
  background: rgba(0, 208, 132, 0.08);
  border: 1px solid rgba(0, 208, 132, 0.2);
  border-radius: 100px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {

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

  50% {
    transform: scale(1.4);
    opacity: 0.7;
  }
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 16px 0;
  text-wrap: balance;
}

.section-subtitle,
.section-description {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.6;
  text-wrap: pretty;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn svg {
  transition: transform 0.25s;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 8px 24px var(--accent-red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--accent-red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  60%,
  100% {
    left: 100%;
  }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-large {
  padding: 18px 32px;
  font-size: 17px;
  border-radius: 14px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 140px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-candles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
}

.hero-candles svg:nth-child(1) {
  position: absolute;
  top: 12%;
  left: 6%;
  transform: rotate(-12deg);
}

.hero-candles svg:nth-child(2) {
  position: absolute;
  top: 60%;
  right: 8%;
  transform: rotate(8deg);
}

.hero-candles svg:nth-child(3) {
  position: absolute;
  bottom: 18%;
  left: 14%;
  transform: rotate(-4deg);
}

.hero-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(225, 56, 80, 0.08);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-wrap: balance;
}

.title-line {
  display: block;
}

.hero-visual {
  position: relative;
  margin: 0 auto 64px;
  max-width: 800px;
}

.hero-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at 30% 20%, rgba(225, 56, 80, 0.35), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(0, 208, 132, 0.25), transparent 60%);
  filter: blur(80px);
  z-index: -1;
  opacity: 0.7;
}

.hero-image-frame {
  position: relative;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: visible;
  box-shadow: var(--shadow-elevated), 0 0 80px rgba(225, 56, 80, 0.15);
}

.frame-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 16px 16px 0 0;
}

.frame-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
}

.frame-dot:nth-child(1) {
  background: #ff5f56;
}

.frame-dot:nth-child(2) {
  background: #ffbd2e;
}

.frame-dot:nth-child(3) {
  background: #27c93f;
}

.frame-title {
  margin-left: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-carousel {
  position: relative;
}

/* Floating trade-win popups over the chart */
.trade-pop {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 7px;
  background: rgba(13, 15, 20, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 208, 132, 0.06);
  white-space: nowrap;
  pointer-events: none;
}

/* Each card overhangs only on its side, kept clear of the top/bottom edges */
.trade-pop-tl {
  top: 22%;
  left: -32px;
  animation: tradePopFade 0.6s var(--ease-out) 0.4s both, tradePopFloat 4s ease-in-out infinite;
}

.trade-pop-br {
  bottom: 20%;
  right: -26px;
  animation: tradePopFade 0.6s var(--ease-out) 0.7s both, tradePopFloat 4.6s ease-in-out -1.6s infinite;
}

.trade-pop-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(0, 208, 132, 0.15);
  border: 1px solid rgba(0, 208, 132, 0.30);
}

.trade-pop-icon svg {
  width: 15px;
  height: 15px;
  color: var(--accent-green);
}

/* Sell (short) — red down arrow */
.trade-pop-sell .trade-pop-icon {
  background: rgba(225, 56, 80, 0.15);
  border-color: rgba(225, 56, 80, 0.32);
}

.trade-pop-sell .trade-pop-icon svg {
  color: var(--accent-red);
}

.trade-pop-body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.trade-pop-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.trade-pop-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-green);
  font-variant-numeric: tabular-nums;
}

.trade-pop-value.tp-bump {
  animation: tpBump 0.45s var(--ease-out);
}

@keyframes tpBump {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }

  45% {
    transform: scale(1.14);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}

@keyframes tradePopFloat {

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

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

@keyframes tradePopFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .trade-pop {
    gap: 6px;
    padding: 6px 10px 6px 6px;
    border-radius: 10px;
  }

  .trade-pop-tl {
    top: 20%;
    left: -8px;
  }

  .trade-pop-br {
    bottom: 18%;
    right: -10px;
  }

  .trade-pop-icon {
    width: 25px;
    height: 25px;
    border-radius: 7px;
  }

  .trade-pop-icon svg {
    width: 13px;
    height: 13px;
  }

  .trade-pop-label {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .trade-pop-value {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .trade-pop-label {
    display: none;
  }
}

.hero-slides {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  border-radius: 0 0 16px 16px;
}

.hero-slides {
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg-secondary);
}

.carousel-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}

.carousel-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-red);
  box-shadow: 0 0 8px var(--accent-red-glow);
}

.hero-ticker {
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 0;
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.hero-ticker-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 16px;
  animation: ticker 40s linear infinite;
  padding-left: 16px;
}

.hero-ticker .up {
  color: var(--accent-green);
}

.hero-ticker .dn {
  color: var(--accent-red);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

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

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.indicator {
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  transition: all 0.2s;
}

.indicator:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.indicator.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 0 16px var(--accent-red-glow);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  font-feature-settings: "tnum";
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--text-primary);
}

.stat-number .arrow {
  color: var(--accent-green);
  font-size: 0.6em;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-trust-label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-trust-carousel {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.hero-trust-logos {
  display: flex;
  gap: 48px;
  width: max-content;
  align-items: center;
  animation: trust-marquee 25s linear infinite;
}

@keyframes trust-marquee {
  0% {
    transform: translateX(0);
  }

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

.trust-logo {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity 0.25s, color 0.25s;
}

.trust-logo:hover {
  opacity: 1;
  color: var(--text-primary);
}

@media (max-width: 600px) {
  .hero {
    padding: 120px 16px 60px;
  }

  .hero-title {
    font-size: 1.65rem;
    line-height: 1.2;
  }

  .hero-title .gradient-text {
    display: block;
    margin-top: 4px;
  }

  .stat-divider {
    display: none;
  }

  .hero-stats {
    gap: 24px;
  }

  .carousel-indicators {
    gap: 6px;
  }

  .indicator {
    padding: 6px 12px;
    font-size: 11px;
  }

  .hero-trust-bar {
    flex-direction: column;
    gap: 12px;
    padding: 0;
    border: none;
    background: none;
  }

  .hero-trust-carousel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 0;
    width: 100%;
  }
}

/* ============ ANIMATIONS ============ */
.animate-fade-in {
  animation: fadeIn 0.8s var(--ease-out) backwards;
}

.animate-slide-up {
  animation: slideUp 0.8s var(--ease-out) backwards;
  animation-delay: 0.2s;
}

.hero-title {
  animation-delay: 0.1s;
}

.hero-visual {
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* ============ VIDEOS ============ */
.videos-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.videos-carousel-wrapper {
  position: relative;
  padding: 0 64px;
}

.videos-carousel {
  overflow: hidden;
}

.videos-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s var(--ease-out);
}

.video-card {
  flex: 0 0 calc((100% - 40px) / 3);
  cursor: pointer;
  transition: transform 0.3s;
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px);
  transform: scale(1.08);
  transition: filter 0.3s, transform 0.3s;
}

.video-card:hover .video-thumbnail img {
  filter: blur(4px);
  transform: scale(1.1);
}

.video-live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  background: var(--accent-red);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  color: white;
  animation: pulse-bg 2s infinite;
}

@keyframes pulse-bg {
  50% {
    background: var(--accent-red-dark);
  }
}

.video-live-badge::before {
  content: '●';
  margin-right: 4px;
  color: white;
}

.video-hd {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.25s, background 0.25s;
}

.play-button svg {
  width: 24px;
  height: 24px;
  color: white;
  margin-left: 3px;
}

.video-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--accent-red);
}

.video-title {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

.carousel-arrow {
  position: absolute;
  top: 33%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  transition: all 0.2s;
  z-index: 2;
}

.carousel-arrow svg {
  width: 18px;
  height: 18px;
  color: white;
}

.carousel-arrow:hover:not(:disabled) {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-prev {
  left: 0;
  transform: translateY(-50%);
}

.carousel-next {
  right: 0;
  transform: translateY(-50%);
}

@media (max-width: 900px) {
  .video-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 640px) {
  .video-card {
    flex: 0 0 100%;
  }

  .videos-carousel-wrapper {
    padding: 0 24px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
}

.video-modal.open {
  display: grid;
}

.video-modal-content {
  width: 100%;
  max-width: 1000px;
  position: relative;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 28px;
  color: white;
  display: grid;
  place-items: center;
}

.video-modal-player {
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: black;
}

.video-modal-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============ AI SECTION ============ */
.ai-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.ai-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ai-text {
  max-width: 540px;
}

.ai-text .section-tag {
  margin-bottom: 16px;
}

.ai-text .section-title {
  text-align: left;
  margin: 16px 0 24px;
}

.ai-text .section-description {
  text-align: left;
  margin: 0 0 32px;
  max-width: none;
}

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

.ai-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.ai-card:hover {
  transform: translateX(8px);
}

.ai-card-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(225, 56, 80, 0.12), rgba(0, 208, 132, 0.08));
  display: grid;
  place-items: center;
  font-size: 28px;
}

.ai-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.ai-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.ai-microstats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
}

.ai-microstat {
  text-align: center;
  padding: 12px;
  border-right: 1px solid var(--border-subtle);
}

.ai-microstat:last-child {
  border-right: 0;
}

.ai-microstat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent-green);
  font-feature-settings: "tnum";
}

.ai-microstat-label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .ai-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ai-microstats {
    grid-template-columns: 1fr;
  }

  .ai-microstat {
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px;
  }

  .ai-microstat:last-child {
    border-bottom: 0;
  }
}

/* ============ FEATURES ============ */
.features {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

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

.feature-card {
  padding: 32px;
  background: var(--bg-card-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 32px rgba(225, 56, 80, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(225, 56, 80, 0.12), rgba(0, 208, 132, 0.08));
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: transform 0.3s;
  color: var(--accent-red);
  filter: drop-shadow(0 0 8px var(--accent-red-glow));
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.compare-strip {
  margin-top: 48px;
  padding: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.compare-title {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
}

.compare-title span {
  color: var(--accent-green);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.compare-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  font-size: 13px;
}

.compare-item .neg {
  color: var(--text-muted);
  text-decoration: line-through;
}

.compare-item .neg::before {
  content: '✕ ';
  color: var(--accent-red);
}

.compare-item .pos {
  color: var(--text-primary);
  font-weight: 600;
}

.compare-item .pos::before {
  content: '✓ ';
  color: var(--accent-green);
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ RESULTS ============ */
.results {
  padding: clamp(5rem, 10vw, 8rem) 0;
  overflow: hidden;
}

.results-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 56px;
}

.results-stat {
  padding: 24px;
  text-align: center;
  background: var(--bg-card-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.results-stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--accent-green);
}

.results-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.results-carousel {
  position: relative;
  overflow: hidden;
  /* full-bleed: break out of .container to span the full page width */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.results-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: none !important;
  padding: 16px 0;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.results-track.paused {
  animation-play-state: paused;
}

.results-carousel:hover .results-track {
  animation-play-state: paused;
}

.result-card {
  width: 18vw;
  flex: 0 0 18vw;
  max-width: 18vw;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  transition: transform 0.3s, box-shadow 0.3s;
}

.result-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-glow-green);
  border-color: rgba(0, 208, 132, 0.4);
}

.result-card img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }

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

@keyframes marquee-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .result-card {
    width: calc(30vw);
    flex: 0 0 calc(30vw);
    max-width: calc(30vw);
  }
}

@media (max-width: 600px) {
  .results-stats {
    grid-template-columns: 1fr;
  }

  .result-card {
    width: calc(45vw);
    flex: 0 0 calc(45vw);
    max-width: calc(45vw);
  }
}

/* ============ PERFORMANCE ============ */
.performance {
  padding: clamp(5rem, 10vw, 8rem) 0;
  overflow: hidden;
}

.performance-disclaimer {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.performance-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: nowrap;
}

.tab-btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  transition: all 0.2s;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  box-shadow: 0 0 20px var(--accent-red-glow);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.chart-card {
  padding: 24px;
  background: var(--bg-card-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
}

.chart-card h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.chart-card img {
  border-radius: 8px;
}

@media (max-width: 768px) {
  .performance-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

  .tab-btn {
    white-space: nowrap;
  }

  .chart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {

  /* All six strategy tabs must stay visible: wrap instead of scrolling off-screen */
  .performance-tabs {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    width: auto;
    gap: 6px;
    margin: 0 auto 24px;
    padding-bottom: 0;
  }

  .tab-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* ============ BONUS ============ */
.bonus {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}

.bonus .container {
  background: radial-gradient(at center, rgba(0, 208, 132, 0.06) 0%, transparent 70%);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.bonus-content {
  max-width: 760px;
  margin: 0 auto;
}

.bonus-badge {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-green);
  background: rgba(0, 208, 132, 0.12);
  border: 1px solid rgba(0, 208, 132, 0.4);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.bonus-logo {
  max-width: 140px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 4px 20px rgba(0, 208, 132, 0.4));
}

.bonus-subtitle {
  color: var(--text-secondary);
  margin: 16px auto 32px;
  max-width: 600px;
  font-size: 16px;
}

.bonus-subtitle strong {
  color: var(--accent-green);
}

.bonus-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 20px 24px;
  background: rgba(0, 208, 132, 0.05);
  border-left: 3px solid var(--accent-green);
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto 32px;
}

.bonus-icon {
  font-size: 24px;
}

.bonus-highlight p {
  font-size: 15px;
  color: var(--text-primary);
}

.value-stack {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: nowrap;
}

.value-stack-item {
  min-width: 0;
  padding: 14px 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: left;
}

.value-stack-item small {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.value-stack-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.value-stack-item.bonus {
  border-color: rgba(0, 208, 132, 0.4);
  background: rgba(0, 208, 132, 0.05);
}

.value-stack-item.bonus strong {
  color: var(--accent-green);
}

.value-stack-item.total {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.08);
}

.value-stack-item.total strong {
  color: var(--primary);
  font-size: 18px;
}

.value-stack-item.total span {
  color: var(--accent-green);
  font-weight: 500;
}

.value-stack-arrow {
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--text-muted);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .value-stack {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .value-stack-item {
    width: 100%;
    max-width: 320px;
    padding: 12px 18px;
    font-size: 13px;
  }

  .value-stack-arrow {
    font-size: 20px;
  }
}

.bonus-certs {
  margin-top: 56px;
  position: relative;
}

.certs-counter {
  text-align: center;
  margin-bottom: 16px;
}

.certs-counter span {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-green);
  padding: 6px 14px;
  background: rgba(0, 208, 132, 0.08);
  border: 1px solid rgba(0, 208, 132, 0.25);
  border-radius: 100px;
}

.certs-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.certs-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: none !important;
  padding: 8px 0;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.certs-track.paused {
  animation-play-state: paused;
}

.certs-track img {
  height: 180px;
  width: auto;
  border-radius: 8px;
  opacity: 0.7;
  transition: opacity 0.25s;
}

.certs-track img:hover {
  opacity: 1;
}

/* ============ VIDEO TESTIMONIALS ============ */
.video-testimonials {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.testimonial-carousel-wrapper {
  position: relative;
  margin-top: 48px;
}

.testimonial-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 16px 4px 32px 4px;
  width: 100%;
}

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

.testimonial-card {
  flex: 0 0 calc(20% - 19.2px);
  /* 5 cards visible on desktop */
  max-width: calc(20% - 19.2px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonial-placeholder {
  width: 100%;
  aspect-ratio: 9/16;
  background: linear-gradient(145deg, rgba(30, 30, 45, 0.8), rgba(15, 15, 20, 0.9));
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(225, 56, 80, 0.05) 0%, rgba(225, 56, 80, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.testimonial-card:hover .testimonial-placeholder::before {
  opacity: 1;
}

.play-icon {
  width: 64px;
  height: 64px;
  color: white;
  background: rgba(225, 56, 80, 0.8);
  border-radius: 50%;
  padding: 18px 16px 18px 20px;
  backdrop-filter: blur(4px);
  transition: all 0.3s;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(225, 56, 80, 0.4);
}

.testimonial-card:hover .play-icon {
  transform: scale(1.1);
  background: var(--accent-red);
  box-shadow: 0 0 25px var(--accent-red-glow);
}

.testimonial-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  font-family: var(--font-mono);
  z-index: 2;
}

.testimonial-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.4;
}

.testimonial-info p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Arrow styles */
.testimonial-carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(20, 20, 30, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonial-carousel-arrow:hover {
  border-color: var(--accent-red);
  color: var(--text-primary);
  background: rgba(225, 56, 80, 0.1);
}

.testimonial-carousel-prev {
  left: -24px;
}

.testimonial-carousel-next {
  right: -24px;
}

.testimonial-carousel-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 991px) {
  .testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }

  .testimonial-carousel-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    flex: 0 0 calc(75% - 12px);
    max-width: calc(75% - 12px);
  }
}

/* ============ PRICING ============ */
.pricing {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Carousel wrapper */
.pricing-carousel-wrapper {
  position: relative;
  margin-top: 48px;
}

.pricing-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(20, 20, 30, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pricing-carousel-arrow:hover {
  border-color: var(--accent-red);
  color: var(--text-primary);
  background: rgba(225, 56, 80, 0.1);
}

.pricing-carousel-prev {
  left: -24px;
}

.pricing-carousel-next {
  right: -24px;
}

.pricing-carousel-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ============ NEW PRICING GRID (Carousel) ============ */
.pricing-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 32px 16px;
  /* Increased padding to prevent scaled Yearly card from being cut off */
  width: 100%;
}

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

.pricing-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 48px 32px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
  z-index: 1;
  /* Reduced width to ~30% so the 4th card visibly peeks into view */
  flex: 0 0 calc(30% - 12px);
  max-width: calc(30% - 12px);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Featured / Yearly Card */
.pricing-card.featured {
  border: 1px solid var(--accent-red);
  background: linear-gradient(180deg, rgba(225, 56, 80, 0.04) 0%, rgba(225, 56, 80, 0.01) 100%), rgba(26, 26, 37, 0.7);
  box-shadow: 0 4px 30px rgba(225, 56, 80, 0.1);
}

@media (min-width: 992px) {
  .pricing-card.featured {
    transform: scale(1.04);
    z-index: 2;
  }

  .pricing-card.featured:hover {
    transform: scale(1.04) translateY(-8px);
    box-shadow: 0 20px 40px rgba(225, 56, 80, 0.15);
  }
}

.pricing-card.featured .plan-glow-featured {
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(225, 56, 80, 0.12), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* Card Header */
.pricing-card-header {
  margin-bottom: 28px;
  position: relative;
}

.pricing-badge {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  margin-bottom: 16px;
}

.pricing-card.featured .pricing-badge {
  background: var(--gradient-primary);
  color: white;
  border: none;
  box-shadow: 0 4px 15px var(--accent-red-glow);
}

.pricing-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pricing-card-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

/* Price Block */
.pricing-card-price-block {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}

.pricing-card-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.pricing-card-price-box .currency {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-green);
}

.pricing-card-price-box .amount {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  font-feature-settings: "tnum";
}

.pricing-card-price-box .period {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.pricing-card-price-save {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-green);
}

/* Card Features */
.pricing-card-features-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pricing-card-features li svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(0, 208, 132, 0.1);
  color: var(--accent-green);
  margin-top: 1px;
}

.pricing-card-features li.excluded {
  color: var(--text-muted);
  opacity: 0.6;
}

.pricing-card-features li.excluded svg {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.pricing-card-features li.bonus-feature svg {
  background: var(--accent-green);
  color: #fff;
}

.pricing-card-features li.lifetime-exclusive svg {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.pricing-card-lifetime {
  border-color: rgba(245, 158, 11, 0.25);
}

.btn-lifetime {
  border-color: rgba(245, 158, 11, 0.4) !important;
  color: #f59e0b !important;
}

.btn-lifetime:hover {
  background: rgba(245, 158, 11, 0.1) !important;
}

.pricing-card-features li strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* Card CTA */
.pricing-card-cta {
  margin-top: auto;
  width: 100%;
}

.pricing-card-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 16px 20px;
}

/* Guarantee Widget inside Card */
.pricing-card-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.pricing-card-guarantee svg {
  width: 14px;
  height: 14px;
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Pricing Tabs (Mobile only) */
.pricing-tabs {
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 6px;
  max-width: 100%;
  /* Permite expandir se necessário para os 4 botões */
  margin: 0 auto 32px;
  gap: 4px;
  position: relative;
  z-index: 10;
  overflow-x: auto;
  /* Evita que saia do container em telas muito pequenas */
  scrollbar-width: none;
}

.pricing-tabs::-webkit-scrollbar {
  display: none;
}

.pricing-tab-btn {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  /* Reduzido padding horizontal */
  font-family: var(--font-mono);
  font-size: 11px;
  /* Fonte levemente menor para caber */
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-radius: 100px;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  /* Impede quebra de linha no texto do botão */
}

.pricing-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.pricing-tab-btn.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px var(--accent-red-glow);
}

/* Responsive Pricing Grid */
@media (max-width: 991px) {
  .pricing-carousel-prev {
    left: 8px;
  }

  .pricing-carousel-next {
    right: 8px;
  }
}

@media (max-width: 768px) {
  .pricing-tabs {
    display: flex;
  }

  .pricing-carousel-wrapper {
    margin-top: 24px;
  }

  .pricing-carousel-arrow {
    display: none;
  }

  .pricing-grid {
    display: flex;
    flex-direction: column;
    max-width: 440px;
    margin: 0 auto;
    gap: 0;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
  }

  /* Hide all cards except the active tab card */
  .pricing-grid .pricing-card {
    display: none !important;
    min-width: 100%;
  }

  .pricing-grid .pricing-card.tab-active {
    display: flex !important;
    animation: fadeInTab 0.4s var(--ease-out);
  }

  .pricing-card {
    padding: 36px 24px 32px;
  }
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.plan-horizontal-premium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  border: 1px solid var(--border-accent);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(225, 56, 80, 0.04), rgba(0, 208, 132, 0.03));
  position: relative;
  overflow: hidden;
  align-items: stretch;
}

.plan-glow-featured {
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse at 30% 30%, rgba(225, 56, 80, 0.15), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(0, 208, 132, 0.10), transparent 50%);
  filter: blur(60px);
  z-index: 0;
  animation: slowPulse 6s ease-in-out infinite;
}

@keyframes slowPulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.premium-left,
.premium-right {
  position: relative;
  z-index: 1;
  padding: 40px;
}

.premium-left {
  display: flex;
  flex-direction: column;
}

.premium-right {
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.premium-badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  padding: 8px 14px;
  background: var(--gradient-primary);
  border-radius: 100px;
  box-shadow: 0 4px 20px var(--accent-red-glow);
  margin-bottom: 24px;
}

.premium-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.premium-desc {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Price block */
.premium-price-block {
  margin-bottom: 28px;
}

.price-old {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.premium-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.premium-price-box .currency {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-green);
}

.premium-price-box .amount {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  font-feature-settings: "tnum";
}

.premium-price-box .period {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.price-save {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-green);
  letter-spacing: 0.03em;
}

.btn-premium-cta {
  width: 100%;
  justify-content: center;
  padding: 18px 24px;
  font-size: 16px;
}

.premium-guarantee-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-secondary);
}

.premium-guarantee-text svg {
  width: 18px;
  height: 18px;
  color: var(--accent-green);
}

.premium-includes-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.premium-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.premium-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.premium-features-list li svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(0, 208, 132, 0.12);
  color: var(--accent-green);
  margin-top: 1px;
}

.premium-features-list strong {
  font-weight: 600;
  color: var(--text-primary);
}

/* Bonus feature (last item) — red accent */
.premium-features-list li.bonus-feature svg {
  background: rgba(225, 56, 80, 0.15);
  color: var(--accent-red);
}

.bonus-value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-red);
  font-weight: 500;
  text-decoration: line-through;
}

@media (max-width: 900px) {
  .plan-horizontal-premium {
    grid-template-columns: 1fr;
  }

  .premium-right {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }

  .premium-left,
  .premium-right {
    padding: 28px 24px;
  }
}

.mini-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--accent-green);
  font-size: 20px;
  transition: transform 0.2s;
}

.mini-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.mini-faq-item p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 13px;
}

@media (max-width: 768px) {
  .mini-faq {
    grid-template-columns: 1fr;
  }
}

.pricing-trust-section {
  margin-top: 56px;
  text-align: center;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto 32px;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all 0.2s;
}

.trust-badge:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.02);
  transform: translateY(-2px);
}

.trust-badge svg {
  width: 22px;
  height: 22px;
  color: var(--text-secondary);
}

.trust-badge span {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
}

.payment-methods .label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.payment-pill {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============ FAQ ============ */
.faq {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.faq-search {
  position: relative;
  max-width: 480px;
  margin: 0 auto 32px;
}

.faq-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

#faqSearch {
  width: 100%;
  padding: 14px 14px 14px 48px;
  background: var(--bg-card-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: white;
  font-size: 14px;
  font-family: inherit;
}

#faqSearch:focus {
  outline: none;
  border-color: var(--accent-red);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.hidden {
  display: none;
}

.faq-item.open {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  text-align: left;
}

.faq-question>span {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.faq-cat-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  background: rgba(0, 208, 132, 0.08);
  color: var(--accent-green);
  border: 1px solid rgba(0, 208, 132, 0.2);
  border-radius: 4px;
  font-weight: 600;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent-red);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 24px;
}

.faq-item.open .faq-answer-inner {
  padding-bottom: 20px;
}

.faq-answer-inner p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.faq-still-questions {
  text-align: center;
  margin-top: 32px;
  padding: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.faq-still-questions strong {
  color: var(--text-primary);
}

.faq-still-questions a {
  color: var(--accent-red);
  font-weight: 600;
}

.faq-still-questions a:hover {
  text-decoration: underline;
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(225, 56, 80, 0.15) 0%, transparent 60%);
  z-index: -1;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 32px;
}

.cta-reassure {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ DISCORD ============ */
.discord-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.discord-content {
  background: rgba(88, 101, 242, 0.06);
  border: 1px solid rgba(88, 101, 242, 0.20);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.discord-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: #5865F2;
}

.discord-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.discord-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.btn-discord {
  background: #5865F2;
  color: white;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
  background: #4752C4;
  transform: translateY(-2px);
}

/* ============ TECH ============ */
.tech-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
}

.tech-section h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.tech-logos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.tech-logos a img {
  height: 36px;
  width: auto;
  filter: grayscale(100%) brightness(1.5);
  opacity: 0.6;
  transition: all 0.25s;
}

.tech-logos a img[alt="Kinetick"] {
  height: 56px;
}

.tech-logos a:hover img {
  filter: none;
  opacity: 1;
}

/* ============ FOOTER ============ */
.footer {
  background: #06060A;
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-subtle);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s;
}

.footer-social-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.footer-disclosure {
  max-width: 1100px;
  margin: 0 auto 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
}

.footer-disclosure-body {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-disclosure-body a {
  color: var(--accent-red);
}

.footer-disclosure-body a:hover {
  color: var(--accent-red);
  text-decoration: underline;
}

.footer-disclosure-body p {
  margin-bottom: 14px;
}

.footer-disclosure-body strong {
  color: var(--text-secondary);
  font-weight: 400;
}

.footer-disclosure-body h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin: 24px 0 12px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 14px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.footer-links a:not(:last-child)::after {
  content: '•';
  position: absolute;
  right: -14px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-red);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ STICKY CTA ============ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  padding: 12px 16px;
  display: none;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}

.sticky-cta.show {
  transform: translateY(0);
}

.sticky-cta a {
  flex: 1;
  padding: 14px 20px;
  background: var(--gradient-primary);
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: white;
  box-shadow: 0 4px 16px var(--accent-red-glow);
}

.sticky-cta-close {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 22px;
  color: var(--text-muted);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .sticky-cta.enabled {
    display: flex;
  }

  body.sticky-active {
    padding-bottom: 72px;
  }
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 33px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top.shifted {
  bottom: 95px;
}

.back-to-top:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  color: white;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
}

.lightbox.open {
  display: grid;
}

.lightbox-content {
  max-width: min(900px, 90vw);
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 28px;
  color: white;
  display: grid;
  place-items: center;
}


/* Drag overrides */
.result-card img,
.certs-track img {
  cursor: pointer;
}

.hero-visual img,
.video-card img,
.result-card img,
.certs-track img {
  user-select: none;
  -webkit-user-drag: none;
}

/* Carousels now use GPU-accelerated transforms — no scrollbar rules needed */