
:root {
    --primary: #E31B23;
    --primary-hover: #be1218;
    --dark: #111827;
    --light-bg: #F9FAFB;
    --border: #E5E7EB;
    --success: #059669;
    --text-muted: #6B7280;
    --shadow:rgba(0,0,0,0.05);
}
@media (prefers-color-scheme:dark){
    :root:not([data-theme="light"]){
        --bg:#0C0C0E; --surface:#16161A; --fg:#F2F2F0; --muted:#A3A3AB; --line:#2A2A30; 
        --red:#FF2B36; --red-ink:#FF5560; --trace:rgba(242,242,240,.08); --pulse:#FF2B36; color-scheme:dark
    }
}
:root[data-theme="dark"]{
    --bg:#0C0C0E; --surface:#16161A; --fg:#F2F2F0; --muted:#A3A3AB; --line:#2A2A30; 
    --red:#FF2B36; --red-ink:#FF5560; --trace:rgba(242,242,240,.08); --pulse:#FF2B36; color-scheme:dark
}

/*
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--dark);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}*/

/*
.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.header h1 span {
    color: var(--primary);
}

.header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
    */

/* Billing Toggle Switch */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    background: var(--bg);
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.toggle-label {
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

.toggle-label.active {
    color: var(--primary);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

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

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

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

input:checked + .slider {
    background-color: var(--primary);
}

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

/* Pricing Cards Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    width: 100%;
    margin-bottom: 40px;
}

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.card.popular {
    border: 2px solid var(--primary);
}

.badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/*
.badge-btn, .avatar-container {
  position: relative;
  display: inline-block;
}*/

.badge-btn {
  padding: 2px 8px;
  background-color: #057a28;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.mailbox-count {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.price-container {
    margin-bottom: 15px;
    min-height: 75px;
}

.setup-fee {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.price {
    font-size: 2.25rem;
    font-weight: 800;
}

.price span {
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--text-muted);
}

.savings-badge {
    display: inline-block;
    color: var(--success);
    background: #E6F4EA;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.2s;
}

.savings-badge.show {
    opacity: 1;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 0.95rem;
}

.feature-list > li span.disabled {
    color: #9CA3AF;
    text-decoration: line-through;
}

.icon {
    font-weight: bold;
    font-size: 1.1rem;
    width: 20px;
}
.icon.check { color: var(--success); }
.icon.cross { color: #EF4444; }

/*
.btn {
    display: block;
    text-align: center;
    background: var(--dark);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn:hover {
    background: #374151;
}


.card.popular .btn {
    background: var(--primary);
}

.card.popular .btn:hover {
    background: var(--primary-hover);
}
*/

.footer-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 600px;
    line-height: 1.5;
}

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