.home {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 0%, rgba(37, 99, 235, .18), transparent 34%),
        linear-gradient(180deg, #020617 0%, #0f172a 100%);
    color: #f8fafc;
}

.container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.hero {
    min-height: 76vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 96px 0 72px;
}

.kicker {
    margin: 0 0 22px;
    color: #60a5fa;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 920px;
    margin: 0 auto;
    font-size: clamp(48px, 7vw, 86px);
    line-height: .96;
    letter-spacing: -.020em;
}

.hero-text {
    max-width: 650px;
    margin: 26px auto 0;
    color: #94a3b8;
    font-size: 19px;
    line-height: 1.75;
}

.hero-actions {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
}

.btn-primary {
    color: #ffffff;
    background: #2563eb;
    box-shadow: 0 18px 42px rgba(37, 99, 235, .28);
}

.btn-secondary {
    color: #e2e8f0;
    background: rgba(15, 23, 42, .65);
    border: 1px solid rgba(148, 163, 184, .18);
}

button.btn-secondary {
    cursor: pointer;
}

.features {
    padding: 30px 0 90px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.feature {
    padding: 24px;
    border-radius: 20px;
    background: rgba(15, 23, 42, .62);
    border: 1px solid rgba(148, 163, 184, .14);
}

.feature h3 {
    margin: 0 0 10px;
    color: #f8fafc;
    font-size: 17px;
    letter-spacing: -.03em;
}

.feature p {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.65;
}

/* LOGIN MODAL - SIMPLE / SQUARE */

.login-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-modal.is-open {
    display: flex;
}

.login-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .82);
}

.login-box {
    position: relative;
    z-index: 2;
    width: min(440px, 100%);
    padding: 36px;
    background: #020617;
    border: 1px solid rgba(148, 163, 184, .24);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .45);
}

.login-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 28px;
    height: 28px;
    border: 0;
    color: #64748b;
    background: transparent;
    font-size: 24px;
    line-height: 1;
}

.login-close:hover {
    color: #f8fafc;
}

.login-kicker {
    margin: 0 0 14px;
    color: #60a5fa;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.login-box h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.06em;
}

.login-text {
    margin: 16px 0 28px;
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.65;
}

.login-error {
    margin-bottom: 18px;
    padding: 14px 0;
    color: #fecaca;
    border-top: 1px solid rgba(248, 113, 113, .25);
    border-bottom: 1px solid rgba(248, 113, 113, .25);
    font-size: 14px;
    font-weight: 700;
}

.login-form {
    display: grid;
    gap: 18px;
}

.login-field {
    display: grid;
    gap: 9px;
}

.login-field label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.login-field input {
    width: 100%;
    min-height: 50px;
    padding: 0 0;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, .28);
    outline: none;
    color: #f8fafc;
    background: transparent;
    font-size: 16px;
}

.login-field input:focus {
    border-bottom-color: #60a5fa;
}

.login-form button {
    min-height: 52px;
    margin-top: 12px;
    border: 0;
    color: #ffffff;
    background: #2563eb;
    font-weight: 900;
    font-size: 15px;
}

.login-form button:hover {
    background: #1d4ed8;
}

.login-register {
    margin: 26px 0 0;
    color: #94a3b8;
    text-align: center;
    font-size: 14px;
}

.login-register a {
    color: #60a5fa;
    font-weight: 800;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 32px, 1120px);
    }

    .hero {
        min-height: 72vh;
        padding: 76px 0 56px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .login-box {
        padding: 34px 24px;
    }
}