/* ============================
   ZEITRA LANDING — styles.css
   Apple/Linear + neumorphism suave (optimizado)
============================ */

:root{
  --bg:#f5f6f8;
  --text:#0f172a;
  --muted:#475569;
  --muted2:#64748b;
  --border:rgba(226,232,240,.92);

  --shadow1:0 1px 2px rgba(16,24,40,.06);
  --shadow2:0 16px 48px rgba(16,24,40,.10);
  --shadow3:0 22px 70px rgba(16,24,40,.14);

  --indigo:rgba(99,102,241,1);
  --indigoSoft:rgba(99,102,241,.12);
  --greenSoft:rgba(16,185,129,.12);

  --radius:24px;
  --radius2:26px;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}

body{
  margin:0;
  padding-top:calc(72px + env(safe-area-inset-top));
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(99,102,241,.10), transparent 15%),
    radial-gradient(900px 500px at 90% 10%, rgba(16,185,129,.08), transparent 15%),
    var(--bg);
  overflow-x: hidden;
}

/* Evita que el header fijo tape el anchor */
section[id],main[id]{scroll-margin-top:calc(84px + env(safe-area-inset-top))}

/* Layout */
.container{
  width:100%;
  max-width:1140px;
  margin:0 auto;
  padding:0 20px;
}
@media (min-width:768px){ .container{padding:0 24px} }
@media (max-width:480px){ .container{padding:0 18px} }

.section{padding:56px 0}
.mt-6{margin-top:24px}
.mt-8{margin-top:32px}
.mt-10{margin-top:40px}

/* Typography */
h1,h2,h3{margin:0;letter-spacing:-.03em}
h1{font-size:clamp(34px,4.2vw,52px);line-height:1.04}
h2{font-size:clamp(26px,3vw,36px);line-height:1.1}
h3{font-size:clamp(22px,2.4vw,30px);line-height:1.1}
p{margin:0}
.lead{
  margin-top:14px;
  font-size:clamp(15px,1.2vw,18px);
  line-height:1.6;
  color:var(--muted);
}
.center{text-align:center}
.max-760{max-width:760px;margin-left:auto;margin-right:auto}
.max-820{max-width:820px;margin-left:auto;margin-right:auto}

/* Divider */
.divider{
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(148,163,184,.35),transparent);
}

/* ============================
   HEADER + NAV
============================ */
.header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:1000;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(226,232,240,.80);
  padding-top:env(safe-area-inset-top);
}
.navbar{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  color:inherit;
}
.brand img{
  height:52px;
  width:auto;
  object-fit:contain;
}

.navLinks{
  display:flex;
  gap:18px;
  align-items:center;
}
.navLinks a{
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  padding:10px 8px;
  border-radius:12px;
}
.navLinks a:hover{
  color:var(--text);
  background:rgba(255,255,255,.70);
  border:1px solid rgba(226,232,240,.80);
}

.navRight{display:flex;align-items:center;gap:12px}

/* Buttons */
.btn{
  border:0;
  cursor:pointer;
  font-weight:800;
  font-size:14px;
  padding:12px 16px;
  border-radius:18px;
  transition:transform .18s ease, box-shadow .18s ease;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.btnPrimary{
  color:#fff;
  background:linear-gradient(180deg, rgba(99,102,241,1), rgba(79,70,229,1));
  box-shadow:0 10px 28px rgba(79,70,229,.22), 0 2px 8px rgba(16,24,40,.10);
}
.btnPrimary:hover{transform:translateY(-1px);box-shadow:0 18px 44px rgba(79,70,229,.26), 0 4px 12px rgba(16,24,40,.12)}
.btnGhost{
  color:var(--text);
  background:rgba(255,255,255,.78);
  border:1px solid var(--border);
  box-shadow:var(--shadow1);
}
.btnGhost:hover{transform:translateY(-1px);box-shadow:var(--shadow2)}

.menuBtn{
  width:44px;height:44px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.78);
  box-shadow:var(--shadow1);
  display:none;
  align-items:center;
  justify-content:center;
}

/* ============================
   MOBILE NAV
============================ */
body.nav-open{overflow:hidden}

.mobileBackdrop{
  display:none;
  position:fixed;
  inset:0;
  z-index:1500;
  background:rgba(15,23,42,.12);
}
.mobileNav{
  display:none;
  position:fixed;
  left:0;right:0;
  top:calc(72px + env(safe-area-inset-top));
  z-index:1600;
  padding:12px 0 18px;
  background:rgba(255,255,255,.74);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(226,232,240,.85);
}
.mobileNavInner{
  width:100%;
  max-width:1140px;
  margin:0 auto;
  padding-left:max(20px, env(safe-area-inset-left));
  padding-right:max(20px, env(safe-area-inset-right));
  display:grid;
  gap:10px;
}
@media (max-width:480px){
  .mobileNavInner{
    padding-left:max(18px, env(safe-area-inset-left));
    padding-right:max(18px, env(safe-area-inset-right));
  }
}
.mobileNav a{
  text-decoration:none;
  color:var(--text);
  font-weight:900;
  font-size:14px;
  padding:14px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(226,232,240,.92);
  box-shadow:var(--shadow1);
}
body.nav-open .mobileBackdrop{display:block}
body.nav-open .mobileNav{display:block}

/* ============================
   HERO + CARDS
============================ */
.hero{
  padding-block: 42px 36px; /* solo vertical */
}
@media (max-width:520px){
  .hero{ padding-block: 32px 26px; }
}
.heroGrid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:40px;
  align-items:center;
  min-width: 0;
  overflow: visible;
}
.heroGrid > *{
  min-width: 0;
}
.heroActions{
  margin-top:24px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.heroVisual{
  border-radius:var(--radius2);
  overflow:hidden;
  border:1px solid rgba(226,232,240,.88);
  box-shadow:var(--shadow1), var(--shadow3);
  background:rgba(255,255,255,.65);
  max-width: 100%;
}
.heroVisual img{
  width:100%;
  height:360px;
  object-fit:cover;
  display:block;
  transform:scale(1.01);
  max-width: 100%;
}

.trustGrid{
  margin-top:28px;
  display:grid;
  gap:14px;
  grid-template-columns:repeat(4,1fr);
  overflow: visible;
}
@media (max-width:980px){ .trustGrid{grid-template-columns:repeat(2,1fr)} }

.trustCard{
  border-radius:24px;
  padding:18px;
  min-height:112px;
  background:
    radial-gradient(900px 500px at 12% 18%, var(--indigoSoft), transparent 44%),
    radial-gradient(900px 500px at 88% 22%, var(--greenSoft), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border:1px solid rgba(226,232,240,.92);
  box-shadow:
    0 1px 2px rgba(16,24,40,.04),
    0 12px 32px rgba(16,24,40,.10),
    0 4px 12px rgba(16,24,40,.06);
}
.trustTitle{font-weight:900;font-size:14px}
.trustDesc{margin-top:10px;font-size:12px;line-height:1.25rem;color:var(--muted)}

.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}

.card{
  border-radius:var(--radius);
  padding:22px;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(99,102,241,.10), transparent 42%),
    radial-gradient(900px 500px at 90% 20%, rgba(16,185,129,.08), transparent 46%),
    rgba(255,255,255,.86);
  border:1px solid rgba(226,232,240,.92);
  box-shadow:var(--shadow1), var(--shadow2);
}
.cardTitle{font-weight:900;font-size:16px;letter-spacing:-.02em}
.cardText{margin-top:10px;font-size:14px;line-height:1.55;color:var(--muted)}
.cardFine{margin-top:10px;font-size:12px;line-height:1.3rem;color:var(--muted2)}

@media (max-width:980px){
  .heroGrid{
    grid-template-columns:1fr;
    width:100%;
    overflow: visible; /* ✅ NO cortar sombras */
  }
  .heroVisual img{height:320px}
  .grid3,.grid2{grid-template-columns:1fr}
}
@media (max-width:768px){
  .navLinks{display:none}
  .menuBtn{display:inline-flex}
}
@media (max-width:520px){
  .hero{padding-top:32px;padding-bottom:26px}
  .heroActions{width:100%;gap:10px}
  .heroActions .btn{width:100%}
}

/* ============================
   PRICING
============================ */
.pricingGrid{align-items:stretch}
.pricingCard{position:relative;display:flex;flex-direction:column}
.pricingTop{display:flex;flex-direction:column;gap:6px}
.pricingName{font-weight:900;font-size:16px;letter-spacing:-.02em}
.pricingSub{color:var(--muted2);font-size:13px}

.pricingPrice{margin-top:14px}
.priceMain{font-size:34px;font-weight:900;letter-spacing:-.03em;line-height:1}
.priceMain .jsSuffix{font-size:14px;font-weight:800;color:var(--muted2);margin-left:6px}
.priceAlt{margin-top:10px;color:var(--muted);font-size:14px}
.priceNote{color:var(--muted2);font-weight:800}
.priceFine{margin-top:8px;color:var(--muted2);font-size:12px}

.priceHighlight{
  margin-top:10px;
  font-size:12px;
  font-weight:900;
  color:var(--text);
  background:rgba(99,102,241,.10);
  border:1px solid rgba(99,102,241,.18);
  padding:10px 12px;
  border-radius:16px;
}

.pricingList{
  list-style:none;
  padding:0;
  margin:18px 0 18px;
  display:grid;
  gap:10px;
  color:var(--muted);
  font-size:14px;
}
.pricingList li strong{color:var(--text)}
.mutedLine{color:var(--muted2)}
.pricingBtn{width:100%;margin-top:auto}

/* Destacar PRO */
.pricingFeatured{
  border:1px solid rgba(99,102,241,.30);
  box-shadow:var(--shadow1), 0 26px 80px rgba(99,102,241,.12);
  transform:translateY(-4px);
}
@media (max-width:980px){ .pricingFeatured{transform:none} }

.pricingBadge{
  position:absolute;
  top:16px;right:16px;
  font-size:11px;
  font-weight:900;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(99,102,241,.14);
  border:1px solid rgba(99,102,241,.22);
}

/* ✅ Toggle tipo switch (real) */
.billing{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:32px;
}
.billingLabel{
  font-weight:900;
  font-size:12px;
  color:var(--muted2);
}
.billingLabel.is-active{color:var(--text)}

.billingSwitch{
  position:relative;
  width:64px;
  height:36px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(226,232,240,.92);
  box-shadow:var(--shadow1);
  cursor:pointer;
  transition:box-shadow .18s ease, transform .18s ease;
}
.billingSwitch:hover{transform:translateY(-1px);box-shadow:var(--shadow2)}
.billingSwitch input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}
.billingThumb{
  position:absolute;
  top:5px;left:5px;
  width:26px;height:26px;
  border-radius:999px;
  background:linear-gradient(180deg,#fff,rgba(255,255,255,.7));
  border:1px solid rgba(226,232,240,.95);
  box-shadow:0 10px 24px rgba(16,24,40,.12);
  transition:transform .22s ease;
}
.billingSwitch input:checked + .billingThumb{ transform:translateX(28px) }

.billingMini{
  display:inline-flex;
  align-items:center;
  font-weight:900;
  font-size:11px;
  padding:6px 8px;
  border-radius:999px;
  background:var(--greenSoft);
  border:1px solid rgba(16,185,129,.20);
  color:var(--text);
}

/* ✅ Activación: card centrada + chips (bonita) */
.activation{
  margin-top:40px;
  padding:26px;
}
.activationHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.activationTitle{font-weight:900;font-size:16px;letter-spacing:-.02em}
.activationSub{margin-top:8px;color:var(--muted);font-size:14px;line-height:1.6}
.activationGrid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
@media (max-width:980px){ .activationGrid{grid-template-columns:1fr} }

.pill{
  padding:14px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.80);
  border:1px solid rgba(226,232,240,.92);
  box-shadow:var(--shadow1);
  font-size:13px;
  color:var(--muted);
}
.pill strong{color:var(--text)}
.pillAccent{
  background:rgba(99,102,241,.10);
  border-color:rgba(99,102,241,.18);
  color:var(--text);
  font-weight:900;
}

/* Footer + Floating WA */
.footer{
  padding:10px 0 44px;
  text-align:center;
  font-size:12px;
  color:rgba(148,163,184,1);
}
.floatWA{
  position:fixed;
  right:20px;
  bottom:20px;
  border-radius:999px;
  padding:14px 18px;
  box-shadow:var(--shadow3);
}