/* ==================================================
   BOLETIX BASE CSS v1.0
   Autor: Uriell / Boletix
   Mobile First
================================================== */

/* ===== FUENTE ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ===== VARIABLES ===== */
:root{

  /* Marca */
  --bx-primary:#6C4CF7;
  --bx-primary-hover:#5639dd;

  --bx-secondary:#111827;
  --bx-accent:#8B5CF6;

  /* Neutros */
  --bx-white:#ffffff;
  --bx-bg:#ffffff;
  --bx-bg-soft:#f7f8fc;

  --bx-text:#111827;
  --bx-text-soft:#6b7280;

  --bx-border:#e5e7eb;

  /* Estados */
  --bx-success:#22c55e;
  --bx-warning:#f59e0b;
  --bx-danger:#ef4444;

  /* Sombras */
  --bx-shadow-sm:0 4px 12px rgba(0,0,0,.05);

  --bx-shadow:
  0 10px 30px rgba(0,0,0,.08);

  --bx-shadow-lg:
  0 20px 60px rgba(0,0,0,.12);

  /* Layout */
  --bx-radius:18px;
  --bx-radius-sm:12px;
  --bx-radius-lg:28px;

  --bx-container:1280px;

  /* Header */
  --bx-header-height:72px;
}

/* ===== RESET ===== */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat',sans-serif;
  background:var(--bx-bg);
  color:var(--bx-text);
  overflow-x:hidden;
  line-height:1.6;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

ul{
  list-style:none;
}

button{
  border:none;
  background:none;
  cursor:pointer;
  font-family:inherit;
}

input,
textarea,
select{
  font-family:inherit;
}

/* ===== CONTAINER ===== */

.container{
  width:100%;
  max-width:var(--bx-container);
  margin:auto;
  padding-left:20px;
  padding-right:20px;
}

/* ===== TITULOS ===== */

.section-title{
  font-size:2rem;
  font-weight:800;
  line-height:1.2;
  text-align:center;
}

.section-subtitle{
  margin-top:12px;
  color:var(--bx-text-soft);
  text-align:center;
  max-width:700px;
  margin-left:auto;
  margin-right:auto;
}

/* ===== BOTONES ===== */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding:14px 24px;

  border-radius:14px;

  font-weight:700;
  transition:.25s;
}

.btn-primary{
  background:var(--bx-primary);
  color:white;
}

.btn-primary:hover{
  background:var(--bx-primary-hover);
  transform:translateY(-2px);
}

.btn-outline{
  border:2px solid var(--bx-border);
  color:var(--bx-text);
}

.btn-outline:hover{
  background:var(--bx-bg-soft);
}

/* ===== BADGE ===== */

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;

  background:#f3f0ff;

  color:var(--bx-primary);

  padding:10px 18px;

  border-radius:999px;

  font-size:.85rem;
  font-weight:700;
}

/* ===== CARDS ===== */

.card{
  background:white;
  border:1px solid var(--bx-border);

  border-radius:var(--bx-radius);

  box-shadow:var(--bx-shadow);

  padding:24px;
}

.card-hover{
  transition:.25s;
}

.card-hover:hover{
  transform:translateY(-5px);
  box-shadow:var(--bx-shadow-lg);
}

/* ===== GRID ===== */

.grid{
  display:grid;
  gap:24px;
}

.grid-2{
  grid-template-columns:1fr;
}

.grid-3{
  grid-template-columns:1fr;
}

.grid-4{
  grid-template-columns:1fr;
}

/* ===== SECCIONES ===== */

.section{
  padding:70px 0;
}

.section-sm{
  padding:50px 0;
}

.section-lg{
  padding:100px 0;
}

/* ===== HEADER ===== */

.header{
  position:sticky;
  top:0;
  z-index:999;

  background:white;

  border-bottom:1px solid var(--bx-border);
}

.nav{
  height:var(--bx-header-height);

  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;

  font-weight:800;
  font-size:1.4rem;
}

.logo span{
  color:var(--bx-primary);
}

.nav-links{
  display:none;
}

/* ===== HERO ===== */

.hero{
  padding-top:50px;
  padding-bottom:60px;
}

.hero-content{
  display:grid;
  gap:40px;
}

.hero-title{
  font-size:2.5rem;
  line-height:1.1;
  font-weight:800;
}

.hero-title span{
  color:var(--bx-primary);
}

.hero-text{
  margin-top:20px;
  color:var(--bx-text-soft);
}

.hero-actions{
  margin-top:30px;

  display:flex;
  flex-wrap:wrap;
  gap:15px;
}

/* ===== MOCKUP ===== */

.mockup{
  background:white;
  border-radius:24px;

  box-shadow:var(--bx-shadow-lg);

  overflow:hidden;
}

/* ===== FEATURES ===== */

.feature-icon{
  width:60px;
  height:60px;

  border-radius:16px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:#f3f0ff;

  color:var(--bx-primary);

  font-size:1.5rem;
}

.feature-title{
  margin-top:18px;
  font-weight:700;
}

.feature-text{
  margin-top:10px;
  color:var(--bx-text-soft);
}

/* ===== PRICING ===== */

.pricing-card{
  position:relative;
}

.pricing-card.popular{
  border:2px solid var(--bx-primary);
}

.pricing-badge{
  position:absolute;

  top:-14px;
  left:50%;

  transform:translateX(-50%);

  background:var(--bx-primary);

  color:white;

  padding:8px 16px;

  border-radius:999px;

  font-size:.8rem;
  font-weight:700;
}

.price{
  font-size:3rem;
  font-weight:800;
}

/* ===== FOOTER ===== */

.footer{
  border-top:1px solid var(--bx-border);
  padding:40px 0;
}

.footer-copy{
  text-align:center;
  color:var(--bx-text-soft);
}

/* ===== TABLET ===== */

@media(min-width:768px){

  .hero-title{
    font-size:3.5rem;
  }

  .grid-2{
    grid-template-columns:repeat(2,1fr);
  }

  .grid-3{
    grid-template-columns:repeat(3,1fr);
  }

  .grid-4{
    grid-template-columns:repeat(2,1fr);
  }

}

/* ===== DESKTOP ===== */

@media(min-width:1024px){

  .nav-links{
    display:flex;
    gap:35px;
    align-items:center;
  }

  .hero-content{
    grid-template-columns:
    1fr
    1fr;
    align-items:center;
  }

  .hero-title{
    font-size:4.5rem;
  }

  .grid-4{
    grid-template-columns:
    repeat(4,1fr);
  }

}

/* ===== PANTALLAS GRANDES ===== */

@media(min-width:1400px){

  .hero-title{
    font-size:5rem;
  }

}

.header.is-scrolled{
  box-shadow:0 8px 30px rgba(0,0,0,.08);
}

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:.7s ease;
}

.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

@media(prefers-reduced-motion:reduce){
  .reveal{
    opacity:1;
    transform:none;
    transition:none;
  }
}

.icon-check{
  width:20px;
  height:20px;
  stroke:currentColor;
  stroke-width:2.5;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.icon{
  display:inline-block;
  vertical-align:-2px;
  flex-shrink:0;
}

.logo-img img{
  height:46px;
  width:auto;
}

.nav-toggle{
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--bx-border);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  background:white;
}

.nav-toggle span{
  width:20px;
  height:2px;
  background:var(--bx-text);
  border-radius:10px;
  transition:.25s;
}

.footer-dark{
  background:#080d19;
  color:white;
  border-top:none;
}

.footer-brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  text-align:center;
}

.footer-brand img{
  height:54px;
  width:auto;
}

.footer-brand p,
.footer-dark .footer-copy{
  color:#aab0c2;
}

.footer-dark .footer-copy{
  margin-top:24px;
}

@media(max-width:1023px){

  .nav{
    position:relative;
  }

  .nav-links{
    position:absolute;
    top:calc(var(--bx-header-height) - 4px);
    left:0;
    right:0;
    background:white;
    border:1px solid var(--bx-border);
    border-radius:18px;
    box-shadow:var(--bx-shadow-lg);
    padding:18px;
    display:none;
    flex-direction:column;
    gap:14px;
  }

  .nav-links.is-open{
    display:flex;
  }

  .nav > .btn{
    display:none;
  }
}

@media(min-width:1024px){
  .nav-toggle{
    display:none;
  }
}