/* Cache AI - Brand Colors & System Fonts */

:root {
    --cacheai-blue: #1F3E97;
    --cacheai-blue-light: #3A5FFF;
    --cacheai-yellow: #FFF100;
    --bg-gradient-start: #f0f2f5;
    --bg-gradient-end: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
                 "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

h1 {
    color: var(--cacheai-blue);
    font-size: 2.5em;
    margin-bottom: 15px;
}

.tagline {
    font-size: 1.2em;
    color: #666;
    font-weight: 500;
}

/* Notice */
.notice {
    background: #f8f9ff;
    border-left: 4px solid var(--cacheai-blue);
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.notice ul {
    margin: 10px 0;
    padding-left: 20px;
}

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

.stat {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, var(--cacheai-blue) 0%, var(--cacheai-blue-light) 100%);
    border-radius: 10px;
    color: white;
}

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

.stat-label {
    font-size: 1em;
    opacity: 0.9;
}

/* Section */
section {
    margin: 40px 0;
}

h2 {
    color: var(--cacheai-blue);
    font-size: 1.8em;
    margin-bottom: 20px;
}

/* Code blocks */
pre {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    overflow-x: auto;
    margin: 15px 0;
}

code {
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

pre code {
    background: none;
    border: none;
    padding: 0;
}

/* Links */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.link-button {
    display: block;
    padding: 15px 25px;
    background: var(--cacheai-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-button:hover {
    background: var(--cacheai-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 62, 151, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 25px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .tagline {
        font-size: 1.1em;
    }
    
    .stat-number {
        font-size: 2em;
    }
}
