:root {
  --bg:            #060A09;
  --bg-elevated:   #0C1311;
  --surface:       #111A17;
  --surface-hi:    #18241F;
  --emerald:       #00C896;
  --emerald-bright:#00FFB3;
  --emerald-dim:   #00875A;
  --emerald-deep:  #003D2B;
  --emerald-glow:  rgba(0, 200, 150, 0.15);
  --text:          #E8F0EE;
  --text-dim:      #8B9C97;
  --text-faint:    #4A5854;
  --border:        rgba(0, 200, 150, 0.12);
  --border-hi:     rgba(0, 200, 150, 0.30);
  --border-white:  rgba(255, 255, 255, 0.06);
  --ease-quiet:    cubic-bezier(.22, 1, .36, 1);
  --ease-precise:  cubic-bezier(.4, 0, .2, 1);
  --ease-emphasis: cubic-bezier(.16, 1, .3, 1);
}

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

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

::selection { background: var(--emerald); color: var(--bg); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
.link { color: var(--emerald); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { color: var(--emerald-bright); }

/* ─────── TYPOGRAPHY ─────── */
.display, h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.88;
}
.mono, .label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
}

/* ─────── LOGO ─────── */
.logo-crown-c { display: block; }
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* ─────── NAV ─────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(6, 10, 9, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-white);
  transition: transform 400ms var(--ease-quiet);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__brand {
  display: flex; align-items: center; gap: 0.6rem;
}
.nav__logo-chip {
  width: 36px; height: 36px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav__logo-chip svg { width: 20px; height: 25px; color: #000; }

.nav__menu { display: flex; gap: 2rem; align-items: center; }
.nav__menu a {
  font-size: 13px; font-weight: 500;
  color: var(--text-dim);
  position: relative;
  transition: color 250ms var(--ease-precise);
}
.nav__menu a:hover { color: var(--text); }
.nav__menu a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: var(--emerald);
  transform: scaleX(0); transform-origin: right;
  transition: transform 350ms var(--ease-quiet);
}
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { display: flex; gap: 0.75rem; align-items: center; }

@media (max-width: 880px) {
  .nav__menu { display: none; }
  .nav { padding: 0.85rem 1.25rem; }
  .nav__cta .btn-ghost { display: none; }
}

/* ─────── BUTTONS ─────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500; font-size: 12px;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  transition: all 300ms var(--ease-precise);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-emerald {
  background: var(--emerald);
  color: var(--bg);
  box-shadow: 0 0 30px -8px var(--emerald-glow);
}
.btn-emerald:hover {
  background: var(--emerald-bright);
  box-shadow: 0 0 50px -5px rgba(0, 255, 179, 0.4);
  transform: translateY(-1px);
}
.btn-solid {
  background: var(--text);
  color: var(--bg);
}
.btn-solid:hover { background: var(--emerald); }
.btn-outline {
  border-color: var(--border-hi);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--emerald);
  background: var(--emerald-glow);
}
.btn-ghost {
  color: var(--text-dim);
  padding: 0.85rem 1rem;
}
.btn-ghost:hover { color: var(--text); }
.btn .arrow { transition: transform 300ms var(--ease-quiet); }
.btn:hover .arrow { transform: translateX(4px); }

/* ─────── HERO ─────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem 2rem 3rem;
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 35%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  max-width: 90vw;
  background: radial-gradient(circle, rgba(0, 200, 150, 0.12) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
#particles {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
}

.hero__meta {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 3.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.hero__meta-block { display: flex; flex-direction: column; gap: 0.35rem; }
.hero__meta-block .label { color: var(--text-faint); }
.hero__meta-block .value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 500;
  color: var(--text-dim);
}
.hero__meta-block.right { text-align: right; }
.hero__meta-block .status {
  display: flex; align-items: center; gap: 0.4rem;
  color: var(--emerald);
}
.hero__meta-block .status::before {
  content: ''; width: 7px; height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2.5s var(--ease-quiet) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-bottom: 2rem;
  opacity: 0;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-hi);
  background: var(--emerald-glow);
  border-radius: 2px;
  align-self: flex-start;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
}

.hero__title {
  font-size: clamp(2.8rem, 8.5vw, 8.5rem);
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  opacity: 0;
  max-width: 14ch;
}
.hero__title .accent { color: var(--emerald); }
.hero__title .outline {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}

.hero__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-top: 1.5rem;
}
.hero__sub {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 42ch;
  opacity: 0;
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__sub .highlight { color: var(--emerald); font-weight: 600; }

.hero__cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0;
  align-items: center;
}
.hero__cta-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.75rem;
  width: 100%;
}

@media (max-width: 880px) {
  .hero { padding: 6.5rem 1.25rem 2.5rem; }
  .hero__meta { flex-direction: column; gap: 0.75rem; }
  .hero__meta-block.right { text-align: left; }
  .hero__row { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─────── HERO STATS ─────── */
.hero__stats {
  position: relative; z-index: 2;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.hero__stat {
  background: var(--bg);
  padding: 1.25rem 1rem;
  display: flex; flex-direction: column;
  gap: 0.4rem;
}
.hero__stat-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--emerald);
}
.hero__stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

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

/* ─────── MARQUEE ─────── */
.marquee {
  padding: 2rem 0;
  border-top: 1px solid var(--border-white);
  border-bottom: 1px solid var(--border-white);
  overflow: hidden;
  background: var(--bg-elevated);
}
.marquee__label {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-faint);
}
.marquee__track {
  display: flex; gap: 3.5rem;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 45s linear infinite;
}
.marquee__item {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--text-dim);
  opacity: 0.5;
  transition: all 300ms var(--ease-precise);
  flex-shrink: 0;
  display: flex; align-items: center; gap: 0.5rem;
}
.marquee__item:hover { opacity: 1; color: var(--emerald); }
.marquee__item .dot { color: var(--emerald); font-size: 0.7em; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─────── SECTION ─────── */
.section {
  position: relative;
  padding: 7rem 2rem;
}
.section__inner {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}
.section__head {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.section__label { display: flex; flex-direction: column; gap: 0.5rem; }
.section__label .num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--emerald);
  letter-spacing: -0.02em;
  line-height: 1;
}
.section__label .text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.section__title {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  letter-spacing: -0.03em;
}
.section__title .accent { color: var(--emerald); }

@media (max-width: 880px) {
  .section { padding: 4.5rem 1.25rem; }
  .section__head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
}

/* ─────── STACKED CARDS ─────── */
.cardstack {
  position: relative;
  background: var(--bg);
}
.cardstack__intro {
  padding: 7rem 2rem 1rem;  /* bottom: 1rem (antes 3rem) → la 1ª card aparece casi inmediatamente */
}
/* Override del section__head SOLO dentro del cardstack: la línea horizontal
   queda pegada al título y desaparece el margin-bottom de 4rem que dejaba
   4cm de espacio vacío entre el título y la primera card. */
.cardstack .section__head {
  margin-bottom: 0.5rem;
  padding-bottom: 1rem;
}
/* Outer pin: provee el espacio de scroll para N-1 transiciones entre cards.
   Con N=5: 4 transiciones * 100vh = 400vh exactos.
   La card 0 está visible apenas el outer entra al viewport
   (peak en progress=0); la card N-1 al final. */
#cardstack-pin {
  position: relative;
  height: 400vh;
}
/* Inner container: sticky para mantenerse visible mientras outer scrollea.
   Las 5 cards con position:absolute se posicionan relative a este inner. */
.cardstack__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.cardstack__card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(1150px, 92vw);
  height: min(72vh, 620px);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  /* Suavizar el movimiento scroll-driven del JS para que no se vea "a saltos"
     cuando el usuario hace scroll rápido. ease-out da una sensación natural. */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  overflow: hidden;
  box-shadow: 0 50px 100px -25px rgba(0, 0, 0, 0.7), 0 0 60px -20px var(--emerald-glow);
}
.cardstack__card--accent {
  border: 1px solid var(--emerald-dim);
  box-shadow: 0 50px 100px -25px rgba(0, 0, 0, 0.7), 0 0 80px -10px var(--emerald);
}
.cardstack__card-content {
  padding: 3rem;
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
.cardstack__card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1.5rem;
}
.cardstack__card-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--emerald);
  letter-spacing: -0.04em;
}
.cardstack__card-tag {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border-hi);
  background: var(--emerald-glow);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
}
.cardstack__card-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 0.95;
}
.cardstack__card-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  max-width: 38ch;
}
.cardstack__card-benefits {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.cardstack__card-benefits li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text);
}
.cardstack__card-benefits li::before {
  content: '▸';
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.85em;
}

.cardstack__card-visual {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
}
.cardstack__card-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, var(--emerald-glow), transparent 60%);
}
.cardstack__card-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
  mix-blend-mode: luminosity;
}
.cardstack__card-visual-label {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald);
  z-index: 2;
  display: flex; align-items: center; gap: 0.5rem;
}
.cardstack__card-visual-label::before {
  content: ''; width: 20px; height: 1px;
  background: var(--emerald);
}

.cardstack__progress {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.4rem;
  z-index: 10;
}
.cardstack__progress-dot {
  width: 32px; height: 2px;
  background: rgba(255,255,255,0.1);
  transition: background 400ms var(--ease-precise);
}
.cardstack__progress-dot.is-active { background: var(--emerald); }

@media (max-width: 880px) {
  .cardstack__card { grid-template-columns: 1fr; height: 82vh; }
  .cardstack__card-visual { display: none; }
  .cardstack__card-content { padding: 2rem; }
  .cardstack__card-num { font-size: 3rem; }
}

/* ─────── CAPABILITIES ─────── */
.cap__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--border-white);
  border: 1px solid var(--border-white);
}
.cap {
  background: var(--bg);
  padding: 2.25rem 1.75rem;
  display: flex; flex-direction: column;
  gap: 1.25rem;
  position: relative;
  min-height: 280px;
  transition: all 400ms var(--ease-precise);
  overflow: hidden;
}
.cap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease-quiet);
}
.cap:hover {
  background: var(--surface);
  transform: translateY(-2px);
}
.cap:hover::before { transform: scaleX(1); }
.cap:hover .cap__num { color: var(--emerald); }
.cap:hover .cap__icon { border-color: var(--emerald); color: var(--emerald); }

.cap--lg { grid-column: span 6; min-height: 320px; }
.cap--md { grid-column: span 6; }
.cap--sm { grid-column: span 4; }

.cap__icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: all 400ms var(--ease-precise);
}
.cap__icon svg { width: 22px; height: 22px; }
.cap__num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  transition: color 400ms var(--ease-precise);
}
.cap__title {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.cap__desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 36ch;
}

.cap--feature {
  background: var(--surface);
  border: 1px solid var(--border-hi);
}
.cap--feature::before { transform: scaleX(1); }
.cap--feature .cap__num { color: var(--emerald); }

@media (max-width: 1024px) {
  .cap--lg, .cap--md { grid-column: span 12; }
  .cap--sm { grid-column: span 6; }
}
@media (max-width: 640px) {
  .cap--sm { grid-column: span 12; }
}

/* ─────── WHY CAPO ─────── */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-white);
  border: 1px solid var(--border-white);
}
.why {
  background: var(--bg);
  padding: 2.25rem 1.75rem;
  display: flex; flex-direction: column;
  gap: 1.25rem;
  min-height: 280px;
  transition: background 400ms var(--ease-precise);
  position: relative;
}
.why:hover { background: var(--surface); }
.why::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 0;
  background: var(--emerald);
  transition: height 500ms var(--ease-quiet);
}
.why:hover::after { height: 100%; }
.why__num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--emerald);
  letter-spacing: 0.15em;
}
.why__title {
  font-size: clamp(1.15rem, 1.4vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
.why__body {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.why__body strong {
  color: var(--text);
  font-weight: 600;
}

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

/* ─────── COMPARISON ─────── */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-white);
  border: 1px solid var(--border-white);
}
.compare__col {
  padding: 2.5rem 2rem;
  background: var(--bg);
}
.compare__col--after {
  background: var(--surface);
  border-left: 2px solid var(--emerald);
}
.compare__col-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.compare__col--before .compare__col-title { color: var(--text-faint); }
.compare__col--after .compare__col-title { color: var(--emerald); }
.compare__list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 1rem;
}
.compare__list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.4;
}
.compare__col--before li { color: var(--text-faint); text-decoration: line-through; text-decoration-color: var(--text-faint); }
.compare__col--before li::before { content: '✕'; color: var(--text-faint); flex-shrink: 0; }
.compare__col--after li { color: var(--text); }
.compare__col--after li::before { content: '✓'; color: var(--emerald); flex-shrink: 0; font-weight: 700; }
.compare__list li strong { font-weight: 600; color: var(--emerald); }

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

/* ─────── TESTIMONIALS ─────── */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-white);
  border: 1px solid var(--border-white);
}
.testimonial {
  background: var(--bg);
  padding: 2.25rem 1.75rem;
  display: flex; flex-direction: column;
  gap: 1.5rem;
  min-height: 340px;
  transition: background 400ms var(--ease-precise);
}
.testimonial:hover { background: var(--surface); }
.testimonial__quote {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  flex: 1;
}
.testimonial__quote::before {
  content: '"';
  color: var(--emerald);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.1em;
  margin-right: 0.1em;
}
.testimonial__author {
  display: flex; align-items: center; gap: 0.85rem;
  border-top: 1px solid var(--border-white);
  padding-top: 1.25rem;
}
.testimonial__avatar {
  width: 40px; height: 40px;
  background: var(--emerald-deep);
  color: var(--emerald);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.02em;
  border: 1px solid var(--border-hi);
}
.testimonial__avatar--bright { background: var(--emerald); color: var(--bg); }
.testimonial__author-info { display: flex; flex-direction: column; gap: 0.15rem; }
.testimonial__author-name { font-weight: 600; font-size: 13px; color: var(--text); }
.testimonial__author-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

/* ─────── PRICING ─────── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-white);
  border: 1px solid var(--border-white);
  max-width: 900px;
  margin: 0 auto;
}
.plan {
  background: var(--bg);
  padding: 2.5rem 2.25rem;
  display: flex; flex-direction: column;
  gap: 1.75rem;
  position: relative;
  transition: background 400ms var(--ease-precise);
}
.plan:hover { background: var(--surface); }
.plan--featured {
  background: var(--surface);
  border: 1px solid var(--emerald);
  box-shadow: 0 0 60px -15px var(--emerald-glow);
  position: relative;
  z-index: 2;
}
.plan--featured:hover { background: var(--surface-hi); }

.plan__tag {
  position: absolute; top: -1px; right: 2rem;
  background: var(--emerald);
  color: var(--bg);
  padding: 0.35rem 0.75rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.plan__name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.plan__price {
  display: flex; align-items: baseline; gap: 0.4rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
}
.plan__price-currency {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--emerald);
}
.plan__price-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan__price-period {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan__desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.55;
}
.plan__features {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.plan__feature {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.4;
}
.plan__feature svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--emerald);
}
.plan__cta { margin-top: auto; }
.plan__savings {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--emerald);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

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

/* ─────── FAQ ─────── */
.faq {
  display: flex; flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-white);
}
.faq__item {
  border-bottom: 1px solid var(--border-white);
  transition: background 300ms var(--ease-precise);
}
.faq__item:last-child { border-bottom: none; }
.faq__item:hover { background: var(--surface); }
.faq__item[open] { background: var(--surface); }
.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 1.75rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  letter-spacing: -0.01em;
  color: var(--text);
  user-select: none;
  position: relative;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--emerald);
  flex-shrink: 0;
  transition: transform 300ms var(--ease-precise);
}
.faq__item[open] .faq__q::after {
  transform: rotate(45deg);
}
.faq__a {
  padding: 0 1.75rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 75ch;
}

/* ─────── FINAL CTA ─────── */
.final-cta {
  position: relative;
  padding: 9rem 2rem;
  overflow: hidden;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-white);
}
.final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  max-width: 95vw;
  background: radial-gradient(circle, var(--emerald-glow) 0%, transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}
.final-cta__bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(12rem, 25vw, 28rem);
  letter-spacing: -0.05em;
  line-height: 0.8;
  white-space: nowrap;
  color: var(--text);
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}
.final-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.final-cta__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.75rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-hi);
  background: var(--emerald-glow);
}
.final-cta__title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
}
.final-cta__title .accent { color: var(--emerald); }
.final-cta__title .outline {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
}
.final-cta__sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.final-cta__buttons {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap;
}
.final-cta__note {
  margin-top: 1.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─────── FOOTER ─────── */
.footer {
  background: var(--bg);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--border-white);
}
.footer__inner { max-width: 1300px; margin: 0 auto; }
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-white);
}
.footer__brand-block { display: flex; flex-direction: column; gap: 1.25rem; }
.footer__brand {
  display: flex; align-items: center; gap: 0.6rem;
}
.footer__logo-chip {
  width: 32px; height: 32px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.footer__logo-chip svg { width: 18px; height: 22px; color: #000; }
.footer__brand .logo-text { font-size: 1.3rem; }
.footer__tagline {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 32ch;
}
.footer__loc {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex; align-items: center; gap: 0.4rem;
}
.footer__loc::before { content: '●'; color: var(--emerald); font-size: 0.7em; }
.footer__col-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.1rem;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer__col a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 250ms var(--ease-precise);
}
.footer__col a:hover { color: var(--emerald); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 250ms var(--ease-precise);
}
.footer__legal a:hover { color: var(--emerald); }

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ─────── CHECKOUT (extraído para checkout.html) ─────── */
.checkout {
  padding: 8rem 2rem 4rem;
  min-height: 100vh;
}
.checkout__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}
.checkout__form { display: flex; flex-direction: column; gap: 1.5rem; }
.checkout__field { display: flex; flex-direction: column; gap: 0.4rem; }
.checkout__field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.checkout__field input,
.checkout__field select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 250ms var(--ease-precise);
}
.checkout__field input:focus,
.checkout__field select:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-glow);
}
.checkout__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checkout__summary {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  height: fit-content;
  position: sticky;
  top: 6rem;
}
.checkout__summary h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.checkout__summary-row {
  display: flex; justify-content: space-between;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.checkout__summary-row--total {
  border-top: 1px solid var(--border);
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
}
.checkout__summary-row--total strong { color: var(--emerald); font-family: 'Montserrat', sans-serif; font-size: 1.4rem; }
.checkout__security {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.checkout__security span::before { content: '✓ '; color: var(--emerald); }

@media (max-width: 880px) {
  .checkout__inner { grid-template-columns: 1fr; }
  .checkout__summary { position: static; }
  .checkout__row { grid-template-columns: 1fr; }
}

/* ─────── REVEAL ─────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1000ms var(--ease-quiet), transform 1000ms var(--ease-quiet);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 100ms; }
.reveal--d2 { transition-delay: 200ms; }
.reveal--d3 { transition-delay: 300ms; }

/* ─────── REDUCED MOTION ─────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
