/* -------------------------------------------------------------
   LEGAL PADHAI - PREMIUM CSS DESIGN SYSTEM (APPLE AESTHETIC)
------------------------------------------------------------- */

/* Custom Variables */
:root {
    --bg-main: #070913;
    --bg-darker: #04050a;
    --bg-glass: rgba(15, 23, 42, 0.45);
    --bg-glass-hover: rgba(30, 41, 59, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-purple: #8b5cf6;
    --accent-indigo: #6366f1;
    --accent-gold: #fbbf24;
    --accent-gold-dark: #d97706;
    --accent-free: #10b981;
    --accent-danger: #ef4444;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-purple), var(--accent-indigo));
    --gradient-gold: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    --gradient-glow: 0 0 25px rgba(99, 102, 241, 0.35);
    --gradient-glow-gold: 0 0 25px rgba(217, 119, 6, 0.25);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
}

/* Light Theme Variables */
body.light-theme {
    --bg-main: #f8fafc;
    --bg-darker: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.65);
    --bg-glass-hover: rgba(255, 255, 255, 0.85);
    --border-glass: rgba(15, 23, 42, 0.08);
    --border-glass-hover: rgba(15, 23, 42, 0.15);
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #627284;
}

/* Light Mode Layout Overrides */
body.light-theme .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.light-theme .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

body.light-theme .nav-links {
    background: transparent;
}

body.light-theme .navbar {
    background: rgba(248, 250, 252, 0.75);
    border-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

body.light-theme .calc-results {
    background: rgba(0, 0, 0, 0.03);
}

body.light-theme .analytics-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

body.light-theme .hero-bg-glow {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
}

body.light-theme .cta-glow {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
}

body.light-theme .materials-stack .material-item {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.03);
}

body.light-theme .materials-stack .material-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

body.light-theme .exam-tag {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.03);
}

body.light-theme .exam-tag:hover {
    background: rgba(0, 0, 0, 0.03);
}

body.light-theme .brief-item {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.03);
}

body.light-theme .brief-item:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.05);
}

/* Base Styles & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Selection */
::selection {
    background: var(--accent-purple);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-indigo);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Common Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

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

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-lg {
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
    border-radius: 14px;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.btn-glow:hover {
    box-shadow: var(--gradient-glow);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
}

.yt-red {
    color: var(--accent-danger);
}

/* Glassmorphism Panel Utility */
.glass-panel {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--border-glass-hover);
    background: var(--bg-glass-hover);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 9, 19, 0.7);
    border-bottom: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(4, 5, 10, 0.9);
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.logo-accent {
    font-weight: 500;
    color: var(--accent-purple);
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: var(--transition-smooth);
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 320px;
    background: rgba(10, 14, 28, 0.95);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.item-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.item-icon {
    font-size: 1rem;
    color: var(--accent-indigo);
}

.item-icon.free-color { color: var(--accent-free); }
.item-icon.paid-color { color: var(--accent-purple); }
.item-icon.olet-color { color: var(--accent-gold); }

.item-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    padding-left: 1.6rem;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-actions .btn-secondary {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: none;
}

.nav-actions .btn-secondary:hover {
    color: var(--text-primary);
    transform: none;
    background: transparent;
}

.nav-actions .btn-primary {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
}

.nav-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.25);
}

.nav-actions-mobile {
    display: none;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Student Profile Dropdown Styles (Google Style) */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    transition: var(--transition-smooth);
}

.profile-btn:hover {
    transform: scale(1.05);
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-glass-hover);
    background-color: var(--bg-darker);
}



.profile-menu {
    position: absolute;
    top: 140%;
    right: 0;
    width: 320px;
    background: rgba(10, 14, 28, 0.98);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1010;
    backdrop-filter: blur(20px);
}

body.light-theme .profile-menu {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.profile-dropdown.active .profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Centered Google Style Header */
.profile-header-google {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.6rem 0.4rem 0.4rem;
}

.avatar-change-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
}

.profile-header-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-glass-hover);
    display: block;
}

.avatar-text-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-glass-hover);
}

.avatar-edit-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 22px;
    height: 22px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--border-glass-hover);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

body.light-theme .avatar-edit-overlay {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatar-change-wrapper:hover .avatar-edit-overlay {
    background: var(--accent-purple);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.1);
}

.profile-header-google .profile-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.1rem;
}

.profile-header-google .profile-email {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.manage-account-btn {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border-glass-hover);
    border-radius: 100px;
    text-decoration: none;
    transition: var(--transition-smooth);
    background: transparent;
}

.manage-account-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

body.light-theme .manage-account-btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* Avatar Placeholders in Navbar and Mobile drawer */
.navbar-avatar-wrapper {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.nav-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-glass-hover);
}

.mobile-avatar-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.mobile-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-glass-hover);
}

.profile-text-info {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.profile-email {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.profile-divider {
    height: 1px;
    background: var(--border-glass);
    margin: 0.5rem 0;
}

body.light-theme .profile-divider {
    background: rgba(15, 23, 42, 0.06);
}

.profile-links {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.profile-link-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.42rem 0.7rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.profile-link-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

body.light-theme .profile-link-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.profile-link-item i {
    width: 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.profile-link-item.logout-item {
    color: var(--accent-danger);
}

.profile-link-item.logout-item i {
    color: var(--accent-danger);
}

/* Appearance Theme Switcher in Profile Menu */
.profile-theme-selector {
    padding: 0.2rem 0.6rem;
}

.profile-theme-selector .selector-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.theme-button-group {
    display: flex;
    gap: 0.3rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 2px;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
}

body.light-theme .theme-button-group {
    background: rgba(0, 0, 0, 0.03);
}

.theme-opt-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.35rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-opt-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

body.light-theme .theme-opt-btn:hover {
    background: rgba(0, 0, 0, 0.02);
}

.theme-opt-btn.active {
    background: var(--text-primary);
    color: var(--bg-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Mobile Profile Drawer & Menu Card */
.mobile-profile-card {
    display: none;
}

@media (max-width: 768px) {
    .mobile-profile-card {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 1.5rem 1rem 1rem;
        border-bottom: 1px solid var(--border-glass);
        margin-bottom: 0.8rem;
    }

    body.light-theme .mobile-profile-card {
        border-bottom-color: rgba(15, 23, 42, 0.06);
    }

    .mobile-profile-card .mobile-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        object-fit: cover;
    }

    .mobile-profile-details {
        display: flex;
        flex-direction: column;
    }

    .mobile-profile-name {
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--text-primary);
    }

    .mobile-profile-email {
        font-size: 0.75rem;
        color: var(--text-muted);
    }

    .mobile-menu-divider {
        height: 1px;
        background: var(--border-glass);
        margin: 1rem 0;
    }

    body.light-theme .mobile-menu-divider {
        background: rgba(15, 23, 42, 0.06);
    }

    .mobile-menu-item {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0.6rem 1rem;
        font-family: var(--font-heading);
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-secondary);
        text-decoration: none;
        border-radius: 8px;
        transition: var(--transition-smooth);
    }

    .mobile-menu-item:hover {
        background: rgba(255, 255, 255, 0.04);
        color: var(--text-primary);
    }

    body.light-theme .mobile-menu-item:hover {
        background: rgba(0, 0, 0, 0.03);
    }

    .mobile-menu-item i {
        width: 20px;
        font-size: 0.95rem;
        color: var(--text-muted);
    }

    .mobile-menu-item.logout-item {
        color: var(--accent-danger);
        margin-top: 0.5rem;
    }

    .mobile-menu-item.logout-item i {
        color: var(--accent-danger);
    }

    /* Mobile Theme Toggler */
    .theme-switcher-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.8rem 1rem;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid var(--border-glass);
        border-radius: var(--border-radius-md);
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    body.light-theme .theme-switcher-mobile {
        background: rgba(0, 0, 0, 0.02);
    }

    .switcher-label {
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 0.85rem;
        color: var(--text-secondary);
    }

    .mobile-theme-buttons {
        display: flex;
        gap: 0.4rem;
    }

    .theme-opt-mobile {
        width: 32px;
        height: 32px;
        background: none;
        border: 1px solid transparent;
        border-radius: 6px;
        color: var(--text-muted);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        transition: var(--transition-smooth);
    }

    .theme-opt-mobile:hover {
        color: var(--text-primary);
        background: rgba(255, 255, 255, 0.04);
    }

    body.light-theme .theme-opt-mobile:hover {
        background: rgba(0, 0, 0, 0.03);
    }

    .theme-opt-mobile.active {
        color: var(--accent-purple);
        border-color: rgba(139, 92, 246, 0.3);
        background: rgba(139, 92, 246, 0.1);
    }
}

/* Hero Section */
.hero-section {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(7, 9, 19, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge-container {
    margin-bottom: 1.5rem;
}

.hero-badge {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c084fc;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-subtitle strong {
    color: var(--accent-free);
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
    max-width: 550px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* Dashboard Mockup (Apple-like App Window) */
.hero-mockup-container {
    perspective: 1000px;
}

.dashboard-mockup {
    background: #0f1322;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
                0 0 100px rgba(99, 102, 241, 0.1);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.dashboard-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.mockup-header {
    background: #090c16;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-search {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 240px;
    margin: 0 auto;
}

.mockup-body {
    display: grid;
    grid-template-columns: 160px 1fr;
    height: 380px;
}

.mockup-sidebar {
    background: #0a0d18;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-item {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-smooth);
}

.sidebar-item.active, .sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.sidebar-item.active i {
    color: var(--accent-purple);
}

.mockup-main {
    padding: 1rem;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 1rem;
    height: 100%;
}

.main-video-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-placeholder {
    background: #030408;
    border-radius: var(--border-radius-md);
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.live-indicator {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-danger);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.play-center-btn {
    font-size: 2.5rem;
    color: #fff;
    opacity: 0.8;
    transition: var(--transition-smooth);
    cursor: pointer;
    z-index: 2;
}

.play-center-btn:hover {
    transform: scale(1.15);
    opacity: 1;
}

.video-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    z-index: 1;
}

.video-overlay-text h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.video-overlay-text p {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.main-sidebar-panel {
    background: #090c16;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.live-chat-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.chat-messages {
    padding: 0.8rem;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.chat-msg {
    font-size: 0.65rem;
    line-height: 1.3;
}

.chat-user {
    font-weight: 700;
    color: var(--accent-indigo);
}

.chat-user.mentor-user {
    color: var(--accent-gold);
}

.chat-text {
    color: var(--text-secondary);
}

.chat-input-placeholder {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.6rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Sections Global Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-purple);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

/* Pricing Disruption Section */
.disruption-section {
    background-color: var(--bg-darker);
}

.disruption-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: stretch;
}

/* Calculator CSS */
.calculator-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.calculator-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.calc-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.slider-container {
    margin-bottom: 2rem;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.highlight-val {
    color: var(--accent-purple);
    font-size: 1.2rem;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 100px;
    background: #1e293b;
    outline: none;
    margin-bottom: 0.5rem;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-purple);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    transition: var(--transition-smooth);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0 5px;
}

.calc-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(0,0,0,0.2);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.calc-box {
    display: flex;
    flex-direction: column;
}

.calc-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.calc-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
}

.calc-price.bad-price {
    color: var(--text-muted);
    text-decoration: line-through;
}

.calc-price.good-price {
    color: var(--accent-purple);
}

.calc-icon-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.savings-banner {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.15), rgba(7, 9, 19, 0));
    border-left: 4px solid var(--accent-free);
    padding: 1rem 1.5rem;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.savings-text {
    font-size: 1.05rem;
    color: var(--text-primary);
}

.savings-text strong {
    color: var(--accent-free);
    font-size: 1.25rem;
}

/* Comparison Card */
.comparison-card {
    padding: 2.5rem;
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comparison-list li {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.comp-icon.check {
    color: var(--accent-free);
    font-size: 1.3rem;
    margin-top: 0.1rem;
}

.comp-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.1rem;
}

.comp-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Batches Section */
.tab-headers {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.tab-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    border-radius: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    border-color: var(--border-glass-hover);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--text-primary);
    color: var(--bg-main);
    border-color: var(--text-primary);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.batch-detail-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.batch-info-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.batch-badge {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 1.2rem;
}

.batch-badge.free {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-free);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.batch-badge.premium {
    background: rgba(139, 92, 246, 0.12);
    color: #c084fc;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.batch-badge.special {
    background: rgba(251, 191, 36, 0.12);
    color: var(--accent-gold);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.batch-info-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.batch-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.batch-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.batch-features li {
    font-size: 0.95rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.batch-features li i {
    color: var(--accent-indigo);
}

#free-batch .batch-features li i { color: var(--accent-free); }
#paid-batch .batch-features li i { color: var(--accent-purple); }
#olet-batch .batch-features li i { color: var(--accent-gold); }

.batch-cta-box {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-lg);
    width: 100%;
}

.price-container {
    display: flex;
    flex-direction: column;
}

.slashed-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.active-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.active-price.free-color { color: var(--accent-free); }
.active-price.paid-color { color: var(--accent-purple); }
.active-price.olet-color { color: var(--accent-gold); }

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.batch-visual-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.visual-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.materials-stack {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.material-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition-smooth);
}

.material-item:hover {
    background: rgba(255,255,255,0.04);
    transform: translateX(5px);
}

.mat-icon {
    width: 42px;
    height: 42px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
}

.mat-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.mat-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Books Showcase for Paid Batch */
.books-showcase {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.book-spine {
    width: 40px;
    height: 180px;
    border-radius: 4px;
    background: #111;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5), 
                inset 1px 0 0 rgba(255, 255, 255, 0.2);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.book-spine:hover {
    transform: translateY(-10px) scale(1.05);
}

.book-1 { background: linear-gradient(to bottom, #4c1d95, #2e1065); }
.book-2 { background: linear-gradient(to bottom, #1e3a8a, #172554); }
.book-3 { background: linear-gradient(to bottom, #065f46, #022c22); }
.book-4 { background: linear-gradient(to bottom, #78350f, #451a03); }

.books-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Exam Tags for Olet Batch */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.exam-tag {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 1.2rem;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
}

.exam-tag:hover {
    background: rgba(255,255,255,0.05);
    color: var(--accent-gold);
    border-color: rgba(251, 191, 36, 0.2);
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
    gap: 1.5rem;
}

.bento-box {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.box-large {
    grid-column: span 2;
}

.box-medium {
    grid-column: span 1;
}

.bento-header {
    max-width: 480px;
}

.bento-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-purple);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.bento-tag.font-accent {
    color: var(--accent-gold);
}

.bento-header h3 {
    font-size: 1.45rem;
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.bento-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.bento-visual {
    flex: 1;
    position: relative;
    margin-top: 1.5rem;
}

/* Document / Notes Bento Preview */
.notes-preview {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.document-page {
    background: #ffffff;
    color: #1e293b;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    padding: 1.2rem 1.5rem;
    width: 80%;
    height: 150px;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.3);
    border: 1px solid #e2e8f0;
}

.doc-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-bottom: 0.8rem;
}

.doc-header h4 {
    color: #0f172a;
    font-size: 0.75rem;
}

.doc-header span {
    font-size: 0.65rem;
    color: #64748b;
}

.doc-body {
    font-size: 0.7rem;
    line-height: 1.4;
}

.doc-body p {
    margin-bottom: 0.4rem;
}

.doc-body ul {
    padding-left: 1rem;
}

/* Mindmaps Bento Preview */
.mindmap-preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 1rem;
}

.mindmap-node {
    background: #0f172a;
    border: 1px solid var(--border-glass-hover);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.mindmap-node.root {
    background: var(--gradient-primary);
    border: none;
    z-index: 2;
}

.mindmap-node.child {
    font-size: 0.7rem;
    z-index: 2;
}

.mindmap-line {
    background: var(--accent-indigo);
    position: absolute;
    width: 2px;
    z-index: 1;
}

.mindmap-line.line-1 {
    height: 40px;
    top: 50%;
    left: 45%;
    transform: rotate(30deg);
}

.mindmap-line.line-2 {
    height: 40px;
    top: 50%;
    left: 55%;
    transform: rotate(-30deg);
}

.child-1 {
    position: absolute;
    bottom: 0;
    left: 15%;
}

.child-2 {
    position: absolute;
    bottom: 0;
    right: 15%;
}

/* Supreme Court Briefs Preview */
.case-briefs-preview {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    justify-content: center;
}

.brief-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.brief-item:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

.brief-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.brief-verdict {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* Mock Exam Bento Preview */
.mock-analytics-preview {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: flex-end;
}

.analytics-card {
    background: #0f1322;
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 1.2rem;
    width: 48%;
    height: 120px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.analytics-stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
}

.stat-num.text-purple { color: var(--accent-purple); }
.stat-num.text-gold { color: var(--accent-gold); }

.stat-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.progress-bar-container {
    background: #1e293b;
    height: 5px;
    border-radius: 10px;
    margin-top: 0.8rem;
    overflow: hidden;
}

.progress-bar-fill {
    background: var(--gradient-primary);
    height: 100%;
}

/* Blogs Section */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
}

.blog-tag {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.blog-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.blog-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex: 1;
}

.blog-link {
    color: var(--accent-purple);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.blog-link:hover {
    color: var(--accent-indigo);
    gap: 0.6rem;
}

/* FAQ Accordion Section */
.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    padding: 0.5rem 0.5rem;
    overflow: hidden;
}

.faq-trigger {
    background: none;
    border: none;
    width: 100%;
    padding: 1.2rem 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-purple);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 1.5rem;
}

.faq-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-bottom: 1.2rem;
    line-height: 1.6;
}

/* Call to Action Banner */
.cta-banner-section {
    padding-bottom: 8rem;
}

.cta-banner {
    padding: 4.5rem;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(7, 9, 19, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Footer Section */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-glass);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 0.8fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.brand-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-col ul li a {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links-col ul li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.legal-links a:hover {
    color: var(--text-primary);
}

/* Animations Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* -------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES (MOBILE OPTIMIZATION)
------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-stats {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-mockup-container {
        max-width: 650px;
        margin: 0 auto;
    }
    
    .disruption-grid {
        grid-template-columns: 1fr;
    }
    
    .batch-detail-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .batch-info-card {
        align-items: center;
        text-align: center;
    }
    
    .batch-features {
        align-items: center;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 280px;
    }
    
    .box-large {
        grid-column: span 2;
    }
    
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0.8rem 1.2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: #070913;
        flex-direction: column;
        align-items: stretch;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition-smooth);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    body.light-theme .nav-links {
        background: #f8fafc;
        border-right: 1px solid rgba(15, 23, 42, 0.06);
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-actions-mobile {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        background: rgba(255,255,255,0.02);
        border: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
    }
    
    .nav-item.active .dropdown-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-mockup-container {
        display: none;
    }
    
    .hero-stats {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .calculator-card, .comparison-card, .batch-visual-card {
        padding: 1.5rem;
    }
    
    .books-showcase {
        flex-wrap: wrap;
    }
    
    .exam-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-headers {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 1.2rem;
    }
    
    .bento-box {
        padding: 1.5rem;
    }
    
    .box-large {
        grid-column: span 1;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .calc-results {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .calc-icon-arrow {
        transform: rotate(90deg);
    }
    
    .exam-tag {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .batch-cta-box {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .batch-cta-box .btn {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.9rem;
    }
    .stat-number {
        font-size: 1.6rem;
    }
    .active-price {
        font-size: 1.8rem;
    }
    .exam-grid {
        grid-template-columns: 1fr;
    }
}
