body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.header {
    text-align: center;
    padding: 2rem;
    background-color: #1db954;
    color: #fff;
}

.logo {
    height: 50px;
    margin-bottom: 1rem;
}

.pricing-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

.toggle-container {
    text-align: center;
    margin-bottom: 2rem;
}

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

.switch input {display:none;}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

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

input:checked + .slider {
    background-color: #1db954;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.badge {
    background-color: #ffcd3c;
    color: #333;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-left: 0.3rem;
}

.pricing-tiers {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.tier {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 300px;
    margin: 1rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 2rem 1rem;
    position: relative;
}

.tier.featured {
    border: 2px solid #1db954;
}

.tier h2 {
    color: #1db954;
    position: relative;
}

.best-value {
    background-color: #1db954;
    color: #fff;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    margin-left: 0.3rem;
}

.price {
    font-size: 2rem;
    color: #333;
}

.tier ul {
    list-style: none;
    padding: 0;
}

.tier ul li {
    margin: 0.5rem 0;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #1db954;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #17a44b;
}

.footer {
    text-align: center;
    padding: 1rem;
    background-color: #f1f1f1;
    color: #666;
}
