.product-main-photo {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

main > section {
    margin-top: 3.5rem !important;
    padding-top: 0.25rem;
}

main > section + section {
    position: relative;
}

main > section + section:before {
    content: "";
    position: absolute;
    top: -1.9rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(220px, 55%);
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(108, 117, 125, 0.4) 50%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* Ритм секций: после hero чередуем светло-серый и белый */
main > section:nth-of-type(odd) > div:first-child {
    background-color: #f8f9fa !important;
}

main > section:nth-of-type(even) > div:first-child {
    background-color: #ffffff !important;
}

.product-thumb {
    width: 100%;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.product-thumb:hover {
    transform: translateY(-2px);
}

.product-thumb.active {
    border-color: #206af6;
}

.advantage-card {
    background: #fff;
    min-height: 100%;
}

.advantage-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(32, 106, 246, 0.1);
    color: #206af6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
}

.choose-card {
    background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
    border-color: #d7e6ff !important;
}

.use-case-card {
    background-color: #f8fbff;
    position: relative;
    padding-left: 34px !important;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    border-color: transparent !important;
}

.use-case-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 29, 68, 0.55) 0%, rgba(9, 29, 68, 0.8) 100%);
    z-index: -1;
}

.use-case-card:after {
    content: "";
    position: absolute;
    left: 14px;
    top: 18px;
    width: 8px;
    height: 8px;
    background: #7fb1ff;
    border-radius: 50%;
}

.use-case-card h5,
.use-case-card p {
    color: #fff !important;
}

.use-case-image-1,
.use-case-image-2,
.use-case-image-3,
.use-case-image-4 {
    background-image: url('../img/90-1.png');
    background-size: cover;
    background-position: center;
}

@media (max-width: 767.98px) {
    .use-case-card {
        color: #212529;
        border-color: #e5efff !important;
        background-image: none !important;
    }

    .use-case-card h5,
    .use-case-card p {
        color: #212529 !important;
    }

    .use-case-card:before {
        background: none;
    }

    .use-case-card:after {
        background: #206af6;
    }
}

.spec-accordion .accordion-item {
    border: 1px solid #e5e7eb;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.spec-accordion .accordion-button {
    background: #f8f9fa;
    color: #212529;
    font-weight: 600;
}

.spec-accordion .accordion-button:not(.collapsed) {
    background: #f1f3f5;
    color: #212529;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.spec-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.spec-accordion .accordion-button::after {
    filter: grayscale(1) brightness(0.45);
}

.mini-spec-table {
    margin-bottom: 0;
}

.mini-spec-table th {
    width: 42%;
    background: #f8f9fa;
    color: #212529;
    font-weight: 600;
}

.spec-chip {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: #e9ecef;
    color: #212529;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 6px;
    margin-top: 2px;
}

.drone-map {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1f2937;
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.2) 0%, rgba(17, 24, 39, 0) 45%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.16) 0%, rgba(17, 24, 39, 0) 42%),
        linear-gradient(145deg, #0f172a 0%, #111827 55%, #1f2937 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.drone-map-image {
    width: 100%;
    display: block;
    opacity: 0.9;
    mix-blend-mode: screen;
}

.drone-map-mask-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.drone-hotspot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0d6efd;
    border: 3px solid #fff;
    box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.25);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease-in-out;
    z-index: 2;
}

.drone-hotspot:after {
    content: "";
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 2px solid rgba(13, 110, 253, 0.55);
    animation: hotspotPulse 1.2s infinite;
}

.drone-hotspot:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--line-length, 54px);
    height: 2px;
    background: rgba(13, 110, 253, 0.75);
    transform-origin: left center;
    transform: rotate(var(--line-angle, -38deg));
}

.drone-hotspot:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.drone-hotspot-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.14);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

.drone-hotspot:hover .drone-hotspot-tooltip {
    opacity: 1;
}

.drone-hotspot.tooltip-left .drone-hotspot-tooltip {
    left: auto;
    right: 0;
    transform: none;
}

.drone-hotspot.tooltip-right .drone-hotspot-tooltip {
    left: 0;
    transform: none;
}

@supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
    .drone-hotspot-tooltip {
        background: rgba(17, 24, 39, 0.9);
    }
}

@keyframes hotspotPulse {
    0% {
        transform: scale(0.75);
        opacity: 1;
    }
    60% {
        transform: scale(1.6);
        opacity: 0;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}
