.landing-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.landing-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 82px 82px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
}

.site-header {
    position: relative;
    z-index: 5;
    width: min(1380px, calc(100% - 64px));
    margin: 0 auto;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    background: #050505;
    border: 1px solid var(--border-strong);
}

.brand-icon img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    filter: invert(1);
}

.brand-icon.small-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 17px;
    letter-spacing: -0.02em;
}

.brand-text small {
    color: var(--muted);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero {
    position: relative;
    z-index: 2;
    width: min(1380px, calc(100% - 64px));
    min-height: calc(100vh - 112px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
    gap: 68px;
    align-items: center;
    padding: 40px 0 90px;
}

.hero-copy h1 {
    max-width: 780px;
    margin: 18px 0 0;
    font-size: clamp(66px, 7.8vw, 128px);
    line-height: 0.88;
    letter-spacing: -0.085em;
}

.hero-subtitle {
    max-width: 610px;
    margin: 30px 0 0;
    color: var(--muted-strong);
    font-size: clamp(18px, 1.35vw, 22px);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 38px;
}

.hero-visual {
    position: relative;
    min-height: 640px;
    display: grid;
    place-items: center;
}

.vehicle-frame {
    position: relative;
    width: min(100%, 680px);
    aspect-ratio: 1.22 / 1;
    display: grid;
    place-items: center;
    border-radius: 40px;
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.12), transparent 36%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.vehicle-frame::before {
    content: "";
    position: absolute;
    width: 76%;
    height: 1px;
    bottom: 24%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
}

.vehicle-frame::after {
    content: "";
    position: absolute;
    inset: 26px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.055);
}

.vehicle-frame img {
    position: relative;
    z-index: 2;
    width: 82%;
    max-height: 72%;
    object-fit: contain;
    filter:
        invert(1) drop-shadow(0 30px 70px rgba(255, 255, 255, 0.08));
    opacity: 0.94;
}

.signal-line {
    position: absolute;
    width: min(78%, 610px);
    height: 1px;
    bottom: 126px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.minimal-stat {
    position: absolute;
    padding: 18px 20px;
    min-width: 154px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(10, 10, 10, 0.64);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.minimal-stat span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.minimal-stat strong {
    display: block;
    margin-top: 8px;
    font-size: 21px;
    letter-spacing: -0.04em;
}

.stat-left {
    left: 0;
    bottom: 155px;
}

.stat-right {
    right: 4px;
    top: 134px;
}

/* Auth modal */

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 22px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(18px);
}

.auth-card {
    position: relative;
    z-index: 2;
    width: min(430px, 100%);
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--border-strong);
    background: rgba(12, 12, 12, 0.94);
    box-shadow: var(--shadow);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    font-size: 22px;
    line-height: 1;
}

.auth-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 36px;
}

.auth-heading h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.05em;
}

.auth-heading p {
    margin: 4px 0 0;
    color: var(--muted);
    line-height: 1.35;
}

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 26px 0;
    padding: 6px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.tab {
    border: 0;
    border-radius: 11px;
    padding: 12px;
    color: var(--muted);
    background: transparent;
    font-weight: 800;
}

.tab.active {
    color: #050505;
    background: var(--text);
}

form {
    display: grid;
    gap: 17px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--muted-strong);
    font-size: 14px;
    font-weight: 700;
}

input {
    width: 100%;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    outline: none;
    color: white;
    background: rgba(0, 0, 0, 0.38);
}

input:focus {
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.error {
    min-height: 20px;
    margin: 0;
    color: var(--danger);
    font-size: 14px;
}

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 560px;
    }
}

@media (max-width: 720px) {
    .site-header {
        width: min(100% - 32px, 1380px);
    }

    .brand-text small {
        display: none;
    }

    .hero {
        width: min(100% - 32px, 1380px);
        padding-top: 36px;
    }

    .hero-copy h1 {
        font-size: clamp(52px, 16vw, 78px);
    }

    .hero-actions {
        display: grid;
        align-items: stretch;
    }

    .hero-visual {
        min-height: 460px;
    }

    .minimal-stat {
        display: none;
    }

    .vehicle-frame {
        border-radius: 28px;
    }
}