/* ===========================
   Base
=========================== */
:root{
  --bg:#0a0a0f;
  --panel:#12121a;
  --panel2:#1a1a2e;

  --cyan:#00f3ff;
  --purple:#bc13fe;
  --pink:#ff006e;
  --lime:#39ff14;

  --text:#ffffff;
  --muted:#a6a6b3;

  --radius:18px;
  --shadow: 0 16px 40px rgba(0,0,0,.55);
  --border: 1px solid rgba(255,255,255,.08);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow-x:hidden;
}

/* selección */
::selection{
  background: rgba(0,243,255,.25);
  color: #0a0a0f;
}

/* helpers */
.container{
  width:min(1120px, 92%);
  margin-inline:auto;
}
.glass{
  background: rgba(26,26,46,.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,243,255,.10);
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  border-radius: var(--radius);
}

.gradient-text{
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 55%, var(--pink) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.grid-bg{
  background-image:
    linear-gradient(rgba(0,243,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,243,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ===========================
   Cursor (circulito)
=========================== */
.cursor-ring{
  position: fixed;
  top: 0; left: 0;
  width: 24px; height: 24px;
  border: 2px solid rgba(0,243,255,.85);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  box-shadow: 0 0 18px rgba(0,243,255,.28);
  transition: width .14s ease, height .14s ease, border-color .14s ease, box-shadow .14s ease, opacity .25s ease;
}
.cursor-dot{
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: rgba(0,243,255,.95);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  box-shadow: 0 0 14px rgba(0,243,255,.25);
  transition: opacity .25s ease, transform .08s ease;
}

/* hover sobre enlaces/botones */
body.cursor-hover .cursor-ring{
  width: 40px; height: 40px;
  border-color: rgba(188,19,254,.95);
  box-shadow: 0 0 26px rgba(188,19,254,.25);
}
body.cursor-hover .cursor-dot{
  transform: translate(-50%, -50%) scale(0.85);
}

/* ocultar cursor en móviles */
@media (pointer: coarse){
  .cursor-ring, .cursor-dot{ display:none !important; }
}

/* ===========================
   Header / Nav
=========================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(26,26,46,.55);
  backdrop-filter: blur(12px);
}

.nav{
  height: 70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.logo{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-badge{
  width: 34px; height: 34px;
  display:grid; place-items:center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #0a0a0f;
  font-weight: 900;
}
.logo-text{
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 18px;
}

.nav-links{
  list-style:none;
  display:flex;
  align-items:center;
  gap: 18px;
  margin:0; padding:0;
}
.nav-links a{
  color: rgba(255,255,255,.78);
  text-decoration:none;
  font-weight: 600;
  font-size: 14px;
  transition: color .2s ease, transform .2s ease;
}
.nav-links a:hover{
  color: var(--cyan);
  transform: translateY(-1px);
}

.mobile-menu-btn{
  display:none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 18px;
}

/* Drawer */
.mobile-drawer{
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(10,10,15,.85);
}
.mobile-drawer-inner{
  padding: 14px 0 18px;
  display:grid;
  gap: 10px;
}
.mobile-drawer-inner a{
  text-decoration:none;
  color: rgba(255,255,255,.85);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.mobile-drawer-inner a:hover{
  border-color: rgba(0,243,255,.25);
}

/* responsive nav */
@media (max-width: 880px){
  .nav-links{ display:none; }
  .mobile-menu-btn{ display:inline-flex; }
}

/* ===========================
   Buttons
=========================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer;
}

.btn-primary{
  background: linear-gradient(90deg, var(--cyan), #0066ff);
  color: #0a0a0f;
  border: none;
  box-shadow: 0 0 22px rgba(0,243,255,.18);
}
.btn-primary:hover{
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 34px rgba(0,243,255,.28);
}

.btn-secondary{
  background: transparent;
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(188,19,254,.35);
}
.btn-secondary:hover{
  transform: translateY(-1px);
  background: rgba(188,19,254,.08);
  box-shadow: 0 0 26px rgba(188,19,254,.18);
}

.btn-small{
  padding: 10px 14px;
  font-size: 13px;
}

/* ===========================
   Sections
=========================== */
.section-header{
  margin: 0 0 22px;
}
.section-header h2{
  font-family:"Space Grotesk", "Inter", sans-serif;
  font-size: clamp(22px, 2.6vw, 34px);
  margin: 0;
  letter-spacing: -0.02em;
}
.section-header .sub{
  font-size: .9em;
  color: rgba(255,255,255,.65);
  font-weight: 600;
}

/* Hero */
.hero{
  position: relative;
  padding: 82px 0 78px;
  overflow:hidden;
}
.hero-glow{
  position:absolute;
  width: 680px; height: 680px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(0,243,255,.16) 0%, transparent 70%);
  pointer-events:none;
  filter: blur(0px);
  animation: heroPulse 4s ease-in-out infinite;
}
@keyframes heroPulse{
  0%,100%{ opacity: .70; }
  50%{ opacity: .95; }
}

.hero-content{
  text-align:center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-chip{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.78);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.chip-dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(57,255,20,.35);
  animation: dotPulse 1.4s ease-in-out infinite;
}
@keyframes dotPulse{
  0%,100%{ opacity: .65; transform: scale(1); }
  50%{ opacity: 1; transform: scale(1.25); }
}

.hero h1{
  font-family:"Space Grotesk", "Inter", sans-serif;
  font-size: clamp(30px, 4.3vw, 56px);
  line-height: 1.07;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

.hero p{
  color: rgba(255,255,255,.72);
  font-size: 16.5px;
  line-height: 1.7;
  margin: 0 auto 18px;
  max-width: 760px;
}

.hero-definition{
  font-size: 17px;
  max-width: 760px;
  margin: 10px auto 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.9);
}

.hero-actions{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}
.microcopy{
  color: rgba(255,255,255,.52);
  font-size: 13px;
}

/* Problem / Solution / Method / Services / Demo / FAQ / CTA */
.problem, .solution, .method, .services, .demo, .faq, .cta-final{
  padding: 64px 0;
}

.problem-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.problem-item{
  padding: 18px 16px;
}
.problem-item p{
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
}
.highlight{
  color: rgba(0,243,255,.95);
  font-weight: 800;
}
.problem-closure{
  text-align:center;
  margin-top: 18px;
  color: rgba(255,255,255,.65);
  font-weight: 700;
}

/* responsive grid */
@media (max-width: 980px){
  .problem-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .problem-grid{ grid-template-columns: 1fr; }
}

/* Solution */
.solution h2{
  font-family:"Space Grotesk", "Inter", sans-serif;
  font-size: clamp(22px, 2.6vw, 34px);
  margin: 0 0 14px;
}
.solution-formula{
  padding: 16px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content:center;
  margin: 14px 0;
}
.solution-formula span{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.80);
  font-weight: 800;
  font-size: 13px;
}

/* Method */
.method-steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.step{
  padding: 18px 16px;
}
.step-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(0,243,255,.08);
  border: 1px solid rgba(0,243,255,.18);
  color: var(--cyan);
  font-weight: 900;
  margin-bottom: 10px;
}
.step h3{
  margin: 0 0 8px;
  font-family:"Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
}
.step p{
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}
@media (max-width: 980px){
  .method-steps{ grid-template-columns: 1fr; }
}

/* Services */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.service-card{
  padding: 18px 16px;
  position: relative;
}
.service-card.featured{
  border: 1px solid rgba(188,19,254,.25);
  box-shadow: 0 0 28px rgba(188,19,254,.10);
}
.service-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}
.service-tag{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.service-desc{
  color: rgba(255,255,255,.72);
}
.service-deliverables{
  margin: 12px 0 16px;
  padding-left: 18px;
  color: rgba(255,255,255,.72);
}
.services-note{
  text-align:center;
  margin-top: 18px;
  color: rgba(255,255,255,.60);
}
@media (max-width: 980px){
  .services-grid{ grid-template-columns: 1fr; }
}

/* Demo */
.demo-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.demo-block{
  padding: 18px 16px;
}
.taxonomy-tree{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}
.tree-root{
  margin-top: 10px;
  color: rgba(0,243,255,.90);
  font-weight: 900;
}
.tree-root-gap{ margin-top: 16px; }
.tree-item{ margin-top: 6px; opacity: .92; }
.glossary-item{
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  padding: 12px;
  margin-top: 10px;
}
.glossary-term{ font-weight: 900; color: rgba(255,255,255,.92); }
.glossary-def{ color: rgba(255,255,255,.68); margin-top: 4px; }

@media (max-width: 980px){
  .demo-grid{ grid-template-columns: 1fr; }
}

/* FAQ */
.faq-list{
  display:grid;
  gap: 12px;
  margin-top: 18px;
}
.faq-item{
  padding: 14px 14px;
}
.faq-question{
  cursor: pointer;
  font-weight: 900;
  color: rgba(255,255,255,.88);
}
.faq-answer{
  color: rgba(255,255,255,.72);
  margin-top: 10px;
  line-height: 1.65;
}

/* CTA */
.cta-final{
  text-align:center;
  position: relative;
}
.cta-final h2{
  font-family:"Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
}
.cta-note{
  color: rgba(255,255,255,.60);
  margin-top: 10px;
}

/* ===========================
   Footer
=========================== */
.site-footer{
  padding: 46px 0 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(18,18,26,.65);
}
.footer-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.footer-col{
  padding: 16px;
}
.footer-col h4{
  margin: 0 0 10px;
  font-family:"Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
}
.footer-col ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap: 8px;
}
.footer-col a{
  color: rgba(255,255,255,.74);
  text-decoration:none;
}
.footer-col a:hover{
  color: var(--cyan);
}

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.55);
}
.version-badge{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,243,255,.20);
  background: rgba(0,243,255,.06);
  color: rgba(0,243,255,.92);
  font-weight: 900;
  font-size: 12px;
}

@media (max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; align-items:flex-start; }
}
/* ===========================
   Home v2.2 - portada principal
=========================== */

.section{
  padding: 72px 0;
}

.section-heading{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.section-kicker{
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(0,243,255,.92);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-heading h2{
  margin: 0 0 12px;
  font-family:"Space Grotesk", "Inter", sans-serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading p{
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 16px;
  line-height: 1.7;
}

/* Hero ajustado */
.hero{
  padding: 94px 0 78px;
}

.hero-content{
  max-width: 880px;
}

.hero-lead{
  color: rgba(255,255,255,.76);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto 20px;
}

.hero-signature{
  margin-top: 18px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.6;
}

.hero-signature strong{
  color: rgba(255,255,255,.95);
}

.hero-actions{
  display:flex;
  justify-content:center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0 10px;
}

/* Herramientas destacadas */
.featured-tools{
  position: relative;
}

.feature-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-card{
  padding: 24px;
  position: relative;
  min-height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature-card:hover{
  transform: translateY(-4px);
  border-color: rgba(0,243,255,.24);
  box-shadow: 0 14px 36px rgba(0,0,0,.42);
}

.feature-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(0,243,255,.9);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feature-card h3{
  margin: 0 0 12px;
  font-family:"Space Grotesk", "Inter", sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.02em;
}

.feature-card p{
  margin: 0 0 20px;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  font-size: 15px;
}

/* Bloque de caminos */
.paths-overview{
  position: relative;
}

.two-cta{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.front-btn{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap: 12px;
  min-height: 190px;
  padding: 24px;
  text-decoration:none;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
    rgba(18,18,26,.82);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.front-btn::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.14;
  pointer-events:none;
  transition: opacity .22s ease;
}

.front-btn.cyan::before{
  background: radial-gradient(circle at top left, var(--cyan) 0%, transparent 58%);
}

.front-btn.purple::before{
  background: radial-gradient(circle at top left, var(--purple) 0%, transparent 58%);
}

.front-btn:hover{
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0,0,0,.48);
}

.front-btn.cyan:hover{
  border-color: rgba(0,243,255,.28);
}

.front-btn.purple:hover{
  border-color: rgba(188,19,254,.28);
}

.front-btn:hover::before{
  opacity:.2;
}

.front-title{
  position: relative;
  z-index: 2;
  font-family:"Space Grotesk", "Inter", sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.front-sub{
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  font-size: 15px;
  max-width: 95%;
}

/* Mejora botones dentro de cards */
.feature-card .btn,
.front-btn .btn{
  align-self: flex-start;
}

/* Microcopy links */
.microcopy a{
  color: rgba(0,243,255,.92);
  text-decoration: none;
}

.microcopy a:hover{
  text-decoration: underline;
}

/* Ajustes responsive */
@media (max-width: 980px){
  .feature-grid,
  .two-cta{
    grid-template-columns: 1fr;
  }

  .front-btn{
    min-height: auto;
  }

  .section{
    padding: 58px 0;
  }
}

@media (max-width: 640px){
  .hero{
    padding: 78px 0 58px;
  }

  .hero h1{
    font-size: clamp(32px, 10vw, 48px);
  }

  .hero-lead{
    font-size: 15.5px;
    line-height: 1.75;
  }

  .section-heading{
    margin-bottom: 24px;
  }

  .section-heading h2{
    font-size: clamp(24px, 7vw, 34px);
  }

  .feature-card,
  .front-btn{
    padding: 20px;
    border-radius: 18px;
  }

  .feature-card h3,
  .front-title{
    font-size: 24px;
  }

  .front-sub,
  .feature-card p{
    font-size: 14.5px;
  }
}