:root{
  --bg0:#061411;
  --bg2:#0c2a24;

  --line: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);

  /* Colores del logo */
  --gold:#f5c400;
  --gold2:#ffdc4a;
  --leaf:#22c55e;

  --radius:18px;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
img{max-width:100%; height:auto}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 500px at 15% 0%, rgba(245,196,0,.22), transparent 62%),
    radial-gradient(950px 450px at 85% 5%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(900px 420px at 50% 100%, rgba(255,220,74,.10), transparent 55%),
    linear-gradient(180deg, var(--bg0) 0%, var(--bg2) 55%, var(--bg0) 100%);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}

.container{
  max-width:1120px;
  margin:0 auto;
  padding:0 18px;
}

/* Focus accesible */
:focus-visible{
  outline:2px solid rgba(245,196,0,.9);
  outline-offset:2px;
  border-radius:12px;
}

/* Top bar */
.topbar{
  position:sticky;
  top:0;
  z-index:30;
  backdrop-filter: blur(10px);
  background: rgba(6,20,17,.55);
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

.brand a{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand img{
  width:40px;
  height:40px;
  border-radius:12px;
  box-shadow: var(--shadow2);
  background: rgba(255,255,255,.04);
}

.brand .name{
  font-weight:900;
  letter-spacing:.2px;
}

.brand .tag{
  font-size:12px;
  color:var(--muted);
  margin-top:1px;
}

.navlinks{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  font-weight:800;
  font-size:13px;
}

.pill:hover{
  border-color: rgba(255,255,255,.22);
  text-decoration:none;
}

.dot{
  width:8px;
  height:8px;
  border-radius:99px;
  background: var(--gold);
}

.pill.pro{
  border-color: rgba(245,196,0,.35);
  background: linear-gradient(135deg, rgba(245,196,0,.18), rgba(255,255,255,.04));
}

/* Smart banner */
.smartbar{
  margin:14px 0 0;
  border:1px solid rgba(245,196,0,.22);
  background: linear-gradient(135deg, rgba(245,196,0,.10), rgba(34,197,94,.08));
  border-radius:16px;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  box-shadow: var(--shadow2);
}

.smartbar-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:220px;
}

.smartbar-logo{
  width:34px;
  height:34px;
  border-radius:12px;
  box-shadow: var(--shadow2);
  background: rgba(255,255,255,.04);
}

.smartbar-title{
  font-weight:900;
  line-height:1.1;
}

.smartbar-sub{
  font-size:12px;
  color:var(--muted);
  margin-top:1px;
}

.smartbar-right{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
}

.btn:hover{
  text-decoration:none;
  border-color: rgba(255,255,255,.26);
}

.btn.primary{
  color:#101414;
  border-color: rgba(245,196,0,.75);
  background: linear-gradient(135deg, var(--gold), rgba(255,220,74,.72));
}

.btn.secondary{
  border-color: rgba(34,197,94,.42);
  background: linear-gradient(135deg, rgba(34,197,94,.22), rgba(255,255,255,.04));
}

.btn.ghost{
  border-color: rgba(255,255,255,.16);
  background: rgba(0,0,0,.15);
  padding:12px;
}

/* Hero */
.hero{
  padding:28px 0 30px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:16px;
  align-items:stretch;
}

.panel{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
}

.panel.pad{
  padding:22px;
}

.kicker{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}

h1{
  font-size:44px;
  line-height:1.06;
  margin:14px 0 10px;
  letter-spacing:-.6px;
}

.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
}

.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
  align-items:center;
}

.fine{
  font-size:13px;
  color:var(--muted);
  margin-top:12px;
}

/* Feature image */
.feature-wrap{
  position:relative;
}

.feature{
  width:100%;
  display:block;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
  border-radius: calc(var(--radius) + 2px);
}

.feature-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(700px 320px at 20% 50%, rgba(0,0,0,.55), transparent 55%),
    linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.20) 55%, rgba(0,0,0,.00) 100%);
  border-radius: calc(var(--radius) + 2px);
  pointer-events:none;
}

.feature-badges{
  position:absolute;
  left:16px;
  bottom:14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  pointer-events:none;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(245,196,0,.35);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  font-weight:900;
  font-size:13px;
}

.chip .mini{
  width:7px;
  height:7px;
  border-radius:99px;
  background:var(--gold);
}

.chip.pro{
  border-color: rgba(255,255,255,.16);
}

.chip.pro .mini{
  background: var(--leaf);
}

/* Docs / Pages */
.page{
  padding:28px 0 46px;
}

.doc{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow2);
  padding:18px;
}

.doc h2{
  margin:18px 0 8px;
  font-size:18px;
}

.doc p,
.doc li{
  color:var(--muted);
  font-size:14px;
}

.doc ul{
  padding-left:18px;
}

.hr{
  height:1px;
  background:var(--line);
  margin:14px 0;
}

.kbd{
  display:inline-block;
  padding:2px 8px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  font-size:12px;
  color:var(--text);
}

/* Sections */
.section{
  padding:18px 0 44px;
}

.section h2{
  margin:0 0 12px;
  font-size:20px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding:16px;
}

.card h3{
  margin:0 0 6px;
  font-size:16px;
}

.card p,
.card li{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:18px 0 26px;
  color: var(--muted);
  font-size:14px;
}

.footer .row{
  display:flex;
  gap:12px;
  justify-content:space-between;
  flex-wrap:wrap;
}

.links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* --------------------------
   App preview (antiguo grid simple)
--------------------------- */
.app-preview{
  text-align:center;
}

.app-preview .lead{
  max-width:820px;
  margin:0 auto 14px;
}

.screens-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  margin-top:22px;
}

.screen{
  border:1px solid var(--line);
  border-radius:18px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow2);
  padding:12px;
  overflow:hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.screen:hover{
  transform: translateY(-6px);
  border-color: rgba(245,196,0,.28);
  box-shadow: 0 16px 44px rgba(0,0,0,.40);
}

.screen img{
  width:100%;
  height:auto;
  border-radius:14px;
  display:block;
  background: rgba(0,0,0,.18);
}

.screen-caption{
  margin-top:10px;
  font-size:13px;
  color: var(--muted);
  line-height:1.35;
}

.screen-caption strong{
  color: var(--gold);
  font-weight:900;
}

/* --------------------------
   App showcase (recomendado para capturas verticales)
--------------------------- */
.app-showcase{
  text-align:left;
}

.showcase-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.showcase-head .lead{
  margin:0;
  max-width:780px;
}

.showcase-grid{
  display:grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap:16px;
  align-items:stretch;
}

/* Tarjeta “teléfono” */
.shot{
  margin:0;
  border:1px solid var(--line);
  border-radius:22px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow2);
  overflow:hidden;
  position:relative;
  text-align:center;
  padding:16px;
}

.shot img{
  width:100%;
  max-height:420px;
  object-fit:contain;
  display:block;
  margin:auto;
  border-radius:12px;
  background: rgba(0,0,0,.18);
}

.shot--main{
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.shot--main img{
  max-height:520px;
}

/* “Bezel” sutil arriba */
.shot::before{
  content:"";
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  width:42%;
  height:10px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.10);
  pointer-events:none;
}

.shot figcaption{
  padding:12px 14px 14px;
  color: var(--muted);
  font-size:13px;
  line-height:1.35;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.10);
}

.shot figcaption strong{
  color: var(--gold);
  font-weight:900;
}

/* ==========================
   Elementos comunes nuevos
========================== */

.section-kicker{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(245,196,0,.22);
  background: rgba(245,196,0,.08);
  color: var(--gold2);
  font-size:12px;
  font-weight:900;
  letter-spacing:.2px;
  margin-bottom:10px;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.mini-kicker{
  color: var(--gold2);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin-bottom:10px;
}

.feature-list{
  margin:8px 0 0;
  padding-left:18px;
}

.feature-list li{
  color: var(--muted);
  margin-bottom:8px;
  font-size:14px;
}

/* ==========================
   Resumen en home
========================== */

.invasive-home{
  padding-top:8px;
}

.home-module-card{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:16px;
  border:1px solid rgba(245,196,0,.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245,196,0,.08), rgba(34,197,94,.06));
  box-shadow: var(--shadow2);
  padding:18px;
}

.home-module-copy h2{
  margin:0 0 10px;
}

.home-module-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:16px 0 0;
}

.home-module-points span,
.invasive-pills span,
.roadmap-items span{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  font-size:13px;
  font-weight:800;
  color: var(--text);
}

.home-module-side{
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background: rgba(255,255,255,.04);
  padding:16px;
}

/* ==========================
   Página avispas invasoras
========================== */

.invasive-hero-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.invasive-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.invasive-callout{
  margin-top:18px;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(34,197,94,.24);
  background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(255,255,255,.03));
  color: var(--text);
  font-size:14px;
}

.invasive-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.invasive-card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
}

.invasive-card h3{
  margin:0 0 8px;
  font-size:16px;
}

.invasive-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.dual-panels{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}

.roadmap-card{
  border:1px solid rgba(245,196,0,.18);
  border-radius:18px;
  background: linear-gradient(135deg, rgba(245,196,0,.08), rgba(34,197,94,.06));
  padding:16px;
  box-shadow: var(--shadow2);
}

.invasive-big-roadmap{
  padding:20px;
}

.roadmap-title{
  font-size:15px;
  font-weight:900;
  color: var(--gold2);
  margin-bottom:12px;
}

.roadmap-items{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.roadmap-text{
  margin:14px 0 0;
  color: var(--muted);
  font-size:14px;
}

.cta-section{
  padding-top:8px;
}

.cta-panel{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
}

/* ==========================
   Responsive
========================== */

@media (max-width: 1100px){
  .screens-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px){
  .hero-grid{
    grid-template-columns:1fr;
  }

  .smartbar{
    flex-direction:column;
    align-items:stretch;
  }

  .smartbar-right{
    justify-content:flex-end;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .showcase-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .showcase-grid{
    grid-template-columns:1fr;
    grid-template-rows:auto;
  }

  .shot img,
  .shot--main img{
    height:520px;
  }

  .home-module-card,
  .invasive-grid,
  .dual-panels,
  .cta-panel{
    grid-template-columns:1fr;
  }

  .cta-panel{
    flex-direction:column;
    align-items:flex-start;
  }

  .section-head{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media (max-width: 620px){
  h1{
    font-size:34px;
  }
}

@media (max-width: 520px){
  .screens-grid{
    grid-template-columns:1fr;
  }

  .showcase-grid{
    display:flex;
    overflow:auto;
    gap:14px;
    padding-bottom:10px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .shot{
    min-width:86%;
    scroll-snap-align:start;
  }
}
/* ==========================
   Ajustes pro de jerarquía y conversión
========================== */

/* Titulares más potentes */
h1{
  max-width: 12ch;
}

.section h2{
  font-size:22px;
  font-weight:900;
  letter-spacing:.15px;
}

.section h2::after{
  content:"";
  display:block;
  width:42px;
  height:3px;
  margin-top:8px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--gold), rgba(255,220,74,.35));
}

/* Mejor lectura de texto */
.lead{
  max-width: 62ch;
}

.card p,
.invasive-card p,
.doc p,
.doc li,
.feature-list li,
.roadmap-text{
  line-height:1.6;
}

/* Jerarquía visual de tarjetas */
.card,
.doc,
.home-module-side{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
}

.card:hover,
.invasive-card:hover,
.shot:hover{
  border-color: rgba(245,196,0,.24);
  box-shadow: 0 16px 42px rgba(0,0,0,.38);
  transform: translateY(-3px);
}

.card,
.invasive-card,
.shot{
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

/* Hero más premium */
.panel.pad{
  position: relative;
}

.panel.pad::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(245,196,0,.18), transparent);
  pointer-events:none;
}

/* Botones con algo más de presencia */
.btn{
  min-height:46px;
}

.btn.primary{
  box-shadow: 0 10px 24px rgba(245,196,0,.16);
}

.btn.primary:hover{
  box-shadow: 0 14px 28px rgba(245,196,0,.22);
}

/* Chips y badges más legibles */
.badge,
.pill,
.chip,
.home-module-points span,
.invasive-pills span,
.roadmap-items span{
  backdrop-filter: blur(8px);
}

/* Destacar mejor el módulo de avispas */
.home-module-card,
.roadmap-card{
  position:relative;
  overflow:hidden;
}

.home-module-card::before,
.roadmap-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(420px 140px at 0% 0%, rgba(245,196,0,.08), transparent 60%),
    radial-gradient(320px 160px at 100% 100%, rgba(34,197,94,.07), transparent 60%);
  pointer-events:none;
}

.home-module-copy,
.home-module-side,
.roadmap-title,
.roadmap-items,
.roadmap-text{
  position:relative;
  z-index:1;
}

/* Mejor separación en bloques largos */
.invasive-grid,
.grid,
.dual-panels,
.showcase-grid{
  margin-top: 8px;
}

/* Llamadas visuales más fuertes */
.invasive-callout,
.velutina-note{
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

/* Footer un poco más limpio */
.footer{
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.10));
}

/* Ajustes móviles */
@media (max-width: 980px){
  .section h2{
    font-size:20px;
  }

  .home-module-card,
  .roadmap-card,
  .panel,
  .card{
    border-radius:16px;
  }
}

@media (max-width: 620px){
  h1{
    max-width: none;
  }

  .btn{
    width:100%;
  }

  .cta{
    align-items:stretch;
  }
}