/* Noxpager — Landing (utilise theme.css) */

main { padding-top: 0; }

html.nxp-entry-active .ticker,
html.nxp-entry-active .hero {
  visibility: hidden;
}

html.nxp-entry-done .ticker,
html:not(.nxp-entry-active) .ticker {
  visibility: visible;
}

/* ─── Ticker live ─── */

.ticker {
  --ticker-gap-top: 1.35rem;
  position: relative;
  margin-top: calc(var(--header-height, 64px) + var(--ticker-gap-top));
  padding: 0.85rem 0 1rem;
  border-bottom: 1px solid var(--nox-border);
  background: linear-gradient(180deg, var(--nox-bg-2) 0%, var(--nox-bg) 100%);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-12px);
  animation: tickerEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.ticker__edge--top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--nox-cyan) 20%,
    rgba(123, 97, 255, 0.85) 50%,
    var(--nox-cyan) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: tickerShine 4s ease-in-out infinite;
  opacity: 0.85;
}

.ticker__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 12vw, 120px);
  z-index: 2;
  pointer-events: none;
}

.ticker__fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--nox-bg-2) 0%, transparent 100%);
}

.ticker__fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--nox-bg) 0%, transparent 100%);
}

.ticker__inner {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 38s linear infinite;
  will-change: transform;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--nox-muted);
  white-space: nowrap;
  transition: color 0.35s ease, transform 0.35s ease;
}

.ticker__item:hover {
  color: var(--nox-text);
  transform: scale(1.02);
}

.ticker__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nox-cyan);
  box-shadow: 0 0 10px var(--nox-cyan-glow);
  animation: pulseDot 2.2s ease-in-out infinite;
}

.ticker__item:nth-child(3n + 1) .ticker__dot { animation-delay: 0s; }
.ticker__item:nth-child(3n + 2) .ticker__dot { animation-delay: 0.35s; }
.ticker__item:nth-child(3n) .ticker__dot { animation-delay: 0.7s; }

@keyframes tickerEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes tickerShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.82); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .ticker__track { animation: none; }
  .ticker__edge--top { animation: none; }
  .ticker__dot { animation: none; }
  .hero__logo { animation: none; }
  .hero.is-ready .hero__badge { animation: none; }
}

/* ─── Hero ─── */

.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-height, 64px) - 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 8vw, 5rem) 1.25rem 4rem;
  overflow: hidden;
}

.hero__aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 20%, var(--nox-hero-glow) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(123, 97, 255, 0.06) 0%, transparent 50%),
    var(--nox-bg);
  animation: auroraShift 14s ease-in-out infinite alternate;
}

[data-theme="light"] .hero__aurora {
  background:
    radial-gradient(ellipse 90% 70% at 50% 20%, var(--nox-hero-glow) 0%, transparent 55%),
    var(--nox-bg);
}

@keyframes auroraShift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(12deg); }
}

.hero__stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
}

.hero__logo-wrap {
  position: relative;
  width: clamp(150px, 26vw, 240px);
  aspect-ratio: 1;
  margin-bottom: 1.75rem;
}

.hero__logo-glow {
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle, var(--nox-cyan-glow) 0%, transparent 65%);
  animation: glowBreath 4s ease-in-out infinite;
}

@keyframes glowBreath {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.06); }
}

.hero__logo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px var(--nox-cyan-dim));
  animation: logoFloat 5.5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero__title em { font-style: normal; color: var(--nox-cyan); }

.hero__subtitle {
  max-width: 480px;
  margin-top: 1rem;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.7;
  color: var(--nox-muted);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.hero__badge {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--nox-border);
  border-radius: 8px;
  color: var(--nox-muted);
  background: var(--nox-surface);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__badge:hover {
  color: var(--nox-cyan);
  border-color: var(--nox-cyan-dim);
  box-shadow: 0 0 20px var(--nox-cyan-dim);
  transform: translateY(-2px);
}

.hero.is-ready .hero__badge {
  animation: badgePop 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero.is-ready .hero__badge:nth-child(1) { animation-delay: 0.55s; }
.hero.is-ready .hero__badge:nth-child(2) { animation-delay: 0.62s; }
.hero.is-ready .hero__badge:nth-child(3) { animation-delay: 0.69s; }
.hero.is-ready .hero__badge:nth-child(4) { animation-delay: 0.76s; }

@keyframes badgePop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
  width: 100%;
}

.hero__cta .btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero__cta .btn:hover {
  transform: translateY(-2px);
}

.hero__cta .btn:active {
  transform: translateY(0);
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--nox-muted);
}

.hero__scroll svg { animation: bobDown 2s ease-in-out infinite; }

@keyframes bobDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ─── Sections communes ─── */

.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  max-width: 1240px;
  margin: 0 auto;
}

.section--wide { max-width: none; }

.section__inner { max-width: 1240px; margin: 0 auto; }

.section__label {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nox-cyan);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 580px;
}

.section__desc {
  max-width: 540px;
  margin-top: 0.75rem;
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--nox-muted);
}

.section__head--center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section__head--center .section__title,
.section__head--center .section__desc { margin-left: auto; margin-right: auto; }

/* ─── Stats ─── */

.stats {
  background: var(--nox-bg-2);
  border-top: 1px solid var(--nox-border);
  border-bottom: 1px solid var(--nox-border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2rem);
}

.stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border: 1px solid var(--nox-border);
  border-radius: 14px;
  background: var(--nox-surface);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s;
}

.stat.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stat:hover {
  border-color: var(--nox-cyan-dim);
  transform: translateY(-2px) scale(1);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--nox-cyan);
  letter-spacing: -0.02em;
}

.stat__label {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--nox-muted);
  line-height: 1.4;
}

/* ─── Pillars ─── */

.pillars {
  background: linear-gradient(180deg, var(--nox-bg) 0%, var(--nox-bg-2) 50%, var(--nox-bg) 100%);
  max-width: none;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.pillar {
  padding: 1.5rem;
  border: 1px solid var(--nox-border);
  border-radius: 16px;
  background: var(--nox-surface);
  opacity: 0;
  transform: translateY(24px);
  transition: border-color 0.25s, transform 0.25s, opacity 0.6s ease, transform 0.6s ease;
}

.pillar.is-visible { opacity: 1; transform: translateY(0); }
.pillar:hover { border-color: var(--nox-cyan-dim); transform: translateY(-3px); }

.pillar__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.08);
  color: var(--nox-cyan);
}

[data-theme="light"] .pillar__icon { background: rgba(0, 150, 184, 0.1); }

.pillar__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.pillar__text { font-size: 0.9rem; line-height: 1.6; color: var(--nox-muted); }

/* ─── How it works ─── */

.how { background: var(--nox-bg); }

.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0;
}

.how__step {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--nox-border);
  border-radius: 16px;
  background: var(--nox-surface);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.how__step.is-visible { opacity: 1; transform: translateY(0); }

.how__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--nox-cyan);
  opacity: 0.35;
  line-height: 1;
}

.how__step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 0.75rem 0 0.4rem;
}

.how__step p { font-size: 0.875rem; color: var(--nox-muted); line-height: 1.55; }

/* ─── Use cases ─── */

.cases { background: var(--nox-bg-2); max-width: none; }

.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.case {
  padding: 1.75rem;
  border-radius: 16px;
  border: 1px solid var(--nox-border);
  background: var(--nox-surface);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.25s;
}

.case.is-visible { opacity: 1; transform: translateY(0); }
.case:hover { border-color: var(--nox-cyan-dim); }

.case__tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nox-cyan);
}

.case h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

.case p { font-size: 0.875rem; color: var(--nox-muted); line-height: 1.6; }

/* ─── Scroll reveal & hero entry ─── */

.hero-reveal__item {
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-reveal__item:nth-child(1) { animation-delay: 0.05s; }
.hero-reveal__item:nth-child(2) { animation-delay: 0.15s; }
.hero-reveal__item:nth-child(3) { animation-delay: 0.25s; }
.hero-reveal__item:nth-child(4) { animation-delay: 0.35s; }
.hero-reveal__item:nth-child(5) { animation-delay: 0.45s; }
.hero-reveal__item:nth-child(6) { animation-delay: 0.55s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal,
.faq__item.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible,
.faq__item.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.credits-spotlight.reveal.is-visible .credits-calculator {
  animation: creditPulse 0.6s ease 0.2s both;
}

@keyframes creditPulse {
  from { transform: scale(0.98); opacity: 0.85; }
  to { transform: scale(1); opacity: 1; }
}

/* ─── Crédits prépayés (spotlight) ─── */

.credits-spotlight {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0, 229, 255, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 30%, rgba(123, 97, 255, 0.08) 0%, transparent 50%),
    var(--nox-bg);
  border-top: 1px solid var(--nox-border);
  border-bottom: 1px solid var(--nox-border);
}

[data-theme="light"] .credits-spotlight {
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0, 150, 184, 0.08) 0%, transparent 55%),
    var(--nox-bg);
}

.credits-spotlight__glow {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(circle at 70% 40%, rgba(0, 229, 255, 0.15), transparent 45%);
  pointer-events: none;
  animation: auroraShift 16s ease-in-out infinite alternate;
}

.credits-spotlight__inner {
  position: relative;
  z-index: 1;
}

.credits-spotlight__badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nox-cyan);
  border: 1px solid var(--nox-cyan-dim);
  border-radius: 99px;
  background: rgba(0, 229, 255, 0.06);
}

.credits-spotlight__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.credits-spotlight__features {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.credits-spotlight__features li {
  font-size: 0.9rem;
  color: var(--nox-muted);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.credits-spotlight__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nox-cyan);
  box-shadow: 0 0 8px var(--nox-cyan);
}

.credits-spotlight__note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--nox-muted);
  line-height: 1.55;
}

.credits-calculator {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--nox-cyan) 35%, var(--nox-border));
  background: var(--nox-surface);
  box-shadow: 0 24px 64px var(--nox-shadow), 0 0 48px rgba(0, 229, 255, 0.08);
}

.credits-calculator__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nox-muted);
  margin-bottom: 1rem;
}

.credits-calculator__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.credits-calculator__preset {
  flex: 1;
  min-width: 72px;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--nox-border);
  border-radius: 10px;
  background: var(--nox-bg-2);
  color: var(--nox-text);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
}

.credits-calculator__preset:hover {
  border-color: var(--nox-cyan-dim);
  transform: translateY(-1px);
}

.credits-calculator__preset.is-active {
  border-color: var(--nox-cyan);
  color: var(--nox-cyan);
  background: rgba(0, 229, 255, 0.08);
}

.credits-calculator__slider {
  width: 100%;
  height: 6px;
  margin: 0.5rem 0 1rem;
  appearance: none;
  border-radius: 99px;
  background: var(--nox-border);
  cursor: pointer;
}

.credits-calculator__slider::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--nox-cyan);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
  cursor: grab;
}

.credits-calculator__slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: var(--nox-cyan);
  cursor: grab;
}

.credits-calculator__qty-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.credits-calculator__qty {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--nox-cyan);
  transition: transform 0.2s ease;
}

.credits-calculator__qty.is-bump {
  animation: qtyBump 0.25s ease;
}

@keyframes qtyBump {
  50% { transform: scale(1.06); }
}

.credits-calculator__qty-label {
  font-size: 0.9rem;
  color: var(--nox-muted);
}

.credits-calculator__price-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: var(--nox-bg-2);
  border: 1px solid var(--nox-border);
}

.credits-calculator__unit {
  font-size: 0.82rem;
  color: var(--nox-muted);
}

.credits-calculator__total {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  transition: opacity 0.15s ease;
}

.credits-calculator__total.is-updating { opacity: 0.5; }

.credits-calculator__hint {
  font-size: 0.75rem;
  color: var(--nox-muted);
}

.credits-calculator__cta {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ─── Architecture ─── */

.arch {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, var(--nox-hero-glow) 0%, transparent 60%),
    var(--nox-bg);
}

.arch__visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.arch__node {
  padding: 1.5rem;
  border: 1px solid var(--nox-border);
  border-radius: 16px;
  background: var(--nox-surface);
  text-align: center;
}

.arch__node--master {
  border-color: var(--nox-cyan-dim);
  box-shadow: 0 0 40px var(--nox-cyan-dim);
}

.arch__node h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--nox-cyan);
}

.arch__node p { font-size: 0.82rem; color: var(--nox-muted); margin-top: 0.4rem; line-height: 1.5; }

.arch__arrow {
  font-size: 1.5rem;
  color: var(--nox-cyan);
  opacity: 0.6;
}

.arch__elfes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.arch__elfe {
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px dashed var(--nox-border);
  border-radius: 8px;
  color: var(--nox-muted);
  text-align: center;
}

/* ─── Pricing carousel ─── */

.pricing {
  max-width: none;
  background: var(--nox-bg-2);
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.pricing-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: 1240px;
  margin: 2.5rem auto 0;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.pricing-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.pricing-carousel__stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: clamp(280px, 50vw, 380px);
  margin: 0 auto;
  perspective: 1000px;
}

.pricing-carousel__ring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.pricing-carousel__card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(130px, 38vw, 170px);
  height: clamp(165px, 48vw, 215px);
  margin-left: calc(clamp(130px, 38vw, 170px) / -2);
  margin-top: calc(clamp(165px, 48vw, 215px) / -2);
  backface-visibility: hidden;
  transition: filter 0.5s, opacity 0.5s;
  opacity: 0.35;
  filter: blur(2px) brightness(0.55);
}

.pricing-carousel__card.is-active {
  opacity: 1;
  filter: blur(0) brightness(1);
}

.pricing-carousel__card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--nox-border);
  background: var(--nox-surface);
  box-shadow: 0 16px 48px var(--nox-shadow), 0 0 30px color-mix(in srgb, var(--plan-accent) 20%, transparent);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-carousel__card.is-active .pricing-carousel__card-inner {
  border-color: color-mix(in srgb, var(--plan-accent) 45%, transparent);
}

.pricing-carousel__card-logo {
  width: clamp(48px, 14vw, 72px);
  height: auto;
}

.pricing-carousel__card-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.pricing-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nox-border);
  border-radius: 50%;
  background: var(--nox-surface);
  color: var(--nox-text);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.pricing-carousel__arrow:hover { border-color: var(--nox-cyan); color: var(--nox-cyan); }
.pricing-carousel__arrow--prev { left: 0; }
.pricing-carousel__arrow--next { right: 0; }

.pricing-carousel__meta {
  text-align: center;
  margin-top: 1.25rem;
  width: 100%;
}

.pricing-carousel__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 700;
}

.pricing-carousel__price {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
}

.pricing-carousel__price small { font-size: 0.45em; font-weight: 500; color: var(--nox-muted); }

.pricing-carousel__progress {
  width: min(200px, 75%);
  height: 2px;
  margin: 1rem auto 0;
  background: var(--nox-border);
  border-radius: 99px;
  overflow: hidden;
}

.pricing-carousel__progress-fill {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--nox-cyan), #7b61ff);
  transition: width 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-detail {
  width: 100%;
  display: flex;
  justify-content: center;
}

.pricing-detail__panel {
  width: 100%;
  max-width: 440px;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--nox-border);
  border-radius: 18px;
  background: var(--nox-surface);
  border-top: 2px solid color-mix(in srgb, var(--plan-accent, var(--nox-cyan)) 55%, transparent);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.pricing-detail__panel.is-fading { opacity: 0; transform: translateY(10px); }

.pricing-detail__quota {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--nox-cyan);
  background: rgba(0, 229, 255, 0.08);
  border-radius: 8px;
}

[data-theme="light"] .pricing-detail__quota { background: rgba(0, 150, 184, 0.1); }

.pricing-detail__heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.pricing-detail__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.pricing-detail__list li {
  font-size: 0.9rem;
  color: var(--nox-muted);
  padding-left: 1.15rem;
  position: relative;
  line-height: 1.45;
}

.pricing-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--plan-accent, var(--nox-cyan));
}

.pricing-detail__cta {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ─── FAQ ─── */

.faq { background: var(--nox-bg); max-width: none; }

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq__item {
  border: 1px solid var(--nox-border);
  border-radius: 12px;
  background: var(--nox-surface);
  overflow: hidden;
}

.faq__item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 0.925rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--nox-cyan);
  flex-shrink: 0;
}

.faq__item[open] summary::after { content: "−"; }

.faq__item p {
  padding: 0 1.15rem 1rem;
  font-size: 0.875rem;
  color: var(--nox-muted);
  line-height: 1.65;
}

/* ─── CTA ─── */

.cta-band {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, var(--nox-hero-glow) 0%, transparent 60%),
    var(--nox-bg-2);
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-band__text {
  max-width: 440px;
  margin: 0.75rem auto 1.5rem;
  color: var(--nox-muted);
  line-height: 1.65;
}

.cta-band .btn + .btn {
  margin-left: 0.75rem;
}

.cta-band__secondary {
  vertical-align: middle;
}

/* ─── Responsive ─── */

@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .how__steps { grid-template-columns: repeat(2, 1fr); }
  .cases__grid { grid-template-columns: 1fr; }
  .arch__visual { grid-template-columns: 1fr; text-align: center; }
  .arch__arrow { transform: rotate(90deg); justify-self: center; }

  .credits-spotlight__grid {
    grid-template-columns: 1fr;
  }

  .credits-calculator {
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
  }

  .pricing-carousel,
  .pricing-detail { max-width: 100%; }

  .pricing-carousel__stage { max-width: min(100%, 360px); }

  .pricing-carousel__arrow--prev { left: -0.25rem; }
  .pricing-carousel__arrow--next { right: -0.25rem; }

  .pricing-detail__panel { max-width: min(100%, 420px); }
}

@media (max-width: 640px) {
  .hero__cta { flex-direction: column; align-items: stretch; max-width: 320px; }
  .hero__cta .btn { width: 100%; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .how__steps { grid-template-columns: 1fr; }

  .cta-band .btn + .btn {
    margin-left: 0;
    margin-top: 0.65rem;
    display: inline-flex;
  }

  .credits-calculator__presets {
    flex-direction: column;
  }

  .credits-calculator__preset {
    flex: none;
    width: 100%;
  }

  .pricing-carousel__stage {
    height: 260px;
    max-width: 300px;
  }

  .pricing-carousel__arrow {
    width: 38px;
    height: 38px;
  }

  .site-header__nav .btn { padding: 0.55rem 0.85rem; font-size: 0.8rem; }
}

@media (max-width: 380px) {
  .stats__grid { grid-template-columns: 1fr; }
}
