/*
Theme Name: HyperLiquidCard
Theme URI: https://hyperliquidcard.com
Author: You
Description: Single-page fintech-style landing for HyperLiquidCard.
Version: 1.1
Text Domain: hyperliquidcard
*/

/* =============== BASE =============== */

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

html,
body {
  margin: 0;
  padding: 0;
}

body.hl-body {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #031621 0, #020912 45%, #020611 100%);
  color: #e6f4ff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
}

/* Layout */

.hl-page {
  min-height: 100vh;
}

.hl-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.hl-section {
  padding: 96px 0;
}

.hl-section-tight {
  padding: 72px 0 80px;
}

/* Typography */

.hl-kicker {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 11px;
  color: #7a8bff;
  margin-bottom: 12px;
}

.hl-title {
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
}

.hl-subtitle {
  margin: 0;
  max-width: 640px;
  color: #9fb4d9;
  font-size: 15px;
  line-height: 1.6;
}

/* =============== HEADER =============== */

.hl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(3, 10, 24, 0.9), rgba(3, 10, 24, 0.76));
  border-bottom: 1px solid rgba(77, 112, 151, 0.28);
}

.hl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo – square with inner white circle */

.hl-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hl-logo-symbol {
  width: 32px;
  height: 32px;
  border-radius: 12px; /* cuadrado redondeado */
  background: radial-gradient(circle at 20% 10%, #00f5a0 0, #00c9d4 30%, #006dff 80%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 10px 22px rgba(0, 0, 0, 0.6);
  position: relative;
}

.hl-logo-symbol::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 999px; /* círculo blanco dentro */
  background: #ffffff;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.65),
    0 0 0 1px rgba(0, 0, 0, 0.4);
}

.hl-logo-symbol--small {
  width: 24px;
  height: 24px;
  border-radius: 9px;
}

.hl-logo-symbol--small::after {
  inset: 5px;
  border-radius: 999px;
}

.hl-logo-text-block {
  display: flex;
  flex-direction: column;
}

.hl-logo-title {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hl-logo-subtitle {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7fa1c7;
}

/* Nav */

.hl-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hl-nav-link {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fb4d9;
  position: relative;
}

.hl-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00f5a0, #00c4ff);
  transition: width 0.2s ease-out;
}

.hl-nav-link:hover::after {
  width: 100%;
}

/* =============== BUTTONS =============== */

.hl-btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(123, 161, 214, 0.28);
  background: transparent;
  color: #e6f4ff;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.hl-btn:hover {
  border-color: rgba(0, 244, 176, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 244, 176, 0.18);
}

.hl-btn-nav {
  padding: 11px 26px;
  background: radial-gradient(circle at 10% 0, #00f5a0 0, #00c4ff 38%, #0070ff 100%);
  border-color: transparent;
  color: #020711;
  font-weight: 600;
  box-shadow:
    0 12px 30px rgba(0, 196, 255, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.6);
}

.hl-btn-nav:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 32px rgba(0, 196, 255, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.8);
}

.hl-btn-primary {
  padding-inline: 32px;
  background: radial-gradient(circle at 10% 0, #00f5a0 0, #00c4ff 38%, #0070ff 100%);
  border-color: transparent;
  color: #020711;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(0, 196, 255, 0.48);
}

.hl-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 196, 255, 0.6);
}

.hl-btn-ghost {
  background: transparent;
  color: #c4d9ff;
  padding-inline: 22px;
}

.hl-btn-ghost:hover {
  background: rgba(8, 26, 55, 0.9);
}

.hl-btn-small {
  padding: 7px 14px;
  font-size: 11px;
}

/* =============== HERO =============== */

.hl-hero {
  padding-top: 88px;
  padding-bottom: 64px;
}

.hl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.hl-pill-header {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(123, 161, 214, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fb4d9;
  margin-bottom: 18px;
  background: radial-gradient(circle at 0 0, rgba(0, 246, 160, 0.18), rgba(3, 13, 32, 0.95));
}

.hl-hero-title {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}

.hl-highlight {
  color: #00f5a0;
  text-shadow: 0 0 24px rgba(0, 244, 176, 0.9);
}

.hl-hero-subtitle {
  margin: 0 0 22px;
  max-width: 520px;
  color: #9fb4d9;
  font-size: 15px;
  line-height: 1.7;
}

.hl-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hl-badge-pill {
  padding: 6px 11px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, rgba(0, 244, 176, 0.13), rgba(6, 17, 39, 0.96));
  border: 1px solid rgba(123, 161, 214, 0.6);
  font-size: 11px;
  color: #c2d6ff;
}

.hl-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hl-hero-meta {
  font-size: 12px;
  color: #8aa5d0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 26px;
}

.hl-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hl-hero-meta-icon {
  font-size: 14px;
}

/* Stats */

.hl-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hl-stat-card {
  flex: 1 1 170px;
  min-width: 0;
  border-radius: 18px;
  padding: 12px 16px 14px;
  background: radial-gradient(circle at 0 0, rgba(0, 244, 176, 0.16), rgba(3, 15, 34, 0.98));
  border: 1px solid rgba(81, 119, 187, 0.7);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
  font-size: 11px;
}

.hl-stat-label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7fa1c7;
  margin-bottom: 4px;
}

.hl-stat-value {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.hl-stat-caption {
  color: #8da4c7;
  line-height: 1.4;
}

/* Hero card – realistic ratio and MC logo */

.hl-hero-right {
  display: flex;
  justify-content: flex-end;
}

.hl-card-hero {
  width: 380px;
  max-width: 100%;
  aspect-ratio: 1.586; /* formato tarjeta 85.6x54mm */
  border-radius: 26px;
  padding: 22px 22px 26px;
  background: linear-gradient(135deg, #00f5a0 0, #00c4ff 33%, #006dff 85%);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(7, 17, 38, 0.6);
  position: relative;
  overflow: hidden;
}

.hl-card-hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 10% 0, rgba(0, 249, 190, 0.26), transparent 60%);
  opacity: 0.5;
}

.hl-card-hero > * {
  position: relative;
  z-index: 1;
}

.hl-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.hl-card-header-row--pricing {
  margin-bottom: 14px;
}

.hl-card-brand-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hl-card-brand-name {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e6f4ff;
}

.hl-card-brand-network {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hl-card-number {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0.25em;
  font-size: 15px;
  margin-bottom: 20px;
}

.hl-card-number--small {
  letter-spacing: 0.22em;
  font-size: 14px;
}

.hl-card-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4px;
}

.hl-card-row--pricing {
  margin-bottom: 4px;
}

.hl-card-column {
  min-width: 0;
}

.hl-card-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 247, 255, 0.92);
}

.hl-card-value {
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}

/* Mastercard-style logo (proporciones) */

.hl-card-mc {
  position: absolute;
  right: 24px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
}

.hl-card-mc--small {
  position: absolute;
  right: 18px;
  bottom: 14px;
}

.hl-card-mc-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.hl-card-mc-circle--left {
  background: #eb001b; /* rojo mastercard */
}

.hl-card-mc-circle--right {
  margin-left: -10px;
  background: #f79e1b; /* amarillo/naranja mastercard */
}

/* texto "mastercard" simulado al lado de los círculos */
.hl-card-mc::after {
  content: "mastercard";
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.hl-pricing-card--silver .hl-card-mc::after,
.hl-pricing-card--silver .hl-card-mc--small::after {
  color: #141824;
}

.hl-pricing-card--gold .hl-card-mc::after,
.hl-pricing-card--gold .hl-card-mc--small::after {
  color: #2b1e08;
}

/* =============== PARTNERS MARQUEE =============== */

.hl-partners {
  padding: 40px 0 60px;
}

.hl-partners-header .hl-shell {
  margin-bottom: 20px;
}

.hl-partners-title {
  font-size: 22px;
  margin: 0;
}

.hl-partners-strip {
  width: 100%;
  overflow: hidden;
  padding-block: 24px;
  background: radial-gradient(circle at 0 0, rgba(0, 244, 176, 0.12), rgba(2, 11, 28, 0.96));
  border-top: 1px solid rgba(62, 100, 157, 0.7);
  border-bottom: 1px solid rgba(62, 100, 157, 0.7);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.9);
}

.hl-partners-track {
  display: flex;
  gap: 28px;
  animation: hl-marquee 32s linear infinite;
  will-change: transform;
}

.hl-partner-card {
  flex: 0 0 210px;
  height: 120px;
  background: #ecf0f4;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333b4a;
  font-size: 18px;
  font-weight: 600;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(0, 0, 0, 0.03);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hl-partner-card--proton {
  background: #111827;
  color: #8be9d5;
}

@keyframes hl-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =============== HOW IT WORKS =============== */

.hl-section-header {
  margin-bottom: 32px;
}

.hl-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hl-step-card {
  border-radius: 20px;
  padding: 20px 20px 22px;
  background: radial-gradient(circle at 0 0, rgba(0, 244, 176, 0.16), rgba(3, 13, 32, 0.98));
  border: 1px solid rgba(75, 119, 188, 0.7);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

.hl-step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 0 0, #00f5a0, #00c4ff);
  color: #021019;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.hl-step-title {
  font-size: 15px;
  margin: 0 0 8px;
}

.hl-step-text {
  margin: 0;
  font-size: 13px;
  color: #9fb4d9;
  line-height: 1.6;
}

/* =============== PRICING =============== */

.hl-section-pricing {
  padding-top: 72px;
  padding-bottom: 88px;
}

.hl-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.hl-pricing-tier {
  border-radius: 24px;
  padding: 18px 18px 22px;
  background: radial-gradient(circle at 0 0, rgba(0, 244, 176, 0.12), rgba(3, 14, 33, 0.98));
  border: 1px solid rgba(79, 119, 188, 0.7);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  position: relative;
}

.hl-pricing-tier--highlight {
  box-shadow:
    0 26px 60px rgba(0, 196, 255, 0.85),
    0 0 0 1px rgba(0, 196, 255, 0.4);
  border-color: rgba(0, 196, 255, 0.9);
}

.hl-pricing-header {
  margin-bottom: 14px;
}

.hl-pricing-name {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 4px;
}

.hl-pricing-label {
  font-size: 12px;
  color: #8aa5d0;
}

/* Cards for tiers – realistic ratio */

.hl-pricing-card {
  border-radius: 18px;
  padding: 16px 18px 36px;
  margin-bottom: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  position: relative;
  aspect-ratio: 1.586; /* mismas proporciones que una tarjeta */
  overflow: hidden;
}

/* BASIC – black */

.hl-pricing-card--basic {
  background: linear-gradient(135deg, #050608 0, #151722 50%, #242838 100%);
}

/* SILVER – silver/steel */

.hl-pricing-card--silver {
  background: linear-gradient(135deg, #f7f8fb 0, #d5d9e3 40%, #8d94a4 100%);
  color: #050816;
}

.hl-pricing-card--silver .hl-card-label {
  color: #1b2232;
}

/* GOLD – gold (no orange plano) */

.hl-pricing-card--gold {
  background: linear-gradient(135deg, #fbeaa2 0, #f4cc61 40%, #c89423 100%);
  color: #251707;
}

.hl-pricing-card--gold .hl-card-label {
  color: #3a2911;
}

/* Price */

.hl-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.hl-price-main {
  font-size: 22px;
  font-weight: 600;
}

.hl-price-note {
  font-size: 11px;
  color: #8aa5d0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hl-price-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 13px;
  color: #9fb4d9;
}

.hl-price-bullets li {
  margin-bottom: 6px;
}

/* =============== SECURITY =============== */

.hl-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hl-security-card {
  border-radius: 20px;
  padding: 18px 18px 20px;
  background: radial-gradient(circle at 0 0, rgba(0, 244, 176, 0.12), rgba(3, 12, 31, 0.98));
  border: 1px solid rgba(79, 119, 188, 0.7);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.82);
}

.hl-security-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.hl-security-card p {
  margin: 0;
  font-size: 13px;
  color: #9fb4d9;
  line-height: 1.6;
}

.hl-proton-inline {
  font-weight: 600;
  color: #8be9d5;
}

/* =============== FOOTER =============== */

.hl-footer {
  border-top: 1px solid rgba(70, 104, 158, 0.65);
  padding: 20px 0 22px;
  background: radial-gradient(circle at 0 0, rgba(0, 244, 176, 0.07), rgba(0, 5, 16, 0.95));
  margin-top: 40px;
}

.hl-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #8aa5d0;
}

.hl-footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hl-footer-brand {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* =============== MODAL =============== */

.hl-modal-open {
  overflow: hidden;
}

.hl-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 5, 18, 0.92);
  backdrop-filter: blur(14px);
  z-index: 500;
}

.hl-modal-overlay.is-visible {
  display: flex;
}

.hl-modal {
  position: relative;
  width: min(480px, 92vw);
  border-radius: 24px;
  padding: 22px 22px 20px;
  background: radial-gradient(circle at 0 0, rgba(0, 244, 176, 0.24), rgba(3, 13, 31, 0.98));
  border: 1px solid rgba(74, 120, 188, 0.85);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.95);
}

.hl-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #9fb4d9;
  font-size: 20px;
  cursor: pointer;
}

.hl-modal-title {
  margin: 4px 0 8px;
  font-size: 20px;
}

.hl-modal-subtitle {
  margin: 0 0 16px;
  font-size: 13px;
  color: #9fb4d9;
  line-height: 1.6;
}

.hl-modal-qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.hl-modal-qr {
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.5);
}

.hl-modal-link-block {
  margin-bottom: 14px;
}

.hl-modal-link-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7fa1c7;
  display: block;
  margin-bottom: 6px;
}

.hl-modal-link-row {
  display: flex;
  gap: 8px;
}

.hl-modal-link-input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(96, 133, 190, 0.9);
  background: rgba(2, 9, 20, 0.95);
  color: #e6f4ff;
  padding: 8px 12px;
  font-size: 12px;
}

.hl-modal-footnote {
  font-size: 11px;
  color: #7f96c0;
  line-height: 1.5;
}

/* =============== RESPONSIVE =============== */

@media (max-width: 1024px) {
  .hl-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hl-hero-right {
    justify-content: flex-start;
  }

  .hl-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hl-security-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hl-shell {
    padding-inline: 20px;
  }

  .hl-header-inner {
    flex-wrap: wrap;
    gap: 12px;
    height: auto;
    padding-block: 10px;
  }

  .hl-nav {
    width: 100%;
    justify-content: flex-end;
  }

  .hl-section {
    padding: 72px 0;
  }

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

  .hl-pricing-grid {
    grid-template-columns: 1fr;
  }

  .hl-partners-track {
    animation-duration: 40s;
  }

  .hl-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hl-hero-title {
    font-size: 30px;
  }

  .hl-card-hero {
    width: 100%;
  }

  .hl-stat-card {
    flex: 1 1 100%;
  }
}
