.sec-hero__digital-advertising .title-sec-hero__website{
    max-width: 920px;
}
.sec-hero__digital-advertising .subtitle-sec-hero{
    max-width: 740px;
}
.sec-hero__digital-advertising-footer {
    height: 65vh;
}

.inner-sec-hero__footer .bg {
    object-fit: cover;
    z-index: 0;
}
.sec-hero__digital-advertising:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background: radial-gradient(93.07% 141.43% at 51.63% -10.09%, #FFFFFF 18.64%, #FBFFF2 42.51%, #D6F296 62.55%, #81B5E4 73.02%, #1643FF 93.18%);
    z-index: 20;
    pointer-events: none;
}
.analytics-dashboard {
    position: relative;
    min-height: 400px;
    background: linear-gradient(120deg, #f6ffee, #e8f0ff);
    border-radius: 20px;
    overflow: hidden;
    padding: 60px 40px 80px;
}

/* === Tiêu đề & Chart chính === */
.analytics-title {
    font-size: 12px;
    font-weight: 700;
}

.analytics-chart {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 12px 24px;
    box-shadow: 0px 8.94px 10.59px -2.68px #00000003;
    width: 65%;
}

.analytics-chart__body {
    flex: 1;
    height: fit-content;
}

.analytics-chart svg {
    width: 90%;
    flex-grow: 1;
    opacity: 0.6;
    margin-left: auto;
    margin-right: 0;
}

.chart-label {
    width: fit-content;
    background: #0C02DE;
    padding: 4px 10px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.chart-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #CAF303;
}

.chart-scale {
    display: flex;
    justify-content: space-around;
    font-size: 10px;
    color: var(--text-color);
    margin-top: 8px;
}

/* === Card Base === */
.analytics-card {
    padding: 12px 18px;
    border-radius: 11px;
    position: absolute;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.analytics-card__header div.text {
    font-weight: 600;
    font-size: 12px;
}

.analytics-card__header p {
    font-weight: 400;
    font-size: 12px;
}
.analytics-card__header .tag {
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 8px;
    color: var(--text-color);

}
.analytics-card span.line{
    height: 3px;
    border-radius: 99px;
}
/* === Bar chart === */
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
}

.bar {
    width: 20%;
    background: #CAF303;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.bar:nth-child(3){
    background: #0C02DE;
}

/* === Facebook === */
.analytics-card.card-fb{
    border-radius: 14px;
    padding: 14px;
}
.fb-icon {
    background: linear-gradient(135deg, #0C02DE 25%, #60A5FA 62.06%, #CAF303 95.71%);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.analytics-card__header span.number {
    font-weight: 400;
    font-size: 10px;
}
.analytics-card.card-fb span.line{
    background: #3B82F6;
}
.analytics-card.card-fb span.line:nth-child(1){
    width: 100%;
}
.analytics-card.card-fb span.line:nth-child(2){
    width: 70%;
}

/* === Icon box === */
.analytics-card.card-left-bottom{
    padding: 14px;
    box-shadow: none;
}

.icon-box {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0C02DE 25%, #60A5FA 62.06%, #CAF303 95.71%);
}
.icon-box__inner{
    gap: 1.3px;
    grid-template-columns: repeat(2, 1fr);
}
.icon-box .box {
    width: 5px;
    height: 5px;
    border-radius: 1.6px;
    background: #fff;
}
.analytics-card.card-left-bottom h4.number{
    font-weight: 600;
    font-size: 30px;

}
.chart-circle{
    width: 60px;
    height: 60px;
    aspect-ratio: 1/1;
}
.sys-info{
    width: 58%;
    min-width: 75px;
}
.sys-info .line{
    background: #D1D5DB;
    height: 4px !important;
}
.sys-info .line:nth-child(1){
    width: 100%;
}
.sys-info .line:nth-child(2){
    width: 80%;
}
.sys-info .line:nth-child(3){
    width: 60%;
}
.analytics-card.card-right-top{
    border-radius: 16px;
    border: 8px solid #FFFFFF;
    background: #F3F4F6;
    padding: 10px;
}
.analytics-card.card-right-top .number{
    font-weight: 600;
    font-size: 32px;
}
.analytics-card.card-right-top p{
    font-size: 0.875rem;
}
/* === Positioning cards === */
.card-left-top {
    top: 50%;
    transform: translateY(-50%);
    left: -1%;
    z-index: 2;
    width: 18%;
    min-width: 180px;
}

.card-left-bottom {
    bottom: 0;
    left: 10%;
    z-index: 2;
}

.card-right-top {
    top: 20%;
    right: 4%;
}

.card-right-bottom {
    top: 60%;
    transform: translateY(-50%);
    right: 0;
}

.card-fb {
    bottom: 0;
    right: 14%;
}

/* === Navigation dots === */
.nav-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d5d9de;
    transition: all 0.3s;
}

.nav-dots .dot.active {
    background: #37d94b;
}
@media (max-width: 768px) {
    .sec-hero__digital-advertising-footer {
        height: auto;
        flex: 1;
    }

    .analytics-title {
        font-size: 8px;
    }

    .chart-label {
        border-radius: 4px;
        padding: 2.5px 6px;
        font-size: 8px;
    }

    .chart-dot {
        width: 8px;
        height: 8px;
    }

    .analytics-chart {
        width: 100%;
    }

    .analytics-chart svg {
        width: 100%;
        height: 100%;
    }

    .analytics-chart svg path {
        rotate: 340deg;
        width: 100%;
        height: 100%;
    }

    .analytics-card {
        border-radius: 5px;
        padding: 6px;
    }

    .analytics-card__header div.text {
        font-size: 4px;
    }

    .analytics-card__header .tag {
        font-size: 3px;
        padding: 1px 3px;
    }

    .bar {
        border-top-left-radius: 2px;
        border-top-right-radius: 2px;
    }

    .chart-bars {
        height: 30px;
        gap: 3px;
    }

    .card-left-top {
        top: 40%;
        left: 1%;
        min-width: 80px;
    }

    .analytics-card.card-right-top {
        border: 4px solid #FFFFFF;
        padding: 8px;
        border-radius: 8px;
    }

    .analytics-card.card-right-top .number {
        font-size: 18px;
    }

    .analytics-card.card-right-top p {
        font-size: 5px;
    }

    .card-right-top {
        top: 60%;
        right: auto;
        left: 1%;
    }

    .analytics-card.card-left-bottom {
        padding: 8px;
        box-shadow: 0px 2px 6px -2px rgba(0, 0, 0, 0.2);
    }

    .icon-box {
        width: 16px;
        height: 16px;
        border-radius: 4px;
    }

    .icon-box__inner {
        gap: 1px;
    }

    .icon-box .box {
        width: 3px;
        height: 3px;
        border-radius: 1px;
    }

    .analytics-card__header p {
        font-size: 6px;
    }

    .analytics-card.card-left-bottom h4.number {
        font-size: 18px;
    }

    .card-left-bottom {
        bottom: 20%;
        left: 45%;
        transform: translateX(-50%);
        z-index: 2;
    }

    .chart-circle {
        width: 30px;
        height: 30px;
    }
    .sys-info{
        min-width: 60px;
    }
    .card-right-bottom {
        top: 65%;
        right: -1%;
    }
    .analytics-card__header{
        height: fit-content;
    }
    .analytics-card.card-fb{
        border-radius: 7px;
        padding: 7px;
    }
    .card-fb{
        top: 35%;
        transform: translateY(-50%);
        right: -5%;
        bottom: auto;
    }
    .fb-icon{
        width: 18px;
        height: 18px;
        border-radius: 5px;
        font-size: 0.7rem;
    }
    .analytics-card__header span.number{
        font-size: 5px;
    }
    .analytics-card span.line{
        height: 1.5px;
        max-height: 1.5px;
    }
    .analytics-card.card-right-bottom .analytics-card__header{
        max-height: 25px;
    }

}
/*section lợi ích*/
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
}

.metric-box {
    border: 1.5px solid #0000ff;
    border-radius: 10px;
    padding: 40px;
    color: #0000ff;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.metric-box.highlight {
    background: #0000ff;
    color: #fff;
    grid-row: span 2;
}

.metric-box.highlight .metric-subtitle {
    color: #fff;
}
.metric-icon{
    width: 30%;
    max-width: 100px;
    aspect-ratio: 1/1;
}
.metric-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.metric-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #0000ff;
    margin-bottom: 20px;
}

.metric-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    line-height: 1.6;
}

.metric-list li {
    margin-bottom: 8px;
}

/* Icon vòng tròn giống hình */
.target-icon {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 20px;
    margin-left: 10px;
}

.target-icon span {
    position: absolute;
    border: 2px solid #c5ff00;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.target-icon span:nth-child(1) { width: 80px; height: 80px; }
.target-icon span:nth-child(2) { width: 55px; height: 55px; }
.target-icon span:nth-child(3) { width: 30px; height: 30px; }

.target-icon .dot {
    width: 10px;
    height: 10px;
    background: #c5ff00;
    border: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 992px) {
    .metrics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

