/* ==========================================
   DC Hero Visual Hotspots
   ========================================== */

/* ==========================================
   CSS VARIABLES
   ========================================== */
.dc-hero-visual-hotspots-wrapper {
    --dc-primary: #ef7a17;
    --dc-primary-rgb: 239, 122, 23;
    --dc-secondary: #032038;
    --dc-secondary-rgb: 3, 32, 56;
}

.dc-hero-visual-hotspots-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================
   MAIN CONTAINER
   ========================================== */
.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots {
    position: relative;
    padding: 50px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    overflow: hidden;
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================
   HEADER
   ========================================== */
.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__badge {
    display: inline-block;
    font-family: 'Brush Script MT', 'Brush Script Std', cursive;
    font-size: 26px;
    font-weight: 400;
    color: var(--dc-primary);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--dc-secondary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__title span {
    color: var(--dc-primary);
    position: relative;
    display: inline-block;
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__subtitle {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================
   MAIN CONTENT GRID
   ========================================== */
.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

/* ==========================================
   3D IMAGE CONTAINER
   ========================================== */
.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__scene {
    position: relative;
    perspective: 1500px;
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__image-wrapper--3d {
    transform-style: preserve-3d;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__image-wrapper--3d:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 50px 100px -20px rgba(var(--dc-secondary-rgb), 0.25),
        0 30px 60px -30px rgba(var(--dc-secondary-rgb), 0.3);
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__image-wrapper:hover .dc-visual-hotspots__image {
    transform: scale(1.03);
}

/* SVG Illustration fallback */
.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__svg-illustration {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f0f4f8 0%, #e2e8f0 100%);
    border-radius: 24px;
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__svg-illustration svg {
    width: 100%;
    height: auto;
    max-height: 500px;
}

/* Image overlay gradient */
.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 60%,
        rgba(var(--dc-secondary-rgb), 0.4) 100%
    );
    pointer-events: none;
}

/* Decorative frame */
.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__frame {
    position: absolute;
    inset: -15px;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, var(--dc-primary), transparent, var(--dc-primary)) 1;
    border-radius: 30px;
    pointer-events: none;
    opacity: 0.5;
}

/* ==========================================
   HOTSPOT MARKERS
   ========================================== */
.dc-hero-visual-hotspots-wrapper .dc-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
    cursor: pointer;
}

.dc-hero-visual-hotspots-wrapper .dc-hotspot__marker {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--dc-primary);
    box-shadow:
        0 10px 40px rgba(var(--dc-primary-rgb), 0.3),
        0 0 0 3px rgba(var(--dc-primary-rgb), 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dc-hero-visual-hotspots-wrapper .dc-hotspot__marker svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.dc-hero-visual-hotspots-wrapper .dc-hotspot:hover .dc-hotspot__marker,
.dc-hero-visual-hotspots-wrapper .dc-hotspot.is-active .dc-hotspot__marker {
    background: linear-gradient(135deg, var(--dc-primary), #ff9a44);
    color: #ffffff;
    transform: scale(1.15);
    box-shadow:
        0 15px 50px rgba(var(--dc-primary-rgb), 0.5),
        0 0 0 5px rgba(var(--dc-primary-rgb), 0.2);
}

.dc-hero-visual-hotspots-wrapper .dc-hotspot:hover .dc-hotspot__marker svg,
.dc-hero-visual-hotspots-wrapper .dc-hotspot.is-active .dc-hotspot__marker svg {
    transform: scale(1.1);
}

/* Pulse rings */
.dc-hero-visual-hotspots-wrapper .dc-hotspot__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--dc-primary);
    opacity: 0;
    animation: dc-hotspot-pulse 3s ease-out infinite;
}

.dc-hero-visual-hotspots-wrapper .dc-hotspot__pulse--delay {
    animation-delay: 1s;
}

@keyframes dc-hotspot-pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Connection line */
.dc-hero-visual-hotspots-wrapper .dc-hotspot__line {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--dc-primary), transparent);
    transform-origin: left center;
    transition: width 0.4s ease;
}

.dc-hero-visual-hotspots-wrapper .dc-hotspot.is-active .dc-hotspot__line {
    width: 60px;
}

/* Number indicator */
.dc-hero-visual-hotspots-wrapper .dc-hotspot__number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dc-secondary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

/* ==========================================
   FEATURE CARDS SIDEBAR
   ========================================== */
.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card {
    position: relative;
    padding: 24px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--dc-primary), #ff9a44);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card:hover,
.dc-hero-visual-hotspots-wrapper .dc-feature-card.is-active {
    border-color: rgba(var(--dc-primary-rgb), 0.2);
    box-shadow: 0 20px 50px rgba(var(--dc-primary-rgb), 0.15);
    transform: translateX(-8px);
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card:hover::before,
.dc-hero-visual-hotspots-wrapper .dc-feature-card.is-active::before {
    opacity: 1;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--dc-primary-rgb), 0.1), rgba(var(--dc-primary-rgb), 0.05));
    border-radius: 14px;
    color: var(--dc-primary);
    transition: all 0.3s ease;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card:hover .dc-feature-card__icon,
.dc-hero-visual-hotspots-wrapper .dc-feature-card.is-active .dc-feature-card__icon {
    background: linear-gradient(135deg, var(--dc-primary), #ff9a44);
    color: #ffffff;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card__icon svg {
    width: 24px;
    height: 24px;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dc-secondary);
    margin: 0;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card__highlight {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(var(--dc-primary-rgb), 0.1);
    color: var(--dc-primary);
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    margin-top: 6px;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card__desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card:hover .dc-feature-card__desc,
.dc-hero-visual-hotspots-wrapper .dc-feature-card.is-active .dc-feature-card__desc {
    max-height: 100px;
    opacity: 1;
    margin-top: 12px;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dc-primary);
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card:hover .dc-feature-card__link,
.dc-hero-visual-hotspots-wrapper .dc-feature-card.is-active .dc-feature-card__link {
    opacity: 1;
    transform: translateY(0);
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card__link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.dc-hero-visual-hotspots-wrapper .dc-feature-card__link:hover svg {
    transform: translateX(4px);
}

/* ==========================================
   AMBIENT PARTICLES
   ========================================== */
.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.dc-hero-visual-hotspots-wrapper .dc-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--dc-primary);
    border-radius: 50%;
    opacity: 0.3;
}

.dc-hero-visual-hotspots-wrapper .dc-particle--1 { top: 10%; left: 5%; animation: dc-particle-float 8s ease-in-out infinite; }
.dc-hero-visual-hotspots-wrapper .dc-particle--2 { top: 20%; right: 10%; animation: dc-particle-float 10s ease-in-out infinite; animation-delay: -2s; }
.dc-hero-visual-hotspots-wrapper .dc-particle--3 { bottom: 30%; left: 8%; animation: dc-particle-float 12s ease-in-out infinite; animation-delay: -4s; }
.dc-hero-visual-hotspots-wrapper .dc-particle--4 { bottom: 15%; right: 5%; animation: dc-particle-float 9s ease-in-out infinite; animation-delay: -1s; }
.dc-hero-visual-hotspots-wrapper .dc-particle--5 { top: 50%; left: 3%; animation: dc-particle-float 11s ease-in-out infinite; animation-delay: -3s; width: 4px; height: 4px; }
.dc-hero-visual-hotspots-wrapper .dc-particle--6 { top: 70%; right: 8%; animation: dc-particle-float 7s ease-in-out infinite; animation-delay: -5s; width: 8px; height: 8px; opacity: 0.2; }

@keyframes dc-particle-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -20px) rotate(90deg); }
    50% { transform: translate(-5px, -10px) rotate(180deg); }
    75% { transform: translate(15px, -25px) rotate(270deg); }
}

/* ==========================================
   INFO BADGE
   ========================================== */
.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__info {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dc-primary), #ff9a44);
    border-radius: 12px;
    color: #ffffff;
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__info-icon svg {
    width: 22px;
    height: 22px;
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__info-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--dc-secondary);
}

.dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__info-subtext {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1200px) {
    .dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__content {
        grid-template-columns: 1fr 320px;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__content {
        grid-template-columns: 1fr;
    }

    .dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__image-wrapper {
        transform: none !important;
    }

    .dc-hero-visual-hotspots-wrapper .dc-feature-card:hover,
    .dc-hero-visual-hotspots-wrapper .dc-feature-card.is-active {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .dc-hero-visual-hotspots-wrapper .dc-visual-hotspots {
        padding: 60px 0;
    }

    .dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__wrapper {
        padding: 0 20px;
    }

    .dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__features {
        grid-template-columns: 1fr;
    }

    .dc-hero-visual-hotspots-wrapper .dc-hotspot__marker {
        width: 44px;
        height: 44px;
    }

    .dc-hero-visual-hotspots-wrapper .dc-hotspot__marker svg {
        width: 20px;
        height: 20px;
    }

    .dc-hero-visual-hotspots-wrapper .dc-hotspot__number {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .dc-hero-visual-hotspots-wrapper .dc-visual-hotspots__info {
        bottom: 16px;
        left: 16px;
        right: 16px;
        padding: 14px 18px;
    }

    .dc-hero-visual-hotspots-wrapper .dc-feature-card__desc {
        max-height: 100px !important;
        opacity: 1 !important;
        margin-top: 12px !important;
    }
}
