#whatido-wp-root {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #000000;
    color: #fff;
    font-family: var(--primary-font);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    padding: 0 0 100px;
}

#whatido-wp-root *,
#whatido-wp-root *::before,
#whatido-wp-root *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Header */
#whatido-wp-root .wid-header {
    position: relative;
    z-index: 2;
    padding: 120px 24px 40px;
    text-align: center;
}

#whatido-wp-root .wid-header-inner {
    max-width: 700px;
    margin: 0 auto;
}

#whatido-wp-root .wid-label {
    font-family: var(--primary-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.35em;
    color: rgba(160, 195, 255, 1);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

#whatido-wp-root .wid-title {
    /* Dấu tiếng Việt: nền gradient (background-clip:text) chỉ tô trong hộp nội dung,
       dấu chồng (Ố, Ệ, Ậ…) vượt lên trên hộp nên bị mất màu → trông như bị cắt.
       Nới hộp bằng padding rồi bù margin âm: chữ đủ chỗ, bố cục không đổi. */
    padding-block: 0.22em 0.14em;
    margin-block-start: -0.22em;

    font-family: var(--primary-font);
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: calc(20px - 0.14em);
    background: linear-gradient(180deg, #fff 30%, rgba(160, 195, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

#whatido-wp-root .wid-divider {
    width: 60px;
    height: 3px;
    margin: 0 auto 24px;
    background: linear-gradient(90deg, #8b5cf6, #60a5fa);
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

#whatido-wp-root .wid-subtitle {
    font-size: clamp(15px, 3vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6) !important;
    max-width: 520px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s, transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

#whatido-wp-root .wid-revealed {
    opacity: 1 !important;
    transform: translateY(0) scaleX(1) !important;
}

/* Block */
#whatido-wp-root .wid-block {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px;
}

#whatido-wp-root .wid-block-heading {
    font-family: var(--primary-font);
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Client Grid */
#whatido-wp-root .wid-clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

#whatido-wp-root .wid-client-card {
    position: relative;
    padding: 28px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s, background 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

#whatido-wp-root .wid-client-card:hover {
    border-color: rgba(160, 195, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px) scale(1) !important;
    box-shadow: 0 12px 40px -10px rgba(100, 150, 255, 0.1);
}

#whatido-wp-root .wid-client-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(120, 160, 255, 0.08);
    border: 1px solid rgba(120, 160, 255, 0.15);
    color: rgba(160, 195, 255, 1);
    margin-bottom: 16px;
}

#whatido-wp-root .wid-icon-green {
    background: rgba(74, 222, 128, 0.08);
    border-color: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

#whatido-wp-root .wid-icon-amber {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

#whatido-wp-root .wid-icon-rose {
    background: rgba(251, 113, 133, 0.08);
    border-color: rgba(251, 113, 133, 0.15);
    color: #fb7185;
}

#whatido-wp-root .wid-client-name {
    font-family: var(--primary-font);
    font-size: 16px;
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

#whatido-wp-root .wid-client-desc {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5) !important;
}


/* Services Grid */
#whatido-wp-root .wid-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

#whatido-wp-root .wid-service-card {
    padding: 32px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s, background 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

#whatido-wp-root .wid-service-card:hover {
    border-color: rgba(160, 195, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px) scale(1) !important;
    box-shadow: 0 12px 40px -10px rgba(100, 150, 255, 0.1);
}

#whatido-wp-root .wid-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(120, 160, 255, 0.06);
    border: 1px solid rgba(120, 160, 255, 0.12);
    color: rgba(160, 195, 255, 0.8);
    margin-bottom: 18px;
}

#whatido-wp-root .wid-service-name {
    font-family: var(--primary-font);
    font-size: 17px;
    font-weight: 700;
    color: #fff !important;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

#whatido-wp-root .wid-service-desc {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Animations */
@keyframes widGradShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes widAiPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.04);
    }
}

/* Responsive */
@media (max-width: 960px) {
    #whatido-wp-root .wid-clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #whatido-wp-root .wid-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #whatido-wp-root .wid-ai-inner {
        padding: 36px 28px;
    }

    #whatido-wp-root .wid-header {
        padding: 100px 24px 30px;
    }

    #whatido-wp-root .wid-title {
        font-size: 48px;
    }
}

@media (max-width: 600px) {
    #whatido-wp-root .wid-clients-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #whatido-wp-root .wid-services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #whatido-wp-root .wid-ai-inner {
        padding: 32px 20px;
    }

    #whatido-wp-root .wid-ai-metrics {
        flex-direction: column;
        gap: 20px;
    }

    #whatido-wp-root .wid-ai-metric-sep {
        width: 60px;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 0 auto;
    }

    #whatido-wp-root .wid-ai-metric {
        padding: 0;
    }

    #whatido-wp-root .wid-header {
        padding: 80px 20px 30px;
    }

    #whatido-wp-root .wid-title {
        font-size: 36px;
        line-height: 1.1;
        margin-bottom: 16px;
    }

    #whatido-wp-root .wid-subtitle {
        font-size: 15px;
        line-height: 1.6;
    }

    #whatido-wp-root .wid-block {
        padding: 30px 20px;
    }

    #whatido-wp-root .wid-block-heading {
        font-size: 24px;
        margin-bottom: 24px;
    }

    #whatido-wp-root .wid-client-card,
    #whatido-wp-root .wid-service-card {
        padding: 24px 20px;
    }

    #whatido-wp-root .wid-client-name,
    #whatido-wp-root .wid-service-name {
        font-size: 16px;
    }

    #whatido-wp-root .wid-client-desc,
    #whatido-wp-root .wid-service-desc {
        font-size: 13px;
        line-height: 1.6;
    }

    #whatido-wp-root .wid-ai-metric-val {
        font-size: 32px;
    }

    #whatido-wp-root .wid-ai-title {
        font-size: 28px;
    }
}
    


/* backdrop-filter (hiệu ứng kính mờ) chỉ bật trên thiết bị có chuột/GPU mạnh;
   mobile/touch dùng nền bán trong suốt thường — nhìn gần như nhau, nhẹ hơn nhiều */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
    #whatido-wp-root .wid-client-card {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    #whatido-wp-root .wid-service-card {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}
