:root{
  --bg: #0B1320;
  --panel: #0F1E33;
  --panel2: #0D1B2A;
  --text: #EAF2FF;
  --muted: rgba(234,242,255,.75);
  --muted2: rgba(234,242,255,.6);
  --line: rgba(234,242,255,.12);

  --primary: #C1121F;     /* Spanish red accent */
  --primary2: #e33a45;
  --tg: #229ED9;
  --wa: #25D366;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --max: 1100px;

  --font: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family: var(--font);
  background: radial-gradient(900px 500px at 10% 10%, rgba(193,18,31,.18), transparent 60%),
              radial-gradient(800px 500px at 90% 15%, rgba(34,158,217,.12), transparent 60%),
              var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }
.container{ width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11,19,32,.78);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.topbar > div, .topbar{
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.topbar__left{ gap:10px; }
.topbar__brand{ font-weight: 800; letter-spacing: .2px; }
.dot{
  width:10px; height:10px; border-radius: 99px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(193,18,31,.18);
}

.topbar__right{ display:flex; gap:10px; padding-right: 16px; }
.topbar{ padding-left: 16px; padding-right: 16px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .08s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: linear-gradient(180deg, var(--primary2), var(--primary));
  box-shadow: 0 10px 18px rgba(193,18,31,.25);
}
.btn--ghost{
  background: rgba(234,242,255,.06);
  border-color: rgba(234,242,255,.16);
}
.btn--text{
  background: transparent;
  border-color: rgba(234,242,255,.16);
  opacity: .9;
}

.btn--wa{ background: rgba(37,211,102,.15); border-color: rgba(37,211,102,.35); }
.btn--tg{ background: rgba(34,158,217,.15); border-color: rgba(34,158,217,.35); }

.hero{
  padding: 28px 0 22px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: stretch;
}
.badge{
  display:inline-flex;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(234,242,255,.06);
  border: 1px solid rgba(234,242,255,.14);
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
h1{
  margin: 14px 0 10px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.5px;
}
.lead{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.hero__ctas{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 10px;
}
.trust{
  margin-top: 12px;
  display:grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.hero__card{
  background: linear-gradient(180deg, rgba(15,30,51,.95), rgba(13,27,42,.85));
  border: 1px solid rgba(234,242,255,.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.hero__card h2{
  margin: 0 0 6px;
  font-size: 18px;
}
.hero__card p{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
}
.stack{ display:grid; gap: 10px; }
.note{ margin-top: 10px; color: var(--muted2); font-size: 12px; }

.section{
  padding: 28px 0;
}
.section--alt{
  background: linear-gradient(180deg, rgba(234,242,255,.03), transparent 35%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head{
  display:flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.section__head h2{
  margin:0;
  font-size: 22px;
  letter-spacing: -0.2px;
}
.section__head p{
  margin:0;
  color: var(--muted);
  max-width: 520px;
}

.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.card{
  background: rgba(234,242,255,.04);
  border: 1px solid rgba(234,242,255,.12);
  border-radius: var(--radius);
  padding: 14px;
}
.card h3{ margin: 0 0 8px; font-size: 16px; }
.card p{ margin: 0 0 10px; color: var(--muted); line-height: 1.5; }
.link{ color: rgba(234,242,255,.95); font-weight: 700; opacity: .95; }
.link:hover{ opacity: 1; }

.cta-strip{
  margin-top: 14px;
  padding: 14px;
  background: linear-gradient(90deg, rgba(193,18,31,.12), rgba(34,158,217,.10));
  border: 1px solid rgba(234,242,255,.14);
  border-radius: var(--radius);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.cta-strip strong{ display:block; }
.cta-strip span{ color: var(--muted); font-weight: 600; }
.cta-strip__buttons{ display:flex; gap:10px; flex-wrap: wrap; }

.pricing{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pricecard{
  position: relative;
  background: rgba(234,242,255,.04);
  border: 1px solid rgba(234,242,255,.12);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
}
.pricecard--best{
  border-color: rgba(193,18,31,.45);
  background: radial-gradient(500px 260px at 50% 0%, rgba(193,18,31,.22), rgba(234,242,255,.04));
}
.ribbon{
  position:absolute;
  top: 12px; right: 12px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(193,18,31,.18);
  border: 1px solid rgba(193,18,31,.45);
}
.pricecard__top{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.pricecard h3{ margin:0; font-size: 16px; }
.price{
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.2px;
}
.price span{
  font-weight: 700;
  color: var(--muted2);
  font-size: 12px;
}
.list{
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 600;
  font-size: 13px;
}
.pricecard__actions{
  display:grid;
  gap: 10px;
}

.smallmuted{ color: var(--muted2); font-size: 12px; }

.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.step{
  background: rgba(234,242,255,.04);
  border: 1px solid rgba(234,242,255,.12);
  border-radius: var(--radius);
  padding: 14px;
}
.step__num{
  width: 36px; height: 36px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 900;
  background: rgba(193,18,31,.16);
  border: 1px solid rgba(193,18,31,.45);
  margin-bottom: 10px;
}
.step h3{ margin: 0 0 8px; }
.step p{ margin:0 0 12px; color: var(--muted); line-height: 1.5; }

.faq details{
  background: rgba(234,242,255,.04);
  border: 1px solid rgba(234,242,255,.12);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.faq summary{
  cursor: pointer;
  font-weight: 800;
}
.faq p{ color: var(--muted); line-height: 1.6; }

.final-cta{
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(234,242,255,.04), rgba(234,242,255,.02));
  border: 1px solid rgba(234,242,255,.12);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.final-cta h3{ margin:0; font-size: 16px; }
.final-cta__buttons{ display:flex; gap: 10px; flex-wrap: wrap; }

.footer{
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 12px;
  align-items: start;
}
.footer__brand{ font-weight: 900; }
.footer__links{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
}

/* Floating CTAs (always visible on mobile) */
.float-ctas{
  position: fixed;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 10px;
  z-index: 60;
}
.fab{
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid rgba(234,242,255,.14);
  box-shadow: var(--shadow);
  background: rgba(234,242,255,.06);
}
.fab--wa{ border-color: rgba(37,211,102,.45); background: rgba(37,211,102,.18); }
.fab--tg{ border-color: rgba(34,158,217,.45); background: rgba(34,158,217,.18); }

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .pricing{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }
}

@media (max-width: 480px){
  .topbar__right{ gap: 8px; }
  .btn{ padding: 10px 12px; font-size: 13px; }
  .fab{ padding: 10px 12px; font-size: 13px; }
  .cards{ grid-template-columns: 1fr; }
}
