/* ========================================
   PRICING PAGE STYLES
   ======================================== */

/* ========== TRIAL BADGE ========== */
.trial-badge {
    margin-top: var(--spacing-md);
}

.trial-badge span {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    color: var(--white);
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
}

/* ========== PRICING TOGGLE ========== */
.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.toggle-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 30px;
    transition: var(--transition-normal);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: var(--transition-normal);
}

input:checked+.toggle-slider {
    background: var(--gradient-gold);
}

input:checked+.toggle-slider:before {
    transform: translateX(30px);
}

/* ========== PRICING GRID ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.pricing-card {
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
}

.pricing-card.popular {
    border: 3px solid var(--gold);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: var(--navy);
    padding: 0.5rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-header h3 {
    color: var(--emerald-green);
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.plan-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

.price-wrapper {
    margin: var(--spacing-md) 0;
}

.price-monthly,
.price-weekly {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
}

.currency {
    font-size: 2rem;
    font-weight: 600;
    color: var(--emerald-green);
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 1.2rem;
    color: var(--text-light);
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md);
    background: var(--off-white);
    border-radius: var(--radius-md);
}

.plan-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-dark);
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
    margin-top: var(--spacing-md);
}

/* ========== PRICING INFO ========== */
.pricing-info {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--off-white);
    border-radius: var(--radius-md);
}

.pricing-info p {
    margin-bottom: var(--spacing-xs);
    font-size: 1.05rem;
}

/* ========== COMPARISON TABLE ========== */
.comparison {
    background: var(--off-white);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table thead {
    background: var(--gradient-primary);
    color: var(--white);
}

.comparison-table th,
.comparison-table td {
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table tbody tr:hover {
    background: var(--off-white);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* ========== FAQ SECTION ========== */
.faq {
    background: var(--navy);
    color: var(--white);
    position: relative;
}

.faq .section-title h2 {
    color: var(--white);
}

.faq .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.faq-item {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h3 {
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ========== CTA SECTION ========== */
.cta {
    background: var(--gradient-overlay);
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .amount {
        font-size: 3rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: var(--spacing-xs) var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .trial-badge span {
        font-size: 0.95rem;
        padding: 0.8rem 1.5rem;
    }

    .pricing-toggle-wrapper {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}