body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.brand-logo-link:hover {
  opacity: 0.9;
}

.brand-logo {
  display: block;
  width: auto;
  height: 3.5rem;
  max-width: min(52vw, 11rem);
  object-fit: contain;
}

.brand-logo--footer {
  height: 3.25rem;
  max-width: 12rem;
}

.brand-logo-hero {
  display: block;
  width: auto;
  height: 7.5rem;
  max-width: min(88vw, 20rem);
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(31, 128, 255, 0.3));
}

@media (min-width: 640px) {
  .brand-logo {
    height: 4.25rem;
    max-width: 13rem;
  }

  .brand-logo--footer {
    height: 3.75rem;
    max-width: 14rem;
  }

  .brand-logo-hero {
    height: 9.5rem;
    max-width: 22rem;
  }
}

@media (min-width: 768px) {
  .brand-logo {
    height: 4.75rem;
    max-width: 14.5rem;
  }

  .brand-logo-hero {
    height: 11rem;
    max-width: 26rem;
  }
}

/* Background effects */
.hero-glow {
  position: absolute;
  inset: -10% auto auto 50%;
  width: 32rem;
  height: 32rem;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(31, 128, 255, 0.22) 0%, rgba(16, 185, 129, 0.08) 40%, rgba(2, 6, 23, 0) 72%);
  pointer-events: none;
  filter: blur(6px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 85%);
  pointer-events: none;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background-color: #1f80ff;
  color: #fff;
  padding: 0.625rem 1.25rem;
}

.btn-primary:hover {
  background-color: #1869d6;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  padding: 0.625rem 1.25rem;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  color: #cbd5e1;
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover {
  color: #fff;
}

.btn-lg {
  padding: 0.875rem 1.5rem;
  font-size: 0.95rem;
}

.btn-disabled {
  cursor: not-allowed;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #1e293b;
  color: #64748b;
  padding: 0.75rem 1.25rem;
}

/* Nav */
.nav-link {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
}

.mobile-nav-link {
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  color: #cbd5e1;
}

.mobile-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* Badges / semáforo */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-green {
  border: 1px solid rgba(110, 231, 183, 0.35);
  color: #bbf7d0;
  background-color: rgba(110, 231, 183, 0.14);
}

.badge-yellow {
  border: 1px solid rgba(253, 230, 138, 0.35);
  color: #fef3c7;
  background-color: rgba(253, 230, 138, 0.14);
}

.badge-red {
  border: 1px solid rgba(252, 165, 165, 0.35);
  color: #fecaca;
  background-color: rgba(252, 165, 165, 0.14);
}

/* Cards */
.stat-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.55);
  padding: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .stat-card {
    text-align: left;
  }
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.stat-value {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #f8fafc;
}

.stat-desc {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.pain-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.45);
  padding: 1.25rem;
}

.pain-icon {
  display: inline-block;
  font-size: 1.35rem;
  line-height: 1;
}

.feature-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.55);
  padding: 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(31, 128, 255, 0.35);
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: rgba(31, 128, 255, 0.15);
  color: #93c5fd;
}

.step-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.5);
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #1f80ff, #10b981);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.pricing-card {
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.pricing-card--featured {
  border: 1px solid rgba(31, 128, 255, 0.45);
  background: linear-gradient(180deg, rgba(31, 128, 255, 0.12) 0%, rgba(15, 23, 42, 0.85) 55%);
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.14);
}

.pricing-card--muted {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.55);
  opacity: 0.92;
}

.pricing-tag {
  display: inline-flex;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-tag--brand {
  background: rgba(31, 128, 255, 0.2);
  color: #bfdbfe;
}

.pricing-tag--launch {
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
}

.pricing-tag--soon {
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
}

.pricing-bullet {
  position: relative;
  padding-left: 1.25rem;
}

.pricing-bullet::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 700;
}

.cta-panel {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(31, 128, 255, 0.1), rgba(16, 185, 129, 0.08));
  padding: 2.5rem 1.5rem;
}

/* Smooth scroll offset for sticky header */
html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 5rem;
}

/* Legal pages */
.legal-page {
  max-width: 42rem;
  margin-inline: auto;
  padding: 2.5rem 1rem 3rem;
}

@media (min-width: 640px) {
  .legal-page {
    padding-inline: 1.5rem;
  }
}

.legal-version {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.legal-page h1 {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 800;
  color: #f8fafc;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #e2e8f0;
}

.legal-page h3 {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
}

.legal-page p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #94a3b8;
}

.legal-footer-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: #64748b;
}

.legal-list {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.legal-list li {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #94a3b8;
}

.legal-page strong {
  color: #cbd5e1;
  font-weight: 600;
}

.legal-link {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-link:hover {
  color: #bfdbfe;
}
