/* ── Landing / Auth Screen ── */

.auth-screen .typing-cursor {
    animation: none;
}

.auth-screen .typing-logo {
    padding-bottom: 2px;
}

.typing-line2 {
    position: absolute;
    top: 100%;
    margin-top: 2px;
    left: 50%;
    padding-left: 14px;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    transition: background 0.3s ease, color 0.3s ease, padding 0.3s ease;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text-dim);
}

.typing-cursor.small {
    width: 12px;
    height: 21px;
    margin-left: 2px;
}

/* ── Feature Cards ── */
.landing-features {
    display: flex;
    gap: 12px;
    margin-top: 60px;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.landing-features.hidden {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

.landing-feature {
    width: 180px;
    padding: 16px 18px;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.landing-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    border-radius: 0 0 2px 2px;
}

.landing-feature:nth-child(1)::before { background: #5080d0; }
.landing-feature:nth-child(2)::before { background: #60c060; }
.landing-feature:nth-child(3)::before { background: #e06070; }

.landing-feature-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.landing-feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Auth Block ── */
.auth-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 60px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.auth-controls.hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

@media (max-width: 600px) {
    .landing-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 48px;
    }

    .landing-feature {
        width: 260px;
    }

    .typing-line2 {
        font-size: 17px;
    }

    .typing-cursor.small {
        width: 6px;
        height: 16px;
    }
}
