/* Pricing Hero */
.pricing-hero {
  padding-top: 140px;
  background: radial-gradient(circle at 50% 90%, rgba(0, 242, 254, 0.05) 0%, transparent 60%);
  text-align: center;
}

.pricing-hero p {
  max-width: 650px;
  margin: 0 auto 3rem auto;
  font-size: 1.2rem;
  color: var(--text-mid);
}

/* Billing Switch Toggle */
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.switch-label {
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
}

.switch-label.active {
  color: var(--text-high);
}

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

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.08);
  transition: .4s;
  border-radius: 34px;
  border: 1px solid var(--border-glass);
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-primary);
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

input:checked + .slider {
  background-color: rgba(127, 0, 255, 0.2);
  border-color: rgba(127, 0, 255, 0.4);
}

input:checked + .slider:before {
  transform: translateX(26px);
  background-color: var(--color-secondary);
  box-shadow: 0 0 10px rgba(127, 0, 255, 0.4);
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.price-card {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.price-card.popular {
  border-color: var(--color-primary);
  box-shadow: 0 15px 40px -10px rgba(0, 242, 254, 0.15);
}

.price-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gradient-brand);
  color: #030307;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 2.5rem;
  transform: rotate(45deg);
}

.price-card:hover {
  transform: translateY(-5px);
  background: var(--surface-glass-hover);
  border-color: rgba(127, 0, 255, 0.3);
}

.price-card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.price-card-header p {
  color: var(--text-low);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.price-card-pricing {
  margin-bottom: 2rem;
}

.price-card-amt {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-high);
  font-family: var(--font-header);
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-low);
}

.price-features-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-high);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.price-features-list {
  list-style: none;
  margin-bottom: 3rem;
  flex-grow: 1;
}

.price-features-list li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-features-list li::before {
  content: '✓';
  color: var(--color-primary);
}

/* Calculator Section */
.calc-container {
  margin-top: 6rem;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
}

.calc-title {
  text-align: center;
  margin-bottom: 3rem;;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.calc-slider-wrap h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  margin-bottom: 1.5rem;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
  transition: transform var(--transition-fast);
}

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

.calc-roi-display {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  text-align: center;
}

.roi-metric {
  margin-bottom: 2rem;
}

.roi-metric label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-low);
  margin-bottom: 0.5rem;
}

.roi-metric span {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
}
