/* ==========================================================================
   LAMPLIGHTERS ERP - PRICING PACKAGES & TILES CSS
   ========================================================================== */

.pricing-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 86, 210, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Pricing Header & Billing Toggle */
.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.billing-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.billing-label.active {
  color: var(--text-primary);
  font-weight: 700;
}

.toggle-switch {
  position: relative;
  width: 56px;
  height: 30px;
  background: #CBD5E1;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-switch.active {
  background: var(--brand-primary);
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-normal);
}

.toggle-switch.active .toggle-slider {
  transform: translateX(24px);
}

.save-pill {
  background: #DCFCE7;
  color: #15803D;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid #BBF7D0;
  animation: pulse-badge 2s infinite ease-in-out;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Package Tiles Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 60px;
}

@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Single Pricing Tile Card */
.pricing-tile {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.pricing-tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Specialized Highlight: Training & Internship ERP Tile */
.pricing-tile.highlight-internship {
  border: 2.5px solid #0056D2;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 100%);
  box-shadow: 0 12px 30px -5px rgba(0, 86, 210, 0.22);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-tile.highlight-internship:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 20px 35px -5px rgba(0, 86, 210, 0.3);
}

/* Specialized Highlight: Cloud Storage Database Tile */
.pricing-tile.highlight-cloud {
  border: 2.5px solid #00B67A;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF8 100%);
  box-shadow: 0 12px 30px -5px rgba(0, 182, 122, 0.2);
  z-index: 1;
}

.pricing-tile.highlight-cloud:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -5px rgba(0, 182, 122, 0.3);
}

/* Floating Banner Badges */
.tile-top-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #0056D2;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 86, 210, 0.3);
  white-space: nowrap;
}

.tile-top-badge.emerald {
  background: #00B67A;
  box-shadow: 0 4px 10px rgba(0, 182, 122, 0.3);
}

.tile-top-badge.gold {
  background: #F59E0B;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

/* Tile Header */
.tile-header {
  margin-bottom: 20px;
  text-align: left;
}

.tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.tile-icon.blue { background: #EBF3FF; color: #0056D2; }
.tile-icon.green { background: #E6FBF2; color: #00B67A; }
.tile-icon.purple { background: #F3E8FF; color: #9333EA; }
.tile-icon.orange { background: #FFF7ED; color: #EA580C; }

.tile-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 6px;
}

.tile-target {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  min-height: 36px;
}

/* Discount Tag & Pricing Display */
.tile-pricing-box {
  padding: 18px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.discount-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.discount-ribbon.green {
  color: #15803D;
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.original-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.original-price {
  text-decoration: line-through;
  font-weight: 500;
  color: #94A3B8;
}

.save-amount {
  font-size: 12px;
  font-weight: 700;
  color: #059669;
}

.final-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.currency-sym {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.price-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -1px;
}

.price-period {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.billing-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Feature Checkmarks */
.tile-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.tile-features li {
  font-size: 13.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.tile-features li i {
  font-size: 14px;
  color: #00B67A;
  margin-top: 3px;
  flex-shrink: 0;
}

.tile-features li.highlight-feature {
  font-weight: 600;
  color: var(--text-primary);
}

.tile-features li.highlight-feature i {
  color: #0056D2;
}

/* Action CTA inside Tile */
.tile-action {
  margin-top: auto;
}

.tile-buy-btn {
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.tile-buy-btn.primary {
  background: linear-gradient(135deg, #0056D2 0%, #0045A5 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 86, 210, 0.35);
}

.tile-buy-btn.primary:hover {
  background: linear-gradient(135deg, #0045A5 0%, #003785 100%);
  box-shadow: 0 6px 18px rgba(0, 86, 210, 0.45);
  transform: translateY(-2px);
}

.tile-buy-btn.accent {
  background: linear-gradient(135deg, #00B67A 0%, #009663 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 182, 122, 0.35);
}

.tile-buy-btn.accent:hover {
  background: linear-gradient(135deg, #009663 0%, #007D53 100%);
  box-shadow: 0 6px 18px rgba(0, 182, 122, 0.45);
  transform: translateY(-2px);
}

.tile-buy-btn.outline {
  background: #FFFFFF;
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
}

.tile-buy-btn.outline:hover {
  background: var(--brand-primary-light);
  transform: translateY(-2px);
}

.payment-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* Interactive Calculator & Bundle Builder */
.calculator-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 992px) {
  .calculator-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.slider-val-badge {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.custom-range {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 2px 6px rgba(0, 86, 210, 0.4);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-summary-box {
  background: linear-gradient(135deg, #0B132B 0%, #1C2541 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-summary-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #CBD5E1;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-price-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.calc-total-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #00D26A;
}

/* Trust Guarantees Bar */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

@media (max-width: 992px) {
  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
}

.guarantee-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.guarantee-icon {
  font-size: 24px;
  color: var(--brand-primary);
}

.guarantee-text h5 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.guarantee-text p {
  font-size: 12px;
  color: var(--text-muted);
}
