/* ============================================================
   RICH QUEEN — muestra de diseño
   Negro premium + acentos ámbar/naranja. Independiente del
   resto del portafolio: no comparte hoja de estilos.
   ============================================================ */

:root {
  --ink:        #0A0705;
  --ink-2:      #120B07;
  --panel:      #1C130C;
  --panel-2:    #241708;
  --orange:     #E8752E;
  --orange-2:   #FF9A52;
  --orange-deep:#7A3510;
  --glow:       rgba(232, 117, 46, .45);

  --text:       #FFFFFF;
  --text-mid:   #D8CFC6;
  --text-dim:   #9C8F82;
  --line:       rgba(255, 255, 255, .10);

  --font-head: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shell: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }

::selection { background: var(--orange); color: #fff; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.01em; }

/* ---------- Aviso de muestra ---------- */
.demo-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 20px;
  background: #050302;
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
  color: var(--text-dim);
  text-align: center;
}
.demo-bar a { color: var(--orange-2); font-weight: 600; }
.demo-bar a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 20px 0;
  background: rgba(10, 7, 5, .5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
}
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(10, 7, 5, .88);
  border-bottom-color: var(--line);
}

.header-inner { display: flex; align-items: center; gap: 30px; }

.logo { display: flex; align-items: center; gap: 9px; }
.logo svg { width: 20px; height: 20px; fill: var(--orange); }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .08em; }

.nav { margin-left: 40px; }
.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-link {
  position: relative;
  font-size: .9rem;
  color: var(--text-mid);
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-side { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.btn-outline { border: 1px solid var(--line); color: #fff; }
.btn-outline:hover { border-color: var(--orange-2); background: rgba(232, 117, 46, .08); }
.btn-solid {
  background: linear-gradient(135deg, var(--orange), #C85A1E);
  color: #fff;
  box-shadow: 0 8px 22px var(--glow);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 12px 28px var(--glow); }
.btn-sm { padding: 10px 20px; font-size: .84rem; }
.btn-play { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.btn-play svg { width: 9px; height: 9px; fill: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
}
.nav-toggle span { width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 0; overflow: hidden; }
.hero-glow {
  position: absolute; top: -180px; right: -220px;
  width: 900px; height: 900px;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  pointer-events: none;
}

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

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin-bottom: 18px;
}

.hero-title { font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.12; }
.hero-title .accent { color: var(--orange); }

.hero-sub { margin-top: 20px; color: var(--text-mid); font-size: 1.02rem; max-width: 460px; }

.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.featured-in { margin-top: 54px; }
.featured-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 14px; }
.featured-logos { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; color: var(--text-dim); }
.featured-logos span { font-family: 'Georgia', serif; font-size: 1.1rem; font-weight: 700; opacity: .8; }
.featured-logos span:nth-child(2) { font-family: var(--font-head); font-style: italic; }

/* Visual del hero (sin foto real: panel abstracto con glow) */
.hero-visual { position: relative; height: 520px; }
.hero-portrait {
  position: absolute; inset: 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 65% 30%, rgba(255, 154, 82, .55), transparent 55%),
    linear-gradient(160deg, #2A1608, #0C0704 70%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-portrait::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 154, 82, .35) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 60% 35%, #000 0%, transparent 60%);
  mask-image: radial-gradient(circle at 60% 35%, #000 0%, transparent 60%);
}
.hero-portrait-ring {
  position: absolute; top: 50%; left: 60%;
  width: 260px; height: 260px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 154, 82, .4);
}
.hero-portrait-ring::before {
  content: '';
  position: absolute; inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 154, 82, .25);
}

.float-card {
  position: absolute;
  padding: 16px 18px;
  background: rgba(28, 19, 12, .82);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .4);
}
.float-1 { top: 26px; right: -14px; width: 208px; }
.float-2 { bottom: 40px; right: 6px; width: 220px; }

.float-label { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--text-dim); margin-bottom: 4px; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, .5); }
  70%  { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.float-title { font-weight: 800; font-size: .82rem; margin-bottom: 10px; }
.float-num { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; }
.float-delta { color: #4ADE80; font-size: .74rem; font-weight: 700; }
.float-sub { font-size: .68rem; color: var(--text-dim); margin-top: 2px; }

.mini-chart { display: flex; align-items: flex-end; gap: 3px; height: 34px; margin-top: 10px; }
.mini-chart span { flex: 1; background: linear-gradient(180deg, var(--orange-2), var(--orange)); border-radius: 2px 2px 0 0; }

.avatars { display: flex; align-items: center; margin-top: 12px; }
.avatars .mini-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  border: 2px solid var(--panel);
  margin-left: -8px;
}
.avatars .mini-avatar:first-child { margin-left: 0; }
.avatars .mini-more { background: rgba(255, 255, 255, .1); color: var(--text-mid); }

/* ---------- Barra de features ---------- */
.feature-bar {
  margin-top: 60px;
  position: relative;
  z-index: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}
.feature-item:last-child { border-right: 0; }
.feature-item svg { width: 22px; height: 22px; stroke: var(--orange-2); fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: 2px; }
.feature-item h4 { font-size: .88rem; font-weight: 700; margin-bottom: 3px; }
.feature-item p { font-size: .78rem; color: var(--text-dim); }

/* ---------- Sección genérica ---------- */
.section { padding: 110px 0; }

.eyebrow-center { text-align: center; }
.section-head { max-width: 640px; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.2; }
.section-title .accent { color: var(--orange); }
.section-sub { margin-top: 16px; color: var(--text-mid); font-size: 1rem; }

/* ---------- Freedom / cifras ---------- */
.freedom-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.freedom-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.f-stat-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--orange); }
.f-stat-label { margin-top: 6px; font-size: .86rem; color: var(--text-mid); }

/* ---------- Programa (pilares) ---------- */
.program-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 50px; align-items: start; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar-card {
  padding: 26px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .3s var(--ease);
}
.pillar-card:hover { transform: translateY(-4px); }
.pillar-card.featured {
  background: linear-gradient(160deg, var(--orange), #B7501C);
  border-color: transparent;
  margin-top: -18px;
}
.pillar-icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(232, 117, 46, .12);
  margin-bottom: 40px;
}
.pillar-card.featured .pillar-icon { background: rgba(255, 255, 255, .2); }
.pillar-icon svg { width: 22px; height: 22px; stroke: var(--orange-2); fill: none; stroke-width: 1.8; }
.pillar-card.featured .pillar-icon svg { stroke: #fff; }
.pillar-num { font-size: .74rem; color: var(--text-dim); font-weight: 700; }
.pillar-card.featured .pillar-num { color: rgba(255, 255, 255, .75); }
.pillar-card h3 { font-size: 1.05rem; color: var(--orange-2); margin: 4px 0 10px; }
.pillar-card.featured h3 { color: #fff; }
.pillar-card p { font-size: .86rem; color: var(--text-mid); line-height: 1.55; }
.pillar-card.featured p { color: rgba(255, 255, 255, .88); }

/* ---------- Leanne AI ---------- */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ai-panel {
  position: relative;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  min-height: 340px;
}
.ai-vortex {
  position: absolute; right: -60px; bottom: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--orange), transparent 60%);
  filter: blur(30px);
  opacity: .5;
  animation: spin 10s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ai-badge { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; margin-bottom: 6px; }
.ai-title { position: relative; z-index: 1; font-weight: 800; font-size: 1.5rem; letter-spacing: .05em; margin-bottom: 4px; }
.ai-prompt { position: relative; z-index: 1; font-size: .82rem; color: var(--text-dim); margin-bottom: 18px; }

.ai-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.ai-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .86rem;
}
.ai-list svg { width: 16px; height: 16px; stroke: var(--orange-2); fill: none; stroke-width: 1.8; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  margin: 0 24px;
  max-width: calc(var(--shell) - 48px);
  margin-inline: auto;
  padding: 64px 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--orange-deep), var(--ink-2));
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--glow), transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.cta p { color: var(--text-mid); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { padding: 70px 0 0; background: var(--ink-2); border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-mid); font-size: .9rem; max-width: 280px; margin-bottom: 20px; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.socials svg { width: 15px; height: 15px; fill: var(--text-mid); }
.socials a:hover { background: var(--orange); border-color: var(--orange); }
.socials a:hover svg { fill: #fff; }

.footer-col h4 { font-size: .9rem; font-weight: 800; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-mid); font-size: .88rem; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--orange-2); }

.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text-mid); margin-bottom: 12px; }
.footer-contact svg { width: 16px; height: 16px; stroke: var(--orange-2); fill: none; stroke-width: 1.8; margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  font-size: .8rem;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--orange-2); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-back { color: var(--orange-2) !important; }

.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 8px 22px var(--glow);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 40;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; margin-top: 20px; }
  .feature-bar { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-right: 0; }
  .feature-item { border-bottom: 1px solid var(--line); }
  .freedom-grid { grid-template-columns: 1fr; gap: 36px; }
  .program-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar-card.featured { margin-top: 0; }
  .ai-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; order: 3; }
  .header-side .btn-outline { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(280px, 80vw);
    margin: 0;
    padding: 96px 26px 26px;
    background: #0F0904;
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    z-index: 45;
  }
  .nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-list li { width: 100%; }
  .nav-link { display: block; width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 700px) {
  .feature-bar { grid-template-columns: 1fr; }
  .feature-item { border-right: 0; }
  .freedom-stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-1, .float-2 { position: static; width: 100%; margin-bottom: 12px; }
  .hero-visual { height: auto; padding: 20px; }
}
