/* subscribe/subscribe.css — SFO Terminal Subscription Page */

/* --- Tier accent colors --- */
:root {
    --tier-bronze: #cd7f32;
    --tier-silver: #b8c4d4;
    --tier-gold:   #ffd700;
}

/* --- Page intro --- */
.subscribe-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}
.subscribe-intro h2 {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.subscribe-intro p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Pricing grid --- */
.pricing-grid {
    display: flex;
    gap: 24px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto 48px;
}

/* --- Individual card --- */
.pricing-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Accent top border per tier */
.pricing-card.bronze { border-top: 3px solid var(--tier-bronze); }
.pricing-card.silver { border-top: 3px solid var(--tier-silver); }
.pricing-card.gold   { border-top: 3px solid var(--tier-gold); }

/* Featured card (Silver) */
.pricing-card.featured {
    transform: scale(1.03);
    box-shadow: 0 4px 24px rgba(77, 166, 255, 0.12);
}
.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

/* --- Popular badge --- */
.badge-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tier-silver);
    color: #121212;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 16px;
    border-radius: 10px;
    white-space: nowrap;
}

/* --- Tier name --- */
.tier-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.bronze .tier-name { color: var(--tier-bronze); }
.silver .tier-name { color: var(--tier-silver); }
.gold   .tier-name { color: var(--tier-gold); }

/* --- Tier icon --- */
.tier-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}
.bronze .tier-icon { color: var(--tier-bronze); }
.silver .tier-icon { color: var(--tier-silver); }
.gold   .tier-icon { color: var(--tier-gold); }

/* --- Price display --- */
.price-display {
    margin-bottom: 20px;
}
.price-monthly {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}
.price-monthly .per {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}
.price-annual {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}
.price-trial {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
    background: rgba(0, 183, 70, 0.15);
    color: var(--success);
}

/* --- Feature list --- */
.feature-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    flex: 1;
}
.feature-list li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}
.feature-list li i {
    color: var(--success);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.8rem;
}
.feature-list .separator {
    border-top: 1px solid var(--border);
    margin: 8px 0;
    padding: 0;
    display: block;
}

/* --- CTA button --- */
.btn-subscribe {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s ease;
    text-decoration: none;
}
.btn-subscribe:hover {
    opacity: 0.88;
}
.bronze .btn-subscribe {
    background: var(--tier-bronze);
    color: #121212;
}
.silver .btn-subscribe {
    background: var(--tier-silver);
    color: #121212;
}
.gold .btn-subscribe {
    background: var(--tier-gold);
    color: #121212;
}

/* --- Gold dual pricing --- */
.gold-alt-price {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.gold-alt-price .alt-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.gold-alt-price .alt-detail {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.gold-alt-price .alt-link {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tier-gold);
    transition: opacity 0.15s ease;
}
.gold-alt-price .alt-link:hover {
    opacity: 0.75;
}

/* --- Bottom disclaimer --- */
.subscribe-footer {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.subscribe-footer p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .pricing-grid {
        flex-direction: column;
        max-width: 440px;
    }
    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}
