    :root {
      --bg:       #06071a;
      --bg2:      #0c0e2a;
      --accent:   #7c5cfc;
      --accent2:  #a78bfa;
      --accent3:  #c4b5fd;
      --glow:     rgba(124,92,252,0.35);
      --text:     #ede9ff;
      --muted:    #7a72a8;
      --border:   rgba(124,92,252,0.18);
      --border2:  rgba(255,255,255,0.07);
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* Ruido de fondo */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 0;
      opacity: 0.4;
    }

    /* Orbes */
    .orb {
      position: fixed;
      border-radius: 50%;
      filter: blur(90px);
      pointer-events: none;
      z-index: 0;
    }
    .orb-1 {
      width: 640px; height: 640px;
      background: radial-gradient(circle, rgba(124,92,252,0.18) 0%, transparent 70%);
      top: -220px; left: -180px;
    }
    .orb-2 {
      width: 520px; height: 520px;
      background: radial-gradient(circle, rgba(167,139,250,0.11) 0%, transparent 70%);
      bottom: -120px; right: -120px;
    }
    .orb-3 {
      width: 320px; height: 320px;
      background: radial-gradient(circle, rgba(196,181,253,0.08) 0%, transparent 70%);
      top: 40%; left: 48%;
    }

    /* Wrap */
    .wrap {
      position: relative;
      z-index: 1;
      max-width: 1340px;
      margin: 0 auto;
      padding: 0 52px;
    }

    /* Nav */
    nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 30px 0 26px;
    }
    .logo {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 1.5rem;
      color: #fff;
      text-decoration: none;
      letter-spacing: -0.04em;
    }
    .logo span { color: var(--accent2); }
    .nav-links { display: flex; gap: 34px; list-style: none; }
    .nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--text); }
    .nav-cta {
      padding: 10px 22px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: rgba(124,92,252,0.1);
      color: var(--accent3);
      font-size: 0.88rem;
      font-weight: 500;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.25s, transform 0.2s;
    }
    .nav-cta:hover { background: rgba(124,92,252,0.26); transform: translateY(-1px); }

    /* Hero */
    .hero {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 52px;
      align-items: center;
      min-height: calc(100vh - 96px);
      padding: 20px 0 64px;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 8px 16px;
      border-radius: 999px;
      background: rgba(124,92,252,0.13);
      border: 1px solid rgba(124,92,252,0.28);
      color: var(--accent2);
      font-size: 0.78rem;
      font-weight: 600;
      margin-bottom: 28px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }
    .badge-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 8px var(--accent);
      animation: pdot 2s ease-in-out infinite;
    }
    @keyframes pdot {
      0%,100% { opacity:1; transform:scale(1); }
      50%      { opacity:0.4; transform:scale(0.65); }
    }

    h1 {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: clamp(2.8rem, 4.6vw, 5rem);
      line-height: 0.96;
      letter-spacing: -0.045em;
      color: #fff;
      margin-bottom: 26px;
    }
    h1 em {
      font-style: normal;
      background: linear-gradient(130deg, var(--accent2) 0%, var(--accent3) 50%, #fff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-desc {
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.82;
      max-width: 500px;
      margin-bottom: 36px;
    }

    .hero-btns {
      display: flex;
      gap: 14px;
      margin-bottom: 52px;
    }
    .btn-primary {
      padding: 15px 32px;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--accent), #5a38e8);
      color: #fff;
      font-weight: 600;
      font-size: 0.93rem;
      text-decoration: none;
      border: none;
      cursor: pointer;
      box-shadow: 0 16px 40px rgba(124,92,252,0.38);
      transition: transform 0.2s, box-shadow 0.2s;
      display: inline-block;
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 52px rgba(124,92,252,0.5); }
    .btn-ghost {
      padding: 15px 32px;
      border-radius: 999px;
      border: 1px solid var(--border2);
      background: rgba(255,255,255,0.04);
      color: var(--text);
      font-weight: 500;
      font-size: 0.93rem;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.2s, transform 0.2s;
      display: inline-block;
    }
    .btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

    /* Stats */
    .stats-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .stat-box {
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border2);
      border-radius: 20px;
      padding: 20px 22px;
      transition: border-color 0.25s, transform 0.25s;
    }
    .stat-box:hover { border-color: rgba(124,92,252,0.38); transform: translateY(-3px); }
    .stat-num {
      font-family: 'Syne', sans-serif;
      font-size: 2rem;
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.03em;
    }
    .stat-num sub {
      font-size: 1.1rem;
      color: var(--accent2);
      vertical-align: baseline;
    }
    .stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 5px; }

    /* Escena 3D */
    .hero-right {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 600px;
    }
    .scene {
      position: relative;
      width: min(100%, 510px);
      height: 620px;
      perspective: 1700px;
    }

    /* Fondo punteado */
    .scene-bg {
      position: absolute;
      inset: 0;
      border-radius: 44px;
      background-image: radial-gradient(circle, rgba(124,92,252,0.22) 1px, transparent 1px);
      background-size: 28px 28px;
      opacity: 0.28;
    }
    .scene-glow {
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 50% 50%, rgba(124,92,252,0.1) 0%, transparent 65%);
      border-radius: 44px;
    }

    /* Esferas */
    .sphere {
      position: absolute;
      border-radius: 50%;
    }
    .sph-a {
      width: 96px; height: 96px;
      top: 20px; left: 20px;
      background: radial-gradient(circle at 34% 34%, rgba(167,139,250,0.35), rgba(124,92,252,0.07));
      border: 1px solid rgba(124,92,252,0.24);
      animation: fa 7s ease-in-out infinite;
    }
    .sph-b {
      width: 62px; height: 62px;
      bottom: 28px; right: 28px;
      background: radial-gradient(circle at 34% 34%, rgba(196,181,253,0.18), rgba(124,92,252,0.04));
      border: 1px solid rgba(255,255,255,0.09);
      animation: fb 9s ease-in-out infinite;
    }
    @keyframes fa { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-15px)} }
    @keyframes fb { 0%,100%{transform:translateY(0)} 50%{transform:translateY(15px)} }

    /* Cards flotantes */
    .card-wrap {
      position: absolute;
      left: 50%;
    }
    .card-wrap.cw1 { top: 12px;   transform: translateX(-50%); animation: fw1 7s ease-in-out infinite; }
    .card-wrap.cw2 { top: 222px;  transform: translateX(-50%); animation: fw2 9.5s ease-in-out infinite; }
    .card-wrap.cw3 { bottom: 12px; transform: translateX(-52%); animation: fw3 8.2s ease-in-out infinite; }

    @keyframes fw1 { 0%,100%{transform:translateX(-50%) translateY(0)}  50%{transform:translateX(-50%) translateY(-14px)} }
    @keyframes fw2 { 0%,100%{transform:translateX(-50%) translateY(0)}  50%{transform:translateX(-50%) translateY(12px)} }
    @keyframes fw3 { 0%,100%{transform:translateX(-52%) translateY(0)}  50%{transform:translateX(-52%) translateY(-11px)} }

    .fcard {
      width: 318px;
      padding: 24px 26px;
      border-radius: 30px;
      border: 1px solid rgba(124,92,252,0.22);
      background: linear-gradient(155deg, rgba(22,16,62,0.97), rgba(12,9,36,0.9));
      backdrop-filter: blur(20px);
      box-shadow: 0 28px 64px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
      color: var(--text);
      transform-style: preserve-3d;
      will-change: transform;
      transition: box-shadow 0.3s ease;
    }
    .fcard:hover { box-shadow: 0 36px 80px rgba(124,92,252,0.2), 0 28px 64px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06); }

    .fcard-tag {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      color: var(--accent2);
      margin-bottom: 14px;
    }
    .fcard-big {
      font-family: 'Syne', sans-serif;
      font-size: 2.2rem;
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.03em;
      margin-bottom: 14px;
    }

    /* Chips */
    .chips { display: flex; gap: 8px; flex-wrap: wrap; }
    .chip {
      padding: 5px 12px;
      border-radius: 999px;
      font-size: 0.73rem;
      font-weight: 700;
    }
    .chip-r { background:rgba(239,68,68,0.15);  color:#fca5a5; border:1px solid rgba(239,68,68,0.25); }
    .chip-y { background:rgba(245,158,11,0.13); color:#fcd34d; border:1px solid rgba(245,158,11,0.22); }
    .chip-v { background:rgba(124,92,252,0.18);  color:var(--accent3); border:1px solid rgba(124,92,252,0.3); }
    .chip-g { background:rgba(52,211,153,0.13);  color:#6ee7b7; border:1px solid rgba(52,211,153,0.22); }

    /* Barra */
    .bar-track {
      height: 10px;
      background: rgba(255,255,255,0.07);
      border-radius: 999px;
      overflow: hidden;
      margin-top: 14px;
    }
    .bar-fill {
      height: 100%;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
      width: 0%;
      transition: width 1.6s cubic-bezier(0.25,1,0.5,1);
    }
    .fcard-sub { font-size: 0.79rem; color: var(--muted); margin-top: 9px; }

    /* Grid 2 col */
    .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .g2-item strong {
      display: block;
      font-family: 'Syne', sans-serif;
      font-size: 1.6rem;
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.03em;
    }
    .g2-item p { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }

    /* Badges laterales */
    .side-badges {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .sbadge {
      background: rgba(14,10,38,0.92);
      border: 1px solid rgba(124,92,252,0.22);
      border-radius: 18px;
      padding: 14px 18px;
      text-align: center;
      width: 82px;
      backdrop-filter: blur(12px);
    }
    .sbadge strong {
      display: block;
      font-family: 'Syne', sans-serif;
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--accent2);
      letter-spacing: -0.03em;
    }
    .sbadge span { font-size: 0.68rem; color: var(--muted); }

    /* Divisor */
    .divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(124,92,252,0.22), transparent);
      margin: 8px 0;
    }

    /* Features */
    .features-section { padding: 100px 0 70px; }
    .section-head { max-width: 680px; margin-bottom: 56px; }
    .section-tag {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent2);
      margin-bottom: 14px;
    }
    .section-head h2 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2rem, 3vw, 3.1rem);
      font-weight: 800;
      letter-spacing: -0.04em;
      color: #fff;
      margin-bottom: 16px;
      line-height: 1.04;
    }
    .section-head p { color: var(--muted); line-height: 1.8; font-size: 0.97rem; }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .feat-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border2);
      border-radius: 24px;
      padding: 28px 26px;
      transition: transform 0.26s ease, border-color 0.26s ease, background 0.26s ease;
      cursor: default;
    }
    .feat-card:hover {
      transform: translateY(-6px);
      border-color: rgba(124,92,252,0.38);
      background: rgba(124,92,252,0.06);
    }
    .feat-icon {
      width: 46px; height: 46px;
      border-radius: 14px;
      background: rgba(124,92,252,0.14);
      border: 1px solid rgba(124,92,252,0.24);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 18px;
    }
    .feat-icon svg { width: 21px; height: 21px; }
    .feat-card h3 {
      font-family: 'Syne', sans-serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 10px;
      letter-spacing: -0.02em;
    }
    .feat-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.76; }

    /* Footer */
    footer {
      padding: 40px 0 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid var(--border2);
    }
    footer p { font-size: 0.8rem; color: var(--muted); }

    /* Responsive */
    @media (max-width: 1080px) {
      .wrap { padding: 0 28px; }
      .hero { grid-template-columns: 1fr; min-height: auto; gap: 64px; }
      .hero-right { min-height: 560px; }
      .features-grid { grid-template-columns: 1fr 1fr; }
      .side-badges { right: -6px; }
    }
    @media (max-width: 720px) {
      .wrap { padding: 0 18px; }
      .nav-links { display: none; }
      .stats-row { grid-template-columns: 1fr; }
      .features-grid { grid-template-columns: 1fr; }
      .fcard { width: calc(100vw - 90px); }
      .side-badges { display: none; }
      footer { flex-direction: column; gap: 10px; text-align: center; }
    }

/* Login styles */
.login-hero {
  grid-template-columns: 1fr;
  justify-items: center;
}

.login-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(14,10,38,0.92);
  border: 1px solid rgba(124,92,252,0.22);
  border-radius: 30px;
  backdrop-filter: blur(12px);
  text-align: center;
}

.login-container h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 30px;
  letter-spacing: -0.03em;
}

#loginForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#loginForm input {
  padding: 15px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

#loginForm input:focus {
  border-color: var(--accent);
}

#loginForm button {
  padding: 15px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #5a38e8);
  color: #fff;
  font-weight: 600;
  font-size: 0.93rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(124,92,252,0.38);
  transition: transform 0.2s, box-shadow 0.2s;
}

#loginForm button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(124,92,252,0.5);
}