/* ===================================
   PRECIOS PAGE
   =================================== */

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 50vh;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--secondary-blue) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 40%,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(212, 175, 55, 0.05) 0%,
      transparent 50%
    );
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  color: var(--white);
  font-size: 3.5rem;
}
.hero-section p.lead {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  font-size: 1.3rem;
}

/* PRICING TOGGLE */
.pricing-toggle {
  display: inline-flex;
  background: var(--white);
  border-radius: 50px;
  padding: 0.5rem;
  box-shadow: 0 8px 24px rgba(10, 36, 99, 0.1);
}

.toggle-btn {
  padding: 0.875rem 2rem;
  border: none;
  background: transparent;
  color: var(--primary-blue);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-primary);
}

.toggle-btn:hover {
  background: var(--light-bg);
}

.toggle-btn.active {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  color: var(--white);
  box-shadow: 0 4px 16px rgba(10, 36, 99, 0.2);
}

.toggle-btn i {
  font-size: 1.15rem;
}

/* PRICING SECTIONS */
.pricing-section {
  display: none;
}

.pricing-section.active {
  display: block;
}

/* PRICING CARDS MODERN */
.pricing-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(10, 36, 99, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  border: 1px solid rgba(10, 36, 99, 0.05);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(10, 36, 99, 0.12);
  border-color: rgba(212, 175, 55, 0.15);
}

/* Featured Card with Glow */
.pricing-card.featured {
  border: 2px solid rgba(212, 175, 55, 0.3);
  background: linear-gradient(to bottom, #ffffff, #fdfbf5);
  transform: scale(1.02);
  z-index: 2;
}

.pricing-card.featured::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    135deg,
    var(--accent-gold),
    transparent,
    var(--bright-gold)
  );
  z-index: -1;
  border-radius: 26px;
  opacity: 0.2;
  filter: blur(20px);
  transition: opacity 0.5s ease;
}

.pricing-card.featured:hover::after {
  opacity: 0.4;
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-15px);
}

/* Plan Label (Badge) */
.plan-label {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-gold);
  color: var(--primary-blue);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* Header Sections */
.pricing-header-modern {
  padding: 3rem 2rem 2rem;
  text-align: center;
  position: relative;
  background: transparent;
}

.header-icon-box {
  width: 70px;
  height: 70px;
  background: var(--light-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-blue);
  font-size: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(10, 36, 99, 0.05);
}

.pricing-card:hover .header-icon-box {
  background: var(--primary-blue);
  color: var(--white);
  transform: rotateY(180deg);
}

.pricing-card.featured .header-icon-box {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
}

.pricing-card.featured:hover .header-icon-box {
  background: var(--accent-gold);
  color: var(--white);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
  letter-spacing: -0.5px;
}

.price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.price-box .currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  align-self: flex-start;
  margin-top: 0.5rem;
}

.price-box .amount {
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary-blue);
  letter-spacing: -2px;
  line-height: 1;
}

.price-box .period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Body & Features */
.pricing-body-modern {
  padding: 0 2rem 3rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.premium-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
}

.premium-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.premium-features li i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.premium-features li.included-feature i {
  color: var(--accent-gold);
}

.premium-features li.disabled-feature {
  color: var(--text-muted);
  opacity: 0.5;
}

.premium-features li.disabled-feature i {
  color: #d1d5db;
}

.premium-features li span {
  font-weight: 400;
}

/* Buttons Modern */
.btn-outline-modern {
  border: 1.5px solid rgba(10, 36, 99, 0.15);
  color: var(--primary-blue);
  background: var(--white);
  padding: 1.1rem !important;
  border-radius: 16px !important;
  font-size: 1rem !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.btn-outline-modern:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 25px rgba(10, 36, 99, 0.2);
}

.btn-premium-gold {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--secondary-blue) 100%
  );
  color: var(--white);
  border: none;
  padding: 1.1rem !important;
  border-radius: 16px !important;
  font-size: 1rem !important;
  box-shadow: 0 10px 30px rgba(10, 36, 99, 0.2);
}

.btn-premium-gold:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-blue) 0%,
    var(--primary-blue) 100%
  );
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(10, 36, 99, 0.3);
}

/* FAQ ACCORDION */
.accordion-item {
  border: none;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10, 36, 99, 0.05);
  border: 1px solid rgba(10, 36, 99, 0.05);
}

.accordion-button {
  background: var(--white);
  color: var(--primary-blue);
  font-weight: 700;
  padding: 1.5rem 1.75rem;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--secondary-blue)
  );
  color: var(--white);
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-button::after {
  filter: brightness(0) invert(1); /* Ensure it's dark for light bg */
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1); /* White for dark bg */
}
/* Wait, default invert(1) is white? No, filter: invert(1) makes black become white.
   Bootstrap default icon is typically black or blueish.
   Let's just force a color if needed or trust bootstrap.
*/

.accordion-body {
  padding: 1.5rem 1.75rem;
  background: var(--light-bg);
  color: var(--text-muted);
  line-height: 1.7;
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--dark-blue) 0%,
    var(--primary-blue) 100%
  );
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(212, 175, 55, 0.08) 0%,
      transparent 50%
    );
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .pricing-card.featured {
    transform: scale(1);
  }
}
