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

:root {
  --bg: #020618;
  --surface: #020b2a;
  --accent-mente: #0E3A5B;
  --accent-dinero: #1BBF72;
  --accent-idiomas: #FFD43B;
  --accent-salud: #E74C3C;
  --text-main: #f9fafb;
  --text-muted: #9ca3c7;
  --border-subtle: rgba(148,163,206,0.35);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020b2a 0, #020618 40%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

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

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: radial-gradient(circle at top left, rgba(27,191,114,0.16), rgba(2,6,24,0.96));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148,163,206,0.35);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-area img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.logo-text span.plus {
  color: var(--accent-idiomas);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text-main);
}

main {
  padding-bottom: 4rem;
}

/* Hero */
.hero {
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2.6rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-dinero), var(--accent-idiomas));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.02rem;
  max-width: 34rem;
  color: #cbd5f5;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 1.25rem;
}

.pill {
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(148,163,206,0.6);
  background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(15,23,42,0.7));
}

.pill-mente { border-color: var(--accent-mente); }
.pill-dinero { border-color: var(--accent-dinero); }
.pill-idiomas { border-color: var(--accent-idiomas); }
.pill-salud { border-color: var(--accent-salud); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-badge {
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(148,163,206,0.35);
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent-mente), var(--accent-dinero));
  color: #f7f9fc;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 18px 45px rgba(0,0,0,0.7);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 22px 55px rgba(0,0,0,0.8);
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Newsletter card - inside hero */
.newsletter-card {
  background: radial-gradient(circle at top left, rgba(27,191,114,0.15), rgba(15,23,42,0.98));
  border-radius: 1.5rem;
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(148,163,206,0.45);
  box-shadow: 0 26px 70px rgba(0,0,0,0.85);
}

.newsletter-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.newsletter-card p {
  font-size: 0.9rem;
  color: #dde3ff;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.85rem;
}

label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"] {
  padding: 0.6rem 0.8rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148,163,206,0.7);
  background: rgba(15,23,42,0.85);
  color: #f9fafb;
  font-size: 0.9rem;
}

input::placeholder {
  color: #6b7280;
}

input:focus {
  outline: none;
  border-color: var(--accent-dinero);
  box-shadow: 0 0 0 1px rgba(27,191,114,0.4);
}

.form-footer {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-footer small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Generic section */
.section {
  padding: 2.5rem 0 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 1.8rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #cbd5f5;
}

/* Pilares */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.pillar-card {
  border-radius: 1.1rem;
  padding: 1rem;
  background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(15,23,42,0.85));
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
  font-size: 0.9rem;
}

.pillar-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.35rem;
}

.pillar-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.pillar-card p {
  color: #e5e7f5;
  font-size: 0.88rem;
}

.pillar-mente { border-color: rgba(14,58,91,0.8); }
.pillar-dinero { border-color: rgba(27,191,114,0.8); }
.pillar-idiomas { border-color: rgba(255,212,59,0.8); }
.pillar-salud { border-color: rgba(231,76,60,0.8); }

/* Cómo funciona */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.step-card {
  border-radius: 1.1rem;
  padding: 1rem;
  background: radial-gradient(circle at top, rgba(15,23,42,0.96), rgba(15,23,42,0.85));
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(27,191,114,0.14);
  border: 1px solid rgba(27,191,114,0.7);
  margin-bottom: 0.5rem;
}

.step-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.step-card p {
  color: #dde3ff;
}

/* Es para ti */
.for-you-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.for-you-card {
  border-radius: 1.1rem;
  padding: 1.1rem;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, rgba(15,23,42,0.96), rgba(15,23,42,0.9));
  font-size: 0.9rem;
}

.for-you-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.for-you-card ul {
  padding-left: 1.1rem;
}

.for-you-card li {
  margin-bottom: 0.35rem;
  color: #dde3ff;
  font-size: 0.88rem;
}

/* Footer */
footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(148,163,206,0.35);
  padding: 1.6rem 0 1.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-left img {
  width: 28px;
  height: 28px;
}

/* Floating S+ */
.splus-floating {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 64px;
  height: 64px;
  opacity: 0.85;
  filter: drop-shadow(0 18px 45px rgba(0,0,0,0.9));
  pointer-events: none;
  z-index: 30;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .newsletter-card {
    margin-top: 1.5rem;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .pillars-grid,
  .steps-grid,
  .for-you-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .splus-floating {
    width: 52px;
    height: 52px;
    right: 1.1rem;
    bottom: 1.1rem;
  }
}
