/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f4f4f4;
  color: #333;
}

/* HEADER: CRM HERO */
.crm-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('img/crm/perspective.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d1b2a;
  overflow: hidden;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 2.5rem 3rem;
  text-align: center;
  border-radius: 8px;
  max-width: 850px;
  animation: fadeUp 1s ease forwards;
  z-index: 2;
}

.hero-title {
  font-size: 3.2rem;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 0 12px rgba(90,168,220,0.5);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

.hero-subtext {
  font-size: 1.4rem;
  color: #ddd;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

.cta-button {
  display: inline-block;
  background: #5aa8dc;
  color: #fff;
  padding: 0.9rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.6s;
}

.cta-button:hover {
  background: #428cb7;
  transform: translateY(-2px);
}

/* Fade-up animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtext {
    font-size: 1.1rem;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 0.8rem 1.4rem;
  }
}

/* PLANES DISPONIBLES */
.plans {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}

.plans h2 {
  font-size: 2.6rem;
  margin-bottom: 2rem;
  color: #222;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.plans h2::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 3px;
  background: #5aa8dc;
  bottom: 0;
  left: 20%;
  animation: underlineSlide 1s ease forwards;
}

@keyframes underlineSlide {
  from { width: 0; }
  to { width: 60%; }
}

.plans-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Cards CRM */
.plan-card {
  background: #f9f9f9;
  border-left: 6px solid #5aa8dc;
  border-radius: 10px;
  padding: 1.8rem;
  width: 30%;
  min-width: 280px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.plan-card.lite { border-color: #5aa8dc; }
.plan-card.pro { border-color: #4caf50; }

.plan-card:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Animación de entrada */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.plan-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
  color: #222;
}

.plan-price {
  font-size: 1.3rem;
  color: #5aa8dc;
  margin-bottom: 1rem;
}

.plan-ideal {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
}

.plan-card h4 {
  font-size: 1.1rem;
  margin: 1.2rem 0 0.5rem;
  color: #333;
}

.features,
.security {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.features li,
.security li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
  color: #555;
}

.features li::before,
.security li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  top: 0;
}

.delivery,
.maintenance {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
  .plans-container {
    flex-direction: column;
    align-items: center;
  }
  .plan-card {
    width: 90%;
  }
}

/* SECCIÓN: CUSTOM CRM */
.custom-crm {
  background: #f9fbfd;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 2px dashed #cbddea;
}

.custom-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.custom-crm h2 {
  font-size: 2.3rem;
  color: #222;
  margin-bottom: 1rem;
}

.custom-lead {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.custom-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.custom-feature {
  flex: 1;
  min-width: 280px;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.custom-feature:hover {
  transform: translateY(-6px);
}

.custom-feature img {
  width: 60px;
  margin-bottom: 1rem;
}

.custom-feature h4 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.custom-feature p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.custom-cta {
  background-color: #222;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 6px;
}

.custom-cta:hover {
  background-color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  .custom-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* UNIQUE FEATURES */
.unique-features {
  padding: 3rem 2rem;
  background: #f2f8fc;
  text-align: center;
}

.unique-features h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.unique-list {
  list-style: none;
  margin: 0 auto;
  max-width: 600px;
  padding: 0;
}

.unique-list li {
  font-size: 1.1rem;
  line-height: 2;
  color: #555;
}
.features-intro {
  font-size: 1.1rem;
  color: #444;
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* COMMERCIAL ARGUMENT */
.commercial-argument {
  padding: 3rem 2rem;
  background: #fff;
  text-align: center;
  border-top: 2px solid #e0e0e0;
}

.commercial-argument h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.commercial-argument blockquote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  font-style: italic;
}

/* FINAL CTA */
.final-cta {
  background: #5aa8dc;
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
}

.final-cta h3 {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.final-cta .cta-button {
  background: #fff;
  color: #5aa8dc;
  padding: 0.9rem 1.7rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: background 0.3s ease, transform 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
}

.final-cta .cta-button:hover {
  background: #e4e4e4;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .plans-container {
    flex-direction: column;
    align-items: center;
  }
  .plan-card {
    width: 80%;
  }
  .product-presentation {
    height: 50vh;
  }
}
