/* ============================================
   FastRounds Buy Now Page Styles
   Page-specific styles for buy-now.php
   Yellow Moon palette (teal/purple/gold)
   ============================================ */

.pricing-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.pricing-header p {
    font-size: 1.2em;
    color: var(--text-secondary);
}

.pricing-stripe-note {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95em;
    color: var(--text-secondary);
    margin-top: 0;
}

.pricing-stripe-note p {
    margin: 0;
}

.pricing-stripe-note strong {
    color: var(--text-primary);
}

.section-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Billing toggle (Monthly / Annual) */
.billing-toggle {
    text-align: center;
    margin-bottom: 40px;
}

.billing-toggle button {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 30px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 1em;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    color: var(--text-secondary);
    font-weight: 600;
    font-family: var(--font-family);
}

.billing-toggle button:hover {
    color: var(--teal);
    border-color: var(--teal);
}

.billing-toggle button.active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
}

.billing-toggle .save-badge {
    display: inline-block;
    background: var(--gold);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8em;
    margin-left: 5px;
    font-weight: 700;
}

/* Pricing grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-teal);
    border-color: var(--teal);
}

.pricing-card.popular {
    border-color: var(--gold);
    border-width: 2px;
}

.pricing-card.popular:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-glow-gold);
}

.pricing-card.popular::before {
    content: "MOST POPULAR";
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #ffffff;
    padding: 3px 14px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.plan-name {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.plan-price {
    font-size: 3em;
    font-weight: 800;
    color: var(--gold);
    margin: 20px 0;
    line-height: 1;
}

.plan-price .currency {
    font-size: 0.5em;
    vertical-align: super;
}

.plan-price .period {
    font-size: 0.3em;
    color: var(--text-secondary);
    font-weight: normal;
}

.plan-savings {
    color: var(--success);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 0.95em;
}

/* Scarcity line on Single Event card */
.plan-scarcity {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.9em;
}

.plan-scarcity s {
    color: var(--text-muted);
    font-size: 1em;
    font-weight: 600;
    margin-right: 8px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li:before {
    content: "✓ ";
    color: var(--teal);
    font-weight: bold;
    margin-right: 8px;
}

.buy-button {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    font-family: var(--font-family);
    box-shadow: var(--shadow-sm);
}

.buy-button:hover {
    box-shadow: var(--shadow-glow-teal);
    transform: translateY(-2px);
    color: #ffffff;
}

/* One-time section */
.one-time-section {
    margin-top: 20px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}

/* FAQ section */
.faq-section {
    margin-top: 60px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Terms acceptance notice */
.terms-notice {
    text-align: center;
    margin: 40px 0 20px 0;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.terms-notice p {
    margin: 0;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.terms-notice a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 600;
}

.terms-notice a:hover {
    color: var(--teal-dark);
}

/* Bottom CTA buttons */
.bottom-cta-section {
    margin: 60px 0;
    text-align: center;
}

.bottom-cta-section .intro-text {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.bottom-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.bottom-cta-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
}

.bottom-cta-btn:hover {
    box-shadow: var(--shadow-glow-teal);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Guarantee badge */
.pricing-guarantee {
    text-align: center;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    color: var(--gold-dark);
    font-size: 0.95em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing-guarantee svg {
    flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pricing-container {
        margin: 20px auto;
        padding: 0 15px;
    }

    .pricing-header h1 {
        font-size: 1.6em;
        line-height: 1.3;
    }

    .pricing-header p {
        font-size: 1em;
        padding: 0 15px;
    }

    .billing-toggle button {
        padding: 10px 20px;
        font-size: 0.9em;
        margin: 5px;
    }

    .section-title {
        font-size: 1.5em;
    }

    .bottom-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .bottom-cta-btn {
        width: 90%;
        max-width: 300px;
        padding: 14px 20px;
        white-space: normal;
    }

    .terms-notice {
        margin: 20px 10px 10px 10px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .pricing-header h1 {
        font-size: 1.5em;
    }

    .pricing-header p {
        font-size: 0.95em;
    }
}
