/* VNTech Theme 5 homepage section surfaces and visual rhythm. */
body.vntech-theme5 .t5-services,
body.vntech-theme5 .t5-control,
body.vntech-theme5 .t5-projects,
body.vntech-theme5 .t5-packages,
body.vntech-theme5 .t5-platform,
body.vntech-theme5 .t5-ai-product,
body.vntech-theme5 .t5-why,
body.vntech-theme5 .t5-faq {
    isolation: isolate;
    border-top: 1px solid rgba(18, 48, 92, 0.08);
}

body.vntech-theme5 .t5-section > .t5-shell > .t5-section-head .t5-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

body.vntech-theme5 .t5-section > .t5-shell > .t5-section-head .t5-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.72;
}

body.vntech-theme5 .t5-services {
    background:
        radial-gradient(circle at 92% 8%, rgba(38, 103, 221, 0.1), transparent 25%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
}

body.vntech-theme5 .t5-service-card {
    border-color: rgba(18, 62, 128, 0.13);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.95));
}

body.vntech-theme5 .t5-service-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 28px;
    left: 28px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--t5-accent), rgba(23, 104, 255, 0.12));
    opacity: 0.74;
}

body.vntech-theme5 .t5-service-card:nth-child(2n) {
    background:
        radial-gradient(circle at 96% 6%, rgba(38, 103, 221, 0.1), transparent 29%),
        #fff;
}

body.vntech-theme5 .t5-service-card:hover::before {
    right: 18px;
    left: 18px;
    opacity: 1;
}

body.vntech-theme5 .t5-control {
    background:
        radial-gradient(circle at 8% 15%, rgba(47, 111, 226, 0.1), transparent 25%),
        linear-gradient(180deg, #edf3fa, #f6f9fd);
}

body.vntech-theme5 .t5-control__grid article {
    position: relative;
    overflow: hidden;
    border-color: rgba(17, 62, 132, 0.13);
    background: linear-gradient(145deg, #fff, #fbfdff);
    transition: transform 200ms var(--t5-ease), border-color 200ms ease, box-shadow 200ms ease;
}

body.vntech-theme5 .t5-control__grid article::after {
    content: "";
    position: absolute;
    top: -58px;
    right: -54px;
    width: 142px;
    height: 142px;
    border-radius: 50%;
    background: rgba(23, 104, 255, 0.065);
}

body.vntech-theme5 .t5-control__grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 104, 255, 0.24);
    box-shadow: var(--t5-shadow-md);
}

body.vntech-theme5 .t5-control__grid article > span {
    position: relative;
    z-index: 1;
    min-width: 44px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border: 1px solid rgba(23, 104, 255, 0.16);
    border-radius: 10px;
    background: var(--t5-accent-soft);
}

body.vntech-theme5 .t5-control__grid article > div {
    position: relative;
    z-index: 1;
}

body.vntech-theme5 .t5-projects {
    background:
        linear-gradient(rgba(17, 54, 112, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 54, 112, 0.025) 1px, transparent 1px),
        #f8fafc;
    background-size: 42px 42px, 42px 42px, auto;
}

body.vntech-theme5 .t5-projects__grid {
    counter-reset: vntech-case;
}

body.vntech-theme5 .t5-project-card {
    position: relative;
    counter-increment: vntech-case;
    border-color: rgba(17, 62, 132, 0.13);
}

body.vntech-theme5 .t5-project-card::before {
    content: "CASE " counter(vntech-case, decimal-leading-zero);
    position: absolute;
    z-index: 4;
    top: 16px;
    left: 16px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(4, 17, 38, 0.78);
    color: rgba(235, 244, 255, 0.9);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.11em;
    backdrop-filter: blur(9px);
}

body.vntech-theme5 .t5-project-card__media {
    position: relative;
}

body.vntech-theme5 .t5-project-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(to bottom, transparent, rgba(4, 17, 38, 0.22));
    pointer-events: none;
}

body.vntech-theme5 .t5-process {
    position: relative;
    background:
        radial-gradient(circle at 88% 14%, rgba(47, 116, 240, 0.18), transparent 26%),
        linear-gradient(145deg, #041126, #071a37 58%, #09244a);
}

body.vntech-theme5 .t5-process__track {
    grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
    gap: 10px;
    overflow: visible;
    padding: 0;
    background: transparent;
}

body.vntech-theme5 .t5-process__track li {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(150, 190, 255, 0.13);
    border-radius: 15px;
    background: rgba(9, 31, 67, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body.vntech-theme5 .t5-process__track li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 3px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(90deg, #79aaff, rgba(121, 170, 255, 0.12));
}

body.vntech-theme5 .t5-process__track li > span {
    min-width: 40px;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(135, 181, 255, 0.18);
    border-radius: 9px;
    background: rgba(90, 147, 241, 0.08);
}

body.vntech-theme5 .t5-packages {
    background:
        radial-gradient(circle at 10% 12%, rgba(46, 109, 225, 0.085), transparent 24%),
        linear-gradient(180deg, #eef3f9, #f8fafc);
}

body.vntech-theme5 .t5-package {
    min-height: 410px;
    overflow: hidden;
    border-color: rgba(17, 62, 132, 0.13);
    transition: transform 200ms var(--t5-ease), box-shadow 200ms ease, border-color 200ms ease;
}

body.vntech-theme5 .t5-package::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(23, 104, 255, 0.18), rgba(23, 104, 255, 0.58), rgba(23, 104, 255, 0.12));
}

body.vntech-theme5 .t5-package:hover {
    transform: translateY(-5px);
    border-color: rgba(23, 104, 255, 0.24);
    box-shadow: var(--t5-shadow-md);
}

body.vntech-theme5 .t5-package.is-featured {
    transform: translateY(-9px);
}

body.vntech-theme5 .t5-package.is-featured:hover {
    transform: translateY(-13px);
}

body.vntech-theme5 .t5-package.is-featured::before {
    height: 5px;
    background: linear-gradient(90deg, var(--t5-accent), #6aa4ff);
}

body.vntech-theme5 .t5-platform__surface,
body.vntech-theme5 .t5-ai-product__surface,
body.vntech-theme5 .t5-contact__surface {
    outline: 1px solid rgba(255, 255, 255, 0.035);
    outline-offset: -8px;
}

body.vntech-theme5 .t5-ai-product {
    background:
        radial-gradient(circle at 92% 8%, rgba(44, 105, 220, 0.075), transparent 25%),
        #f8fafc;
}

body.vntech-theme5 .t5-ai-product__surface {
    border-color: rgba(19, 66, 143, 0.15);
}

body.vntech-theme5 .t5-why {
    background: linear-gradient(180deg, #fff, #f8fafc);
}

body.vntech-theme5 .t5-why__grid {
    counter-reset: vntech-scenario;
}

body.vntech-theme5 .t5-why__grid article {
    counter-increment: vntech-scenario;
    border-color: rgba(17, 62, 132, 0.13);
    background: linear-gradient(145deg, #f8fbff, #eef4fb);
    transition: transform 200ms var(--t5-ease), border-color 200ms ease, box-shadow 200ms ease;
}

body.vntech-theme5 .t5-why__grid article::before {
    content: counter(vntech-scenario, decimal-leading-zero);
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgba(21, 81, 185, 0.11);
    font-size: 54px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.vntech-theme5 .t5-why__grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 104, 255, 0.22);
    box-shadow: var(--t5-shadow-md);
}

body.vntech-theme5 .t5-faq {
    background:
        radial-gradient(circle at 8% 16%, rgba(43, 106, 224, 0.09), transparent 23%),
        #edf3fa;
}

body.vntech-theme5 .t5-faq__layout .t5-section-head {
    padding: 30px;
    border: 1px solid rgba(151, 190, 250, 0.14);
    border-radius: var(--t5-radius-lg);
    background:
        radial-gradient(circle at 90% 10%, rgba(59, 127, 244, 0.2), transparent 30%),
        linear-gradient(145deg, #06142d, #0a244b);
    box-shadow: var(--t5-shadow-md);
}

body.vntech-theme5 .t5-faq__layout .t5-section-head h2 {
    color: #fff;
}

body.vntech-theme5 .t5-faq__layout .t5-section-head > p:not(.t5-eyebrow) {
    color: rgba(222, 235, 255, 0.68);
}

body.vntech-theme5 .t5-faq__layout .t5-section-head .t5-eyebrow {
    color: #9fc3ff;
}

body.vntech-theme5 .t5-faq__list details {
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--t5-ease);
}

body.vntech-theme5 .t5-faq__list details:hover,
body.vntech-theme5 .t5-faq__list details[open] {
    transform: translateY(-2px);
    border-color: rgba(23, 104, 255, 0.22);
    box-shadow: var(--t5-shadow-sm);
}

@media (max-width: 1120px) {
    body.vntech-theme5 .t5-package.is-featured,
    body.vntech-theme5 .t5-package.is-featured:hover {
        transform: none;
    }
}

@media (max-width: 900px) {
    body.vntech-theme5 .t5-faq__layout .t5-section-head {
        padding: 26px;
    }
}

@media (max-width: 720px) {
    body.vntech-theme5 .t5-service-card::before {
        right: 20px;
        left: 20px;
    }

    body.vntech-theme5 .t5-process__track {
        gap: 9px;
    }

    body.vntech-theme5 .t5-package {
        min-height: auto;
    }

    body.vntech-theme5 .t5-faq__layout .t5-section-head {
        padding: 22px;
    }
}
