/* ============================================
   JITS MANAGER — Landing Page CSS
   Redesign: Simplified, conversion-focused
   ============================================ */

/* ═══ VARIABLES ═══ */
:root {
  --bg:          #08080b;
  --bg-surface:  #0f0f14;
  --bg-card:     #141419;
  --bg-elevated: #1a1a21;

  --gold:        #D4AF37;
  --gold-light:  #f0d78c;
  --gold-glow:   rgba(212, 175, 55, 0.12);
  --gold-border: rgba(212, 175, 55, 0.25);

  --text:        #f5f5f7;
  --text-2:      #9d9da6;
  --text-3:      #5c5c66;

  --border:      rgba(255,255,255,0.06);
  --r:           12px;

  --font-h:      'Orbitron', sans-serif;
  --font-b:      'Space Grotesk', sans-serif;
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ═══ REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ═══ PILL BADGE ═══ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--gold-border);
  background: var(--gold-glow);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.pill--small { padding: 6px 14px; font-size: 0.72rem; }
.pill--gold { background: var(--gold); color: #000; border-color: var(--gold); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: #000;
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.25);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.03); }
.btn--outline {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold);
}
.btn--outline:hover { background: var(--gold-glow); }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ═══ HEADER ═══ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.header.scrolled {
  background: rgba(8,8,11,0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header__logo img { height: 44px; width: auto; }
.header__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.header__link {
  font-size: 0.85rem;
  color: var(--text-2);
  transition: color 0.3s;
}
.header__link:hover { color: var(--text); }
.header__link--wa {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #25D366;
}
.header__link--wa:hover { color: #5af27e; }

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.header__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--font-h);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 1.5rem 0;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero__cta { margin-bottom: 1rem; }
.hero__login {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 4rem;
}
.hero__login a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* Trust strip */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-card);
  max-width: 700px;
  margin: 0 auto;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
}
.trust-strip__item div { text-align: left; }
.trust-strip__item strong {
  display: block;
  font-family: var(--font-h);
  font-size: 0.85rem;
  color: var(--text);
}
.trust-strip__item span { font-size: 0.72rem; color: var(--text-3); }
.trust-strip__div { width: 1px; height: 36px; background: var(--border); }

/* ═══ BENEFITS ═══ */
.benefits {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.benefits__header {
  text-align: center;
  margin-bottom: 4rem;
}
.benefits__header h2 {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
  margin-top: 1.25rem;
}
.benefits__header h2 em { font-style: normal; color: var(--gold); }

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.benefit-card {
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: all 0.3s;
  position: relative;
}
.benefit-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.benefit-card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.benefit-card h3 {
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.benefit-card p {
  color: var(--text-2);
  font-size: 0.85rem;
  line-height: 1.6;
}
.benefit-card__tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--gold-glow);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ═══ STEPS ═══ */
.steps {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}
.steps__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.steps__header h2 {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 1rem;
}
.steps__row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
}
.step {
  flex: 1;
  max-width: 300px;
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  text-align: center;
}
.step__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step h3 {
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step p { color: var(--text-2); font-size: 0.85rem; }
.step__arrow {
  display: flex;
  align-items: center;
  color: var(--text-3);
  font-size: 1.5rem;
}

/* ═══ SECURITY ═══ */
.security { padding: 60px 0; }
.security__card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--r);
  background: var(--gold-glow);
}
.security__card h3 {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.security__card p { color: var(--text-2); font-size: 0.88rem; }

/* ═══ PRICING ═══ */
.pricing {
  padding: 100px 0 60px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}
.pricing__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.pricing__header h2 {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  margin: 1rem 0 0.75rem;
}
.pricing__header p { color: var(--text-2); font-size: 0.95rem; }

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 850px;
  margin: 0 auto;
}

.price-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card--pro {
  border-color: var(--gold-border);
  background: linear-gradient(180deg, rgba(212,175,55,0.06) 0%, var(--bg-card) 40%);
}
.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 100px;
  background: var(--gold);
  color: #000;
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.price-card__head { margin-bottom: 1.5rem; }
.price-card__name {
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
}
.price-card__price { margin: 0.5rem 0 0.25rem; }
.price-card__currency { font-size: 0.9rem; color: var(--text-2); vertical-align: super; }
.price-card__amount {
  font-family: var(--font-h);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text);
}
.price-card__period { font-size: 0.9rem; color: var(--text-3); }
.price-card__ref { font-size: 0.78rem; color: var(--text-3); }
.price-card__includes {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.price-card__features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  flex: 1;
}
.price-card__features li {
  padding: 0.45rem 0;
  font-size: 0.85rem;
  color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.price-card__features li strong { color: var(--text); }

.price-card__mp {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(212,175,55,0.06);
  border: 1px solid var(--gold-border);
  font-size: 0.8rem;
  color: var(--text-2);
  margin-bottom: 1.25rem;
}

/* Migration banner */
.pricing__migration {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg-card);
  margin-top: 2rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}
.pricing__migration span:first-child { font-size: 1.5rem; }
.pricing__migration p { color: var(--text-2); font-size: 0.82rem; margin-top: 2px; }
.pricing__migration .pill { margin-left: auto; flex-shrink: 0; }

/* ═══ CTA FINAL ═══ */
.cta-final { padding: 60px 0 80px; }
.cta-final__card {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}
.cta-final__card h2 {
  font-family: var(--font-h);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.cta-final__card > p { color: var(--text-2); margin-bottom: 2rem; font-size: 0.95rem; }
.cta-final__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-final__alumno {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-3);
}
.cta-final__alumno a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cta-final__tagline {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.7;
}
.cta-final__tagline strong { color: var(--gold); }

/* ═══ FOOTER ═══ */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-3);
}
.footer a { color: var(--gold); }
.footer p + p { margin-top: 0.4rem; }

/* ═══ WHATSAPP FLOTANTE ═══ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.45);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; }
  .trust-strip { flex-direction: column; gap: 1.25rem; }
  .trust-strip__div { width: 60px; height: 1px; }
  .trust-strip__item { justify-content: center; }
}

@media (max-width: 768px) {
  .header__links { 
    display: none; 
    position: fixed;
    inset: 0;
    background: rgba(8,8,11,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 999;
  }
  .header__links.open { display: flex; }
  .header__links .header__link { font-size: 1.25rem; }
  .header__burger { display: flex; z-index: 1000; }

  .hero { min-height: auto; padding: 140px 0 60px; }
  .benefits { padding: 60px 0; }
  .benefits__grid { grid-template-columns: 1fr; }
  .steps { padding: 60px 0; }
  .steps__row { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); }
  .step { max-width: 100%; }
  .pricing { padding: 60px 0 40px; }
  .pricing__migration { flex-direction: column; text-align: center; }
  .pricing__migration .pill { margin-left: 0; }
  .cta-final__card { padding: 3rem 1.5rem; }
  .security__card { flex-direction: column; }
}

@media (max-width: 480px) {
  .cta-final__buttons { flex-direction: column; }
  .cta-final__buttons .btn { width: 100%; justify-content: center; }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
