:root {
    /* Brand Colors - Strawberry Theme */
    --primary: #e63946;
    --primary-light: #f25c66;
    --primary-dark: #c41e2c;

    /* Neutral Colors */
    --dark: #0A0A0A;
    --light: #FAFAFA;
    --gray: #6B7280;
    --code-bg: #1E1E1E;

    /* Layout */
    --max-width: 1200px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 23, 68, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

nav {
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.version-badge {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    margin: 1rem 0;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* Code Example */
.code-example {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
}

.code-block {
    background: var(--code-bg);
    border-radius: 8px;
    border: 1px solid #3F3F3F;
    overflow: hidden;
    text-align: left;
}

.code-header {
    background: #2D2D2D;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #9CA3AF;
}

.code-block pre {
    padding: 1rem 1.5rem;
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    color: #E5E7EB;
    font-family: "Fira Code", monospace;
    font-size: 0.875rem;
}

.arrow {
    font-size: 2rem;
    color: var(--primary);
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 2px solid #E5E7EB;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Features */
.features {
    padding: 5rem 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 2rem;
    border-radius: 8px;
    background: var(--light);
}

.feature h3 {
    margin-bottom: 0.5rem;
}

/* Quick Start */
.quickstart {
    padding: 5rem 0;
}

.quickstart h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.step {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 2rem;
    background: var(--primary);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step pre {
    background: var(--code-bg);
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin-top: 1rem;
}

.step code {
    color: #E5E7EB;
    font-size: 0.875rem;
}

/* Comparison Table */
.comparison {
    padding: 5rem 0;
    background: white;
}

.comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 800px;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}

th {
    background: var(--light);
    font-weight: 600;
}

.improvement {
    color: var(--primary);
    font-weight: 600;
}

/* When Not Section */
.when-not {
    padding: 5rem 0;
    background: #FEF2F2;
}

.when-not h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.when-not ul {
    list-style: none;
    max-width: 600px;
    margin: 2rem auto;
}

.when-not li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    background: var(--dark);
    color: white;
    text-align: center;
}

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

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .code-example {
        grid-template-columns: 1fr;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .nav-links {
        gap: 1rem;
    }
}