/* ============ RESET & BASE ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0e14;
  --bg-alt: #0d1420;
  --surface: #111827;
  --surface-2: #161f2e;
  --border: #232d3f;
  --text: #e8edf4;
  --text-muted: #93a2b8;
  --accent: #22e0b8;
  --accent-2: #2dd4ff;
  --accent-dark: #0f9a80;
  --radius: 16px;
  --max-width: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

ul {
  list-style: none;
}

.text-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #04140f;
  box-shadow: 0 8px 24px rgba(34, 224, 184, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(34, 224, 184, 0.35);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.25rem;
}

.nav__logo {
  color: var(--accent);
}

.nav__cta {
  display: none;
}

@media (min-width: 640px) {
  .nav__cta {
    display: inline-flex;
  }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(34, 224, 184, 0.18) 0%, rgba(45, 212, 255, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero__actions {
  margin-bottom: 40px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__badges .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ============ SECTIONS ============ */
.section {
  padding: 90px 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  text-align: center;
  margin-bottom: 12px;
}

.section__lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}

/* ============ GRID / CARDS ============ */
.grid {
  display: grid;
  gap: 24px;
}

.grid--3 {
  grid-template-columns: 1fr;
}

.grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-dark);
}

.icon {
  width: 1em;
  height: 1em;
  display: block;
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(34, 224, 184, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card__icon .icon {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ============ STEPS ============ */
.steps {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding: 32px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04140f;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============ CANALES ============ */
.channel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-dark);
}

.channel-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(34, 224, 184, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.channel-card__icon .icon {
  width: 36px;
  height: 36px;
}

.channel-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.channel-card p {
  color: var(--text-muted);
}

/* ============ VERTICALES ============ */
.grid--vertical {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .grid--vertical {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .grid--vertical {
    grid-template-columns: repeat(5, 1fr);
  }
}

.vertical-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.vertical-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.vertical-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(34, 224, 184, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vertical-card__icon .icon {
  width: 24px;
  height: 24px;
}

/* ============ PRICING ============ */
.pricing {
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.pricing-card--highlight {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(34, 224, 184, 0.06), var(--surface) 40%);
  box-shadow: 0 12px 40px rgba(34, 224, 184, 0.12);
}

.pricing-card__tag {
  position: absolute;
  top: -13px;
  left: 32px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #04140f;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.pricing-card__channel {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.pricing-card__amount {
  font-size: 2rem;
  font-weight: 700;
}

.pricing-card__price--secondary .pricing-card__amount {
  font-size: 1.3rem;
}

.pricing-card__period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-card__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card__list li {
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ CTA FINAL ============ */
.cta-final {
  padding: 100px 0;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(34, 224, 184, 0.12), transparent 60%), var(--bg-alt);
  border-top: 1px solid var(--border);
}

.cta-final h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin-bottom: 16px;
}

.cta-final p {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

/* ============ FOOTER ============ */
.footer {
  padding: 40px 0 24px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  padding-bottom: 24px;
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__brand p {
  width: 100%;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 4px;
}

.footer__contact a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer__contact a:hover {
  text-decoration: underline;
}

.footer__legal {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============ SCROLL ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
