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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1e2860 0%, #2d4a87 100%);
    min-height: 100vh;
    color: white;
}

.index-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e2860 0%, #2d4a87 100%);
    color: white;
}

/* Header */
.index-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 25px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-logo {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
}

.brand-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 20px;
}

.collection-info {
    max-width: 600px;
    margin: 0 auto;
}

.index-content {
    padding: 40px 25px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pages-grid {
    display: grid;
    gap: 25px;
}

.section-header {
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.section-header h2 {
    font-size: 1.3rem;
    color: white;
}

.page-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.error-card {
    border-left: 4px solid #e53e3e;
}

.maintenance-card {
    border-left: 4px solid #ed8936;
}

.security-card {
    border-left: 4px solid #9f7aea;
}

.challenge-card {
    border-left: 4px solid #4299e1;
}

.rate-card {
    border-left: 4px solid #ff9500;
}

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

.page-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
}

.page-status {
    background: #38a169;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.page-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

.action-btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid transparent;
}

.action-btn.preview {
    background: #4299e1;
    color: white;
    border-color: #4299e1;
}

.action-btn.download {
    background: transparent;
    color: #4299e1;
    border-color: #4299e1;
}

.index-footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
}

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

.footer-brand {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.footer-version {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 2px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .index-header {
        padding: 30px 20px;
    }
    
    .brand-logo {
        font-size: 2.2rem;
    }
    
    .brand-subtitle {
        font-size: 1rem;
    }
    
    .index-content {
        padding: 30px 20px;
    }
    
    .stats-section {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .page-card {
        padding: 20px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .page-actions {
        width: 100%;
    }
    
    .action-btn {
        flex: 1;
        text-align: center;
    }
    
    .implementation-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .implementation-section {
        padding: 25px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
