/* Design System */
:root {
    /* Color Palette */
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #7dd3fc;
    --secondary: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --background: #f8fafc;
    --surface: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-subtle: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --font-sans: 'Inter', 'Lato', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Fira Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
}


/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fira+Mono:wght@400;500;600&display=swap');

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    transition: background-color 0.3s ease, color 0.3s ease;
}


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

/* Navigation */
nav {
    background: var(--background);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 50vh;
    background: var(--background);
    padding: 4rem 2rem 2rem 2rem;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero .button {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
}

/* Cards */
.card {
    background: var(--surface);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 1px 8px 0 rgba(34,197,94,0.06);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 16px 0 rgba(34,197,94,0.11);
}


/* Buttons */
.button, button, input[type="submit"] {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
}

.button.secondary, button.secondary {
    background: var(--border-subtle);
    color: var(--text-primary);
}

.button:focus, button:focus {
    outline: 2px solid var(--primary);
}

/* Links */
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}


/* Footer */
footer {
    background: var(--background);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: 3rem;
}


/* Responsive Design */
@media (max-width: 900px) {
    .features {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero {
        padding: 2rem 1rem;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 0.5rem 1rem;
    }
    .hero {
        padding: 1.5rem 0.5rem;
    }
    .feature-card {
        padding: 1.25rem;
    }
}
