/* OpenClawGotchi Documentation Styles */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-color: #333;
    --bg-color: #f5f5f5;
    --code-bg: #2d2d2d;
    --border-radius: 10px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
}

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Navigation */
nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 20px 30px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

nav a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

/* Main Content */
main {
    padding: 60px 0;
}

section {
    margin-bottom: 60px;
}

section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2em;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-icon {
    font-size: 2em;
    margin-bottom: 15px;
}

/* Quick Start */
.quick-start {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quick-start h2 {
    margin-bottom: 20px;
}

.quick-start h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Code Blocks */
code {
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

pre {
    background: var(--code-bg);
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

pre code {
    background: none;
    padding: 0;
    color: #f8f8f2;
}

/* Documentation Navigation */
.docs-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.doc-link {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    display: block;
}

.doc-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.doc-link h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Lists */
ul, ol {
    margin-left: 20px;
    margin-top: 20px;
}

li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: var(--code-bg);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav a {
        padding: 15px 20px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}