/* --- Pricing Section Variables --- */
:root {
  --pricing-bg: #f8f9fa;
  --card-bg: #ffffff;
  --card-text: #333333;
  --card-shadow: 0 5px 20px rgba(0,0,0,0.1);
  --accent-color: #00bcd4;
}

/* Dark Mode Variables for Pricing */
.dark-mode {
  --pricing-bg: #0a0e14;
  --card-bg: #1a1f26;
  --card-text: #eeeeee;
  --card-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.pricing-hero {
  text-align: center;
  padding: 120px 20px 60px;
  background: linear-gradient(135deg, #001f3f, #003b6f);
  color: #fff;
}

.pricing-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Billing Toggle Styling */
.billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.billing-label {
  margin: 0 15px;
  font-weight: 600;
  cursor: pointer;
  color: #abbdc9;
  transition: color 0.3s;
}

.billing-label.active {
  color: #fff;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #444;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px; width: 24px;
  left: 4px; bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider { background-color: var(--accent-color); }
input:checked + .slider:before { transform: translateX(28px); }

/* Pricing Cards Layout */
.pricing-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  background: var(--pricing-bg);
  transition: background 0.3s;
}

.pricing-card {
  background: var(--card-bg);
  color: var(--card-text);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  padding: 40px 30px;
  width: 320px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  border: 1px solid rgba(0,0,0,0.05);
}

.dark-mode .pricing-card {
  border: 1px solid rgba(255,255,255,0.05);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Highlighted Plan (Pro) */
.pricing-card.highlight {
  border: 2px solid var(--accent-color);
  background: linear-gradient(145deg, #0078d7, #00bcd4);
  color: white;
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card.highlight:hover {
  transform: translateY(-10px) scale(1.05);
}

.pricing-card.highlight .price, 
.pricing-card.highlight h2 {
  color: white;
}

.pricing-card.highlight .btn-primary {
  background: white;
  color: #0078d7;
}

/* Text & Buttons */
.pricing-card h2 { font-size: 1.8rem; margin-bottom: 10px; }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; margin: 15px 0; }

.pricing-card ul {
  list-style: none;
  padding: 0; margin: 25px 0;
  text-align: left;
}

.pricing-card ul li {
  padding: 8px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary, .btn-outline {
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  border: none;
  font-family: inherit;
}

.btn-primary { background: #0078d7; color: white; }
.btn-primary:hover { background: #005fa3; transform: scale(1.02); }

.btn-outline {
  background: transparent;
  border: 2px solid #0078d7;
  color: #0078d7;
}

.btn-outline:hover { background: #0078d7; color: white; }

/* Responsive Settings */
@media (max-width: 900px) {
  .pricing-container { padding: 40px 10px; }
  .pricing-card.highlight { transform: scale(1); margin: 20px 0; }
  .pricing-card.highlight:hover { transform: translateY(-5px) scale(1); }
}
