/* css neto */
    :root {
      --black-0: #020202;
      --black-1: #060606;
      --black-2: #0a0a0a;
      --black-3: #111111;
      --black-4: #171717;

      --white-0: #ffffff;
      --white-1: #f2f2f2;
      --white-2: #cfcfcf;
      --gray-1: #9a9a9a;
      --gray-2: #6f6f6f;
      --gray-3: #3a3a3a;

      --pearl: #e8f1ec;
      --ice: #dce8ea;
      --sage: #c8d0cc;
      --beige: #c9c3a8;

      --vivid-green: #2fe6a0;
      --vivid-green-2: #7dffc4;
      --vivid-red: #ff4d6a;
      --vivid-red-2: #ff8fa3;
      --vivid-gold: #ffcf5c;
      --vivid-violet: #b48cff;
      --vivid-cyan: #4bd8ff;

      --border-soft: rgba(255, 255, 255, 0.075);
      --border-muted: rgba(255, 255, 255, 0.045);
      --glass-bg: rgba(10, 10, 10, 0.72);

      --radius-xl: 36px;
      --radius-lg: 28px;
      --radius-md: 20px;
      --radius-pill: 999px;

      --shadow-deep:
        0 50px 160px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);

      --shadow-card:
        0 30px 90px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      background: var(--black-0);
    }

    body {
      min-height: 100vh;
      font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "Segoe UI",
        sans-serif;
      color: var(--white-1);
      background:
        radial-gradient(circle at 15% 12%, rgba(220, 232, 234, 0.13), transparent 28%),
        radial-gradient(circle at 85% 8%, rgba(200, 208, 204, 0.18), transparent 24%),
        radial-gradient(circle at 48% 45%, rgba(255, 255, 255, 0.055), transparent 36%),
        linear-gradient(180deg, #020202 0%, #060606 48%, #030303 100%);
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
      background-size: 90px 90px;
      mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
      opacity: 0.38;
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 1;
      background-image:
        radial-gradient(circle, rgba(255,255,255,0.42) 0.8px, transparent 0.9px),
        radial-gradient(circle, rgba(255,255,255,0.18) 0.7px, transparent 0.8px);
      background-size: 120px 120px, 180px 180px;
      background-position: 0 0, 40px 60px;
      opacity: 0.13;
      mix-blend-mode: screen;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button {
      font: inherit;
    }

    .page {
      position: relative;
      z-index: 2;
      width: min(1440px, 100%);
      margin: 0 auto;
      padding: 42px;
    }

    .noise {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 3;
      opacity: 0.09;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23noise)' opacity='0.65'/%3E%3C/svg%3E");
    }

    .aurora {
      position: fixed;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      overflow: hidden;
    }

    .aurora span {
      position: absolute;
      display: block;
      width: 520px;
      height: 520px;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.24;
      background: radial-gradient(circle, rgba(47, 230, 160, 0.75), transparent 65%);
      animation: drift 16s ease-in-out infinite alternate;
    }

    .aurora span:nth-child(1) {
      top: 2%;
      right: 4%;
    }

    .aurora span:nth-child(2) {
      bottom: 8%;
      left: -12%;
      width: 620px;
      height: 620px;
      background: radial-gradient(circle, rgba(75, 216, 255, 0.45), transparent 70%);
      animation-delay: -4s;
    }

    .aurora span:nth-child(3) {
      top: 44%;
      right: 26%;
      width: 360px;
      height: 360px;
      opacity: 0.16;
      background: radial-gradient(circle, rgba(255, 207, 92, 0.55), transparent 70%);
      animation-delay: -8s;
    }

    @keyframes drift {
      from {
        transform: translate3d(-20px, 20px, 0) scale(1);
      }

      to {
        transform: translate3d(36px, -32px, 0) scale(1.12);
      }
    }

    .glass {
      background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.017)),
        rgba(7, 7, 7, 0.78);
      border: 1px solid var(--border-soft);
      box-shadow: var(--shadow-card);
      backdrop-filter: blur(30px);
      -webkit-backdrop-filter: blur(30px);
    }

    .topbar {
      position: sticky;
      top: 22px;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 28px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .brand-mark {
      position: relative;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background:
        radial-gradient(circle at 64% 34%, #ffffff 0 11%, transparent 12%),
        conic-gradient(from 190deg, #ffffff, #9da6a2, #151515, #ffffff);
      box-shadow:
        0 0 32px rgba(255,255,255,0.18),
        inset 0 0 0 7px #050505;
    }

    .brand-name {
      font-size: 13px;
      color: rgba(255,255,255,0.72);
      letter-spacing: -0.02em;
    }

    .nav-pill {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 7px;
      border-radius: var(--radius-pill);
      background: rgba(0,0,0,0.52);
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow:
        0 14px 50px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.07);
      backdrop-filter: blur(22px);
    }

    .nav-pill a {
      padding: 8px 13px;
      border-radius: var(--radius-pill);
      font-size: 12px;
      color: rgba(255,255,255,0.58);
      transition: 260ms ease;
    }

    .nav-pill a:hover,
    .nav-pill a.active {
      color: #ffffff;
      background: rgba(255,255,255,0.075);
    }

    .account {
      display: flex;
      align-items: center;
      gap: 8px;
      color: rgba(255,255,255,0.74);
      font-size: 12px;
    }

    .account-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ffffff;
      box-shadow: 0 0 18px rgba(255,255,255,0.9);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 28px;
      align-items: stretch;
    }

    .hero-main {
      position: relative;
      border-radius: var(--radius-xl);
      overflow: hidden;
      padding: 48px;
      isolation: isolate;
      display: flex;
      flex-direction: column;
    }

    .hero-main::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background:
        radial-gradient(circle at 80% 18%, rgba(232,241,236,0.34), transparent 24%),
        radial-gradient(circle at 90% 58%, rgba(220,232,234,0.18), transparent 20%),
        radial-gradient(circle at 18% 88%, rgba(255,255,255,0.07), transparent 18%),
        linear-gradient(140deg, rgba(0,0,0,1), rgba(18,18,18,0.74));
    }

    .hero-main::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.05) 46%, transparent 58%),
        radial-gradient(circle at 70% 20%, rgba(255,255,255,0.1), transparent 18%);
      opacity: 0.75;
      mix-blend-mode: screen;
    }

    .orbital-lines {
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0.42;
    }

    .orbital-lines svg {
      width: 100%;
      height: 100%;
    }

    .floating-node {
      position: absolute;
      display: flex;
      align-items: center;
      gap: 8px;
      color: rgba(255,255,255,0.72);
      font-size: 11px;
      letter-spacing: -0.01em;
    }

    .floating-node::before {
      content: "";
      width: 22px;
      height: 22px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.16);
      background:
        radial-gradient(circle, rgba(255,255,255,0.9) 0 2px, transparent 3px),
        rgba(0,0,0,0.55);
      box-shadow: 0 0 25px rgba(255,255,255,0.13);
    }

    .node-a {
      top: 104px;
      left: 62px;
    }

    .node-b {
      right: 66px;
      top: 168px;
    }

    .node-c {
      left: 74px;
      bottom: 122px;
    }

    .node-d {
      right: 96px;
      bottom: 156px;
    }

    .hero-content {
      position: relative;
      z-index: 3;
      flex: 1;
      min-height: 480px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding-bottom: 56px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      margin-bottom: 18px;
      padding: 8px 13px;
      border-radius: var(--radius-pill);
      color: rgba(255,255,255,0.72);
      font-size: 12px;
      background: rgba(255,255,255,0.055);
      border: 1px solid rgba(255,255,255,0.085);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.065);
      backdrop-filter: blur(20px);
    }

    .eyebrow::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #ffffff;
      box-shadow: 0 0 18px rgba(255,255,255,0.8);
    }

    h1 {
      max-width: 760px;
      font-size: clamp(40px, 5vw, 68px);
      line-height: 1;
      font-weight: 500;
      letter-spacing: -0.055em;
      color: #ffffff;
      text-wrap: balance;
    }

    .hero-subtitle {
      max-width: 620px;
      margin-top: 22px;
      color: rgba(255,255,255,0.62);
      font-size: 15px;
      line-height: 1.7;
      letter-spacing: -0.015em;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-top: 28px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      height: 38px;
      padding: 0 18px;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(255,255,255,0.09);
      cursor: pointer;
      transition: 280ms ease;
      font-size: 12px;
      letter-spacing: -0.01em;
    }

    .btn-primary {
      background: linear-gradient(180deg, #ffffff, #dcdcdc);
      color: #050505;
      box-shadow:
        0 12px 36px rgba(255,255,255,0.16),
        inset 0 1px 0 rgba(255,255,255,0.8);
    }

    .btn-secondary {
      background: rgba(0,0,0,0.35);
      color: #ffffff;
      backdrop-filter: blur(18px);
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow:
        0 20px 60px rgba(255,255,255,0.12),
        inset 0 1px 0 rgba(255,255,255,0.12);
    }

    .hero-footer-line {
      position: absolute;
      left: 50px;
      right: 50px;
      bottom: 42px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: rgba(255,255,255,0.45);
      font-size: 11px;
    }

    .scroll-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border-radius: var(--radius-pill);
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.07);
    }

    .scroll-pill span {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      display: inline-grid;
      place-items: center;
      background: rgba(255,255,255,0.92);
      color: #060606;
      font-size: 10px;
    }

    .right-stack {
      display: grid;
      grid-template-rows: auto 1fr;
      gap: 28px;
      min-width: 0;
    }

    .insights-panel {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius-xl);
      padding: 36px;
      display: flex;
      flex-direction: column;
    }

    .insights-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 88% 5%, rgba(232,241,236,0.28), transparent 24%),
        radial-gradient(circle at 0% 82%, rgba(220,232,234,0.2), transparent 22%);
      pointer-events: none;
    }

    .section-kicker {
      color: rgba(255,255,255,0.5);
      font-size: 12px;
      margin-bottom: 10px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .panel-title {
      position: relative;
      z-index: 2;
      font-size: clamp(28px, 3vw, 40px);
      line-height: 1.02;
      font-weight: 500;
      letter-spacing: -0.045em;
      max-width: 620px;
    }

    .panel-copy {
      position: relative;
      z-index: 2;
      max-width: 520px;
      margin-top: 12px;
      color: rgba(255,255,255,0.56);
      font-size: 14px;
      line-height: 1.65;
    }

    .insight-cards {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-top: 28px;
      flex: 1;
      align-items: stretch;
      min-width: 0;
    }

    .mini-card {
      position: relative;
      min-height: 250px;
      padding: 22px;
      border-radius: 24px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      min-width: 0;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
        rgba(8,8,8,0.74);
      border: 1px solid rgba(255,255,255,0.065);
      box-shadow:
        0 24px 70px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.055);
    }

    .metric-large {
      font-size: 42px;
      font-weight: 500;
      letter-spacing: -0.055em;
      background: linear-gradient(120deg, var(--vivid-green-2), var(--vivid-green));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      text-shadow: 0 0 40px rgba(47, 230, 160, 0.25);
    }

    .metric-label {
      margin-top: 5px;
      color: rgba(255,255,255,0.52);
      font-size: 12px;
    }

    .chart-line {
      position: absolute;
      right: 0;
      top: 14px;
      width: 55%;
      height: 90px;
      opacity: 0.45;
      pointer-events: none;
      z-index: 0;
    }

    .chart-line svg {
      width: 100%;
      height: 100%;
    }

    .card-caption {
      position: relative;
      z-index: 1;
      margin-top: auto;
      padding-top: 16px;
      border-top: 1px solid rgba(255,255,255,0.06);
    }

    .card-caption strong {
      display: block;
      font-size: 14px;
      font-weight: 500;
      color: rgba(255,255,255,0.92);
      margin-bottom: 5px;
    }

    .card-caption span {
      display: block;
      max-width: 280px;
      color: rgba(255,255,255,0.45);
      font-size: 12px;
      line-height: 1.45;
    }

    .bar-chart {
      height: 128px;
      display: flex;
      align-items: flex-end;
      gap: 6px;
      justify-content: center;
      margin: 4px 0 6px;
      position: relative;
      z-index: 1;
    }

    .bar-col {
      flex: 0 1 30px;
      min-width: 24px;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      gap: 5px;
    }

    .bar-col b {
      font-size: 9px;
      font-weight: 600;
      color: var(--vivid-green);
      white-space: nowrap;
    }

    .bar-col.neg b {
      color: var(--vivid-red);
    }

    .bar-col.zero b {
      color: rgba(255,255,255,0.4);
    }

    .bar-col span {
      font-size: 9px;
      color: rgba(255,255,255,0.45);
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .bar-col .bar-track {
      width: 14px;
      flex: 1;
      display: flex;
      align-items: flex-end;
    }

    .bar {
      width: 14px;
      border-radius: 999px;
      background:
        linear-gradient(180deg, var(--vivid-green-2), var(--vivid-green));
      box-shadow: 0 0 22px rgba(47, 230, 160, 0.45);
      transform-origin: bottom;
      animation: barLoad 1.8s ease-in-out infinite;
      transition: filter 220ms ease;
    }

    .bar.neg {
      background: linear-gradient(180deg, var(--vivid-red-2), var(--vivid-red));
      box-shadow: 0 0 22px rgba(255, 77, 106, 0.45);
    }

    .bar:hover {
      filter: brightness(1.25);
    }

    @keyframes barLoad {
      0%, 100% { transform: scaleY(0.08); opacity: 0.4; }
      50% { transform: scaleY(1); opacity: 1; }
    }

    .product-panel {
      position: relative;
      border-radius: var(--radius-xl);
      overflow: hidden;
      padding: 36px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 26px;
      align-items: center;
      min-width: 0;
    }

    .product-panel::before {
      content: "";
      position: absolute;
      inset: auto auto -140px -140px;
      width: 380px;
      height: 380px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(232,241,236,0.28), transparent 68%);
      filter: blur(30px);
    }

    .wallet-card {
      position: relative;
      z-index: 2;
      align-self: center;
      min-height: 250px;
      padding: 26px;
      border-radius: 28px;
      min-width: 0;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.016)),
        rgba(7,7,7,0.78);
      border: 1px solid rgba(255,255,255,0.065);
    }

    .wallet-score {
      font-size: 54px;
      font-weight: 500;
      letter-spacing: -0.06em;
      margin-top: 16px;
      background: linear-gradient(120deg, var(--vivid-cyan), var(--vivid-violet));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .transaction {
      position: relative;
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      width: calc(100% - 18px);
      margin-top: 12px;
      padding: 13px 14px;
      border-radius: 16px;
      background: rgba(255,255,255,0.055);
      border: 1px solid rgba(255,255,255,0.065);
      box-shadow: 0 16px 45px rgba(0,0,0,0.42);
      backdrop-filter: blur(18px);
    }

    /* escalonado sutil para mantener el look flotante sin superponerse */
    .transaction:nth-of-type(1) {
      margin-top: 22px;
      transform: translateX(18px);
    }

    .transaction:nth-of-type(2) {
      transform: translateX(-6px);
    }

    .transaction:nth-of-type(3) {
      transform: translateX(12px);
    }

    .transaction-icon {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background:
        radial-gradient(circle, #ffffff 0 2px, transparent 3px),
        rgba(255,255,255,0.075);
      border: 1px solid rgba(255,255,255,0.08);
    }

    .transaction-text strong {
      display: block;
      font-size: 11px;
      color: rgba(255,255,255,0.78);
      font-weight: 500;
    }

    .transaction-text span {
      display: block;
      margin-top: 2px;
      font-size: 10px;
      color: rgba(255,255,255,0.38);
    }

    .radial-module {
      position: relative;
      z-index: 2;
      display: grid;
      place-items: center;
      min-height: 250px;
      min-width: 0;
    }

    .radial {
      position: relative;
      width: 225px;
      height: 225px;
      max-width: 100%;
      border-radius: 50%;
      background:
        conic-gradient(from 15deg, var(--vivid-gold) 0deg 310deg, rgba(255,255,255,0.07) 310deg 360deg);
      box-shadow:
        0 0 85px rgba(255, 207, 92, 0.28),
        inset 0 0 70px rgba(0,0,0,0.8);
      animation: radialPulse 3.6s ease-in-out infinite;
    }

    @keyframes radialPulse {
      0%, 100% { box-shadow: 0 0 85px rgba(255, 207, 92, 0.28), inset 0 0 70px rgba(0,0,0,0.8); }
      50% { box-shadow: 0 0 115px rgba(255, 207, 92, 0.45), inset 0 0 70px rgba(0,0,0,0.8); }
    }

    /* cometa que orbita el anillo */
    .radial-orbit {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      animation: orbitSpin 3.2s linear infinite;
      z-index: 4;
      pointer-events: none;
    }

    .radial-orbit i {
      position: absolute;
      top: 5px;
      left: 50%;
      width: 16px;
      height: 16px;
      margin-left: -8px;
      border-radius: 50%;
      background: radial-gradient(circle, #ffffff 0 30%, var(--vivid-gold) 60%, transparent 75%);
      box-shadow:
        0 0 18px 6px rgba(255, 207, 92, 0.75),
        0 0 40px 14px rgba(255, 207, 92, 0.3);
    }

    @keyframes orbitSpin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    .radial::before {
      content: "";
      position: absolute;
      inset: 26px;
      border-radius: 50%;
      background:
        radial-gradient(circle at 65% 24%, rgba(255,255,255,0.16), transparent 22%),
        #050505;
      border: 1px solid rgba(255,255,255,0.075);
      box-shadow:
        inset 0 0 36px rgba(255,255,255,0.035),
        0 18px 50px rgba(0,0,0,0.55);
    }

    .radial::after {
      content: "";
      position: absolute;
      inset: 70px;
      border-radius: 50%;
      background: #000;
      border: 1px solid rgba(255,255,255,0.12);
    }

    .radial-center {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      z-index: 3;
    }

    .radial-center strong {
      font-size: 34px;
      line-height: 1;
      color: var(--vivid-gold);
      text-shadow: 0 0 24px rgba(255, 207, 92, 0.5);
    }

    .radial-center span {
      display: block;
      margin-top: 8px;
      color: rgba(255,255,255,0.6);
      font-size: 11px;
      max-width: 110px;
      line-height: 1.35;
    }

    .data-section {
      margin-top: 28px;
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 28px;
    }

    /* ---------- curva de rendimiento ---------- */
    .curve-panel {
      margin-top: 28px;
      border-radius: var(--radius-xl);
      padding: 40px;
      position: relative;
      overflow: hidden;
    }

    .curve-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 24px;
      position: relative;
      z-index: 2;
    }

    .curve-title {
      font-size: clamp(24px, 3vw, 38px);
      font-weight: 500;
      letter-spacing: -0.045em;
      line-height: 1.05;
      max-width: 560px;
    }

    .curve-badges {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .curve-badge {
      padding: 8px 13px;
      border-radius: var(--radius-pill);
      font-size: 11px;
      font-weight: 600;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
    }

    .curve-badge.gold { color: var(--vivid-gold); border-color: rgba(255,207,92,0.3); }
    .curve-badge.green { color: var(--vivid-green); border-color: rgba(47,230,160,0.3); }
    .curve-badge.red { color: var(--vivid-red); border-color: rgba(255,77,106,0.3); }

    .curve-svg {
      display: block;
      position: relative;
      z-index: 2;
    }

    .curve-line {
      stroke-dasharray: 2400;
      stroke-dashoffset: 2400;
      animation: curveDraw 6s linear infinite;
      filter: drop-shadow(0 0 6px rgba(47, 230, 160, 0.5));
    }

    @keyframes curveDraw {
      0% { stroke-dashoffset: 2400; }
      70% { stroke-dashoffset: 0; }
      100% { stroke-dashoffset: 0; }
    }

    .curve-area {
      opacity: 0;
      animation: areaFade 6s linear infinite;
    }

    @keyframes areaFade {
      0%, 15% { opacity: 0; }
      70%, 92% { opacity: 1; }
      100% { opacity: 0; }
    }

    .curve-dot {
      filter: drop-shadow(0 0 10px rgba(125, 255, 196, 0.9));
    }

    .curve-note {
      margin-top: 18px;
      max-width: 640px;
      color: rgba(255,255,255,0.45);
      font-size: 12px;
      line-height: 1.6;
      position: relative;
      z-index: 2;
    }

    /* ---------- texturas de color animadas por caja ---------- */
    .hero-main,
    .insights-panel,
    .product-panel,
    .feature-panel,
    .analytics-panel,
    .curve-panel {
      isolation: isolate;
    }

    .texture {
      position: absolute;
      inset: -40%;
      z-index: 0;
      pointer-events: none;
      opacity: 0.5;
      filter: blur(60px);
      animation: textureFlow 14s ease-in-out infinite alternate;
      mix-blend-mode: screen;
    }

    .hero-main .texture {
      background:
        radial-gradient(circle at 25% 30%, rgba(47,230,160,0.16), transparent 32%),
        radial-gradient(circle at 78% 65%, rgba(75,216,255,0.14), transparent 30%);
    }

    .insights-panel .texture {
      background:
        radial-gradient(circle at 80% 15%, rgba(180,140,255,0.18), transparent 32%),
        radial-gradient(circle at 15% 80%, rgba(47,230,160,0.13), transparent 30%);
      animation-delay: -3s;
    }

    .product-panel .texture {
      background:
        radial-gradient(circle at 20% 20%, rgba(255,207,92,0.16), transparent 30%),
        radial-gradient(circle at 85% 75%, rgba(255,77,106,0.11), transparent 30%);
      animation-delay: -6s;
    }

    .feature-panel .texture {
      background:
        radial-gradient(circle at 70% 25%, rgba(75,216,255,0.16), transparent 32%),
        radial-gradient(circle at 20% 85%, rgba(255,207,92,0.12), transparent 30%);
      animation-delay: -9s;
    }

    .analytics-panel .texture {
      background:
        radial-gradient(circle at 85% 20%, rgba(47,230,160,0.16), transparent 32%),
        radial-gradient(circle at 10% 70%, rgba(180,140,255,0.14), transparent 30%);
      animation-delay: -4s;
    }

    .curve-panel .texture {
      background:
        radial-gradient(circle at 15% 25%, rgba(255,77,106,0.10), transparent 28%),
        radial-gradient(circle at 55% 70%, rgba(255,207,92,0.12), transparent 30%),
        radial-gradient(circle at 90% 30%, rgba(47,230,160,0.14), transparent 30%);
      animation-delay: -7s;
    }

    @keyframes textureFlow {
      0% { transform: translate3d(-6%, -4%, 0) rotate(0deg) scale(1); }
      50% { transform: translate3d(5%, 6%, 0) rotate(8deg) scale(1.12); }
      100% { transform: translate3d(-4%, 5%, 0) rotate(-6deg) scale(1.05); }
    }

    /* ---------- animación de ingreso de la primera página ---------- */
    .topbar {
      opacity: 0;
      animation: introDown 700ms cubic-bezier(.2,.8,.2,1) 200ms forwards;
    }

    @keyframes introDown {
      from { opacity: 0; transform: translateY(-24px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .hero-main.reveal {
      animation: heroIntro 1100ms cubic-bezier(.16,.8,.24,1) forwards;
    }

    @keyframes heroIntro {
      0% { opacity: 0; transform: translateY(40px) scale(0.96); filter: blur(14px); }
      60% { filter: blur(0); }
      100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
    }

    .hero-content > * {
      opacity: 0;
      animation: introUp 700ms cubic-bezier(.2,.8,.2,1) forwards;
    }

    .hero-content .eyebrow { animation-delay: 500ms; }
    .hero-content h1 { animation-delay: 650ms; }
    .hero-content .hero-subtitle { animation-delay: 800ms; }
    .hero-content .hero-actions { animation-delay: 950ms; }

    @keyframes introUp {
      from { opacity: 0; transform: translateY(22px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .floating-node {
      opacity: 0;
      animation: nodePop 600ms cubic-bezier(.2,.8,.2,1) forwards, nodeFloat 5s ease-in-out 1.8s infinite alternate;
    }

    .node-a { animation-delay: 1100ms, 1.8s; }
    .node-b { animation-delay: 1250ms, 2.4s; }
    .node-c { animation-delay: 1400ms, 2.0s; }
    .node-d { animation-delay: 1550ms, 2.8s; }

    @keyframes nodePop {
      from { opacity: 0; transform: scale(0.7); }
      to { opacity: 1; transform: scale(1); }
    }

    @keyframes nodeFloat {
      from { transform: translateY(0); }
      to { transform: translateY(-9px); }
    }

    @media (prefers-reduced-motion: reduce) {
      .bar, .chart-column i, .radial, .radial-center,
      .curve-line, .curve-area, .curve-dot, .texture,
      .aurora span, .topbar, .hero-content > *, .floating-node,
      .reveal {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        stroke-dashoffset: 0 !important;
      }
    }

    /* ---------- preloader pro ---------- */
    .preloader {
      position: fixed;
      inset: 0;
      z-index: 999;
      overflow: hidden;
    }

    .pre-shutter {
      position: absolute;
      left: 0;
      right: 0;
      height: 50.5%;
      background:
        radial-gradient(circle at 50% 120%, rgba(47,230,160,0.05), transparent 50%),
        #030303;
      transition: transform 950ms cubic-bezier(.76, 0, .24, 1);
      z-index: 1;
    }

    .pre-shutter.top { top: 0; }
    .pre-shutter.bottom { bottom: 0; }

    .preloader.done .pre-shutter.top { transform: translateY(-101%); }
    .preloader.done .pre-shutter.bottom { transform: translateY(101%); }

    .preloader.gone { visibility: hidden; pointer-events: none; }

    .pre-content {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: opacity 400ms ease, transform 400ms ease;
    }

    .preloader.done .pre-content {
      opacity: 0;
      transform: scale(0.96);
    }

    .pre-progress {
      position: absolute;
      top: 0;
      left: 0;
      height: 2px;
      width: 0%;
      z-index: 3;
      background: linear-gradient(90deg, var(--vivid-green), var(--vivid-cyan), var(--vivid-violet), var(--vivid-gold));
      box-shadow: 0 0 18px rgba(47,230,160,0.7);
      transition: width 140ms linear;
    }

    .pre-brand {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .pre-brand .pre-mark {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background:
        radial-gradient(circle at 64% 34%, #ffffff 0 11%, transparent 12%),
        conic-gradient(from 190deg, #ffffff, #9da6a2, #151515, #ffffff);
      box-shadow:
        0 0 40px rgba(255,255,255,0.2),
        inset 0 0 0 8px #030303;
      animation: markBreath 2.4s ease-in-out infinite;
    }

    @keyframes markBreath {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.08); }
    }

    .pre-brand .pre-name {
      font-size: 15px;
      letter-spacing: 0.34em;
      text-transform: uppercase;
      background: linear-gradient(100deg,
        rgba(255,255,255,0.35) 20%,
        #ffffff 40%,
        var(--vivid-green-2) 50%,
        #ffffff 60%,
        rgba(255,255,255,0.35) 80%);
      background-size: 250% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: nameShine 2.4s linear infinite;
    }

    @keyframes nameShine {
      from { background-position: 120% 0; }
      to { background-position: -120% 0; }
    }

    .pre-tagline {
      margin-top: 14px;
      font-size: 10.5px;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.35);
      opacity: 0;
      animation: introUp 700ms ease 400ms forwards;
    }

    .pre-counter {
      position: absolute;
      right: 48px;
      bottom: 36px;
      z-index: 2;
      display: flex;
      align-items: baseline;
      gap: 6px;
      transition: opacity 400ms ease;
    }

    .preloader.done .pre-counter { opacity: 0; }

    .pre-counter b {
      font-size: clamp(72px, 12vw, 130px);
      font-weight: 500;
      line-height: 1;
      letter-spacing: -0.06em;
      font-variant-numeric: tabular-nums;
      background: linear-gradient(160deg, #ffffff 10%, rgba(255,255,255,0.25) 90%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .pre-counter i {
      font-style: normal;
      font-size: 22px;
      color: var(--vivid-green);
    }

    .pre-status {
      position: absolute;
      left: 48px;
      bottom: 48px;
      z-index: 2;
      font-size: 11px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      display: flex;
      align-items: center;
      gap: 10px;
      transition: opacity 400ms ease;
    }

    .preloader.done .pre-status { opacity: 0; }

    .pre-status::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--vivid-green);
      box-shadow: 0 0 14px rgba(47,230,160,0.9);
      animation: statusBlink 1s ease-in-out infinite;
    }

    @keyframes statusBlink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.25; }
    }

    @media (max-width: 640px) {
      .pre-counter { right: 22px; bottom: 24px; }
      .pre-status { left: 22px; bottom: 32px; }
    }

    body.loading {
      overflow: hidden;
    }

    body.loading .topbar,
    body.loading .reveal,
    body.loading .hero-content > *,
    body.loading .floating-node,
    body.loading .whatsapp-fab {
      animation-play-state: paused;
    }

    /* ---------- botón flotante de WhatsApp ---------- */
    .whatsapp-fab {
      position: fixed;
      right: 26px;
      bottom: 26px;
      z-index: 90;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 13px 18px 13px 13px;
      border-radius: var(--radius-pill);
      background: linear-gradient(135deg, #25d366, #128c7e);
      color: #ffffff;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: -0.01em;
      box-shadow:
        0 18px 50px rgba(37, 211, 102, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.25);
      transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease;
      animation: fabIn 700ms cubic-bezier(.2,.8,.2,1) 1.6s backwards;
    }

    .whatsapp-fab:hover {
      transform: translateY(-4px) scale(1.04);
      box-shadow:
        0 26px 70px rgba(37, 211, 102, 0.5),
        inset 0 1px 0 rgba(255,255,255,0.3);
    }

    .whatsapp-fab svg {
      width: 26px;
      height: 26px;
      flex-shrink: 0;
    }

    .whatsapp-fab::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      border: 2px solid rgba(37, 211, 102, 0.6);
      animation: fabPulse 2.2s ease-out infinite;
    }

    @keyframes fabPulse {
      0% { transform: scale(1); opacity: 0.8; }
      100% { transform: scale(1.35); opacity: 0; }
    }

    @keyframes fabIn {
      from { opacity: 0; transform: translateY(30px) scale(0.7); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    @media (max-width: 520px) {
      .whatsapp-fab span { display: none; }
      .whatsapp-fab { padding: 13px; right: 16px; bottom: 16px; }
    }

    .feature-panel {
      position: relative;
      overflow: hidden;
      min-height: 430px;
      padding: 44px;
      border-radius: var(--radius-xl);
    }

    .feature-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 76% 35%, rgba(255,255,255,0.12), transparent 23%),
        radial-gradient(circle at 18% 82%, rgba(220,232,234,0.14), transparent 28%);
      pointer-events: none;
    }

    .feature-header {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
    }

    .feature-header h2 {
      font-size: clamp(34px, 4vw, 58px);
      font-weight: 500;
      letter-spacing: -0.055em;
      line-height: 1;
    }

    .feature-header p {
      max-width: 360px;
      color: rgba(255,255,255,0.52);
      font-size: 14px;
      line-height: 1.65;
    }

    .chips {
      position: relative;
      z-index: 2;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 34px;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 13px;
      border-radius: var(--radius-pill);
      background: rgba(255,255,255,0.055);
      border: 1px solid rgba(255,255,255,0.065);
      color: rgba(255,255,255,0.82);
      font-size: 12px;
      backdrop-filter: blur(18px);
      opacity: 0;
      transform: translateY(10px);
      animation: chipIn 520ms ease forwards;
    }

    .chip::before {
      content: "";
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--vivid-green);
      box-shadow: 0 0 12px rgba(47, 230, 160, 0.85);
    }

    .chip.neg::before {
      background: var(--vivid-red);
      box-shadow: 0 0 12px rgba(255, 77, 106, 0.85);
    }

    .chip.neg {
      border-color: rgba(255, 77, 106, 0.18);
    }

    .chip.plain::before {
      background: var(--vivid-gold);
      box-shadow: 0 0 12px rgba(255, 207, 92, 0.85);
    }

    .chip:not(.neg):not(.plain) {
      border-color: rgba(47, 230, 160, 0.18);
    }

    @keyframes chipIn {
      to { opacity: 1; transform: translateY(0); }
    }

    .timeline {
      position: relative;
      z-index: 2;
      margin-top: 40px;
      display: grid;
      gap: 14px;
    }

    .timeline-item {
      display: grid;
      grid-template-columns: 36px 1fr auto;
      align-items: center;
      gap: 14px;
      padding: 16px;
      border-radius: 18px;
      background: rgba(0,0,0,0.22);
      border: 1px solid rgba(255,255,255,0.055);
    }

    .step-number {
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: rgba(255,255,255,0.065);
      border: 1px solid rgba(255,255,255,0.075);
      font-size: 12px;
      color: rgba(255,255,255,0.82);
    }

    .timeline-item strong {
      font-size: 14px;
      font-weight: 500;
    }

    .timeline-item span {
      color: rgba(255,255,255,0.44);
      font-size: 12px;
    }

    .analytics-panel {
      min-height: 430px;
      padding: 34px;
      border-radius: var(--radius-xl);
      overflow: hidden;
      position: relative;
    }

    .analytics-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 92% 10%, rgba(232,241,236,0.16), transparent 26%),
        linear-gradient(130deg, transparent, rgba(255,255,255,0.035), transparent);
    }

    .analytics-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .stat-card {
      min-height: 145px;
      padding: 22px;
      border-radius: 22px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.06);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
    }

    .stat-card small {
      display: block;
      color: rgba(255,255,255,0.46);
      font-size: 11px;
      margin-bottom: 12px;
    }

    .stat-card strong {
      display: block;
      font-size: 36px;
      font-weight: 500;
      letter-spacing: -0.055em;
      color: var(--vivid-cyan);
    }

    .stat-card:nth-child(2) strong {
      color: var(--vivid-violet);
    }

    .stat-card p {
      margin-top: 9px;
      color: rgba(255,255,255,0.45);
      font-size: 12px;
      line-height: 1.45;
    }

    .wide-chart {
      grid-column: 1 / -1;
      padding: 26px;
      border-radius: 26px;
      background: rgba(255,255,255,0.035);
      border: 1px solid rgba(255,255,255,0.06);
      position: relative;
      overflow: hidden;
    }

    .wide-chart h3 {
      font-size: 18px;
      font-weight: 500;
      letter-spacing: -0.03em;
    }

    .wide-chart p {
      margin-top: 6px;
      max-width: 420px;
      color: rgba(255,255,255,0.45);
      font-size: 12px;
      line-height: 1.5;
    }

    .bars-row {
      margin-top: 26px;
      height: 150px;
      display: flex;
      align-items: stretch;
      justify-content: space-between;
      gap: 16px;
    }

    .chart-column {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      gap: 8px;
      height: 100%;
    }

    .chart-column i {
      display: block;
      width: 100%;
      max-width: 52px;
      border-radius: 10px 10px 4px 4px;
      background: linear-gradient(180deg, var(--vivid-green-2), var(--vivid-green));
      box-shadow: 0 0 26px rgba(47, 230, 160, 0.4);
      transform-origin: bottom;
      animation: barLoad 2.2s ease-in-out infinite;
      transition: filter 220ms ease;
    }

    .chart-column i.neg {
      background: linear-gradient(180deg, var(--vivid-red-2), var(--vivid-red));
      box-shadow: 0 0 26px rgba(255, 77, 106, 0.4);
    }

    .chart-column i:hover {
      filter: brightness(1.25);
    }

    .chart-column span {
      font-size: 10px;
      color: rgba(255,255,255,0.38);
    }

    .chart-column b {
      font-size: 10.5px;
      color: var(--vivid-green);
      font-weight: 600;
    }

    .chart-column.neg b {
      color: var(--vivid-red);
    }

    .logo-strip {
      margin-top: 28px;
      padding: 20px 26px;
      border-radius: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      background: rgba(255,255,255,0.025);
      border: 1px solid rgba(255,255,255,0.045);
      color: rgba(255,255,255,0.36);
      font-size: 13px;
    }

    .logo-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }

    .logo-item::before {
      content: "";
      width: 16px;
      height: 16px;
      border-radius: 5px;
      background:
        linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.08));
      opacity: 0.5;
    }

    footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 30px 4px 10px;
      color: rgba(255,255,255,0.36);
      font-size: 11px;
    }

    .footer-links {
      display: flex;
      gap: 18px;
    }

    .socials {
      display: flex;
      gap: 8px;
    }

    .socials a {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      display: grid;
      place-items: center;
      background: rgba(255,255,255,0.055);
      border: 1px solid rgba(255,255,255,0.065);
      color: rgba(255,255,255,0.68);
      font-size: 11px;
    }

    .reveal {
      opacity: 0;
      transform: translateY(18px);
      animation: reveal 800ms ease forwards;
    }

    .delay-1 { animation-delay: 120ms; }
    .delay-2 { animation-delay: 240ms; }
    .delay-3 { animation-delay: 360ms; }

    @keyframes reveal {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 1180px) {
      .hero-grid,
      .data-section {
        grid-template-columns: 1fr;
      }

      .right-stack {
        grid-template-rows: auto auto;
      }

      .hero-content {
        min-height: 440px;
      }

      .insight-cards {
        flex: none;
      }
    }

    @media (max-width: 820px) {
      .page {
        padding: 22px;
      }

      .topbar {
        position: relative;
        top: 0;
        flex-wrap: wrap;
      }

      /* nav visible en móvil: píldora compacta y centrada (como en PC) */
      .nav-pill {
        order: 3;
        width: fit-content;
        max-width: 100%;
        margin: 0 auto;
        overflow-x: auto;
        justify-content: center;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }

      .nav-pill::-webkit-scrollbar {
        display: none;
      }

      .nav-pill a {
        flex-shrink: 0;
        white-space: nowrap;
      }

      .hero-main,
      .insights-panel,
      .product-panel,
      .feature-panel,
      .analytics-panel,
      .curve-panel {
        border-radius: 28px;
        padding: 26px;
      }

      .hero-content {
        min-height: 400px;
        padding-bottom: 48px;
      }

      .hero-footer-line {
        left: 26px;
        right: 26px;
        bottom: 20px;
      }

      .insight-cards,
      .product-panel,
      .analytics-grid {
        grid-template-columns: 1fr;
      }

      .mini-card {
        min-height: 220px;
      }

      /* transacciones en flujo dentro de la wallet para no montarse */
      .transaction {
        position: relative;
        inset: auto !important;
        margin-top: 12px !important;
        min-width: 0;
        width: 100% !important;
        transform: none !important;
      }

      .wallet-card {
        min-height: unset;
      }

      .curve-head {
        flex-direction: column;
      }

      .bars-row {
        gap: 8px;
        height: 130px;
      }

      .feature-header {
        display: block;
      }

      .feature-header p {
        margin-top: 14px;
      }

      .logo-strip {
        flex-wrap: wrap;
        justify-content: flex-start;
      }

      footer {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (max-width: 520px) {
      .page {
        padding: 14px;
      }

      h1 {
        font-size: 40px;
      }

      .panel-title {
        font-size: 28px;
      }

      .feature-header h2,
      .curve-title {
        font-size: 30px;
      }

      .hero-content {
        min-height: 360px;
      }

      .hero-actions {
        flex-direction: column;
        width: 100%;
      }

      .btn {
        width: 100%;
      }

      .floating-node {
        display: none;
      }

      .wallet-score {
        font-size: 44px;
      }

      .radial {
        width: 195px;
        height: 195px;
      }

      .radial::before { inset: 22px; }
      .radial::after { inset: 60px; }

      .radial-center strong { font-size: 28px; }

      .bar-chart {
        gap: 5px;
      }

      .bar-col {
        width: 30px;
      }

      .bars-row {
        gap: 6px;
        height: 120px;
      }

      .chart-column b {
        font-size: 9px;
      }

      .chart-column span {
        font-size: 8.5px;
      }

      .pre-counter b {
        font-size: 64px;
      }
    }


    /* =========================================================
   OVERRIDE — HERO PRESENTATIVO FULL SCREEN + CARDS ABAJO
   Pegar al final del CSS, antes de </style>
   ========================================================= */

/* El bloque principal deja de estar dividido en 2 columnas */
.hero-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 28px !important;
  align-items: stretch !important;
  min-height: auto !important;
}

/* El prime box / hero ocupa la primera pantalla */
.hero-main {
  width: 100% !important;
  min-height: calc(100svh - 150px) !important;
  display: flex !important;
  flex-direction: column !important;
}

/* El contenido del hero queda centrado y respirando */
.hero-content {
  flex: 1 !important;
  min-height: auto !important;
  padding-bottom: 72px !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

/* Hacemos el hero más presentativo y premium */
.hero-content h1,
.hero-content [data-hero-title] {
  max-width: 980px !important;
  font-size: clamp(48px, 7vw, 96px) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.07em !important;
}

.hero-subtitle,
[data-hero-subtitle] {
  max-width: 760px !important;
  font-size: clamp(14px, 1.2vw, 17px) !important;
}

/* Las cajas que antes estaban al costado pasan abajo */
.right-stack {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: none !important;
  gap: 28px !important;
  min-width: 0 !important;
  align-items: stretch !important;
}

/* Ambas cajas de abajo quedan con buena presencia */
.insights-panel,
.product-panel {
  min-height: 520px !important;
}

/* Ajustamos las cards internas para que respiren mejor */
.insight-cards {
  grid-template-columns: 1fr 1fr !important;
  align-items: stretch !important;
}

.mini-card {
  min-height: 250px !important;
}

/* El panel circular queda bien centrado dentro de su caja */
.product-panel {
  grid-template-columns: 1fr 1fr !important;
}

.radial-module {
  min-height: 320px !important;
}

/* Desktop mediano: hero full primero, cards una debajo de otra */
@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-main {
    min-height: calc(100svh - 125px) !important;
  }

  .right-stack {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
  }

  .insights-panel,
  .product-panel {
    min-height: auto !important;
  }

  .product-panel {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Tablet: conserva la portada primero y todo lo demás abajo */
@media (max-width: 820px) {
  .hero-grid {
    gap: 22px !important;
  }

  .hero-main {
    /* descuenta padding de página + topbar (2 filas con el nav) + margen */
    min-height: calc(100svh - 175px) !important;
    padding: 28px !important;
  }

  .hero-content {
    min-height: auto !important;
    padding-bottom: 78px !important;
  }

  .hero-content h1,
  .hero-content [data-hero-title] {
    font-size: clamp(42px, 10vw, 68px) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.06em !important;
  }

  .hero-subtitle,
  [data-hero-subtitle] {
    max-width: 620px !important;
    font-size: 14px !important;
  }

  .right-stack {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .insight-cards,
  .product-panel {
    grid-template-columns: 1fr !important;
  }

  .mini-card {
    min-height: 220px !important;
  }

  .product-panel {
    min-height: auto !important;
  }

  .radial-module {
    min-height: 260px !important;
  }

  .hero-footer-line {
    left: 26px !important;
    right: 26px !important;
    bottom: 22px !important;
  }
}

/* Mobile: primera pantalla limpia, sin elementos flotantes molestando */
@media (max-width: 520px) {
  .page {
    padding: 14px !important;
  }

  .hero-main {
    /* la caja completa entra en la primera pantalla, borde inferior visible */
    min-height: calc(100svh - 190px) !important;
    padding: 24px !important;
    border-radius: 28px !important;
  }

  /* pequeño respiro entre el hero y las cajas de abajo */
  .hero-grid {
    gap: 20px !important;
  }

  .hero-content {
    padding-bottom: 86px !important;
  }

  .hero-content h1,
  .hero-content [data-hero-title] {
    font-size: clamp(38px, 13vw, 54px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.055em !important;
  }

  .hero-subtitle,
  [data-hero-subtitle] {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .hero-actions {
    width: 100% !important;
    flex-direction: column !important;
  }

  .hero-actions .btn {
    width: 100% !important;
  }

  .floating-node {
    display: none !important;
  }

  .hero-footer-line {
    left: 22px !important;
    right: 22px !important;
    bottom: 20px !important;
    gap: 12px !important;
  }

  .hero-footer-line > p {
    display: none !important;
  }

  .right-stack {
    gap: 18px !important;
  }

  .insights-panel,
  .product-panel {
    padding: 24px !important;
    border-radius: 28px !important;
  }

  .insight-cards {
    gap: 14px !important;
  }

  .mini-card {
    min-height: 210px !important;
  }
}

/* Mobile muy pequeño */
@media (max-width: 380px) {
  .hero-content h1,
  .hero-content [data-hero-title] {
    font-size: 36px !important;
  }

  .hero-subtitle,
  [data-hero-subtitle] {
    font-size: 12.5px !important;
  }

  .eyebrow {
    font-size: 10.5px !important;
  }
}

/* =========================================================
   LOGO COMO IMAGEN — reemplaza el círculo por imagen
   ========================================================= */

.brand-mark,
.pre-mark {
  display: none !important;
}

/* Logo del header */
.brand-logo {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  filter:
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.18))
    drop-shadow(0 0 28px rgba(47, 230, 160, 0.12));
}

/* Logo del preloader */
.pre-logo {
  width: 46px;
  height: 46px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  filter:
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.22))
    drop-shadow(0 0 36px rgba(47, 230, 160, 0.18));
  animation: logoBreath 2.4s ease-in-out infinite;
}

@keyframes logoBreath {
  0%, 100% {
    transform: scale(1);
    opacity: 0.92;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

/* Si tu logo es horizontal, usa esto */
.brand-logo.is-wide {
  width: 120px;
  height: 34px;
  border-radius: 0;
}

.pre-logo.is-wide {
  width: 150px;
  height: 42px;
  border-radius: 0;
}

/* Responsive */
@media (max-width: 520px) {
  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .pre-logo {
    width: 42px;
    height: 42px;
  }
}

/* Quitar sombra / glow del logo */
.brand-logo,
.pre-logo {
  filter: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border: none !important;
}

/* Logo limpio en el header */
.brand-logo {
  width: 34px !important;
  height: 34px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Logo limpio en el preloader */
.pre-logo {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
  display: block !important;
}

html {
  scroll-behavior: smooth;
}

#curva-rendimiento {
  scroll-margin-top: 110px;
}
/* ---------- Animación del logo en el preloader ---------- */
.pre-logo-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* anillo giratorio con la paleta del sitio */
.pre-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    var(--vivid-green) 25%,
    var(--vivid-cyan) 45%,
    var(--vivid-violet) 60%,
    transparent 75%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: preRingSpin 1.6s linear infinite;
}

/* halo que respira detrás del logo */
.pre-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 230, 160, 0.22), transparent 65%);
  z-index: -1;
  animation: preHaloPulse 2.4s ease-in-out infinite;
}

@keyframes preRingSpin {
  to { transform: rotate(360deg); }
}

@keyframes preHaloPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* entrada del logo: pop suave + respiración continua */
.preloader .pre-logo {
  width: 44px !important;
  height: 44px !important;
  animation:
    preLogoIn 850ms cubic-bezier(0.22, 1, 0.36, 1) both,
    logoBreath 2.4s ease-in-out 850ms infinite;
}

@keyframes preLogoIn {
  0% {
    opacity: 0;
    transform: scale(0.45) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.1) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* respetar reduced motion también en el logo */
@media (prefers-reduced-motion: reduce) {
  .pre-logo-wrap::before,
  .pre-logo-wrap::after,
  .preloader .pre-logo {
    animation: none !important;
  }
}

@media (max-width: 520px) {
  .pre-logo-wrap {
    width: 54px;
    height: 54px;
  }

  .preloader .pre-logo {
    width: 36px !important;
    height: 36px !important;
  }
}

/* ---------- Chips alineados en cuadrícula en móvil ---------- */
@media (max-width: 640px) {
  .chips {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .chip {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 11px 13px !important;
    white-space: nowrap !important;
  }
}

/* pantallas muy angostas: una sola columna para que nada se corte */
@media (max-width: 360px) {
  .chips {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Logo strip alineado en cuadrícula en móvil ---------- */
@media (max-width: 640px) {
  .logo-strip {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px 14px !important;
    justify-items: start !important;
    align-items: center !important;
    padding: 22px 20px !important;
  }

  .logo-item {
    white-space: normal !important;
    font-size: 12px !important;
  }
}

/* pantallas muy angostas: una sola columna, todo alineado */
@media (max-width: 380px) {
  .logo-strip {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}