/* Лендинг: слайдер + плитки модулей (подключается отдельно, см. LandingController) */

.landing-slider {
    margin: 8px 0 36px;
}

.landing-slider__viewport {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1a3040;
    background: #050a0c;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.landing-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.landing-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.landing-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.landing-slider__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #050a0c;
}

.landing-slider__video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.landing-slider__video {
    object-fit: contain;
    background: #000;
}

.landing-slider__mute {
    position: absolute;
    right: 12px;
    bottom: 52px;
    z-index: 4;
    width: 36px;
    height: 36px;
    border: 1px solid #1a3040;
    border-radius: 999px;
    background: rgba(8, 16, 22, 0.88);
    color: #e8f0f2;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.landing-slider__mute:hover {
    border-color: #3fe0cb;
    color: #3fe0cb;
}

.landing-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 1px solid #1a3040;
    border-radius: 999px;
    background: rgba(8, 16, 22, 0.82);
    color: #e8f0f2;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.landing-slider__nav:hover {
    border-color: #3fe0cb;
    color: #3fe0cb;
}

.landing-slider__nav--prev { left: 12px; }
.landing-slider__nav--next { right: 12px; }

.landing-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.landing-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: #2a4050;
    cursor: pointer;
}

.landing-slider__dot.is-active,
.landing-slider__dot:hover {
    background: #3fe0cb;
}

.landing-modules {
    margin: 8px 0 28px;
}

.landing-modules__head {
    margin-bottom: 18px;
}

.landing-modules__head h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
}

.module-tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.module-tile {
    border-radius: 12px;
    padding: 14px 14px 12px;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.module-tile__title {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.module-tile__emoji {
    margin-right: 4px;
}

.module-tile__summary {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    flex: 1;
}

.module-tile__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    min-height: 20px;
}

.module-tile__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.module-tile__badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    white-space: nowrap;
}

.module-tile__badge-pro {
    background: rgba(7, 32, 60, 0.55);
    color: #3fe0cb;
}

.module-tile__badge-vehicle {
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.module-tile__version {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.75);
    margin-left: auto;
}

@media (max-width: 900px) {
    .module-tiles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .module-tiles-grid {
        grid-template-columns: 1fr;
    }

    .landing-slider__nav {
        display: none;
    }
}

.landing-hero-meta {
    margin: -8px 0 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.landing-hero-meta__link {
    color: #3fe0cb;
    text-decoration: none;
    font-weight: 600;
}

.landing-hero-meta__link:hover {
    text-decoration: underline;
}

.landing-hero-meta__sep {
    margin: 0 8px;
    opacity: 0.5;
}

.landing-hero-meta__version {
    opacity: 0.75;
}

.hero-alt-download {
    margin: 12px 0 0;
    font-size: 0.9rem;
}

.hero-alt-download a {
    color: var(--muted);
    text-decoration: none;
}

.hero-alt-download a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.landing-inline-link {
    color: #3fe0cb;
    text-decoration: none;
}

.landing-inline-link:hover {
    text-decoration: underline;
}
