* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #344C3D;
    background: linear-gradient(135deg, #BFCFBB 0%, #9CAF88 100%);
    min-height: 100vh;
}

/* Dashboard Styles */
.dashboard-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-header h2 {
    color: #344C3D;
    font-size: 1.8rem;
}

.dashboard-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-button {
    background: linear-gradient(135deg, #7B9F72 0%, #9CAF88 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 159, 114, 0.4);
}

.logout-button {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.logout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(123, 159, 114, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    color: #7B9F72;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #344C3D;
    line-height: 1;
}

.recent-sessions {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
}

.recent-sessions h3 {
    color: #344C3D;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.sessions-list {
    max-height: 300px;
    overflow-y: auto;
}

.session-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid #7B9F72;
    transition: all 0.3s ease;
}

.session-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.features-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.features-section h2 {
    color: #344C3D;
    margin-bottom: 30px;
    font-size: 2rem;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    color: #7B9F72;
    font-size: 0.9rem;
}

footer p {
    margin: 5px 0;
}

/* Status indicators */
.status.loading {
    background: linear-gradient(135deg, #ffc107 0%, #ffeb3b 100%);
    color: #333;
}

.status.info {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard-actions {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 2rem;
    }
}

/* Feature Card Hover Effects */
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #9CAF88 !important;
}

.feature-card:active {
    transform: translateY(-1px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    color: #344C3D;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(255,255,255,0.3);
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
    opacity: 0.85;
    font-weight: 500;
}

.hero {
    background: #F4F0EB;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(52, 76, 61, 0.15);
    text-align: center;
    margin-bottom: 40px;
    border: 1px solid rgba(159, 175, 136, 0.2);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #344C3D;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #738A6E;
    font-weight: 500;
}

.cta-button {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    color: #344C3D;
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #E6C547 0%, #D4AF37 100%);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature {
    background: #F4F0EB;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(52, 76, 61, 0.1);
    text-align: center;
    border: 1px solid rgba(159, 175, 136, 0.15);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(52, 76, 61, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #344C3D;
    font-weight: 600;
}

.feature p {
    color: #738A6E;
    font-size: 1.1rem;
    font-weight: 500;
}

.status {
    background: #F4F0EB;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(52, 76, 61, 0.1);
    text-align: center;
    margin-top: 20px;
    border: 1px solid rgba(159, 175, 136, 0.15);
}

.status.success {
    border-left: 5px solid #9CAF88;
    background: linear-gradient(135deg, #F4F0EB 0%, rgba(159, 175, 136, 0.1) 100%);
}

.status.error {
    border-left: 5px solid #B37B64;
    background: linear-gradient(135deg, #F4F0EB 0%, rgba(179, 123, 100, 0.1) 100%);
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 30px 20px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .feature {
        padding: 25px;
    }
}