:root{
  --bg:#0b1220;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.72);
  --muted2:rgba(234,240,255,.55);
  --border:rgba(255,255,255,.12);
  --shadow:0 18px 40px rgba(0,0,0,.35);
  --radius:18px;

  --accent:#6ee7ff;
  --accent2:#8b5cf6;
  --success:#22c55e;

  --max:1120px;
}

/* =========================
GLOBAL
========================= */

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(110,231,255,.18), transparent 55%),
    radial-gradient(900px 500px at 90% 15%, rgba(139,92,246,.20), transparent 60%),
    radial-gradient(900px 500px at 30% 90%, rgba(34,197,94,.10), transparent 60%),
    var(--bg);
  color:var(--text);
  line-height:1.45;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:100%;
  max-width:var(--max);
  margin:auto;
  padding:0 18px;
}

/* =========================
HEADER
========================= */

header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;
  transition:background .25s ease;
  border-bottom:1px solid transparent;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
}

.brand-logo{
  height:34px;
}

nav{
  display:flex;
  gap:16px;
}

nav a{
  font-size:14px;
  color:var(--muted);
  padding:10px 10px;
  border-radius:12px;
}

nav a:hover{
  background:rgba(255,255,255,.06);
  color:var(--text);
}

.scrolled{
  background:rgba(11,18,32,.72);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

/* =========================
HERO
========================= */

.hero{
  padding-top:92px;
  min-height:92vh;
  display:flex;
  align-items:center;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  align-items:center;
  padding:36px 0 46px;
}

.hero h1{
  font-size:clamp(30px,4.2vw,52px);
  line-height:1.05;
  margin-bottom:14px;
}

.hero p{
  margin-bottom:22px;
  color:var(--muted);
  font-size:clamp(15px,1.5vw,18px);
}

.hero-visual{
  display:flex;
  justify-content:center;
}

.hero-visual img{
  width:clamp(220px,32vw,400px);
  filter:drop-shadow(0 18px 40px rgba(0,0,0,.35));
  animation:floaty 6.5s ease-in-out infinite;
}

@keyframes floaty{
  0%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
  100%{transform:translateY(0)}
}

/* =========================
BUTTONS
========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.12);
  color:var(--text);
  font-weight:700;
  font-size:14px;
  transition:.16s ease;
  cursor:pointer;
}

.btn:hover{
  background:rgba(255,255,255,.18);
  transform:translateY(-1px);
}

.btn-primary{
  background:linear-gradient(135deg,rgba(110,231,255,.20),rgba(139,92,246,.20));
  border:1px solid rgba(110,231,255,.30);
}

.btn-whatsapp{
  background:rgba(34,197,94,.18);
  border:1px solid rgba(34,197,94,.35);
}

/* =========================
CARDS
========================= */

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
  box-shadow:0 14px 30px rgba(0,0,0,.24);
}

.card h3{
  margin:0 0 10px;
  font-size:18px;
}

/* =========================
SECTIONS
========================= */

section{
  padding:64px 0;
}

.section-title{
  margin:0 0 10px;
  font-size:26px;
}

.section-sub{
  margin:0 0 24px;
  color:var(--muted);
}

/* =========================
MODULE GRID
========================= */

.modules{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.module{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  padding:16px;
  min-height:140px;
}

.module h4{
  margin:0 0 8px;
}

.module p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

/* =========================
FOOTER
========================= */

footer{
  border-top:1px solid var(--border);
  padding:22px 0 80px;
  color:var(--muted2);
  font-size:13px;
}

.footer-row{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}

/* =========================
WHATSAPP FLOAT
========================= */

.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:58px;
  height:58px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#22c55e;
  color:white;
  font-size:26px;
  box-shadow:0 16px 30px rgba(0,0,0,.35);
  z-index:100;
}

/* =========================
LOGIN MODAL
========================= */

.login-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  backdrop-filter:blur(10px);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:999;
}

.login-backdrop.open{
  display:flex;
}

.login-modal{
  width:min(520px,96vw);
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  box-shadow:0 22px 60px rgba(0,0,0,.55);
}

.login-body{
  padding:16px;
}

.login-input{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);
  margin-bottom:10px;
}

.login-footer{
  padding:14px 16px;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex;
  justify-content:flex-end;
  gap:10px;
}

body.modal-open{
  overflow: hidden;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:980px){

  .hero-grid{
    grid-template-columns:1fr;
  }

  .modules{
    grid-template-columns:1fr;
  }

  nav{
    display:none;
  }

}

#problema {
  position: relative;
}

#problema .container {
  position: relative;
  z-index: 1;
}

#problema .card {
  position: relative;
  z-index: 1;
}

.captura-img {
  position: absolute;

  right: calc((100% - 1000px) / 2); /* ajusta según tu container */
  top: 58%;

  transform: translateY(-50%);

  width: 420px;
  height: auto;

  z-index: 5;
  pointer-events: none;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }
}






.module {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.module-content {
  max-width: 70%;
}

.module-img {
  width: 80px;
  height: auto;
  opacity: 0.9;
}



.cta-final .container {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}