@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #4f46e5;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    
    /* Subject Themes */
    --vr-color: #3b82f6;
    --vr-bg: #eff6ff;
    --dm-color: #10b981;
    --dm-bg: #ecfdf5;
    --qr-color: #8b5cf6;
    --qr-bg: #f5f3ff;
    --ar-color: #f59e0b;
    --ar-bg: #fffbeb;
    
    /* Layout Tokens */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(37, 99, 235, 0.05), 0 4px 6px -4px rgba(37, 99, 235, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
}

/* Global resets */
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography spacing */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

/* Navigation bar */
.navbar-custom {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.navbar-custom .navbar-brand {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.navbar-custom .nav-link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.925rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}
.navbar-custom .nav-link:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}
.btn-nav-cta {
    background-color: var(--primary);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem !important;
    border-radius: 9999px !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.btn-nav-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.hero-pill-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}
.hero-pill i {
    color: #10b981;
}

/* Page titles */
.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #0f172a 30%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
}

/* Main Premium Widget Card */
.widget-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

/* 2-Column inner divisions */
.widget-inputs {
    padding: 2.5rem;
    background: var(--surface);
}
.widget-sidebar {
    padding: 2.5rem;
    background: #fafafa;
    border-left: 1px solid var(--border);
}
@media (max-width: 991px) {
    .widget-sidebar {
        border-left: none;
        border-top: 1px solid var(--border);
    }
}

/* Slider / Input items */
.subject-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.25rem;
    transition: all 0.3s ease;
    background: var(--surface);
    position: relative;
}
.subject-card:focus-within {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 4px var(--theme-bg);
}
.subject-card.vr-theme { --theme-color: var(--vr-color); --theme-bg: var(--vr-bg); }
.subject-card.dm-theme { --theme-color: var(--dm-color); --theme-bg: var(--dm-bg); }
.subject-card.qr-theme { --theme-color: var(--qr-color); --theme-bg: var(--qr-bg); }
.subject-card.ar-theme { --theme-color: var(--ar-color); --theme-bg: var(--ar-bg); }

.subject-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.subject-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.subject-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background-color: var(--theme-bg);
    color: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
}
.subject-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
}
.subject-limit {
    font-size: 0.775rem;
    color: var(--text-muted);
    font-weight: 500;
}
.subject-input-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}
.subject-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 999px;
    background: #e2e8f0;
    outline: none;
    transition: background 0.15s ease-in-out;
}
.subject-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--theme-color);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.1s ease;
}
.subject-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.subject-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--theme-color);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.1s ease;
}
.subject-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.subject-number {
    width: 70px;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.5rem;
    outline: none;
    background-color: var(--background);
    color: var(--text-main);
    transition: all 0.2s ease;
}
.subject-number:focus {
    border-color: var(--theme-color);
    background-color: #fff;
}

/* Premium Buttons */
.btn-calc {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-calc:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.btn-calc:active {
    transform: translateY(0);
}
.btn-reset {
    background: #fff;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.btn-reset:hover {
    background: var(--background);
    border-color: var(--border-hover);
    color: var(--text-main);
}

/* Interactive Sidebar Card Styles */
.sidebar-status-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.sidebar-status-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

/* Results panel style override */
.results-container {
    animation: fadeInUp 0.5s ease-out forwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.result-stat-card {
    background: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
}
.result-stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-top: 0.25rem;
}
.result-stat-label {
    font-size: 0.775rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Percentile Rank Circle/Gauge Container */
.gauge-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.gauge-bar-outer {
    height: 16px;
    background: #f1f5f9;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}
.gauge-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #4f46e5 100%);
    border-radius: 9999px;
    width: 0%;
    transition: width 1s cubic-bezier(0.1, 0.8, 0.3, 1);
}

/* University Cards Grid */
.uni-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.uni-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.uni-card:hover {
    transform: translateX(4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.uni-title {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.uni-badge-competitive {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.15);
}
.uni-badge-cutoff {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.15);
}
.uni-score-badge {
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 8px;
}

/* Performance Analysis Subcards */
.perf-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.perf-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}
.perf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.perf-subject {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.925rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.perf-score {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
}
.perf-status {
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.perf-advice {
    font-size: 0.825rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 8px;
    margin-top: 4px;
}

/* HOW IT WORKS SECTION */
.section-heading-container {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
}
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.2);
}
.step-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}
.step-card.step-1 .step-badge { background-color: var(--vr-bg); color: var(--vr-color); }
.step-card.step-2 .step-badge { background-color: var(--dm-bg); color: var(--dm-color); }
.step-card.step-3 .step-badge { background-color: var(--qr-bg); color: var(--qr-color); }
.step-card.step-4 .step-badge { background-color: var(--ar-bg); color: var(--ar-color); }

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* WHY IS THIS THE BEST SECTION */
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}
.feature-card.f-green .feature-icon-wrapper { background-color: var(--dm-bg); color: var(--dm-color); }
.feature-card.f-purple .feature-icon-wrapper { background-color: var(--qr-bg); color: var(--qr-color); }
.feature-card.f-orange .feature-icon-wrapper { background-color: var(--ar-bg); color: var(--ar-color); }

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.feature-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* WHO USES THE DETECTOR SECTION */
.user-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    height: 100%;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}
.user-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}
.user-icon {
    font-size: 1.35rem;
    color: var(--primary);
    margin-top: 2px;
}
.user-title {
    font-size: 0.975rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.user-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0;
}

/* CTA BANNER PREPARATION CARD */
.premium-cta-card {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.premium-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.premium-cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff;
}
.premium-cta-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}
.btn-cta-light {
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.875rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}
.btn-cta-light:hover {
    transform: translateY(-2px);
    background: #f8fafc;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.btn-cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    padding: 0.875rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s ease;
}
.btn-cta-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* TESTIMONIALS SECTION */
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.stars-wrapper {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.testimonial-text {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}
.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.author-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}
.author-details {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* GLOBAL STATS BANNER */
.stats-banner {
    background: var(--primary);
    color: #fff;
    padding: 3rem 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}
.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

/* FAQ ACCORDION SECTION */
.faq-accordion .accordion-item {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md) !important;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-accordion .accordion-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}
.faq-accordion .accordion-button {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
    padding: 1.25rem 1.5rem;
    background-color: var(--surface);
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
}
.faq-accordion .accordion-button::after {
    margin-left: auto;
    filter: brightness(0.2);
}
.faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--surface);
    color: var(--primary);
}
.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: sepia(100%) hue-rotate(190deg) saturate(900%);
}
.faq-accordion .accordion-body {
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.925rem;
    line-height: 1.6;
}
.faq-question-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.faq-question-icon.q-blue { background-color: var(--vr-bg); color: var(--vr-color); }
.faq-question-icon.q-green { background-color: var(--dm-bg); color: var(--dm-color); }
.faq-question-icon.q-purple { background-color: var(--qr-bg); color: var(--qr-color); }

/* Bottom CTA Banner */
.bottom-cta-banner {
    background: linear-gradient(90deg, var(--primary) 0%, #1e40af 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 4rem;
}
.bottom-cta-banner h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}
.bottom-cta-banner p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
}

/* Content block styling (middle sections of text) */
.rich-content-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 4rem;
}
.rich-content-block p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.rich-content-block p.lead-text {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.6;
}
.rich-content-block h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.rich-content-block ul {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}
.rich-content-block li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Est. Score Table Styling */
.table-responsive-custom {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}
.table-custom {
    margin-bottom: 0;
    width: 100%;
    border-collapse: collapse;
}
.table-custom th {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border);
}
.table-custom td {
    padding: 1rem;
    font-size: 0.925rem;
    color: var(--text-main);
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    transition: background 0.15s ease;
}
.table-custom tr:hover td {
    background-color: #fafafa;
}

/* Footer redesign styling */
.footer-custom {
    background-color: #0f172a;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
    padding: 4rem 0 2rem 0;
}
.footer-logo {
    font-weight: 800;
    font-size: 1.35rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}
.footer-logo i {
    color: var(--primary);
}
.footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
}
.footer-heading {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}
.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #fff;
}
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
}
.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #1e293b;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
}
.footer-social-icon:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    margin-top: 3rem;
    font-size: 0.8rem;
    text-align: center;
}

/* Additional Styles for SAT, MCAT, LSAT, and CGPA Calculators */

/* Theme variables for Math & R&W */
.subject-card.math-theme { --theme-color: #10b981; --theme-bg: #ecfdf5; }
.subject-card.rw-theme { --theme-color: #3b82f6; --theme-bg: #eff6ff; }
.subject-card.cars-theme { --theme-color: #f59e0b; --theme-bg: #fffbeb; }
.subject-card.psych-theme { --theme-color: #8b5cf6; --theme-bg: #f5f3ff; }

/* Dynamic CGPA Subject Card Rows */
.cgpa-subject-row {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}
.cgpa-subject-row:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}
.btn-remove-subject {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fef2f2;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    cursor: pointer;
}
.btn-remove-subject:hover {
    background-color: #ef4444;
    color: #fff;
    transform: scale(1.05);
}

/* CGPA Results & Indicators */
.cgpa-display-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    padding: 2.5rem;
    text-align: center;
}
.cgpa-large-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1.1;
}

/* Probability Meters (SAT/LSAT) */
.meter-container {
    background: #f1f5f9;
    height: 16px;
    border-radius: 9999px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin: 1rem 0;
}
.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 9999px;
    transition: width 0.6s cubic-bezier(0.1, 0.8, 0.3, 1);
}

/* University Tier Rows */
.tier-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tier-item {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.2s ease;
}
.tier-item.active {
    background-color: var(--primary-light);
    border-color: rgba(37, 99, 235, 0.15);
    color: var(--primary);
}

/* Scholarship suggestions grid */
.scholarship-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 768px) {
    .scholarship-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.scholarship-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}
.scholarship-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.scholarship-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.scholarship-award {
    color: #10b981;
    font-weight: 700;
}

/* MCAT school lookup input */
.search-schools-wrapper {
    position: relative;
    margin-bottom: 1rem;
}
.search-schools-input {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
    background-color: #fff;
}
.search-schools-input:focus {
    border-color: var(--primary);
}

/* Tailoring specific components for supporting pages */
.legal-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}
.legal-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.legal-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

