/* Lucera — AI Venture Builder. Dark navy + glow morado, tipografia Sora/Manrope. */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #05060f;
  --bg-2: #0a0b1e;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --ink: #f5f3fc;
  --navy: #0a0b1e;
  --purple: #8b5cf6;
  --purple-bright: #b9a3fb;
  --purple-mid: #a78bfa;
  --purple-deep: #6423d0;
  --purple-tint: rgba(139, 92, 246, 0.12);
  --purple-border: rgba(139, 92, 246, 0.35);
  --muted: #9d99c2;
  --muted-dim: #6d6a91;
  --line: rgba(255, 255, 255, 0.09);
  --radius: 20px;
  --wrap: 1120px;
  --shadow: 0 30px 70px -30px rgba(139, 92, 246, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}

em { font-style: normal; color: var(--purple-bright); font-weight: 700; }

a { color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* --- fondo atmosferico --- */
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0.35;
  animation: twinkle ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.75; }
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 900px 600px at 50% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 30%, rgba(139, 92, 246, 0.08), transparent 55%),
    radial-gradient(ellipse 800px 500px at 0% 75%, rgba(139, 92, 246, 0.07), transparent 60%);
}

main, header, footer { position: relative; z-index: 1; }

/* --- nav --- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 6, 15, 0.6);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--wrap);
  margin: 0 auto;
}

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

.mark { width: 30px; height: 30px; flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.6)); }
.mark line { stroke: var(--purple-bright); stroke-width: 2.4; stroke-linecap: round; }

.brand-name {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a { text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--purple-bright); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; }

body.menu-open { overflow: hidden; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple));
  color: #0a0714;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 10px 30px -8px rgba(139, 92, 246, 0.6);
}
.btn:hover { filter: brightness(1.1); box-shadow: 0 14px 36px -6px rgba(139, 92, 246, 0.7); transform: translateY(-1px); }

/* --- hero --- */
.hero {
  position: relative;
  padding: 148px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  min-width: 1100px;
  height: 620px;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.65;
  filter: saturate(1.15) brightness(0.95);
  z-index: 0;
  pointer-events: none;
}

.hero-bg-fade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 50% 10%, transparent 25%, rgba(5, 6, 15, 0.55) 100%),
    linear-gradient(to bottom, rgba(5, 6, 15, 0.1) 0%, rgba(5, 6, 15, 0.4) 58%, var(--bg) 90%);
}

.hero-content { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--purple-border);
  background: var(--purple-tint);
  color: var(--purple-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple-bright); box-shadow: 0 0 10px rgba(185, 163, 251, 0.8); }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 900px;
  margin: 0 auto;
}

.hero .lede {
  max-width: 620px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--purple-border); background: var(--purple-tint); }

/* --- hero visual (reemplaza mockup de producto) --- */
.hero-visual {
  position: relative;
  max-width: 420px;
  margin: 64px auto 0;
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--panel-strong);
  backdrop-filter: blur(20px);
  box-shadow: 0 50px 120px -40px rgba(139, 92, 246, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.brain-video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.floating-pill {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-deep));
  color: #fdfcff;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 20px 40px -12px rgba(139, 92, 246, 0.7);
}
.floating-pill svg { width: 16px; height: 16px; }

/* --- section shell --- */
section.block {
  padding: 78px 0;
  border-top: 1px solid var(--line);
}

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head .core-label { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 700; }
.section-sub { color: var(--muted); margin-top: 18px; font-size: 16.5px; }

.core-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-bright);
}

.prose { max-width: 760px; color: var(--muted); font-size: 17px; }
.prose p { margin: 0 0 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 700; }

.declaracion {
  text-align: center;
  padding: 90px 0;
}
.declaracion h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  max-width: 880px;
  margin: 0 auto;
}
.declaracion p {
  max-width: 620px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 17px;
}

/* --- iconos glow --- */
.icon-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.icon-card {
  padding: 30px 18px 26px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.icon-card:hover { border-color: var(--purple-border); transform: translateY(-3px); box-shadow: var(--shadow); }

.icon-orb {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(185, 163, 251, 0.55), rgba(139, 92, 246, 0.12) 70%);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.icon-orb svg { width: 24px; height: 24px; stroke: #fff; }

.icon-card span { font-size: 14px; font-weight: 700; color: var(--ink); }

/* --- pasos --- */
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.step {
  position: relative;
  padding: 26px 16px 20px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.step:hover { box-shadow: var(--shadow); border-color: var(--purple-border); }

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(185, 163, 251, 0.7), rgba(139, 92, 246, 0.2) 70%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

.step-bar {
  margin-top: 18px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.step-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--purple-bright));
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.65);
  transition: width 1.1s ease 0.15s;
}
.step.is-visible .step-bar-fill { width: 100%; }

@media (min-width: 861px) {
  .steps { position: relative; }
  .steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-border) 12%, var(--purple-border) 88%, transparent);
    z-index: -1;
  }
}

/* --- banner cierre --- */
.banner {
  text-align: center;
  padding: 46px 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(100, 35, 208, 0.1));
  border: 1px solid var(--purple-border);
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--ink);
}
.banner .no { color: var(--muted); font-weight: 500; }

/* --- footer --- */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-tag {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.footer-contact {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}
.footer-contact a { text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--purple-bright); }

/* --- reveal on scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --- responsive --- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 32px;
    background: rgba(5, 6, 15, 0.94);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
  }
  .mobile-menu.is-open {
    max-height: 280px;
    opacity: 1;
    padding: 10px 32px 22px;
    border-bottom-color: var(--line);
  }
  .mobile-menu a {
    padding: 14px 2px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: color 0.2s;
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:active, .mobile-menu a:hover { color: var(--purple-bright); }
  .icon-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .btn { padding: 10px 16px; font-size: 13.5px; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 120px 0 76px; }
  .hero-bg-video { min-width: 700px; height: 480px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-visual { padding: 30px 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
