.subs-main {
    width: 100%;
    max-width: var(--max-width);
    margin: 1.5rem auto;
    padding: 0 1rem 2rem;
}

.subs-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.subs-hero h2 {
    font-size: 1.8rem;
    color: white;
    margin: 0 0 0.6rem;
}

.subs-hero p {
    color: var(--color-text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

/* --- Currency switcher (segmented pill) --- */
.subs-currency {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: 999px;
}

.currency-btn {
    border: none;
    background: transparent;
    color: var(--color-text-secondary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 8px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-btn:hover {
    color: var(--color-text-primary);
}

.currency-btn.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* --- Plan grid --- */
.subs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 12px 30px -12px rgba(16, 185, 129, 0.25);
}

.plan-highlight {
    border-color: var(--color-primary);
    background: linear-gradient(160deg, rgba(16, 185, 129, 0.08) 0%, var(--color-bg-card) 60%);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.25), 0 16px 40px -16px rgba(16, 185, 129, 0.3);
}

.plan-ribbon {
    position: absolute;
    top: 14px;
    right: -6px;
    background: var(--color-primary);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 6px 0 0 6px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.plan-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.plan-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.plan-name {
    font-size: 1.25rem;
    color: white;
    margin: 0;
}

.plan-tagline {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0 0 1.1rem;
    min-height: 2.4em;
}

/* --- Price --- */
.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.plan-amount {
    font-size: 2.1rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    letter-spacing: -0.02em;
}

.plan-period {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.plan-price-note {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin: 0 0 1.25rem;
    min-height: 1em;
}

/* --- Limits list --- */
.plan-limits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 9px;
    border-top: 1px solid var(--color-border);
    padding-top: 1.1rem;
    flex: 1;
}

.plan-limits li {
    color: var(--color-text-secondary);
    font-size: 0.86rem;
    line-height: 1.35;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.plan-limits li i {
    color: var(--color-primary);
    margin-top: 3px;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.plan-limits li .limit-val {
    color: white;
    font-weight: 700;
}

.plan-limits li.is-infinite .limit-val {
    color: var(--color-primary-light);
}

/* --- CTA --- */
.plan-cta {
    margin-top: auto;
    width: 100%;
    text-align: center;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 12px 18px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.plan-cta:hover {
    background: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px -6px rgba(16, 185, 129, 0.5);
}

.plan-cta.is-current {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    cursor: default;
}

.plan-cta.is-current:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: none;
    box-shadow: none;
}

.subs-disclaimer {
    max-width: 760px;
    margin: 2.5rem auto 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

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

    .subs-hero h2 {
        font-size: 1.5rem;
    }
}
