/* Mastec Digital — price.html specific styles */

.pricing-section {
  padding-top: calc(var(--header-h) + 70px);
  padding-bottom: 100px;
  background: linear-gradient(180deg, var(--paper-2), var(--paper) 40%);
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(251, 0, 68, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(251, 0, 68, 0.05) 0%, transparent 50%);
}

.pricing-section .container {
  position: relative;
  z-index: 2;
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 340px));
  justify-content: center;
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(251, 0, 68, 0.12);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 50px rgba(15, 15, 25, 0.06), 0 5px 15px rgba(15, 15, 25, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 70px rgba(251, 0, 68, 0.12), 0 10px 30px rgba(15, 15, 25, 0.08);
  border-color: rgba(251, 0, 68, 0.25);
}

.pricing-card.featured {
  background: linear-gradient(135deg, var(--paper) 0%, #fff5f7 100%);
  border: 2px solid rgba(251, 0, 68, 0.3);
  transform: scale(1.05);
  box-shadow: 0 25px 80px rgba(251, 0, 68, 0.15), 0 15px 40px rgba(15, 15, 25, 0.1);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 30px 90px rgba(251, 0, 68, 0.2), 0 20px 50px rgba(15, 15, 25, 0.12);
}

.pricing-badge {
  position: absolute;
  top: 30px;
  left: -35px;
  transform: rotate(-45deg);
  padding: 8px 45px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 8px 25px rgba(251, 0, 68, 0.4);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  z-index: 2;
}

.pricing-card.featured .pricing-badge {
  font-size: 0.75rem;
  padding: 10px 50px;
  box-shadow: 0 10px 30px rgba(251, 0, 68, 0.5);
}

.pricing-badge.best-option {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.pricing-plan-name {
  text-align: center;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-card.featured .pricing-plan-name {
  font-size: 1.7rem;
  color: var(--red);
}

.pricing-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(251, 0, 68, 0.1);
}

.pricing-card.featured .pricing-subtitle {
  border-bottom-color: rgba(251, 0, 68, 0.25);
}

.pricing-toggle {
  display: flex;
  gap: 8px;
  background: var(--paper-3);
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 22px;
}

.pricing-toggle-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.pricing-toggle-btn.active {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
}

.pricing-price-option {
  display: none;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 8px;
  margin-bottom: 22px;
}

.pricing-price-option.active {
  display: flex;
  animation: pricingFadeIn 0.45s var(--ease) both;
}

@keyframes pricingFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-price-option.active,
  .addon-amount.active {
    animation: none;
  }
}

.pricing-addon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: -20px 0 20px;
}

.pricing-addon i {
  color: var(--red);
}

.addon-amount {
  display: none;
  font-weight: 700;
  color: var(--text);
}

.addon-amount.active {
  display: inline;
  animation: pricingFadeIn 0.45s var(--ease) both;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.pricing-card.featured .pricing-amount {
  font-size: 3.3rem;
  color: var(--red);
}

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

.pricing-savings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-basis: 100%;
  gap: 8px;
  margin-top: 10px;
}

.pricing-savings span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}

.pricing-savings .save {
  background: #16a34a;
}

.pricing-savings .gift {
  background: #2563eb;
}

.pricing-features {
  margin-bottom: 26px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.pricing-features li i {
  color: var(--red);
  margin-top: 3px;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  opacity: 0.4;
}

.pricing-features li.disabled i {
  color: #cbd5e1;
}

.pricing-modules {
  padding-top: 25px;
  border-top: 2px solid rgba(251, 0, 68, 0.1);
  margin-bottom: 26px;
}

.pricing-card.featured .pricing-modules {
  border-top-color: rgba(251, 0, 68, 0.25);
}

.pricing-modules h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.pricing-modules-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
}

.pricing-modules-list li::before {
  content: "•";
  color: var(--red);
  position: absolute;
  left: 0;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}

@media (max-width: 768px) {
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
}

.pricing-lifetime-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pricing-card.pricing-lifetime {
  width: 100%;
  max-width: 400px;
  border: 2px solid rgba(124, 58, 237, 0.3);
  background: linear-gradient(135deg, var(--paper) 0%, #f8f4ff 100%);
}

.pricing-card.pricing-lifetime:hover {
  box-shadow: 0 25px 70px rgba(124, 58, 237, 0.15), 0 10px 30px rgba(15, 15, 25, 0.08);
  border-color: rgba(124, 58, 237, 0.45);
}

.pricing-card.pricing-lifetime .pricing-plan-name,
.pricing-card.pricing-lifetime .pricing-amount {
  color: #7c3aed;
}

.pricing-card.pricing-lifetime .pricing-subtitle {
  border-bottom-color: rgba(124, 58, 237, 0.15);
}

.pricing-card.pricing-lifetime .pricing-modules {
  border-top-color: rgba(124, 58, 237, 0.15);
}

.pricing-badge.lifetime-option {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}
