/* Global Reset & Typography */
:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent-color: #008080; /* Teal */
    --accent-hover: #005a5a;
    --secondary-bg: #f5f5f5;
    --code-bg: #2d2d2d;
    --code-text: #f8f8f2;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-color);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.nav-links a {
    margin-left: 2rem;
    font-size: 1rem;
    font-weight: 500;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--text-color);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--bg-color);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

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

.feature-card {
    padding: 2rem;
    background: var(--secondary-bg);
    border-radius: 8px;
    transition: transform 0.2s;
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #555;
}

/* Documentation Styles */
.docs-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 0.75rem;
}

.sidebar a {
    color: #666;
    font-size: 0.95rem;
}

.sidebar a:hover, .sidebar a.active {
    color: var(--accent-color);
    font-weight: 600;
}

.content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content p {
    margin-bottom: 1.5rem;
    color: #444;
}

.content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #444;
}

.content li {
    margin-bottom: 0.5rem;
}

code {
    background-color: #eee;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

pre {
    background-color: var(--code-bg);
    color: var(--code-text);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

pre code {
    background-color: transparent;
    padding: 0;
    font-size: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid #eee;
    color: #888;
    margin-top: 4rem;
}
