/* Tarjeta digital · móvil-first */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: #191a1d;
  color: #ffffff;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(237, 106, 32, 0.28), transparent 45%),
    radial-gradient(circle at 90% 100%, rgba(237, 106, 32, 0.18), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.card {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 auto;
  padding: 2rem 1.4rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-height: 100svh;
}

/* Hero */
.card-hero { text-align: center; padding-top: 0.75rem; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ed6a20;
  box-shadow: 0 0 0 4px rgba(237, 106, 32, 0.22);
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(237, 106, 32, 0.22); }
  50%      { box-shadow: 0 0 0 9px rgba(237, 106, 32, 0); }
}
.brand-name { font-weight: 700; letter-spacing: -0.03em; font-size: 1rem; }
.card-hero h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); margin-bottom: 0.6rem; }
.hook { color: rgba(255, 255, 255, 0.72); font-size: 1rem; max-width: 32ch; margin: 0 auto; }

/* Info */
.card-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
}
.info-row { display: flex; align-items: center; gap: 14px; }
.info-row i {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(237, 106, 32, 0.12);
  color: #ed6a20;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.info-row div { display: flex; flex-direction: column; }
.info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.info-row strong { font-weight: 600; font-size: 0.98rem; }

/* Actions */
.card-actions { display: flex; flex-direction: column; gap: 10px; }
.action-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  text-align: left;
}
.action-btn > i:first-child {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.action-btn div { flex: 1; display: flex; flex-direction: column; }
.action-btn div span { font-weight: 600; font-size: 1rem; }
.action-btn div small { color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; }
.action-arrow {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  transition: transform 0.2s ease, color 0.2s ease;
}
.action-btn:active { transform: scale(0.98); }
.action-btn:hover { border-color: rgba(237, 106, 32, 0.5); }
.action-btn:hover .action-arrow { transform: translateX(3px); color: #ed6a20; }
.action-btn.primary {
  background: #ed6a20;
  border-color: #ed6a20;
  color: #fff;
}
.action-btn.primary > i:first-child { background: rgba(255, 255, 255, 0.18); color: #fff; }
.action-btn.primary div small { color: rgba(255, 255, 255, 0.85); }
.action-btn.primary .action-arrow { color: rgba(255, 255, 255, 0.7); }
.action-btn.primary:hover { border-color: #ed6a20; background: #d95a15; }
.action-btn.primary:hover .action-arrow { color: #fff; }

/* Socials */
.card-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 4px 0;
}
.card-socials a {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.card-socials a:hover {
  color: #ed6a20;
  border-color: rgba(237, 106, 32, 0.5);
  transform: translateY(-2px);
}

/* CTA */
.card-cta { display: flex; flex-direction: column; gap: 10px; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.cta-btn:active { transform: scale(0.97); }
.cta-btn.primary {
  background: #ffffff;
  color: #191a1d;
}
.cta-btn.primary:hover { background: #f0f0f0; }
.cta-btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.cta-btn.ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* Footer */
.card-footer { text-align: center; padding-top: 0.5rem; display: flex; flex-direction: column; gap: 12px; }
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.back-link:hover { color: #ed6a20; }
.tiny { font-size: 0.72rem; color: rgba(255, 255, 255, 0.35); letter-spacing: 0.04em; }

/* Safe area iOS */
@supports (padding: max(0px)) {
  .card { padding-bottom: max(2.5rem, env(safe-area-inset-bottom)); padding-top: max(2rem, env(safe-area-inset-top)); }
}


.brand-svg {
  height: 50px;
  width: auto;
  fill: currentColor;
}
.brand-svg .logo-dot {
  fill: #ed6a20;
  transform-box: fill-box;
  transform-origin: center;
  animation: logoDotPulse 2.2s ease-in-out infinite;
  will-change: transform, filter;
}
@keyframes logoDotPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    transform: scale(1.35);
    filter: drop-shadow(0 0 6px var(--accent));
  }
}