:root{
  --bg:#0b0e12;
  --elev:#10151b;
  --card:#141b23;
  --text:#e8edf5;
  --muted:#9fb1c9;
  --brand:#4fa3ff;
  --brand2:#19c5aa;
  --border:#223243;
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:14px;
  --radius-lg:18px;
  --header-h:68px;

  --cta1:#ffcc70;
  --cta2:#ff9f43;
  --cta3:#ff7a18;
  --cta-text:#2a1200;
}

@media (max-width:900px){
  :root{ --header-h:60px; }
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html{
  scroll-behavior:smooth;
  scrollbar-color:color-mix(in oklab,var(--brand)70%,var(--brand2)) var(--elev);
  scrollbar-width:thin;
}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Helvetica,Arial;
  background:radial-gradient(circle at top, rgba(79,163,255,.10), transparent 32%), var(--bg);
  color:var(--text);
  line-height:1.6;
  padding-top:var(--header-h);
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}

::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background:var(--elev); border-left:1px solid var(--border); }
::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,var(--brand),var(--brand2));
  border-radius:10px;
  border:2px solid var(--elev);
}
::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,var(--brand2),var(--brand));
}

.container{ width:min(1280px,94vw); margin-inline:auto; }
.section-padded{ padding:4rem 0; }
.section-soft{
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-block:1px solid rgba(255,255,255,.04);
}

.section-heading{ margin-bottom:1.5rem; }
.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  margin-bottom:.65rem;
  padding:.35rem .7rem;
  border-radius:999px;
  background:rgba(79,163,255,.12);
  border:1px solid rgba(79,163,255,.22);
  color:#bdddff;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.2px;
  text-transform:uppercase;
}
.section-title{
  margin:0 0 .75rem;
  font-size:clamp(1.8rem, 1.4rem + 1.1vw, 2.6rem);
  line-height:1.1;
  font-weight:900;
}
.section-title.left,
.section-intro.left{ text-align:left; }
.section-intro{
  max-width:860px;
  margin:0;
  color:var(--muted);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  border:none;
  font-weight:800;
  padding:.95rem 1.2rem;
  border-radius:14px;
  cursor:pointer;
  transition:transform .2s ease, opacity .2s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow:var(--shadow);
}
.btn:hover{ transform:translateY(-2px); opacity:.98; }
.btn:active{ transform:translateY(1px); }

.btn-primary{
  position:relative;
  overflow:hidden;
  min-height:56px;
  color:var(--cta-text);
  background:linear-gradient(135deg,var(--cta1) 0%, var(--cta2) 48%, var(--cta3) 100%);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 0 0 1px rgba(255,255,255,.10) inset, 0 14px 30px rgba(255,122,24,.28), 0 0 28px rgba(255,159,67,.18);
}
.btn-primary::before{
  content:"";
  position:absolute;
  top:0;
  left:-130%;
  width:65%;
  height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);
  transform:skewX(-22deg);
  transition:left .7s ease;
}
.btn-primary:hover::before{ left:140%; }

.btn-secondary{
  min-height:56px;
  color:var(--text);
  background:linear-gradient(180deg, color-mix(in oklab,var(--card)90%,white 6%), color-mix(in oklab,var(--elev)92%,black 8%));
  border:1px solid color-mix(in oklab,var(--brand)22%,var(--border));
  box-shadow:0 8px 18px rgba(0,0,0,.22);
}

.btn-success{
  position:relative;
  overflow:hidden;
  min-height:72px;
  width:100%;
  color:var(--cta-text);
  background:linear-gradient(135deg,var(--cta1) 0%, var(--cta2) 46%, var(--cta3) 100%);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 12px 26px rgba(255,122,24,.26),0 0 20px rgba(255,159,67,.16);
  text-align:center;
  font-size:1.02rem;
  line-height:1.35;
  padding:1rem 1.2rem;
}

.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  background:color-mix(in oklab,var(--bg)88%,transparent);
  backdrop-filter:saturate(1.2) blur(8px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:var(--header-h);
}
.brand{ display:flex; align-items:center; }
.brand-logo{ height:40px; }

.nav{ display:flex; align-items:center; gap:1rem; position:relative; }
.nav-menu,.nav-menu ul,.nav-menu li{ list-style:none; margin:0; padding:0; }
.nav-link{
  display:inline-flex;
  align-items:center;
  padding:.55rem .9rem;
  border-radius:10px;
  font-weight:700;
  font-size:1rem;
  transition:background-color .2s, color .2s;
}
.nav-link:hover,
.nav-link:focus-visible{
  background:color-mix(in oklab,var(--brand)18%,transparent);
  color:#fff;
}
.nav-toggle{
  display:inline-grid;
  gap:4px;
  padding:.35rem;
  border:1px solid var(--border);
  background:var(--elev);
  border-radius:9px;
}
.nav-toggle-bar{
  width:20px;
  height:2px;
  background:var(--text);
}
.nav-panel{
  position:fixed;
  inset:var(--header-h) 0 0 0;
  background:rgba(0,0,0,.45);
  opacity:0;
  pointer-events:none;
  transition:.2s opacity;
}
.nav-panel.open{
  opacity:1;
  pointer-events:auto;
}
.nav-menu{
  position:fixed;
  left:0;
  right:0;
  top:var(--header-h);
  transform:translateY(-8px);
  opacity:0;
  pointer-events:none;
  background:var(--elev);
  border-top:1px solid var(--border);
  display:grid;
  gap:.5rem;
  padding:1rem;
  transition:.2s transform,.2s opacity;
  max-height:calc(100vh - var(--header-h));
  overflow:auto;
}
.nav-menu.open{
  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
}
@media (min-width:1100px){
  .nav-toggle{ display:none; }
  .nav-panel{ display:none; }
  .nav-menu{
    position:static;
    transform:none;
    opacity:1;
    pointer-events:auto;
    display:flex;
    gap:.35rem;
    padding:0;
    background:transparent;
    border:none;
    max-height:none;
    overflow:visible;
  }
}

.hero{ padding:4.5rem 0 3rem; }

.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:26px;
  align-items:stretch;
}

.hero-copy,
.hero-card{
  background:linear-gradient(180deg, rgba(20,27,35,.9), rgba(10,14,18,.95));
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  box-shadow:var(--shadow);
}

.hero-copy{ padding:2rem; }

.hero-card{
  padding:1.35rem;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.hero-badge{
  display:inline-flex;
  margin-bottom:1rem;
  padding:.4rem .8rem;
  border-radius:999px;
  background:rgba(79,163,255,.12);
  color:#d7ecff;
  border:1px solid rgba(79,163,255,.24);
  font-size:.8rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.22px;
}
.hero-highlight{
  margin:0 0 .95rem;
  font-size:clamp(2.2rem,1.8rem + 1.7vw,4rem);
  line-height:1.05;
  font-weight:900;
}
.hero-subtitle{
  margin:0 0 1.2rem;
  color:var(--muted);
  font-size:1.04rem;
  max-width:760px;
}
.hero-benefits{
  margin:0 0 1.35rem;
  padding:0;
  list-style:none;
  display:grid;
  gap:.7rem;
}
.hero-benefits li{
  display:flex;
  align-items:flex-start;
  gap:.7rem;
  color:#dde7f6;
}
.hero-benefits li::before{
  content:"";
  flex:0 0 10px;
  width:10px;
  height:10px;
  margin-top:.5rem;
  border-radius:999px;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  box-shadow:0 0 0 6px rgba(79,163,255,.08);
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.85rem;
}

.highlight-chip{
  display:inline-flex;
  align-items:center;
  padding:.42rem .7rem;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:#d7e4f7;
  font-size:.8rem;
  font-weight:700;
}

/* Ocultar lo tachado del panel derecho */
.hero-card > :not(.price-panel){
  display:none !important;
}

.price-panel{
  margin-top:auto;
  padding:1.15rem 1.2rem;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,178,74,.12), rgba(255,255,255,.03));
  border:1px solid rgba(255,178,74,.24);
}
.price-label{
  display:inline-flex;
  margin-bottom:.75rem;
  padding:.38rem .75rem;
  border-radius:999px;
  background:rgba(255,178,74,.12);
  color:#ffd089;
  border:1px solid rgba(255,178,74,.22);
  font-weight:900;
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.22px;
}
.price-value{
  display:block;
  margin:0 0 .45rem;
  font-size:clamp(1.65rem, 1.35rem + 1.1vw, 2.5rem);
  line-height:1.05;
  font-weight:900;
  color:#fff3dd;
}
.price-note{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
.price-plan-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.85rem;
}
.price-plan-card{
  display:flex;
  flex-direction:column;
  gap:.35rem;
  padding:.95rem;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.price-plan-term{
  font-size:.84rem;
  font-weight:900;
  color:#ffd089;
  text-transform:uppercase;
  letter-spacing:.18px;
}
.price-plan-amount{
  font-size:1.55rem;
  line-height:1;
  color:#fff4de;
}
.price-plan-copy{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.5;
}
.price-action{
  margin-top:1rem;
  width:100%;
  justify-content:center;
}

/* Beneficios y flujo */
.benefits-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.workflow-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.benefit-card,
.workflow-card,
.video-player-card,
.video-playlist-card{
  background:linear-gradient(180deg, rgba(20,27,35,.92), rgba(10,14,18,.95));
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  box-shadow:var(--shadow);
}
.benefit-card{ padding:1.2rem; }
.benefit-card-icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  margin-bottom:1rem;
  border-radius:16px;
  background:linear-gradient(135deg, rgba(79,163,255,.18), rgba(25,197,170,.18));
  border:1px solid rgba(255,255,255,.08);
  font-weight:900;
}
.benefit-card h3{ margin:0 0 .55rem; font-size:1.08rem; }
.benefit-card p{ margin:0; color:var(--muted); }

.workflow-card{
  position:relative;
  padding:1.25rem;
  overflow:hidden;
}
.workflow-step{
  display:inline-flex;
  margin-bottom:1rem;
  padding:.4rem .7rem;
  border-radius:999px;
  background:rgba(79,163,255,.12);
  color:#dceeff;
  border:1px solid rgba(79,163,255,.24);
  font-weight:900;
  letter-spacing:.2px;
}
.workflow-card h3{ margin:0 0 .55rem; font-size:1.08rem; }
.workflow-card p{ margin:0; color:var(--muted); }

/* Visor corregido */
.video-shell{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
  gap:20px;
  align-items:start;
}

.equal-height-card{
  height:620px;
}

.video-player-card,
.video-playlist-card{
  display:flex;
  flex-direction:column;
  min-height:0;
  padding:1rem;
  overflow:hidden;
}

.video-stage{
  flex:1 1 auto;
  min-height:0;
  border-radius:20px;
  overflow:auto;
  background:radial-gradient(circle at top right, rgba(79,163,255,.18), transparent 35%), linear-gradient(180deg, rgba(11,16,22,.96), rgba(7,10,14,.98));
  border:1px solid rgba(255,255,255,.08);
}

.video-content-scroll{
  min-height:100%;
  display:flex;
  flex-direction:column;
}

.video-frame-wrap{
  padding:1rem 1rem 0;
  flex:0 0 auto;
}

.video-frame-wrap iframe{
  width:100%;
  height:320px;
  min-height:320px;
  border:0;
  border-radius:18px;
  background:#000;
  display:block;
}

.video-content-info{
  padding:1rem 1rem 1.25rem;
}
.video-content-info h3{
  margin:0 0 .65rem;
  font-size:1.5rem;
  line-height:1.15;
}
.video-content-info p{
  margin:0;
  color:var(--muted);
}

.video-empty-state{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  min-height:100%;
  padding:2rem;
  gap:.9rem;
}
.video-chip{
  display:inline-flex;
  padding:.35rem .7rem;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:#ffcc70;
  font-weight:800;
  font-size:.8rem;
}
.video-empty-state h3{
  margin:0;
  font-size:1.8rem;
  line-height:1.15;
}
.video-empty-state p{
  margin:0;
  max-width:680px;
  color:var(--muted);
}

.playlist-head{
  flex:0 0 auto;
}
.playlist-head h3{
  margin:.1rem 0 .35rem;
  font-size:1.1rem;
}
.playlist-head p{
  margin:0 0 1rem;
  color:var(--muted);
}

.video-playlist{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  display:grid;
  gap:.8rem;
  padding-right:.2rem;
}

.playlist-item{
  width:100%;
  text-align:left;
  padding:1rem;
  border-radius:16px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
  color:var(--text);
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.playlist-item:hover{
  transform:translateY(-1px);
  border-color:rgba(79,163,255,.32);
}
.playlist-item.active{
  background:rgba(79,163,255,.10);
  border-color:rgba(79,163,255,.30);
}
.playlist-item-title{
  display:block;
  margin-bottom:.3rem;
  font-size:1rem;
  font-weight:800;
}
.playlist-item-copy{
  display:block;
  color:var(--muted);
  font-size:.92rem;
}
.playlist-item-time{
  display:inline-flex;
  margin-top:.7rem;
  font-size:.76rem;
  font-weight:800;
  color:#cfe6ff;
}

/* ocultar franja inferior tachada */
.video-meta-panel{
  display:none !important;
}

/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  padding:1.2rem 0;
  color:var(--muted);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.footer-social{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
}
.social-link{
  padding:.45rem .65rem;
  border:1px solid var(--border);
  border-radius:10px;
  color:var(--text);
  background:var(--elev);
}
.social-link:hover{
  background:color-mix(in oklab,var(--brand)14%,transparent);
}

body.menu-open{ overflow:hidden; }

@media (max-width:1080px){
  .hero-grid,
  .video-shell{
    grid-template-columns:1fr;
  }

  .benefits-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .workflow-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }

  .equal-height-card{
    height:auto;
    min-height:560px;
  }
}

@media (max-width:900px){
  .price-plan-grid{ grid-template-columns:1fr; }
}

@media (max-width:720px){
  .section-padded{ padding:3.2rem 0; }
  .hero{ padding-top:3.5rem; }

  .hero-copy,
  .hero-card,
  .video-player-card,
  .video-playlist-card{
    padding:1rem;
  }

  .benefits-grid,
  .workflow-grid{
    grid-template-columns:1fr;
  }

  .equal-height-card{
    min-height:0;
    height:auto;
  }

  .video-frame-wrap iframe{
    height:260px;
    min-height:260px;
  }

  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}
