/* ===========================
   Pricing Page Specific Styles
   =========================== */

/* Pricing Hero */
.pricing-hero {
    padding: 140px 0 60px;
    background: var(--gradient-hero);
    text-align: center;
}

.pricing-hero h1 {
    margin-bottom: 16px;
}

.pricing-hero .hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
}

/* Pricing Section */
.pricing-section {
    padding: 60px 0 100px;
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

/* Pricing Card */
.pricing-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(59, 130, 246, 0.15);
    padding-top: 48px;
    margin-top: 12px;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    z-index: 1;
}

.plan-header {
    text-align: center;
    margin-bottom: 24px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.plan-description {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.plan-price {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-600);
    vertical-align: top;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--gray-500);
}

.plan-features {
    list-style: none;
    margin-bottom: 24px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.plan-features li svg {
    width: 18px;
    height: 18px;
    color: var(--accent-emerald);
    flex-shrink: 0;
}

.plan-features li strong {
    color: var(--gray-900);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Top-up Notice */
.topup-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #fef3c7, #fef9c3);
    border: 1px solid #fcd34d;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.notice-icon {
    font-size: 1.5rem;
}

.notice-content h4 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.notice-content p {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin: 0;
}

.notice-content a {
    color: var(--primary-600);
    font-weight: 500;
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background: #fff;
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 48px;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.comparison-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table th.highlight {
    background: var(--primary-50);
    color: var(--primary-700);
}

.comparison-table td.highlight {
    background: var(--primary-50);
}

.comparison-table .check {
    color: var(--accent-emerald);
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .cross {
    color: var(--gray-400);
}

.comparison-table tbody tr:hover {
    background: var(--gray-50);
}

.comparison-table tbody tr:hover td.highlight {
    background: var(--primary-100);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 48px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.faq-item a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 500;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Active nav link */
.nav-links a.active {
    color: var(--primary-600);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-hero {
        padding: 120px 0 40px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.popular {
        order: -1;
    }

    .topup-notice {
        flex-direction: column;
        text-align: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}