/* =========================================================
   EventTox — Landing page
   Tokens
   ========================================================= */
:root{
  --navy-950:#070a13;
  --navy-900:#0b1120;
  --navy-800:#121b30;
  --navy-700:#1c2843;
  --line:#233150;

  --blue-700:#1e3fa8;
  --blue-500:#2f7fee;
  --blue-400:#4fb2ff;

  --white:#f5f7fb;
  --gray-300:#c4cee0;
  --gray-400:#8b96ab;

  --font-display:'Sora', 'Segoe UI', sans-serif;
  --font-body:'Inter', 'Segoe UI', sans-serif;

  --radius:14px;
  --wrap:560px;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}

body{
  margin:0;
  background:var(--navy-950);
  color:var(--white);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;display:block;}

h1,h2,h3{
  font-family:var(--font-display);
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}

p{margin:0 0 1em;}

a{color:inherit;}

.wrap{
  width:100%;
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 22px;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  background:var(--blue-500);
  color:var(--white);
  padding:10px 16px;
  z-index:200;
}
.skip-link:focus{left:12px;top:12px;}

:focus-visible{
  outline:2px solid var(--blue-400);
  outline-offset:3px;
}

/* =========================================================
   Signature motif: faceted diagonal divider
   (echoes the cut-parallelogram shape in the EventTox mark)
   ========================================================= */
.facet-divider{
  height:34px;
  width:100%;
  background:linear-gradient(100deg, var(--blue-700), var(--blue-500) 55%, var(--blue-400));
  clip-path:polygon(0 100%, 100% 0, 100% 100%);
  opacity:.9;
}

.facet-mark{
  display:block;
  width:26px;
  height:26px;
  margin-bottom:14px;
  background:linear-gradient(135deg, var(--blue-700), var(--blue-400));
  clip-path:polygon(0 0, 70% 0, 100% 30%, 100% 100%, 30% 100%, 0 70%);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font-display);
  font-weight:700;
  font-size:.95rem;
  letter-spacing:.01em;
  text-decoration:none;
  padding:14px 22px;
  border-radius:10px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active{transform:translateY(1px);}

.btn-primary{
  background:linear-gradient(100deg, var(--blue-700), var(--blue-400));
  color:var(--white);
  box-shadow:0 8px 24px -8px rgba(47,127,238,.55);
}
.btn-primary:hover{box-shadow:0 10px 28px -6px rgba(47,127,238,.7);}

.btn-ghost{
  background:transparent;
  border-color:var(--line);
  color:var(--white);
}
.btn-ghost:hover{border-color:var(--blue-400);}

.btn-sm{padding:9px 16px;font-size:.85rem;}
.btn-block{width:100%;}

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(7,10,19,.86);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:10px;
  padding-bottom:10px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
}
.brand-mark{height:26px;width:auto;border-radius:4px;}
.brand-mark-sm{height:22px;}
.brand-word{
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.05rem;
  color:var(--white);
  letter-spacing:.01em;
}
.brand-word em{
  font-style:normal;
  color:var(--blue-400);
}
.footer-brand{opacity:.9;}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  padding-top:52px;
  padding-bottom:0;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(47,127,238,.16), transparent 60%),
    var(--navy-950);
}
.hero .wrap{padding-bottom:44px;}

.eyebrow{
  font-family:var(--font-display);
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--blue-400);
  margin-bottom:14px;
}

.hero h1{
  font-size:2rem;
  font-weight:800;
  color:var(--white);
}

.hero-sub{
  color:var(--gray-300);
  font-size:1.02rem;
  max-width:44ch;
}

.cta-row{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:26px;
}

/* =========================================================
   Sections (shared)
   ========================================================= */
.section{
  background:var(--navy-900);
}
.section .wrap{padding-top:48px;padding-bottom:44px;}
.section h2{font-size:1.5rem;font-weight:700;color:var(--white);}
.section-note{color:var(--gray-400);font-size:.92rem;}

/* =========================================================
   Beneficios
   ========================================================= */
.feature-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:26px;
  margin-top:30px;
}
.feature h3{
  font-size:1.05rem;
  color:var(--white);
  margin-bottom:.35em;
}
.feature p{
  color:var(--gray-400);
  font-size:.95rem;
  margin-bottom:0;
}

/* =========================================================
   Planes
   ========================================================= */
.planes{background:var(--navy-950);}

.scroll-hint{
  font-size:.78rem;
  color:var(--gray-400);
  margin:10px 0 0;
}
@media (min-width:640px){.scroll-hint{display:none;}}

.plans-scroll{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:6px 22px 8px;
  margin-top:8px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.plans-scroll::-webkit-scrollbar{height:6px;}
.plans-scroll::-webkit-scrollbar-thumb{background:var(--line);border-radius:6px;}

.plan-card{
  position:relative;
  flex:0 0 82%;
  max-width:300px;
  scroll-snap-align:start;
  background:var(--navy-800);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px 22px;
  display:flex;
  flex-direction:column;
}
.plan-card.is-featured{
  border-color:var(--blue-500);
  box-shadow:0 0 0 1px var(--blue-500), 0 18px 34px -18px rgba(47,127,238,.6);
}
.plan-badge{
  position:absolute;
  top:-12px;
  left:22px;
  background:linear-gradient(100deg, var(--blue-700), var(--blue-400));
  color:var(--white);
  font-family:var(--font-display);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:5px 10px;
  border-radius:999px;
}
.plan-card h3{
  font-size:1.05rem;
  color:var(--white);
  margin-bottom:10px;
}
.price{
  font-family:var(--font-display);
  margin-bottom:18px;
}
.price .amount{font-size:1.7rem;font-weight:800;color:var(--white);}
.price .currency,
.price .from{font-size:.8rem;color:var(--gray-400);}

.plan-features{
  list-style:none;
  margin:0 0 22px;
  padding:0;
  display:grid;
  gap:9px;
  flex:1;
}
.plan-features li{
  color:var(--gray-300);
  font-size:.9rem;
  padding-left:18px;
  position:relative;
}
.plan-features li::before{
  content:"";
  position:absolute;
  left:0;
  top:.5em;
  width:8px;
  height:8px;
  background:linear-gradient(135deg, var(--blue-700), var(--blue-400));
  clip-path:polygon(0 0, 70% 0, 100% 30%, 100% 100%, 30% 100%, 0 70%);
}

/* =========================================================
   Formulario — crear cuenta
   ========================================================= */
.signup{background:var(--navy-900);}

.signup-form{
  margin-top:26px;
  display:grid;
  gap:16px;
}

.field label{
  display:block;
  font-size:.82rem;
  font-weight:600;
  color:var(--gray-300);
  margin-bottom:6px;
}
.field input{
  width:100%;
  background:var(--navy-800);
  border:1px solid var(--line);
  color:var(--white);
  border-radius:10px;
  padding:13px 14px;
  font-size:1rem;
  font-family:var(--font-body);
}
.field input::placeholder{color:var(--gray-400);}
.field input:focus{border-color:var(--blue-400);}
.field input:invalid:not(:placeholder-shown){border-color:#e0577b;}

/* Honeypot: oculto visualmente pero accesible al DOM,
   fuera de pantalla para no interferir con lectores de pantalla reales */
.hp-field{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.form-error{
  background:rgba(224,87,123,.12);
  border:1px solid rgba(224,87,123,.4);
  color:#f3aec1;
  font-size:.88rem;
  padding:10px 12px;
  border-radius:10px;
  margin:0;
}

.form-legal{
  color:var(--gray-400);
  font-size:.8rem;
  text-align:center;
  margin:2px 0 0;
}

/* =========================================================
   Contacto
   ========================================================= */
.contacto{background:var(--navy-950);}
.contact-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:20px;
}
.contact-item{
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.05rem;
  color:var(--blue-400);
  text-decoration:none;
  width:fit-content;
}
.contact-item:hover{color:var(--white);}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  border-top:1px solid var(--line);
  background:var(--navy-950);
}
.footer-inner{
  padding:28px 22px 40px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  text-align:center;
}
.footer-inner p{
  margin:0;
  color:var(--gray-400);
  font-size:.8rem;
}

/* =========================================================
   Small phones
   ========================================================= */
@media (max-width:360px){
  .hero h1{font-size:1.7rem;}
}

/* =========================================================
   Tablet and up
   ========================================================= */
@media (min-width:640px){
  :root{--wrap:640px;}

  .hero h1{font-size:2.5rem;}
  .cta-row{flex-direction:row;}
  .btn-block{width:auto;}

  .feature-list{grid-template-columns:1fr 1fr;column-gap:30px;}

  .plans-scroll{overflow-x:visible;flex-wrap:wrap;justify-content:center;}
  .plan-card{flex:0 0 260px;}
}

/* =========================================================
   Desktop
   ========================================================= */
@media (min-width:1000px){
  :root{--wrap:960px;}

  .hero .wrap{padding-top:20px;}
  .hero h1{font-size:3.1rem;}
  .hero-sub{font-size:1.1rem;}

  .section h2{font-size:1.9rem;}

  .signup .wrap{max-width:520px;}
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion:reduce){
  *{transition:none !important;}
}
