@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    /* Light Theme Color Palette */
    --primary-color: #ffffff;     /* Pure white for main backgrounds */
    --secondary-color: #F8F9FA;   /* Very light gray for secondary elements */
    --accent-color: #2563EB;      /* Blue for accents and highlights */
    --text-primary: #1F2937;      /* Dark gray text on light backgrounds */
    --text-secondary: #6B7280;    /* Medium gray for secondary text */
    --background: #FFFFFF;        /* Light background */
    --card-bg: #F9FAFB;           /* Very light gray for cards */
    --border-color: #E5E7EB;      /* Light gray borders */
    --hover-color: #1D4ED8;       /* Darker blue for hover states */
    --success-color: #059669;     /* Dark green for available items */
    --error-color: #DC2626;       /* Red for unavailable items */
    --warning-color: #D97706;     /* Orange for coming soon items */
    --sidebar-width: 280px;
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: -var(--sidebar-width);
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--primary-color);
    transition: left 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

/* Desktop behavior - sidebar pushes content */
@media (min-width: 1024px) {
    .sidebar {
        left: 0;
        position: fixed;
    }
    
    .main-content {
        margin-left: var(--sidebar-width);
    }
    
    .sidebar-overlay {
        display: none;
    }
}

/* Mobile behavior - sidebar overlays content */
@media (max-width: 1023px) {
    .sidebar {
        left: -100vw;
        width: 100vw;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-logo {
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sidebar-nav {
    padding: 1rem 0;
}

.nav-section {
    margin-bottom: 2rem;
}

.nav-section-title {
    padding: 0 1.5rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-item {
    margin: 0.25rem 0;
}

/* Navigation styles */

.nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    opacity: 1;
}



.semester-group {
    margin-bottom: 0.5rem;
}

/* Semester toggle styles */

.semester-subjects {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(37, 99, 235, 0.05);
}

.semester-subjects.expanded {
    max-height: 400px;
}

/* Subject link styles */

.chevron {
    transition: transform 0.3s ease;
}

.semester-toggle.active .chevron {
    transform: rotate(180deg);
}



/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 2rem;
    max-width: none;
}

/* Header styles */

/* Hide menu toggle on desktop */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-color), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateX(-50%) scale(1.05);
    filter: brightness(1.1);
}

.logo img {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme toggle styles */



/* Footer */
/* Footer styles */



/* Light theme specific adjustments */
/* Navigation elements */
.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-color);
    border-left-color: var(--accent-color);
}

.nav-link.active {
    background: rgba(37, 99, 235, 0.15);
    color: var(--accent-color);
    border-left-color: var(--accent-color);
}

/* Semester toggles */
.semester-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    font-family: inherit;
}

.semester-toggle:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-color);
}

.semester-toggle.active {
    color: var(--accent-color);
    background: rgba(37, 99, 235, 0.1);
}

/* Subject links */
.subject-link {
    display: block;
    padding: 0.5rem 3rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.subject-link:hover {
    color: var(--accent-color);
    background: rgba(37, 99, 235, 0.1);
}

/* Header elements */
.menu-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(37, 99, 235, 0.1);
}

.theme-toggle {
    background: none;
    border: 1px solid transparent;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.theme-toggle:hover {
    color: var(--accent-color);
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--accent-color);
    transform: scale(1.05);
}

/* Cards and interactive elements */
.semester-card,
.course-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.semester-card::before,
.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--hover-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.semester-card:hover::before,
.course-card:hover::before {
    transform: scaleX(1);
}

.semester-card:hover,
.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
    border-color: var(--accent-color);
}

.semester-card a,
.course-card a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
}

.semester-card p,
.course-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Resource cards */
.resource-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--hover-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.resource-card:hover::before {
    transform: scaleX(1);
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
    border-color: var(--accent-color);
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--hover-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: #FFFFFF;
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-icon {
    transform: scale(1.1) rotate(5deg);
}

.resource-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.resource-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--primary-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--hover-color);
}

/* Main Content */
.main-content {
    padding-top: var(--header-height);
    padding-bottom: 50px;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Ensure proper sidebar spacing on desktop */
@media (min-width: 1024px) {
    .main-content {
        margin-left: var(--sidebar-width);
    }
}

/* Mobile behavior */
@media (max-width: 1023px) {
    .main-content {
        margin-left: 0;
    }
}

.content-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height) - 50px);
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}



.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
}

/* Semester and Course Buttons */
.semester-buttons,
.course-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Card styles */



/* Coming Soon Card Style */
.coming-soon-card {
    position: relative;
    border: 1px dashed var(--border-color);
    background: rgba(237, 137, 54, 0.05);
}

.coming-soon-card::before {
    background: linear-gradient(90deg, #ed8936, #f6ad55);
}

.coming-soon-card:hover {
    border-color: #ed8936;
    background: rgba(237, 137, 54, 0.1);
}

.coming-soon-card a {
    color: #ed8936;
}

.coming-soon-card p {
    color: #ed8936;
    opacity: 0.8;
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
    
    .semester-buttons,
    .course-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .content-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Subject Page Styles */
.subject-page {
    min-height: calc(100vh - var(--header-height) - 50px);
    background: var(--background);
}

.subject-header {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--hover-color) 100%);
    padding: 3rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.subject-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.subject-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.subject-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subject-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb-separator {
    opacity: 0.6;
}

.resources-section {
    padding: 4rem 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Resource card styles */



:root[data-theme="light"] .resource-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

:root[data-theme="light"] .resource-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--hover-color));
    color: #FFFFFF;
}

:root[data-theme="light"] .resource-title {
    color: var(--text-primary);
}

:root[data-theme="light"] .resource-description {
    color: var(--text-secondary);
}

.resource-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.resource-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.resource-status {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.resource-status i {
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.status-available {
    background: var(--success-color);
    color: #FFFFFF;
    border: 1px solid var(--success-color);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.status-available:hover {
    background: #16A34A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.status-coming-soon {
    background: var(--warning-color);
    color: #FFFFFF;
    border: 1px solid var(--warning-color);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.status-coming-soon:hover {
    background: #D97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.status-unavailable {
    background: var(--error-color);
    color: #FFFFFF;
    border: 1px solid var(--error-color);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.status-unavailable:hover {
    background: #DC2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Light theme specific adjustments for status badges */
:root[data-theme="light"] .status-available {
    background: #059669;
    color: #FFFFFF;
    border: 1px solid #059669;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

:root[data-theme="light"] .status-available:hover {
    background: #047857;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

:root[data-theme="light"] .status-coming-soon {
    background: #D97706;
    color: #FFFFFF;
    border: 1px solid #D97706;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

:root[data-theme="light"] .status-coming-soon:hover {
    background: #B45309;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

:root[data-theme="light"] .status-unavailable {
    background: #DC2626;
    color: #FFFFFF;
    border: 1px solid #DC2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

:root[data-theme="light"] .status-unavailable:hover {
    background: #B91C1C;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* Navigation Enhancement */
.back-nav {
    padding: 1rem 2rem;
    background: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--accent-color);
}

/* Responsive Design for Subject Pages */
@media (max-width: 768px) {
    .subject-title {
        font-size: 2rem;
    }
    
    .subject-subtitle {
        font-size: 1rem;
    }
    
    .subject-header {
        padding: 2rem 0;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .resource-card {
        padding: 1.5rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .subject-title {
        font-size: 1.75rem;
    }
    
    .resources-section {
        padding: 2rem 0;
    }
    
    .subject-header-content {
        padding: 0 1rem;
    }
}
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, var(--card-bg) 25%, var(--border-color) 50%, var(--card-bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Coming Soon Page Styles */
.coming-soon-container {
    min-height: calc(100vh - var(--header-height) - 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--background);
}

.coming-soon-content {
    max-width: 600px;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4rem 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.coming-soon-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--hover-color));
}

.coming-soon-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-color), var(--hover-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    animation: pulse-glow 2s infinite;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.5);
    }
}

.coming-soon-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--hover-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.coming-soon-description {
    margin-bottom: 3rem;
}

.coming-soon-description p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.coming-soon-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.coming-soon-actions .btn {
    gap: 0.5rem;
}

.features-preview {
    margin-bottom: 3rem;
}

.features-preview h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: var(--accent-color);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
    width: 20px;
}

.feature-item span {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.coming-soon-contact {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.coming-soon-contact a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.coming-soon-contact a:hover {
    color: var(--text-primary);
}

/* About Page Styles */
.about-page {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.about-header .page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-header .highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--hover-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-header .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-content {
    display: grid;
    gap: 3rem;
}

.section-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--hover-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.section-card:hover::before {
    transform: scaleX(1);
}

.section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.section-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--hover-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.section-card:hover .section-icon {
    transform: scale(1.1) rotate(5deg);
}

.section-card h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.features-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--hover-color));
}

.features-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--accent-color), var(--hover-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-page .features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--text-secondary), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.4);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--accent-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: var(--text-primary);
}

.cta-section {
    margin-top: 1rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.cta-card h2,
.cta-card p {
    position: relative;
    z-index: 2;
}

.cta-card h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-actions .btn {
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-actions .btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
}

.cta-actions .btn-primary:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
    .about-page .features-section .features-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-header .page-title {
        font-size: 2.5rem;
    }
    
    .about-header .subtitle {
        font-size: 1.125rem;
    }
    
    .section-card {
        padding: 2rem;
    }
    
    .features-section {
        padding: 3rem 2rem;
        margin-top: 0.5rem;
    }
    
    .features-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .about-page .features-section .features-grid,
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
    }
    
    .cta-card {
        padding: 2rem;
    }
    
    .cta-card h2 {
        font-size: 1.75rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .about-header {
        margin-bottom: 2rem;
        padding: 1rem 0;
    }
    
    .about-header .page-title {
        font-size: 2rem;
    }
    
    .about-header .subtitle {
        font-size: 1rem;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .section-card {
        padding: 1.5rem;
    }
    
    .section-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .section-card h2 {
        font-size: 1.5rem;
    }
    
    .features-section {
        padding: 2rem 1.5rem;
    }
    
    .features-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
        border-radius: 16px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .cta-card {
        padding: 1.5rem;
    }
    
    .cta-card h2 {
        font-size: 1.5rem;
    }
    
    .cta-card p {
        font-size: 1rem;
    }
}

.coming-soon-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
}

.coming-soon-actions .btn {
    min-width: 200px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.coming-soon-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.coming-soon-actions .btn:hover::before {
    left: 100%;
}

.features-preview {
    margin-bottom: 2rem;
}

.features-preview h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    font-size: 2rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
}

.feature-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}

.coming-soon-contact {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.coming-soon-contact p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.coming-soon-contact a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.coming-soon-contact a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

/* Responsive Design for Coming Soon Page */
@media (max-width: 768px) {
    .coming-soon-container {
        padding: 1rem;
    }
    
    .coming-soon-content {
        padding: 3rem 2rem;
    }
    
    .coming-soon-title {
        font-size: 2.5rem;
    }
    
    .coming-soon-subtitle {
        font-size: 1.125rem;
    }
    
    .coming-soon-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .coming-soon-actions {
        flex-direction: column;
    }
    
    .coming-soon-actions .btn {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .coming-soon-content {
        padding: 2rem 1.5rem;
    }
    
    .coming-soon-title {
        font-size: 2rem;
    }
    
    .coming-soon-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 1rem;
    }
}

/* ===== SUPPORT PAGE STYLES ===== */
.support-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.support-header {
    text-align: center;
    margin-bottom: 3rem;
}

.support-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.impact-section .section-card {
    text-align: center;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.options-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transition: left 0.5s ease;
}

.support-card:hover::before {
    left: 100%;
}

.support-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.support-card.primary {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--card-bg), rgba(139, 92, 246, 0.05));
}

.support-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.support-card:hover .support-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.support-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.support-actions {
    margin-top: 1.5rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--hover-color);
    border-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.recognition-section {
    margin-top: 2rem;
}

.contributors-note {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.note-text {
    font-style: italic;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.8;
}

.note-text i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.note-text small {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Support page responsive design */
@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .support-card {
        padding: 1.5rem;
    }
    
    .contributors-note {
        padding: 1.5rem;
    }
}

/* Light theme adjustments for support page */
:root[data-theme="light"] .support-card {
    background: var(--background);
    border-color: var(--border-color);
}

:root[data-theme="light"] .support-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

:root[data-theme="light"] .support-card.primary {
    background: linear-gradient(135deg, var(--background), rgba(37, 99, 235, 0.05));
}

:root[data-theme="light"] .contributors-note {
    background: rgba(37, 99, 235, 0.1);
    border-left-color: var(--accent-color);
}

/* Final override for About page layout - ensure 3x2 grid on desktop */
body .about-page .features-section .features-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 1024px) {
    body .about-page .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    body .about-page .features-section .features-grid {
        grid-template-columns: 1fr !important;
    }
}
