:root {
    /* Premium Hobbyist Palette */
    --color-bg-main: #0f172a;
    /* Slate 900 */
    --color-bg-card: #1e293b;
    /* Slate 800 */
    --color-text-main: #f8fafc;
    /* Slate 50 */
    --color-text-muted: #94a3b8;
    /* Slate 400 */

    --color-primary: #6366f1;
    /* Indigo 500 */
    --color-primary-hover: #4f46e5;
    /* Indigo 600 */
    --color-accent: #10b981;
    /* Emerald 500 (Growth/Success) */

    --border-color: #334155;
    /* Slate 700 */

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 4rem;

    /* Effects */
    --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);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.5;
}

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

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

/* Typography */
h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-col {
    flex-direction: column;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.mt-8 {
    margin-top: 2rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

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

.btn-outline {
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--color-text-main);
}

.btn-outline:hover {
    border-color: var(--color-text-main);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

/* Navbar */
.navbar {
    height: var(--header-height);
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.nav-link:hover {
    color: #fff;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-auth-buttons {
    display: none;
}

.desktop-auth-buttons {
    display: flex;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .desktop-auth-buttons {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-bg-card);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    /* Responsiveness Overrides */
    h1 {
        font-size: 2.5rem;
    }

    .grid-cols-3,
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .navbar .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

    .hero .flex {
        flex-direction: column;
        align-items: stretch;
    }

    .hero .flex .btn {
        width: 100%;
    }
}

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

.hero-tagline {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 1.5rem auto 3rem;
}

/* Feature Icon */
.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}