/* MayanVault — landing. Misma identidad que la app: oro sobre obsidiana,
   tipografía tallada (Cinzel) y la greca como firma. */
:root {
  --obsidian: #0a0908;
  --stone:    #17130d;
  --stone-2:  #1f1810;
  --line:     #2e2617;
  --gold:     #d9a441;
  --gold-br:  #f0cf7a;
  --bronze:   #8a6a2f;
  --jade:     #3fa87a;
  --cinnabar: #cf5b3c;
  --text:     #ece3d0;
  --muted:    #9c8f74;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--obsidian);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, .wordmark { font-family: "Cinzel", Georgia, serif; }
a { color: var(--gold); text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em;
  font-size: .74rem; color: var(--gold); font-weight: 700;
}

/* Greca como divisor de secciones */
.greca-rule {
  height: 16px;
  background: url("greca.svg") repeat-x center / auto 16px;
  opacity: .7;
}

/* --- Nav --- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(10, 9, 8, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; max-width: 1080px; margin: 0 auto; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { width: 34px; height: 34px; border-radius: 7px; border: 1px solid var(--line); }
.nav-brand .wordmark { font-size: 1.15rem; letter-spacing: .05em; }
.nav-brand .wordmark b { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a.link { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a.link:hover { color: var(--text); }
.nav-links .cta-sm { display: none; }
@media (min-width: 720px) { .nav-links .cta-sm { display: inline-flex; } }

/* --- Botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 11px;
  font-weight: 700; font-size: .98rem; cursor: pointer;
  border: 1px solid var(--line); background: var(--stone-2); color: var(--text);
  transition: transform .12s, filter .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-br), var(--gold));
  border: none; color: #1c1406;
}
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--bronze); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }

/* --- Hero --- */
.hero { position: relative; text-align: center; padding: 60px 0 40px; }
.hero-glow {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 560px; height: 560px; max-width: 90vw; max-height: 90vw;
  background: radial-gradient(circle, rgba(217, 164, 65, .18), transparent 62%);
  filter: blur(6px); pointer-events: none; z-index: 0;
}
.hero-medallion {
  position: relative; z-index: 1;
  width: 240px; max-width: 62vw; height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, .6));
}
@media (prefers-reduced-motion: no-preference) {
  .hero-glow { animation: pulse 5s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { opacity: .75; } 50% { opacity: 1; } }
  .hero-medallion { animation: rise .8s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.96); } }
}
.hero h1 {
  position: relative; z-index: 1;
  font-size: clamp(2.4rem, 7vw, 3.8rem); margin: 22px 0 6px; letter-spacing: .04em;
}
.hero h1 .g { color: var(--gold); }
.hero .tagline {
  text-transform: uppercase; letter-spacing: .34em; color: var(--muted);
  font-size: .8rem; margin: 0 0 22px;
}
.hero .lead {
  position: relative; z-index: 1;
  max-width: 620px; margin: 0 auto 30px; font-size: 1.12rem; color: var(--text);
}
.hero-actions { position: relative; z-index: 1; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: .85rem; color: var(--muted); }

/* --- Secciones --- */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Pasos */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--stone); border: 1px solid var(--line); border-radius: 14px; padding: 26px;
}
.step .num {
  font-family: "Cinzel", serif; font-size: 1.4rem; color: var(--gold);
  border: 1px solid var(--bronze); width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Features */
.features { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature {
  background: var(--stone); border: 1px solid var(--line); border-radius: 14px; padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.feature .ic { font-size: 1.6rem; line-height: 1; filter: saturate(.4) brightness(1.2); }
.feature h3 { margin: 0 0 6px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Seguridad destacada */
.security {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(217, 164, 65, .08), transparent 60%),
    var(--stone);
  border: 1px solid var(--line); border-radius: 18px; padding: 40px;
}
.security h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 8px 0 14px; }
.security p { color: var(--muted); max-width: 640px; }
.security .mono {
  font-family: ui-monospace, monospace; color: var(--gold-br); font-size: .9rem;
  background: #0f0c07; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; margin-top: 18px; overflow-x: auto;
}

/* Pricing */
.plans { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; } }
.plan {
  background: var(--stone); border: 1px solid var(--line); border-radius: 18px; padding: 30px;
  display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(217, 164, 65, .25), 0 20px 50px rgba(0, 0, 0, .5); }
.plan .badge {
  align-self: flex-start; font-size: .72rem; text-transform: uppercase; letter-spacing: .15em;
  color: #1c1406; background: linear-gradient(180deg, var(--gold-br), var(--gold));
  padding: 4px 10px; border-radius: 999px; font-weight: 800; margin-bottom: 14px;
}
.plan h3 { margin: 0 0 4px; font-size: 1.35rem; }
.plan .price { font-size: 2.4rem; font-weight: 800; margin: 10px 0 2px; color: var(--text); }
.plan .price small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.plan .per { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: .96rem; color: var(--text); }
.plan li::before { content: "◆"; color: var(--gold); flex: none; }
.plan .btn { width: 100%; margin-top: auto; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-bottom: 12px;
  background: var(--stone);
}
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--muted); }

/* CTA final */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 12px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: .9rem; }
.footer-in { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer .wordmark { font-size: 1.05rem; }
.footer .wordmark b { color: var(--gold); }
.footer a.link { color: var(--muted); margin-left: 18px; }
.footer a.link:hover { color: var(--text); }
