/* Global Delivery Widget Styles */
.gd-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #000;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 10px;
}

.gd-bg-anim {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    animation: bgPan 40s linear infinite, brightnessPulse 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes brightnessPulse {

    0%,
    100% {
        filter: brightness(0.8) contrast(1.1);
        opacity: 0.5;
    }

    50% {
        filter: brightness(1.3) contrast(1.2);
        opacity: 0.8;
    }
}

@keyframes bgPan {
    0% {
        transform: scale(1.1) translateX(-2%);
    }

    50% {
        transform: scale(1.0) translateX(2%);
    }

    100% {
        transform: scale(1.1) translateX(-2%);
    }
}

.gd-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* HEADER */
.gd-header {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.gd-title {
    font-size: 85px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #e85a03 0%, #db4700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.gd-header-divider {
    width: 40px;
    height: 2px;
    background: #E87722;
    margin: 0 auto 25px auto;
    opacity: 0.8;
}

.gd-subtitle {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* MAP AREA */
.gd-map-area {
    position: relative;
    width: 100%;
    margin-bottom: 80px;
}

.gd-map-main {
    width: 100%;
    height: auto;
    opacity: 0.8;
    filter: drop-shadow(0 0 30px rgba(232, 119, 34, 0.2));
}

.gd-nodes {
    position: absolute;
    inset: 0;
}

.gd-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #E87722;
    border-radius: 50%;
    box-shadow: 0 0 15px #E87722, 0 0 30px rgba(232, 119, 34, 0.5);
    animation: nodePulse 2s ease-in-out infinite alternate;
}

.node-1 {
    top: 40%;
    left: 30%;
}

.node-2 {
    top: 50%;
    left: 60%;
}

.node-3 {
    top: 35%;
    left: 80%;
}

@keyframes nodePulse {
    from {
        transform: scale(1);
        opacity: 0.8;
    }

    to {
        transform: scale(1.8);
        opacity: 1;
        box-shadow: 0 0 25px #E87722;
    }
}

/* METRICS RAIL */
.gd-metrics-rail {
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 300px;
}

.gd-metric-item {
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.gd-metric-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.gd-metric-icon-wrap {
    font-size: 30px;
    color: #E87722;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
}

.gd-metric-item:hover .gd-metric-icon-wrap {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(232, 119, 34, 0.6));
}

.gd-metric-data {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gd-metric-number {
    font-size: 32px;
    font-weight: 800;
    color: #E87722;
    line-height: 1.2;
}

.gd-metric-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bbb;
    margin: 0;
    max-width: 150px;
    position: absolute;
    bottom: -18px;
}

.gd-divider {
    display: flex;
    align-items: center;
    margin-left: 40px;
}

.gd-divider-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
}

/* Entrance Animations */
.gd-header,
.gd-map-area,
.gd-metric-item {
    opacity: 0;
    transform: translateY(30px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .gd-title {
        font-size: 55px;
    }

    .gd-metrics-rail {
        flex-wrap: wrap;
        gap: 40px 0;
    }

    .gd-metric-item {
        width: 50%;
        padding-bottom: 30px;
    }

    .gd-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .gd-title {
        font-size: 40px;
    }

    .gd-metric-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}