﻿* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.content-container {
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
    padding: 16px;
}

.container-navbar {
    max-width: 1920px;
    margin: 0 auto;
}

/* Landing Page Styles */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    background: url('/Images/splash.png') center center no-repeat;
    background-size: cover;
    color: white;
    padding: 80px 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons - Landing Page Specific */
.landing-btn {
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
}

.landing-btn-primary {
    background-color: #fff;
    color: #667eea;
    border-color: #fff;
}

.landing-btn-primary:hover {
    background-color: #667eea;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.landing-btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.landing-btn-outline:hover {
    background-color: #fff;
    color: #667eea;
    border-color: #fff;
    transform: translateY(-2px);
}

.landing-btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.feature-icon i {
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 20px;
    background-color: #fff;
}

.benefits-list {
    max-width: 600px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.benefit-check {
    background-color: #48bb78;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #4299e1 0%, #667eea 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 60px 20px 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.125rem;
}

.footer-section p {
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
    text-align: center;
    color: #a0aec0;
}

/* Legal Pages Styles */
.legal-page {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding: 40px 20px;
}

.legal-page .container {
    max-width: 800px;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.legal-page h1 {
    color: #2d3748;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: #718096;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.legal-content h3 {
    color: #4a5568;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

.legal-content p {
    color: #2d3748;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: #2d3748;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Mobile responsiveness for legal pages */
@media (max-width: 768px) {
    .legal-page .container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .legal-page h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .benefits-section {
        padding: 60px 20px;
    }
    
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .features-section, .benefits-section, .cta-section {
        padding: 40px 20px;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 55, 72, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px;
    z-index: 1000;
    border-top: 3px solid #667eea;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUpFade 0.4s ease-out;
}

@keyframes slideUpFade {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #fff;
}

.cookie-text h4 i {
    color: #fbbf24;
    margin-right: 0.5rem;
}

.cookie-text p {
    margin: 0;
    line-height: 1.5;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.cookie-link {
    color: #667eea;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-link:hover {
    color: #4c51bf;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.cookie-btn-accept-all {
    background: #48bb78;
    color: white;
}

.cookie-btn-accept-all:hover {
    background: #38a169;
    transform: translateY(-1px);
}

.cookie-btn-essential {
    background: #667eea;
    color: white;
}

.cookie-btn-essential:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.cookie-btn-customize {
    background: transparent;
    color: #e2e8f0;
    border: 2px solid #4a5568;
}

.cookie-btn-customize:hover {
    background: #4a5568;
    border-color: #667eea;
    color: white;
}

/* Cookie Preferences Modal */
.cookie-preferences-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    padding: 20px;
}

.cookie-preferences-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-preferences-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-preferences-header h3 {
    margin: 0;
    color: #2d3748;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
}

.cookie-close:hover {
    background: #f7fafc;
    color: #2d3748;
}

.cookie-preferences-body {
    padding: 30px;
}

.cookie-category {
    margin-bottom: 2rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category-header h4 {
    margin: 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.cookie-required {
    background: #fed7d7;
    color: #c53030;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.cookie-category p {
    color: #4a5568;
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: #667eea;
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-preferences-footer {
    padding: 20px 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-btn-save {
    background: #667eea;
    color: white;
}

.cookie-btn-save:hover {
    background: #5a67d8;
}

.cookie-btn-cancel {
    background: #e2e8f0;
    color: #4a5568;
}

.cookie-btn-cancel:hover {
    background: #cbd5e0;
}

/* Cookie Policy Table */
.cookie-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-table th {
    background: #f7fafc;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}

.cookie-table td {
    color: #4a5568;
    font-size: 0.9rem;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

/* Dashboard Styles */
.dashboard-content {
    background-color: #f8f9fa;
    min-height: calc(100vh - 120px);
    padding: 2rem;
    border-radius: 8px;
}

.dashboard-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: white;
    height: fit-content;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

/* Chart placeholder */
.chart-placeholder {
    min-height: 200px;
    border: 2px dashed #dee2e6;
}

/* Activity list */
.activity-list {
    max-height: 250px;
    overflow-y: auto;
}

.activity-item {
    padding: 0.5rem 0;
}

.activity-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Progress circle */
.progress-circle {
    width: 100px;
    height: 100px;
    border: 6px solid #e9ecef;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-details {
    font-size: 0.85rem;
}

/* Mini chart */
.mini-chart {
    padding: 0 1rem;
}

/* Left sidebar styling */
.col-lg-2 .btn {
    width: 100%;
    text-align: left;
    border-color: #007bff;
    color: #007bff;
}

.col-lg-2 .btn:hover {
    background-color: #007bff;
    color: white;
}

.col-lg-2 .btn.active {
    background-color: #007bff;
    color: white;
}

/* Ensure equal height cards in each column */
.dashboard-card {
    margin-bottom: 1rem;
}

/* Mobile responsive dashboard */
@media (max-width: 768px) {
    .dashboard-content {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .col-lg-2 {
        margin-bottom: 1rem;
    }
    
    .col-lg-2 .d-flex {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .col-lg-2 .btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
        font-size: 0.8rem;
    }
    
    .dashboard-card .card-body {
        padding: 1rem;
    }
    
    .chart-placeholder {
        height: 200px;
    }
    
    .progress-circle {
        width: 80px;
        height: 80px;
    }
    
    /* Stack all columns on mobile */
    .col-lg-3, .col-lg-6 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .col-lg-2 .btn {
        font-size: 0.75rem;
        padding: 0.375rem 0.5rem;
    }
    
    .dashboard-content h2 {
        font-size: 1.5rem;
    }
    
    .chart-placeholder {
        height: 150px;
    }
    
    .progress-circle {
        width: 70px;
        height: 70px;
    }
}