document.addEventListener("DOMContentLoaded", function () {
const toggle = document.getElementById("pricingToggle");
const priceHeading = document.querySelector(".price-heading");
const billingLabel = document.querySelector(".billing-label"); if (!toggle || !priceHeading || !billingLabel) return; toggle.addEventListener("change", function () {
const isYearly = this.checked; // Change price based on toggle
priceHeading.textContent = isYearly ? "$90" : "$9"; // Change color of "Billed per year" label
billingLabel.style.color = isYearly ? "#11B98F" : "#999999";
});
});