/* -------------------------------------------------------------
   TutorMatch Premium Modern Design System
------------------------------------------------------------- */
:root {
    --primary-color: #2563EB;
    --primary-hover: #1D4ED8;
    --primary-light: #EFF6FF;
    --secondary-blue: #3B82F6;
    --accent-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    
    --bg-color: #F8FAFC;
    --card-bg: #FFFFFF;
    --border-color: #E2E8F0;
    
    --success-color: #10B981;
    --success-bg: #ECFDF5;
    --warning-color: #F59E0B;
    
    --purple-color: #7C3AED;
    --purple-light: #F3E8FF;
    
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --border-radius: 20px;
    
    --shadow-soft: 0 20px 40px -15px rgba(37, 99, 235, 0.07);
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 20px 35px -10px rgba(37, 99, 235, 0.15);
}

/* Reset & Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-logo {
    font-family: 'Poppins', sans-serif;
}

/* Layout Main */
.main-container {
    max-width: 1240px;
    margin: 40px auto 80px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* -------------------------------------------------------------
   Launch Offer Banner
------------------------------------------------------------- */
.launch-banner-wrapper {
    width: 100%;
}

.launch-banner {
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #1E293B 100%);
    border-radius: 16px;
    padding: 16px 28px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 12px 30px -10px rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.launch-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 200px;
    height: 200px;
    background: rgba(245, 158, 11, 0.15);
    filter: blur(50px);
    border-radius: 50%;
    pointer-events: none;
}

.banner-badge {
    background: #FEF3C7;
    color: #D97706;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-text {
    font-size: 15px;
    color: #E2E8F0;
    flex: 1;
}

.banner-text strong {
    color: #FFFFFF;
}

.seats-left {
    color: #FBBF24;
    font-weight: 700;
    margin-left: 6px;
}

.banner-btn {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 10px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transition: all 0.2s ease;
}

.banner-btn:hover {
    transform: translateX(3px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
    color: #FFFFFF;
}

/* -------------------------------------------------------------
   Top Hero Section
------------------------------------------------------------- */
.top-hero-section {
    display: grid;
    grid-template-columns: 42% 54%;
    gap: 4%;
    align-items: start;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.highlight-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.illustration-box {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
}

.illustration-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(37, 99, 235, 0.15);
    filter: blur(60px);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-3d-img {
    width: 80%;
    max-width: 300px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.benefit-icon {
    background: #DCFCE7;
    color: var(--success-color);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.benefit-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Hero Right Side (Pricing Cards) */
.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h2 {
    font-size: 32px;
    font-weight: 800;
}

.pricing-header p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.currency-toggle-wrapper {
    display: inline-flex;
    background: #E2E8F0;
    padding: 4px;
    border-radius: 30px;
}

.toggle-btn {
    border: none;
    background: transparent;
    padding: 8px 22px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Pricing Cards Wrapper */
.pricing-cards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 36px 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

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

.popular-card {
    border: 2px solid var(--primary-color);
    background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
}

.card-plan-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.card-price {
    font-size: 38px;
    font-weight: 800;
    margin: 10px 0 2px;
    color: var(--text-dark);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-meta {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.credit-cost-info {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 6px auto 20px;
    width: fit-content;
}

.credit-cost-info.highlight {
    background: #FEF3C7;
    color: #D97706;
}

.card-features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 13px;
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #334155;
    line-height: 1.4;
}

.card-features i {
    color: var(--primary-color);
    margin-top: 2px;
}

.card-btn-outline {
    width: 100%;
    padding: 13px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.card-btn-outline:hover {
    background: var(--primary-light);
}

.card-btn-primary {
    width: 100%;
    padding: 13px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all 0.2s;
}

.card-btn-primary:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

/* -------------------------------------------------------------
   Credit Consumption Rules Section
------------------------------------------------------------- */
.credit-rules-section {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.rules-header {
    text-align: center;
    margin-bottom: 28px;
}

.rules-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.rules-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.credit-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rule-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all 0.2s ease;
}

.rule-card:hover {
    border-color: var(--primary-color);
    background: #FFFFFF;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.rule-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.rule-icon.blue {
    background: var(--primary-light);
    color: var(--primary-color);
}

.rule-icon.purple {
    background: var(--purple-light);
    color: var(--purple-color);
}

.rule-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.rule-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 12px;
}

.rule-badge {
    display: inline-block;
    background: #DBEAFE;
    color: var(--primary-hover);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}

.purple-badge {
    background: #EDE9FE;
    color: var(--purple-color);
}

/* -------------------------------------------------------------
   How Credits Work Section
------------------------------------------------------------- */
.how-it-works-section {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 48px 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    text-align: center;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 40px;
}

.steps-flow-container {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.steps-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 160px;
    position: relative;
}

.step-number {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.gold-num {
    color: #D97706;
    background: #FEF3C7;
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.blue-light { background: #EFF6FF; color: var(--primary-color); }
.green-light { background: #DCFCE7; color: var(--success-color); }
.gold-light { background: #FEF3C7; color: #D97706; }

.step-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.step-arrow {
    color: #CBD5E1;
    font-size: 12px;
}

.highlight-text {
    color: var(--primary-color) !important;
    font-weight: 700;
}

/* -------------------------------------------------------------
   Fair Security Policy Banner
------------------------------------------------------------- */
.fair-policy-banner {
    background: linear-gradient(90deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 1px solid #A7F3D0;
    border-radius: var(--border-radius);
    padding: 28px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.policy-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.shield-badge-icon {
    background: var(--success-color);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.policy-text h3 {
    font-size: 18px;
    color: #065F46;
    font-weight: 700;
}

.policy-text p {
    font-size: 14px;
    color: #047857;
    max-width: 650px;
}

.policy-badge {
    background: white;
    color: var(--success-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* -------------------------------------------------------------
   FAQ Section (Updated with Better Text Spacing & Formatting)
------------------------------------------------------------- */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 30px auto 0;
}

.faq-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px 26px;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-card:hover {
    border-color: var(--primary-color);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.faq-toggle {
    color: var(--text-muted);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, margin-top 0.3s ease;
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.65;          /* Lines ke beech gapping aur readability ke liye */
    letter-spacing: 0.2px;        /* Letters ko clean dikhane ke liye */
}

.faq-body p {
    margin: 0;                   /* Paragraph spacing reset */
}

.faq-card.open .faq-body {
    max-height: 300px;           /* Height badha di hai taaki lamba content na kate */
    margin-top: 14px;            /* Question aur Answer ke beech gap */
    padding-top: 4px;            /* Smooth visual break */
}

.faq-card.open .faq-toggle {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* -------------------------------------------------------------
   Bottom CTA Banner
------------------------------------------------------------- */
.bottom-cta-banner {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 32px 40px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-card);
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-cap-icon {
    background: var(--primary-light);
    color: var(--primary-color);
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.cta-cap-icon img {
    width: 100%;
    height: auto;
    display: block;
}

.cta-left h3 {
    font-size: 20px;
    font-weight: 700;
}

.cta-left p {
    font-size: 14px;
    color: var(--text-muted);
}

.cta-btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all 0.2s;
}

.cta-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    color: #ffffff;
}

/* -------------------------------------------------------------
   Responsive Breakpoints
------------------------------------------------------------- */
@media (max-width: 992px) {
    .launch-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px;
    }

    .top-hero-section {
        grid-template-columns: 1fr;
    }

    .pricing-cards-wrapper {
        margin-top: 24px;
    }

    .credit-rules-grid {
        grid-template-columns: 1fr;
    }

    .steps-row {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .step-arrow {
        display: none;
    }

    .fair-policy-banner, 
    .bottom-cta-banner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .policy-content, 
    .cta-left {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .pricing-cards-wrapper {
        grid-template-columns: 1fr;
    }

    .credit-rules-section {
        padding: 24px 16px;
    }

    .rule-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .how-it-works-section {
        padding: 32px 20px;
    }
}

/* ==========================================
   BLUE BUTTON HOVER TEXT FIX
   ========================================== */

/* Value Pack / Primary Blue Buttons ke Hover par Text White hi rahega */
a[href*="plan=value"]:hover,
a[href*="plan=value"]:hover *,
.tm-btn-primary:hover,
.tm-btn-primary:hover * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}