/* ============================================================
   NovaCard — Estilo inspirado en trustwallet.com/es (modo claro)
   Paleta: fondo blanco, azul #3375BB, acentos cyan
   Tipografía: Inter
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-elevated: #F4F8FC;
  --card: #FFFFFF;
  --border: rgba(10, 30, 55, 0.1);
  --text: #0A1420;
  --text-muted: #5A6B7F;
  --blue: #3375BB;
  --blue-bright: #4A90E2;
  --cyan: #1E9BF0;
  --green: #26A17B;
  --radius: 20px;
  --radius-lg: 28px;
  --header-h: 72px;
  --shadow-sm: 0 2px 12px rgba(10, 30, 55, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 30, 55, 0.1);
  --shadow-lg: 0 30px 60px rgba(10, 30, 55, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 760px; }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Texto con gradiente ---------- */
.text-grad {
  background: linear-gradient(92deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-muted { color: var(--text-muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 12px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #fff;
  box-shadow: 0 8px 24px rgba(51, 117, 187, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(51, 117, 187, 0.42);
}
.btn-ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--bg-elevated); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(51, 117, 187, 0.07);
  border: 1px solid rgba(51, 117, 187, 0.22);
  padding: 7px 16px;
  border-radius: 999px;
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(51, 117, 187, 0.6);
  animation: pulse 2s infinite;
}
.pill--green {
  color: var(--green);
  background: rgba(38, 161, 123, 0.08);
  border-color: rgba(38, 161, 123, 0.3);
}
@keyframes pulse { 50% { opacity: 0.4; } }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand-icon { width: 30px; height: 30px; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 10px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 96px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(51, 117, 187, 0.08) 0%, transparent 70%),
    radial-gradient(50% 45% at 90% 90%, rgba(30, 155, 240, 0.07) 0%, transparent 70%),
    var(--bg);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}
.hero-copy h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 22px 0 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.hero-meta svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ---------- Tarjeta mockup ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.card-glow {
  position: absolute;
  inset: 8% 4%;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.3), rgba(38, 161, 123, 0.18));
  filter: blur(60px);
  border-radius: 50%;
}
.cc-card {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1.586;
  border-radius: 26px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text);
  background:
    radial-gradient(120% 140% at 85% -10%, rgba(74, 144, 226, 0.16) 0%, transparent 55%),
    radial-gradient(110% 130% at -5% 110%, rgba(38, 161, 123, 0.13) 0%, transparent 55%),
    #FFFFFF;
  border: 1px solid rgba(51, 117, 187, 0.28);
  box-shadow: 0 40px 80px rgba(51, 117, 187, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: rotate(-4deg);
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
}
@keyframes float { 50% { transform: rotate(-4deg) translateY(-14px); } }
.cc-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(51, 117, 187, 0.07) 45%, transparent 60%);
}
.cc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cc-brand { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--blue); }
.cc-tether svg { width: 30px; height: 30px; }
.cc-middle { display: flex; align-items: center; gap: 18px; }
.cc-chip { width: 44px; height: 32px; }
.cc-balance { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.cc-balance span { font-size: 15px; font-weight: 600; color: var(--green); }
.cc-number {
  font-size: 15px;
  letter-spacing: 2.5px;
  color: #6B7E93;
  margin-bottom: 10px;
}
.cc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cc-holder {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.cc-network {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
  background: rgba(38, 161, 123, 0.15);
  border: 1px solid rgba(38, 161, 123, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
}
.floating-badge {
  position: absolute;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}
.floating-badge--1 { top: 6%; right: 0; animation-delay: 0.8s; }
.floating-badge--2 { bottom: 4%; left: -2%; animation-delay: 1.6s; }

/* ============ STATS ============ */
.stats {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { text-align: center; }
.stat h3 {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}
.stat .text-grad { display: inline; }

/* ============ SECCIONES ============ */
.section { padding: 110px 0; }
.section-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 52px;
}

/* ---------- Cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 144, 226, 0.45);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  background: rgba(51, 117, 187, 0.08);
  border: 1px solid rgba(51, 117, 187, 0.2);
  border-radius: 16px;
  margin-bottom: 22px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.feature-card h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.feature-card p { font-size: 15px; color: var(--text-muted); }

/* ============ PRODUCTO ============ */
.product {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.check-list { display: grid; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(38, 161, 123, 0.1);
  border: 1px solid rgba(38, 161, 123, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' stroke='%2326A17B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Price card ---------- */
.price-card {
  background: #fff;
  border: 1px solid rgba(51, 117, 187, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.price-title {
  font-size: 19px;
  font-weight: 700;
  margin-top: 18px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 2px;
}
.price-amount {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(92deg, var(--text), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-currency { font-size: 22px; font-weight: 700; color: var(--green); }
.price-note { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.networks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.networks span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
}
.wallet-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 22px;
}
.wallet-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.wallet-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wallet-row code {
  flex: 1;
  font-size: 13px;
  color: var(--blue);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.copy-btn:hover { background: var(--bg-elevated); border-color: rgba(51, 117, 187, 0.4); }
.copy-btn svg { width: 15px; height: 15px; }
.wallet-compat { margin-top: 20px; text-align: center; }
.wallet-compat--hero {
  margin: -8px 0 26px;
  text-align: left;
}
.wallet-compat--hero .wallet-compat-badges { justify-content: flex-start; }
.wallet-compat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.wallet-compat-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.wallet-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.wallet-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(51, 117, 187, 0.4);
}
.wallet-badge svg { width: 16px; height: 16px; }

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}
.secure-note svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ============ FAQ ============ */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(51, 117, 187, 0.4); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(-135deg); }
.faq-item p {
  padding: 0 26px 24px;
  font-size: 15px;
  color: var(--text-muted);
}

/* ============ CTA FINAL ============ */
.final-cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: radial-gradient(50% 60% at 50% 50%, rgba(51, 117, 187, 0.08) 0%, transparent 75%);
}
.final-cta h2 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.final-cta p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 34px;
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-muted);
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-disclaimer { margin-top: 6px; opacity: 0.75; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .cards-3 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links a { display: block; padding: 14px 0; font-size: 16px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .stats { padding: 44px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .stat h3 { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cc-card { padding: 22px; }
  .cc-balance { font-size: 24px; }
  .floating-badge--1 { right: -4px; }
  .floating-badge--2 { left: -4px; }
  .hero-ctas .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
