/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

/* App Container */
#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background-color: #222020;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #171616;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.5));
}

header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    background: transparent;
    border: 1px solid #444;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-btn:hover {
    background-color: #007bff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.nav-btn.active {
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Content Sections */
.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 50%, #000000 100%);
    border-radius: 16px;
    margin-bottom: 2rem;
}

#chalkParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-container .hero {
    position: relative;
    z-index: 2;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #007bff, #0056b3, #003d82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: linear-gradient(135deg, #171414, #1a1a1a);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
    border-color: #007bff;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.3));
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.meta-item {
    background-color: #222020;
    color: #007bff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #333;
}

/* Technology Stack */
.tech-stack {
    background: linear-gradient(135deg, #171414, #1a1a1a);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.tech-stack h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background-color: #222020;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: #007bff;
    transform: translateY(-2px);
}

.tech-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tech-name {
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.tech-desc {
    font-size: 0.9rem;
    color: #888;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Implementation Grid */
.implementation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.impl-category {
    background: linear-gradient(135deg, #171414, #1a1a1a);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem;
}

.impl-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #007bff;
}

.impl-functions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.function-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background-color: #222020;
    border: 1px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.function-item:hover {
    border-color: #007bff;
    background-color: #1a1a1a;
}

.function-name {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 1rem;
    color: #007bff;
    font-weight: 600;
}

.function-desc {
    color: #ccc;
    font-size: 0.9rem;
}

.function-lines {
    color: #888;
    font-size: 0.8rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Code Preview */
.code-preview {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    margin-top: 2rem;
    overflow: hidden;
    display: none;
}

.code-preview.active {
    display: block;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #222020;
    border-bottom: 1px solid #333;
}

.code-header h4 {
    color: #007bff;
    font-size: 1.1rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: white;
    background-color: #333;
}

.code-preview pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-preview code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Architecture Overview */
.architecture-overview {
    background: linear-gradient(135deg, #171414, #1a1a1a);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.layer-diagram {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.layer {
    background-color: #222020;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.layer:hover {
    border-color: #007bff;
    transform: translateX(10px);
}

.layer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.layer-desc {
    color: #ccc;
    font-size: 0.9rem;
}

.layer-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: #007bff;
    margin: 0.5rem 0;
}

/* Data Flow */
.data-flow {
    margin-bottom: 3rem;
}

.data-flow h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #171414, #1a1a1a);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.flow-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.3));
}

.flow-label {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #007bff;
    margin: 0 0.5rem;
}

/* Key Patterns */
.key-patterns h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.pattern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pattern-card {
    background: linear-gradient(135deg, #171414, #1a1a1a);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.pattern-card:hover {
    border-color: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.pattern-card h4 {
    color: #007bff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pattern-card p {
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.pattern-example {
    background-color: #1a1a1a;
    color: #00ff88;
    padding: 0.75rem;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    border: 1px solid #333;
}

/* Design System */
.design-system {
    margin-bottom: 3rem;
}

.design-system h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.color-item {
    background: linear-gradient(135deg, #171414, #1a1a1a);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.color-item:hover {
    border-color: #007bff;
    transform: translateY(-2px);
}

.color-swatch {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.color-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.color-name {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.color-hex {
    color: #007bff;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
}

/* Component Library */
.component-library h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.component-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.component-demo {
    background: linear-gradient(135deg, #171414, #1a1a1a);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem;
}

.component-demo h4 {
    color: #007bff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Component Demos */
.demo-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-input,
.demo-textarea,
.demo-select {
    background-color: #222020;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 0.75rem;
    color: white;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.demo-input:focus,
.demo-textarea:focus,
.demo-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

.demo-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Layout System */
.layout-system h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.layout-example {
    background: linear-gradient(135deg, #171414, #1a1a1a);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem;
}

.layout-diagram {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.layout-header {
    background-color: #222020;
    border: 1px solid #333;
    border-radius: 8px 8px 0 0;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #007bff;
}

.layout-body {
    display: flex;
    border: 1px solid #333;
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.layout-sidebar {
    width: 250px;
    background-color: #1a1a1a;
    padding: 2rem 1rem;
    text-align: center;
    font-weight: 600;
    color: #ccc;
    border-right: 1px solid #333;
}

.layout-main {
    flex: 1;
    background-color: #0a0a0a;
    padding: 2rem;
    text-align: center;
    font-weight: 600;
    color: #ccc;
}

.layout-description {
    text-align: center;
    color: #888;
    font-style: italic;
    line-height: 1.6;
}

/* Buttons */
.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #171414, #1a1a1a);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    main {
        padding: 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .flow-diagram {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .layout-body {
        flex-direction: column;
    }
    
    .layout-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #333;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .implementation-grid {
        grid-template-columns: 1fr;
    }
    
    .pattern-grid {
        grid-template-columns: 1fr;
    }
    
    .color-palette {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: #171414;
}

::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* Selection Styling */
::selection {
    background-color: rgba(0, 123, 255, 0.3);
    color: white;
}

::-moz-selection {
    background-color: rgba(0, 123, 255, 0.3);
    color: white;
}

/* README Modal Styles */
.readme-content {
    max-width: 800px;
    width: 90vw;
    max-height: 80vh;
}

.readme-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.readme-header h3 {
    color: #007bff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.readme-actions {
    display: flex;
    gap: 0.5rem;
}

.readme-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.readme-btn:hover {
    background-color: #0056b3;
}

.readme-btn .material-icons {
    font-size: 1.1rem;
}

.readme-body {
    max-height: 60vh;
    overflow-y: auto;
}

.readme-text {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 0;
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* README Section Styling */
.readme-section {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #171414, #1a1a1a);
    border-radius: 12px;
    border: 1px solid #333;
}

.readme-section .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* Space between icon and text */
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.readme-section .btn .material-icons {
    font-size: 1.2rem; /* Adjust icon size */
    vertical-align: middle; /* Ensure alignment with text */
}

.readme-section .btn:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.readme-section .btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Info Page Specific Styles */
.llm-section, .project-info, .development-info {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #171414, #1a1a1a);
    border-radius: 12px;
    border: 1px solid #333;
}

.llm-content, .project-content {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.llm-card, .project-card {
    padding: 1.5rem;
    background: #222020;
    border-radius: 8px;
    border: 1px solid #444;
}

.tech-grid, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.challenge-info {
    margin-top: 1.5rem;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #2a2525;
    border-radius: 8px;
}

.challenge-icon {
    color: #007bff;
    font-size: 1.5rem;
}

.challenge-details h5 {
    margin: 0 0 0.5rem 0;
    color: #007bff;
}

.challenge-details p {
    margin: 0;
    color: #ccc;
}

.project-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.project-link:hover {
    text-decoration: underline;
}

.dev-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #222020;
    border-radius: 8px;
    border: 1px solid #444;
    text-align: center;
}

.stat-icon {
    color: #007bff;
    font-size: 2rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
}

.impact-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #2a2525;
    border-radius: 8px;
}

.impact-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #333;
    border-radius: 8px;
}

.benefit-icon {
    color: #28a745;
    font-size: 1.5rem;
}

.benefit-content h5 {
    margin: 0 0 0.5rem 0;
    color: #28a745;
}

.benefit-content p {
    margin: 0;
    color: #ccc;
    font-size: 0.9rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #2a2525;
    border-radius: 6px;
    color: #ccc;
}

.feature-item .material-icons {
    color: #007bff;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    max-width: 300px;
    word-wrap: break-word;
}

.toast-success { background-color: #28a745; }
.toast-error { background-color: #dc3545; }
.toast-info { background-color: #007bff; }

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #171414, #1a1a1a);
    border-top: 2px solid #007bff;
    padding: 3rem 2rem 1rem;
    color: white;
    margin-top: 4rem;
    background-attachment: fixed;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.footer-section {
    flex: 1 1 250px;
    min-width: 200px;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h4 .material-icons {
    font-size: 1.2rem;
}

.footer-section p {
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    margin: 0;
}

.footer-link {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 6px;
    margin: -0.5rem;
}

.footer-link:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
    padding-left: 1rem;
}

.footer-link .material-icons {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: #999;
}

.footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-copyright {
    flex: 1 1 300px;
    text-align: left;
}

.footer-copyright p {
    margin: 0.25rem 0;
    color: #888;
}

.footer-copyright strong {
    color: #007bff;
    font-weight: 600;
}

.footer-copyright .material-icons {
    font-size: 1rem;
    color: #dc3545;
    vertical-align: middle;
    margin: 0 0.25rem;
}

.footer-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-actions .nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #007bff;
    color: white;
    border: 1px solid #0056b3;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-actions .nav-btn .material-icons {
    font-size: 1rem;
}

.footer-actions .nav-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

.footer-actions .nav-btn:active {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 2rem 1rem 1rem;
        margin-top: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

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

    .footer-section h4 {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-link {
        justify-content: center;
    }

    .footer-link:hover {
        padding-left: 0.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-copyright {
        text-align: center;
        flex: 1 1 100%;
    }

    .footer-actions {
        justify-content: center;
        flex: 1 1 100%;
    }

    .footer-actions .nav-btn {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 1.5rem 1rem 0.75rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h4 {
        font-size: 0.9rem;
    }

    .footer-section p {
        font-size: 0.8rem;
    }

    .footer-links {
        gap: 0.5rem;
    }

    .footer-link {
        font-size: 0.8rem;
    }

    .footer-bottom {
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .footer-actions .nav-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}