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

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f7;
  color: #111827;
}

main {
  flex: 1;
}

.header {
  min-height: 74px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  gap: 20px;
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
}

.brand-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.brand-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #475569;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  color: #1f8f46;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: color .2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #166534;
}

/* INDEX */

.hero {
  width: 100%;
}

.video-box {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 700px;
  overflow: hidden;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  color: #fff;
}

.video-overlay h1 {
  font-size: 52px;
  margin-bottom: 16px;
}

.video-overlay p {
  font-size: 20px;
  max-width: 720px;
  margin: 0 auto 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 900;
  text-decoration: none;
}

.btn-primary {
  background: #d7ff22;
  color: #111827;
}

.btn-secondary {
  background: #fff;
  color: #111827;
}

.features {
  max-width: 1180px;
  margin: 50px auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}

.feature-card span {
  font-size: 34px;
}

.feature-card h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.feature-card p {
  color: #475569;
  line-height: 1.5;
}

.demo {
  max-width: 850px;
  margin: 50px auto;
  padding: 40px 30px;
  text-align: center;
  background: #fff;
  border-radius: 24px;
}

.demo h2 {
  font-size: 34px;
  margin-bottom: 14px;
}

.demo p {
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* PLANES */

.planes-hero {
  text-align: center;
  padding: 70px 20px 35px;
}

.planes-hero h1 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.planes-hero p {
  color: #475569;
  font-size: 16px;
}

.planes-lista {
  max-width: 1500px;
  margin: 0 auto;
  padding: 35px 40px 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  min-height: 430px;
}

.plan-card.destacado {
  border: 3px solid #7c3aed;
  padding-top: 58px;
}

.plan-card.destacado::before {
  content: "MÁS ELEGIDO";
  position: absolute;
  top: 0;
  left: -3px;
  right: -3px;
  height: 44px;
  background: #7c3aed;
  color: #fff;
  border-radius: 18px 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.plan-card::after {
     display: none;
  content: "";
  position: absolute;
  top: 26px;
  right: 24px;
  background: #ede9fe;
  color: #6d28d9;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.plan-header h2 {
  font-size: 20px;
  margin-bottom: 18px;
}

.plan-precio {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 18px;
  color: #fbbf24;
}

.plan-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 800;
}

.plan-funciones {
  border-top: 1px solid #e5e7eb;
  padding-top: 18px;
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.plan-funciones span {
  font-size: 14px;
}

.plan-funciones span::before {
  content: "✓ ";
  color: #7c3aed;
  font-weight: 900;
}

.plan-boton {
  display: block;
  text-align: center;
  border: 2px solid #7c3aed;
  color: #7c3aed;
  background: #fff;
  font-weight: 900;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 24px;
}

.plan-boton.actual {
  background: #7c3aed;
  color: #fff;
}

/* FOOTER */

.footer {
  background: #111827;
  color: #fff;
  text-align: center;
  padding: 24px;
  font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .features,
  .planes-lista {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-overlay h1 {
    font-size: 42px;
  }
}

@media (max-width: 700px) {
  .header {
    flex-direction: column;
    padding: 16px 18px;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .nav-menu a {
    font-size: 16px;
  }

  .video-box {
    height: 80vh;
    min-height: 560px;
  }

  .video-overlay h1 {
    font-size: 32px;
  }

  .video-overlay p {
    font-size: 16px;
  }

  .features,
  .planes-lista {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .planes-hero h1 {
    font-size: 32px;
  }

  .demo {
    margin: 30px 20px;
  }
}