/* Pricing Page Styles */

.pricing-page {
    padding: 120px 20px 80px;
    position: relative;
}

.pricing-page .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   Hero
   ============================================ */
.pricing-hero {
    text-align: center;
    margin-bottom: 70px;
    padding-bottom: 30px;
}

.pricing-hero h1 {
    font-family: sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #A78BFA 0%, #818CF8 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.01em;
}

.pricing-hero .subtitle {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 720px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.pricing-currency-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.25);
    border-radius: 999px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.pricing-currency-note svg {
    width: 14px;
    height: 14px;
    color: #A78BFA;
    flex-shrink: 0;
}

/* ============================================
   Pricing Cards Grid
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 80px;
    align-items: stretch;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.18);
}

.pricing-card.featured {
    border-color: rgba(167, 139, 250, 0.6);
    background:
        linear-gradient(180deg, rgba(167, 139, 250, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, #A78BFA, #3b82f6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #A78BFA 0%, #3b82f6 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.45);
    white-space: nowrap;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #A78BFA;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.plan-tagline {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
    min-height: 44px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}

.plan-price .currency {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.plan-price .amount {
    font-size: 3.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.plan-price .period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    margin-left: 2px;
}

.plan-billing {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 28px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}

.plan-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #A78BFA;
}

.plan-cta {
    width: 100%;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 12px;
    color: #fff;
    font-family: sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.plan-cta:hover {
    background: rgba(167, 139, 250, 0.15);
    border-color: rgba(167, 139, 250, 0.6);
    transform: translateY(-2px);
}

.pricing-card.featured .plan-cta {
    background: linear-gradient(135deg, #A78BFA 0%, #3b82f6 100%);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.35);
}

.pricing-card.featured .plan-cta:hover {
    box-shadow: 0 12px 28px rgba(139, 92, 246, 0.55);
}

/* ============================================
   Comparison Table
   ============================================ */
.compare-section {
    margin: 60px 0 80px;
}

.compare-section h2 {
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 36px;
    color: #fff;
}

.compare-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-table th {
    background: rgba(167, 139, 250, 0.06);
    color: #A78BFA;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
    text-align: center;
    width: 18%;
}

.compare-table tbody tr:hover {
    background: rgba(167, 139, 250, 0.04);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.compare-check svg {
    width: 14px;
    height: 14px;
}

.compare-dash {
    color: rgba(255, 255, 255, 0.25);
    font-size: 1.2rem;
}

/* ============================================
   FAQ - reuses .faq-* classes from faq.css,
   but layout adjustments for pricing context
   ============================================ */
.pricing-page .faq-section {
    padding: 40px 0 60px;
}

.pricing-page .faq-section h2 {
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 36px;
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
}

/* ============================================
   Trust Signals
   ============================================ */
.trust-section {
    margin: 60px 0;
    padding: 36px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(20px);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(167, 139, 250, 0.1);
    color: #A78BFA;
}

.trust-icon svg {
    width: 24px;
    height: 24px;
}

.trust-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.trust-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.45;
}

/* ============================================
   Final CTA
   ============================================ */
.pricing-final-cta {
    margin: 60px auto 0;
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(59, 130, 246, 0.08) 100%);
    border: 1px solid rgba(167, 139, 250, 0.25);
    border-radius: 20px;
    max-width: 800px;
}

.pricing-final-cta h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}

.pricing-final-cta p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 28px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-final-cta .btn-final {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #A78BFA 0%, #3b82f6 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.35);
}

.pricing-final-cta .btn-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(139, 92, 246, 0.55);
}

/* ============================================
   Disclaimer Note
   ============================================ */
.entertainment-note {
    text-align: center;
    margin-top: 50px;
    padding: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-style: italic;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
        gap: 36px;
    }

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

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-page {
        padding: 100px 15px 60px;
    }

    .pricing-hero {
        margin-bottom: 50px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .plan-price .amount {
        font-size: 2.8rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 12px 14px;
        font-size: 0.88rem;
    }

    .compare-table th {
        font-size: 0.78rem;
    }

    .pricing-final-cta {
        padding: 36px 22px;
    }
}

@media (max-width: 480px) {
    .pricing-page {
        padding: 90px 12px 50px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }

    .pricing-final-cta .btn-final {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}
