:root {
  --bg: #050814;
  --surface: #0a1020;
  --surface-2: #0e172b;
  --surface-3: #121e35;
  --text: #f7f9fc;
  --muted: #9eabc1;
  --line: rgba(255, 255, 255, 0.1);
  --primary: #7c5cff;
  --primary-2: #35bdf6;
  --success: #49d39a;
  --gold: #ffbf4d;
  --danger: #ff6b7a;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% -5%, rgba(124, 92, 255, 0.28), transparent 31%),
    radial-gradient(circle at 92% 4%, rgba(53, 189, 246, 0.2), transparent 27%),
    linear-gradient(180deg, #060915 0%, #050814 100%);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* NAVIGATION */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 20, 0.78);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.3px;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 34px rgba(124, 92, 255, 0.38);
}

.logo svg {
  width: 23px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links > a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: #fff;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4d91ff);
  box-shadow: 0 16px 38px rgba(124, 92, 255, 0.28);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.btn-secondary:hover {
  border-color: rgba(124, 92, 255, 0.48);
  background: rgba(124, 92, 255, 0.09);
}

.btn-gold {
  color: #151006;
  background: linear-gradient(135deg, #ffd875, var(--gold));
  box-shadow: 0 16px 38px rgba(255, 191, 77, 0.22);
}

.btn-compact {
  padding: 10px 16px;
}

.btn-full {
  width: 100%;
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 90px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -180px;
  width: 720px;
  height: 320px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.13);
  filter: blur(90px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 68px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(73, 211, 154, 0.28);
  border-radius: 999px;
  color: #baf4da;
  background: rgba(73, 211, 154, 0.08);
  font-size: 13px;
  font-weight: 800;
}

h1 {
  max-width: 780px;
  margin: 22px 0 24px;
  font-size: clamp(48px, 7vw, 78px);
  line-height: 1.01;
  letter-spacing: -3.4px;
}

.gradient-text {
  display: block;
  background: linear-gradient(90deg, #fff 10%, #b7aaff 52%, #7ed9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.actions-center {
  justify-content: center;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: #8290a8;
  font-size: 13px;
  font-weight: 700;
}

.hero-points span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--success);
}

/* PLATFORM CARD */

.platform-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(5, 8, 20, 0.72);
  box-shadow: var(--shadow);
}

.platform-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.platform-topline small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.platform-topline strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.status {
  white-space: nowrap;
  color: #a9f2d2;
  font-size: 12px;
  font-weight: 850;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(180deg, var(--surface-2), rgba(14, 23, 43, 0.72));
}

.metric-wide {
  grid-column: 1 / -1;
}

.metric small {
  color: var(--muted);
}

.metric strong {
  display: block;
  margin-top: 5px;
  font-size: 19px;
  line-height: 1.25;
}

.platform-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(73, 211, 154, 0.14);
  border-radius: 16px;
  background: rgba(73, 211, 154, 0.06);
}

.platform-footer span {
  color: var(--muted);
  font-size: 13px;
}

.platform-footer strong {
  color: #a9f2d2;
  font-size: 13px;
}

/* SECTIONS */

.section {
  padding: 88px 0;
}

.section-tight {
  padding-top: 72px;
}

.section-surface {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.025),
    rgba(255, 255, 255, 0.012)
  );
}

.section-head {
  max-width: 780px;
  margin-bottom: 40px;
}

.split-head {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: 50px;
}

.eyebrow {
  color: #9c8bff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

h2 {
  margin: 10px 0 16px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.sub {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

/* PRODUCT CARDS */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.022)
  );
}

.product-card.featured {
  border-color: rgba(124, 92, 255, 0.42);
  box-shadow: 0 24px 70px rgba(63, 42, 131, 0.18);
}

.product-card.gold {
  border-color: rgba(255, 191, 77, 0.42);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 191, 77, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
}

.product-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(124, 92, 255, 0.32);
  border-radius: 999px;
  color: #c4baff;
  background: rgba(124, 92, 255, 0.1);
  font-size: 11px;
  font-weight: 850;
}

.product-badge-gold {
  border-color: rgba(255, 191, 77, 0.32);
  color: #ffe1a1;
  background: rgba(255, 191, 77, 0.09);
}

.product-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(124, 92, 255, 0.24);
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(124, 92, 255, 0.25),
    rgba(53, 189, 246, 0.14)
  );
  color: #fff;
  font-weight: 900;
}

.product-heading h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.product-heading p {
  min-height: 76px;
  margin: 0;
  color: var(--muted);
}

.feature-list {
  flex: 1;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  color: #dfe6f1;
  font-size: 14px;
}

.feature-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 18px;
}

.pricing-row > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
}

.pricing-row span,
.pricing-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.pricing-row strong {
  display: block;
  margin: 2px 0;
  font-size: 25px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-actions .btn {
  flex: 1;
  min-width: 145px;
  padding-inline: 14px;
}

/* COMPARISON TABLE */

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.comparison-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  color: #c7d0df;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.comparison-table td {
  color: var(--muted);
}

.comparison-table td:first-child {
  color: #fff;
  font-weight: 800;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.table-note {
  margin: 14px 0 0;
  color: #8290a8;
  font-size: 13px;
}

/* LICENSING */

.trust-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.trust-cards {
  display: grid;
  gap: 14px;
}

.trust-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.028);
}

.trust-card > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #bfb5ff;
  background: rgba(124, 92, 255, 0.13);
  font-size: 12px;
  font-weight: 900;
}

.trust-card h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
}

/* PURCHASE FLOW */

.purchase-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 48px;
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 189, 246, 0.13), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(124, 92, 255, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.025);
}

.purchase-flow h2 {
  max-width: 760px;
}

.flow-actions {
  display: flex;
  min-width: 250px;
  flex-direction: column;
  gap: 12px;
}

/* FAQ */

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin-bottom: 0;
  color: var(--muted);
}

/* CTA */

.cta {
  padding: 58px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.24), transparent 48%),
    rgba(255, 255, 255, 0.03);
}

/* FOOTER */

footer {
  padding: 44px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-brand {
  color: #fff;
}

.footer-grid p {
  margin: 14px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #718098;
  font-size: 12px;
}

/* LEGAL PAGES */

.legal {
  padding: 70px 0;
}

.legal article {
  max-width: 860px;
}

.legal h1 {
  font-size: 46px;
  letter-spacing: -2px;
}

.legal h2 {
  margin-top: 36px;
  font-size: 28px;
  letter-spacing: -0.7px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.alert {
  padding: 18px;
  border: 1px solid rgba(255, 190, 92, 0.22);
  border-radius: 16px;
  color: #f4d7a1;
  background: rgba(255, 190, 92, 0.08);
}

/* MODAL */

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 92, 255, 0.18), transparent 32%),
    #0a1020;
  box-shadow: var(--shadow);
}

.modal-dialog h2 {
  margin-bottom: 14px;
  font-size: 36px;
}

.modal-dialog > p {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  font-size: 25px;
  cursor: pointer;
}

.modal-steps {
  margin: 24px 0;
  padding-left: 22px;
  color: #dfe6f1;
}

.modal-steps li {
  padding: 5px 0;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* RESPONSIVE */

@media (max-width: 1040px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-head {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 82px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #0a1020;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .purchase-flow {
    align-items: flex-start;
    flex-direction: column;
  }

  .flow-actions {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .hero {
    padding: 70px 0 64px;
  }

  h1 {
    font-size: 44px;
    letter-spacing: -2.5px;
  }

  .lead {
    font-size: 17px;
  }

  .platform-grid,
  .product-grid,
  .faq {
    grid-template-columns: 1fr;
  }

  .metric-wide {
    grid-column: auto;
  }

  .product-heading p {
    min-height: auto;
  }

  .section {
    padding: 68px 0;
  }

  .purchase-flow,
  .cta {
    padding: 30px 22px;
  }

  .product-actions,
  .modal-actions {
    flex-direction: column;
  }

  .modal-dialog {
    padding: 28px 22px;
  }
}


/* KRONOS NEXUS (Kalshi, en la nube) */

.product-card.kronos-card {
  border-color: rgba(53, 189, 246, 0.38);
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 189, 246, 0.16), transparent 45%),
    var(--surface);
}

.product-badge-kronos {
  color: #04121a;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.kronos-icon {
  background: linear-gradient(135deg, rgba(53, 189, 246, 0.25), rgba(124, 92, 255, 0.25));
  color: #dff6ff;
}

.kronos-shell {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
  padding: 48px;
  border: 1px solid rgba(53, 189, 246, 0.24);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 0% 0%, rgba(53, 189, 246, 0.14), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(124, 92, 255, 0.16), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow);
}

.kronos-copy h2 {
  margin: 10px 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -1.5px;
}

.kronos-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.kronos-steps > div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}

.kronos-steps b {
  color: var(--primary-2);
  font-size: 12px;
  letter-spacing: 2px;
}

.kronos-steps strong {
  font-size: 15px;
}

.kronos-steps span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.kronos-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.kronos-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.kronos-top small,
.kronos-markets small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.kronos-markets {
  display: grid;
  gap: 10px;
}

.kronos-markets > div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--k);
  border-radius: 14px;
  background: var(--surface-3);
}

.kronos-markets strong {
  letter-spacing: 1px;
}

.kronos-markets em {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.kronos-fee {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 10px;
  margin: 14px 0 6px;
}

.kronos-fee > div {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(53, 189, 246, 0.08);
  border: 1px solid rgba(53, 189, 246, 0.25);
}

.kronos-fee span,
.kronos-fee small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.kronos-fee strong {
  display: block;
  font-size: 28px;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .kronos-shell {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .kronos-steps {
    grid-template-columns: 1fr;
  }
}
