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

/* ── Base ── */
.mkt-page {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #0f172a;
  line-height: 1.6;
}

.mkt-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Top nav (company bar) ── */
.mkt-topnav {
  background: #0a0a1a;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}

.mkt-topnav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mkt-company-logo {
  height: 32px;
  width: auto;
  display: block;
  border-radius: 6px;
}

/* ── Product label ── */
.mkt-product-label {
  display: inline-block;
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: #a5b4fc;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
}

/* ── Hero ── */
.mkt-hero {
  background: linear-gradient(135deg, #0a0a1a 0%, #0f172a 40%, #1e1b4b 75%, #312e81 100%);
  color: #fff;
  padding: 72px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Radial glows */
.mkt-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.mkt-hero::after {
  content: '';
  position: absolute;
  bottom: 80px;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.mkt-hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.mkt-hero-wave {
  position: absolute;
  bottom: -1px;
  left: -2px;
  right: -2px;
  line-height: 0;
}

.mkt-hero-wave svg {
  display: block;
  width: calc(100% + 4px);
  height: 64px;
}

.mkt-nav {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.mkt-nav-login {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  transition: all 0.25s;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(4px);
}

.mkt-nav-login:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.mkt-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mkt-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 18px 24px;
}

.mkt-logo-img {
  height: 160px;
  width: auto;
  border-radius: 12px;
  display: block;
}

.mkt-headline {
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.mkt-accent {
  background: linear-gradient(to right, #818cf8, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mkt-subheadline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 40px;
  line-height: 1.7;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.mkt-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  text-decoration: none;
  padding: 15px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.5);
  letter-spacing: 0.2px;
}

.mkt-cta-btn:hover {
  background: linear-gradient(135deg, #4338ca, #4f46e5);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.6);
}

/* ── Features ── */
.mkt-features {
  background: #f8faff;
  padding: 88px 0;
}

.mkt-section-title {
  text-align: center;
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.mkt-section-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1rem;
  margin: 0 0 52px;
}

.mkt-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.mkt-feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s, transform 0.25s;
  border: 1px solid #f1f5f9;
}

.mkt-feature-card:hover {
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.12);
  transform: translateY(-4px);
}

.mkt-feature-icon {
  font-size: 1.6rem;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ede9fe, #dbeafe);
}

.mkt-feature-card:nth-child(2n) .mkt-feature-icon {
  background: linear-gradient(135deg, #cffafe, #d1fae5);
}

.mkt-feature-card:nth-child(3n) .mkt-feature-icon {
  background: linear-gradient(135deg, #fce7f3, #ffe4e6);
}

.mkt-feature-card:nth-child(4n) .mkt-feature-icon {
  background: linear-gradient(135deg, #fef9c3, #fef3c7);
}

.mkt-feature-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #0f172a;
}

.mkt-feature-card p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.65;
}

/* ── Plans ── */
.mkt-plans {
  background: #fff;
  padding: 88px 0;
}

.mkt-plans-subtitle {
  text-align: center;
  color: #64748b;
  margin: 0 0 52px;
  font-size: 1rem;
}

.mkt-plans-loading {
  text-align: center;
  color: #94a3b8;
  padding: 40px 0;
}

.mkt-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  align-items: start;
}

.mkt-plan-card {
  position: relative;
  background: #f8faff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.25s, transform 0.25s;
}

.mkt-plan-card:hover {
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.1);
  transform: translateY(-3px);
}

.mkt-plan-highlighted {
  background: #fff;
  border-color: #4f46e5;
  box-shadow: 0 8px 36px rgba(79, 70, 229, 0.2);
}

.mkt-plan-highlighted:hover {
  box-shadow: 0 16px 48px rgba(79, 70, 229, 0.28);
}

.mkt-plan-virtual {
  border-color: #0e9f6e;
  background: #f0fdf8;
}

.mkt-plan-virtual:hover {
  box-shadow: 0 12px 32px rgba(14, 159, 110, 0.12);
}

/* Límites del plan (estudiantes y cursos virtuales) */
.mkt-plan-limits {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.mkt-plan-limit {
  font-size: 0.82rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mkt-plan-limit-virtual {
  color: #0e9f6e;
  font-weight: 600;
}

.mkt-limit-icon {
  font-size: 0.9rem;
}

.mkt-plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 18px;
  border-radius: 0 0 12px 12px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.mkt-plan-badge-virtual {
  background: linear-gradient(135deg, #0e9f6e, #06b480);
  box-shadow: 0 4px 12px rgba(14, 159, 110, 0.35);
}

.mkt-plan-header {
  text-align: center;
  padding: 36px 28px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.mkt-plan-highlighted .mkt-plan-header {
  background: linear-gradient(160deg, #f5f3ff, #eff6ff);
}

.mkt-plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}

.mkt-plan-desc {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.mkt-plan-price {
  text-align: center;
  padding: 24px 28px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.mkt-plan-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -1px;
}

.mkt-plan-highlighted .mkt-plan-amount {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mkt-plan-free {
  font-size: 1.6rem;
  color: #4f46e5;
}

.mkt-plan-period {
  font-size: 1rem;
  color: #94a3b8;
  margin-left: 2px;
}

.mkt-plan-billed {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 8px 0 0;
}

.mkt-plan-features {
  list-style: none;
  margin: 0;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  background: #fff;
}

.mkt-plan-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #374151;
}

.mkt-feat-check {
  flex-shrink: 0;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 1px;
}

.mkt-plan-feat-yes .mkt-feat-check {
  background: #d1fae5;
  color: #059669;
}

.mkt-plan-feat-no {
  color: #cbd5e1;
}

.mkt-plan-feat-no .mkt-feat-check {
  background: #f1f5f9;
  color: #cbd5e1;
}

.mkt-plan-cta {
  display: block;
  text-align: center;
  background: #f0f4ff;
  color: #4f46e5;
  text-decoration: none;
  padding: 14px 24px;
  margin: 0 28px 28px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid #c7d2fe;
  transition: all 0.2s;
}

.mkt-plan-cta:hover {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
}

.mkt-plan-cta-highlighted {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
}

.mkt-plan-cta-highlighted:hover {
  background: linear-gradient(135deg, #4338ca, #4f46e5);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

/* ── Plans sections & divider ── */
.mkt-plans-section {
  margin-bottom: 8px;
}

.mkt-plans-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0 40px;
}

.mkt-plans-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #c7d2fe, transparent);
}

.mkt-plans-divider-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ede9fe, #dbeafe);
  border: 1px solid #c7d2fe;
  color: #4338ca;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  white-space: nowrap;
}

.mkt-divider-icon {
  font-size: 1rem;
}

/* Fila Moodle dentro de la lista de features */
.mkt-plan-feat-moodle {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
  color: #0e9f6e;
  font-weight: 600;
}

.mkt-plan-virtual .mkt-plan-feat-moodle .mkt-feat-check {
  background: #d1fae5;
  color: #059669;
}

/* ── How it works ── */
.mkt-how {
  background: #f8faff;
  padding: 88px 0;
}

.mkt-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 8px;
}

.mkt-step {
  text-align: center;
  max-width: 260px;
  padding: 32px 24px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  flex: 1;
  min-width: 200px;
}

.mkt-step-num {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  color: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
}

.mkt-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #0f172a;
}

.mkt-step p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  line-height: 1.65;
}

.mkt-step-arrow {
  font-size: 1.5rem;
  color: #c7d2fe;
  flex-shrink: 0;
  align-self: center;
  padding: 0 4px;
}

/* ── CTA section ── */
.mkt-cta-section {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1d4ed8 100%);
  color: #fff;
  padding: 96px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mkt-cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(129, 140, 248, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.mkt-cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.3px;
}

.mkt-cta-section p {
  font-size: 1.05rem;
  opacity: 0.8;
  margin: 0 0 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.mkt-cta-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  box-shadow: none;
}

.mkt-cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ── Hero actions (CTA + email) ── */
.mkt-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mkt-cta-email {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}

.mkt-cta-email:hover {
  color: #fff;
}

/* ── CTA section actions ── */
.mkt-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mkt-cta-email-dark {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.mkt-cta-email-dark:hover {
  color: #fff;
}

/* ── Footer ── */
.mkt-footer {
  background: linear-gradient(135deg, #0a0a1a, #0f172a);
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 32px 24px;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mkt-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

.mkt-footer-logo {
  height: 24px;
  width: auto;
  border-radius: 4px;
  opacity: 0.75;
}

.mkt-footer-sep {
  color: rgba(255,255,255,0.2);
}

.mkt-footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.mkt-footer-contact a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.mkt-footer-contact a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .mkt-hero {
    padding: 60px 20px 90px;
  }

  .mkt-headline {
    font-size: 2rem;
  }

  .mkt-subheadline {
    font-size: 0.95rem;
  }

  .mkt-features-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }

  .mkt-steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .mkt-step-arrow {
    transform: rotate(90deg);
  }

  .mkt-cta-section {
    padding: 72px 20px;
  }

  .mkt-cta-section h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 600px) {
  .mkt-headline {
    font-size: 1.75rem;
  }

  .mkt-logo-img {
    height: 100px;
  }

  .mkt-plan-header,
  .mkt-plan-price,
  .mkt-plan-features {
    padding-left: 20px;
    padding-right: 20px;
  }

  .mkt-plan-cta {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* ── Showcase ── */
.mkt-showcase {
  background: #fff;
  padding: 88px 0 40px;
}

.mkt-showcase-block {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-bottom: 80px;
}

.mkt-showcase-block:last-child {
  margin-bottom: 48px;
}

.mkt-showcase-reverse {
  flex-direction: row-reverse;
}

.mkt-showcase-img {
  flex: 0 0 58%;
  max-width: 58%;
}

.mkt-showcase-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
  display: block;
}

.mkt-showcase-text {
  flex: 1;
}

.mkt-showcase-text h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.mkt-showcase-text p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.75;
  margin: 0;
}

/* ── Phone mockup ── */
.mkt-showcase-img-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mkt-phone-frame {
  width: 280px;
  background: #1a1a2e;
  border-radius: 44px;
  padding: 14px 12px;
  box-shadow:
    0 0 0 2px #2d2d4e,
    0 0 0 4px #111,
    0 24px 64px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mkt-phone-speaker {
  width: 60px;
  height: 6px;
  background: #2d2d4e;
  border-radius: 3px;
  flex-shrink: 0;
}

.mkt-phone-screen {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.mkt-phone-screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.mkt-phone-home {
  width: 36px;
  height: 5px;
  background: #2d2d4e;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ── Showcase responsive: tablet ── */
@media (max-width: 900px) {
  .mkt-showcase {
    padding: 64px 0 24px;
  }

  .mkt-showcase-block,
  .mkt-showcase-reverse {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 56px;
  }

  .mkt-showcase-img {
    flex: none;
    max-width: 88%;
    width: 88%;
    margin: 0 auto;
  }

  .mkt-showcase-img img {
    max-height: 420px;
    object-fit: cover;
    object-position: top;
  }

  .mkt-showcase-img-phone {
    max-width: 100%;
    width: 100%;
  }

  .mkt-showcase-text {
    text-align: center;
  }

  .mkt-showcase-text h3 {
    font-size: 1.3rem;
  }

  .mkt-phone-frame {
    width: 240px;
  }
}

/* ── Showcase responsive: móvil pequeño ── */
@media (max-width: 480px) {
  .mkt-showcase {
    padding: 48px 0 16px;
  }

  .mkt-showcase-block {
    margin-bottom: 40px;
  }

  .mkt-showcase-img {
    max-width: 100%;
    width: 100%;
  }

  .mkt-showcase-img img {
    border-radius: 10px;
    max-height: 320px;
  }

  .mkt-showcase-text h3 {
    font-size: 1.15rem;
  }

  .mkt-showcase-text p {
    font-size: 0.9rem;
  }

  .mkt-phone-frame {
    width: 200px;
    border-radius: 36px;
    padding: 11px 10px;
  }

  .mkt-phone-screen {
    border-radius: 18px;
  }
}
