@font-face {
    font-family: 'GoogleSans';
    src: url(/fonts/GoogleSans-VariableFont_GRAD\,opsz\,wght.woff2);
}

:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

* {
    font-family: 'GoogleSans', system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--bg-light);
    color: var(--text-main);
    min-height: 100vh;
}

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 6rem 1.5rem 3rem 1.5rem;
}

.hero-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    padding: 3.5rem 2.5rem;
    max-width: 680px;
    width: 100%;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #eff6ff;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.buttons-wrapper {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-create {
    background-color: var(--text-main);
    color: #ffffff;
    border: 1px solid var(--text-main);
}

.btn-create:hover {
    background-color: #334155;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-join {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-join:hover {
    background-color: #f1f5f9;
    color: var(--text-main);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    width: 100%;
    margin-top: 3rem;
}

.feature-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.feature-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: #0f172a;
        --card-bg: #1e293b;
        --text-main: #f8fafc;
        --text-muted: #94a3b8;
        --border-color: #334155;
    }

    .hero-card {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    }

    .hero-badge {
        background-color: rgba(13, 110, 253, 0.15);
    }

    .btn-create {
        background-color: #ffffff;
        color: #0f172a;
        border-color: #ffffff;
    }

    .btn-create:hover {
        background-color: #e2e8f0;
        color: #0f172a;
    }

    .btn-join {
        color: #ffffff;
        border-color: #334155;
    }

    .btn-join:hover {
        background-color: #334155;
        color: #ffffff;
    }

    .feature-item {
        background: #1e293b;
    }
}