/* 1. Custom Properties */
:root {
  /* Shared — pricing.css + footer-public.css */
  --color-primary: #2980b9;
  --color-primary-dark: #1e6091;
  --color-primary-light: #3498db;
  --color-primary-shadow: rgba(41, 128, 185, 0.35);
  --color-bg-card: #fff;
  --color-bg-light: #f1f5f9;
  --color-border: #dee2e6;
  --gradient-primary: linear-gradient(
    135deg,
    var(--color-primary-light),
    var(--color-primary)
  );
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --transition-elastic: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Pricing only */
  --color-accent: #f39c12;
  --color-accent-dark: #d35400;

  /* Footer only */
  --color-accent-shadow: rgba(211, 84, 0, 0.35);
  --color-danger: #c0392b;
  --color-danger-dark: #e74c3c;
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
  --transition-base: all 0.3s ease;
}

/* 2. Layout — Hero */
.pricing-hero {
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 100%
  );
  overflow: hidden;
  position: relative;
}

.pricing-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
  color: #e8ecf0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pricing-hero h1::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent),
    var(--color-primary-light),
    var(--color-accent),
    transparent
  );
  box-shadow: 0 2px 8px rgba(243, 156, 18, 0.4);
  transition: width 0.6s ease;
}

.pricing-hero h1:hover::after {
  width: 100%;
}

/* 3. Layout — Facts Bar */
.facts-bar {
  box-shadow: 0 4px 12px rgba(41, 128, 185, 0.06);
}
.facts-bar .container > div {
  display: flex;
  flex-wrap: wrap;
}

.fact-item {
  flex: 1 1 100%;
  justify-content: center;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px 14px;
  white-space: nowrap;
  cursor: default;
}

.fact-item i {
  color: var(--color-primary);
}

/* 4.  Branding */
.brand-logo {
  height: 25px;
  width: auto;
  object-fit: contain;
  margin-right: 5px;
  /* top: 2px; */
}

.brand-title {
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: 0.8px;
  background: linear-gradient(180deg, #ffc76a, #ffa21a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.pricing-brand-subtitle {
  color: #d1d5db;
  font-size: 1.4rem;
  font-weight: 600;
}

/* 5. Navigation */
.back-home {
  transition: color 0.2s ease;
}

.back-home i {
  font-size: 24px;
}

.back-home i:last-child {
  transition: transform 0.2s ease;
}

.back-home:hover {
  color: #fff !important;
}

.back-home:hover i:last-child {
  transform: translateX(4px);
}

/* 6. Components — Pricing Cards */

.plan-order-btn {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition-base);
  padding: 0.6rem 1rem;
}

.plan-order-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.pricing-card.featured .plan-order-btn {
  background: var(--color-primary);
  color: #fff;
}

.pricing-card.featured .plan-order-btn:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.pricing-card {
  background: var(--color-bg-light);
  border: 1.5px solid var(--color-border) !important;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-elastic);
  position: relative;
}

.pricing-card:hover {
  border-color: rgba(41, 128, 185, 0.3) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.equipment-card {
  transition: var(--transition-elastic);
}

/* 7. Components — Banners & Badges */
.pricing-free-banner {
  background: linear-gradient(
    135deg,
    rgba(41, 128, 185, 0.07),
    rgba(52, 152, 219, 0.04)
  );
  border: 1.2px solid rgba(41, 128, 185, 0.2) !important;
}

.pricing-popular-tag {
  background: var(--gradient-primary);
  border-radius: 12px;
  color: var(--color-bg-card);
  font-size: 0.72rem;
  font-weight: 800;
  left: 50%;
  letter-spacing: 1px;
  padding: 4px 14px;
  position: absolute;
  text-transform: uppercase;
  top: -13px;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-saving-badge {
  background: rgba(39, 174, 96, 0.1);
  border-radius: 6px;
  color: #27ae60;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
}

/* 8. Components — Scenarios */
.pricing-balance-note {
  background: rgba(243, 156, 18, 0.07);
  border: 1px solid rgba(243, 156, 18, 0.25);
}

.pricing-scenario.charged {
  background: rgba(231, 76, 60, 0.06);
  border: 1px solid rgba(231, 76, 60, 0.15);
}

.pricing-scenario.free-scenario {
  background: rgba(39, 174, 96, 0.06);
  border: 1px solid rgba(39, 174, 96, 0.15);
}

/* 9. Components — Feature Items */
.pricing-feature-item {
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.pricing-feature-item:hover {
  border-color: var(--color-primary-light) !important;
  box-shadow: 0 4px 12px rgba(41, 128, 185, 0.1);
}

/* 10. Components — CTA Block */
.pricing-cta-block {
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 100%
  );
  box-shadow: 0 10px 30px var(--color-primary-shadow);
}

.pricing-cta-button {
  padding: 0.75rem 3rem;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.pricing-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.pricing-cta-button:hover::before {
  left: 100%;
}

/* 11. Utilities */
.pricing-fs-sm {
  font-size: 1rem;
}

.pricing-text-dark {
  color: #1e3a5f;
}

.text-primary {
  color: var(--color-primary) !important;
}

/* 13. Responsive */
@media (min-width: 480px) {
  .fact-item {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (min-width: 992px) {
  .fact-item {
    flex: 0 1 auto;
    padding: 5px 14px;
  }

  .pricing-card {
    padding: 1rem !important;
  }

  .pricing-card .display-6 {
    font-size: 1.6rem !important;
  }
  .pricing-card .fs-1 {
    font-size: 1.75rem !important;
  }
  .pricing-card .fs-4 {
    font-size: 1.1rem !important;
  }
  .pricing-card .pricing-fs-sm {
    font-size: 0.875rem;
  }
  .pricing-card hr {
    margin: 0.4rem 0 !important;
  }
}

@media (max-width: 768px) {
  .pricing-brand-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
  }
}

@media (max-width: 576px) {
  .pricing-card {
    margin-bottom: 1rem !important;
  }
}
