/* ============================================================
   VigeneTech — AI-Powered Medical Image Analysis
   Dark tech theme: deep navy + neon cyan / violet
   ============================================================ */

:root {
    --bg: #050a17;
    --bg-2: #081021;
    --panel: rgba(13, 22, 46, 0.55);
    --panel-solid: #0b1328;
    --line: rgba(0, 212, 255, 0.14);
    --line-strong: rgba(0, 212, 255, 0.35);
    --cyan: #00d4ff;
    --violet: #8b7cff;
    --text: #eef4ff;
    --muted: #93a4c3;
    --grad: linear-gradient(100deg, #00d4ff 0%, #8b7cff 100%);
    --radius: 14px;
    --font-display: "Space Grotesk", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    --font-body: "Space Grotesk", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.18);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

[tabindex="-1"]:focus {
    outline: none !important;
}

/* ---------- Background décor ---------- */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: linear-gradient(rgba(0, 212, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%);
}

.bg-orb {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
}

.bg-orb--cyan {
    width: 560px;
    height: 560px;
    top: -160px;
    right: -120px;
    background: rgba(0, 212, 255, 0.13);
}

.bg-orb--violet {
    width: 620px;
    height: 620px;
    top: 40%;
    left: -260px;
    background: rgba(139, 124, 255, 0.10);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 13px 28px;
    border-radius: 999px;
    cursor: pointer;
    border: none;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn--primary {
    background: var(--grad);
    color: #040a18;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.28);
}

    .btn--primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 44px rgba(0, 212, 255, 0.42);
    }

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(0, 212, 255, 0.35);
}

    .btn--ghost:hover {
        border-color: var(--cyan);
        box-shadow: 0 0 24px rgba(0, 212, 255, 0.22);
        transform: translateY(-2px);
    }

.btn svg {
    width: 16px;
    height: 16px;
}

/* ---------- Section headings ---------- */
.section {
    padding: 110px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 18px;
}

    .eyebrow::before {
        content: "";
        width: 26px;
        height: 1px;
        background: var(--grad);
    }

.section-title {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.18;
    max-width: 720px;
}

    .section-title .accent {
        background: var(--grad);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.section-sub {
    color: var(--muted);
    margin-top: 16px;
    max-width: 620px;
    font-size: 16px;
}

/* ============================================================
   Navbar
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(5, 10, 23, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand__mark {
    width: 38px;
    height: 38px;
    flex: none;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 34px;
}

    .nav__links a {
        font-size: 15px;
        font-weight: 500;
        color: var(--muted);
        position: relative;
        padding: 6px 0;
        transition: color 0.2s;
    }

        .nav__links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            background: var(--grad);
            transition: width 0.28s var(--ease);
        }

        .nav__links a:hover {
            color: var(--text);
        }

            .nav__links a:hover::after {
                width: 100%;
            }

.nav__cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .nav__cta .btn {
        padding: 10px 22px;
        font-size: 14px;
    }

.nav__toggle {
    display: none;
    background: none;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    color: var(--text);
    align-items: center;
    justify-content: center;
}

    .nav__toggle svg {
        width: 22px;
        height: 22px;
    }

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    padding: 180px 0 90px;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(238, 244, 255, 0.55);
    margin-bottom: 26px;
}

    .hero__eyebrow .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--cyan);
        box-shadow: 0 0 14px var(--cyan);
    }

.hero__title {
    font-size: clamp(2.5rem, 5.4vw, 4.4rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.015em;
    text-shadow: 0 0 42px rgba(0, 212, 255, 0.28);
}

    .hero__title .accent {
        background: var(--grad);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.hero__desc {
    margin-top: 26px;
    color: var(--muted);
    font-size: 17px;
    max-width: 520px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

.hero__visual {
    position: relative;
}

    .hero__visual::before {
        content: "";
        position: absolute;
        inset: 6%;
        background: var(--grad);
        filter: blur(70px);
        opacity: 0.32;
        border-radius: 50%;
        z-index: 0;
    }

.hero__img {
    position: relative;
    z-index: 1;
    border-radius: 22px;
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-glow), 0 30px 80px rgba(0, 0, 0, 0.55);
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.hero__chip {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(9, 16, 34, 0.82);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
    animation: float 5s ease-in-out infinite;
}

    .hero__chip svg {
        width: 18px;
        height: 18px;
        color: var(--cyan);
    }

    .hero__chip .chip-num {
        color: var(--cyan);
        font-size: 17px;
        font-weight: 700;
    }

.hero__chip--tl {
    top: -18px;
    left: -14px;
}

.hero__chip--br {
    bottom: -16px;
    right: -10px;
    animation-delay: 2.4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* ============================================================
   Stats bar
   ============================================================ */
.stats {
    padding: 0 0 30px;
}

.stats__bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(13, 22, 46, 0.7), rgba(8, 15, 33, 0.6));
    padding: 34px 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stat {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid var(--line);
}

    .stat:last-child {
        border-right: none;
    }

.stat__num {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat__label {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13.5px;
    letter-spacing: 0.06em;
}

/* ============================================================
   Features (capability cards)
   ============================================================ */
.features {
    padding: 90px 0 40px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 52px;
}

.feature-card {
    position: relative;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--panel);
    overflow: hidden;
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

    .feature-card:hover {
        transform: translateY(-6px);
        border-color: var(--line-strong);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(0, 212, 255, 0.12);
    }

.feature-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

    .feature-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s var(--ease);
    }

.feature-card:hover .feature-card__media img {
    transform: scale(1.07);
}

.feature-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5, 10, 23, 0.9));
}

.feature-card__body {
    padding: 22px 22px 24px;
}

.feature-card__title {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-card__icon {
    width: 24px;
    height: 24px;
    color: var(--cyan);
    flex: none;
}

.feature-card__desc {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.feature-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--cyan);
}

    .feature-card__link svg {
        width: 15px;
        height: 15px;
        transition: transform 0.25s var(--ease);
    }

.feature-card:hover .feature-card__link svg {
    transform: translateX(5px);
}

/* ============================================================
   Products / Solutions
   ============================================================ */
.solutions {
    padding: 90px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 52px;
}

.solution-card {
    position: relative;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: stretch;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--panel);
    overflow: hidden;
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

    .solution-card:hover {
        transform: translateY(-6px);
        border-color: var(--line-strong);
        box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 34px rgba(139, 124, 255, 0.14);
    }

.solution-card__media {
    position: relative;
    min-height: 230px;
    overflow: hidden;
}

    .solution-card__media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s var(--ease);
    }

.solution-card:hover .solution-card__media img {
    transform: scale(1.06);
}

.solution-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 55%, rgba(5, 10, 23, 0.85));
}

.solution-card__body {
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.solution-card__tag {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 12px;
}

.solution-card__title {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.solution-card__sub {
    margin-top: 5px;
    font-size: 14.5px;
    color: var(--muted);
    font-weight: 500;
}

.solution-card__desc {
    margin-top: 14px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.solution-card__link {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--cyan);
}

    .solution-card__link svg {
        width: 15px;
        height: 15px;
        transition: transform 0.25s var(--ease);
    }

.solution-card:hover .solution-card__link svg {
    transform: translateX(5px);
}

/* ============================================================
   Technology
   ============================================================ */
.tech {
    padding: 70px 0 90px;
}

.tech__panel {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: radial-gradient(ellipse 60% 80% at 85% 10%, rgba(139, 124, 255, 0.16), transparent 60%), radial-gradient(ellipse 50% 70% at 10% 90%, rgba(0, 212, 255, 0.12), transparent 60%), var(--panel-solid);
    padding: 60px clamp(24px, 4vw, 60px);
    overflow: hidden;
}

.tech__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tech__badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 22px;
}

.tech__title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
}

.tech__text {
    margin-top: 18px;
    color: var(--muted);
    font-size: 15.5px;
    max-width: 460px;
}

.tech__list {
    display: grid;
    gap: 14px;
}

.tech__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(8, 15, 33, 0.6);
    transition: border-color 0.3s;
}

    .tech__item:hover {
        border-color: var(--line-strong);
    }

.tech__item-icon {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--line);
    color: var(--cyan);
}

.tech__item-icon--violet {
    color: var(--violet);
    background: rgba(139, 124, 255, 0.1);
}

.tech__item-icon svg {
    width: 20px;
    height: 20px;
}

.tech__item-title {
    font-size: 15.5px;
    font-weight: 600;
}

.tech__item-desc {
    margin-top: 4px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta {
    padding: 30px 0 110px;
}

.cta__panel {
    position: relative;
    text-align: center;
    border-radius: 22px;
    border: 1px solid var(--line-strong);
    background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(0, 212, 255, 0.16), transparent 65%), var(--panel-solid);
    padding: 72px 30px;
    overflow: hidden;
}

    .cta__panel::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
        background-size: 44px 44px;
        mask-image: radial-gradient(ellipse 60% 90% at 50% 50%, #000 30%, transparent 75%);
        -webkit-mask-image: radial-gradient(ellipse 60% 90% at 50% 50%, #000 30%, transparent 75%);
    }

.cta__title {
    position: relative;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
}

.cta__text {
    position: relative;
    color: var(--muted);
    margin: 16px auto 0;
    max-width: 520px;
}

.cta__actions {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 34px;
    flex-wrap: wrap;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    border-top: 1px solid var(--line);
    background: rgba(4, 8, 18, 0.6);
    padding: 70px 0 34px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
}

.footer__brand {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .footer__brand .brand__mark {
        width: 34px;
        height: 34px;
    }

.footer__about {
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
    max-width: 340px;
    line-height: 1.7;
}

.footer__heading {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 20px;
}

.footer__links {
    display: grid;
    gap: 12px;
}

    .footer__links a {
        color: var(--muted);
        font-size: 14.5px;
        transition: color 0.2s;
    }

        .footer__links a:hover {
            color: var(--cyan);
        }

.footer__contact {
    display: grid;
    gap: 14px;
}

    .footer__contact li {
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--muted);
        font-size: 14.5px;
    }

    .footer__contact svg {
        width: 17px;
        height: 17px;
        color: var(--cyan);
        flex: none;
    }

.footer__bottom {
    margin-top: 54px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: rgba(147, 164, 195, 0.75);
    font-size: 13.5px;
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero__chip {
        animation: none;
    }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
    /* 英文导航文本较长，收紧间距避免 nav__cta（语言切换按钮）溢出视口 */
    .nav__links {
        gap: 22px;
    }

        .nav__links a {
            font-size: 14px;
        }

    .nav__cta {
        gap: 10px;
    }

        .nav__cta .btn {
            padding: 10px 16px;
            font-size: 13.5px;
        }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .hero__visual {
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .tech__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 78px 0;
    }

    .nav__links {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: rgba(5, 10, 23, 0.97);
        border-bottom: 1px solid var(--line);
        padding: 10px 6%;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    }

        .nav__links.is-open {
            opacity: 1;
            transform: none;
            pointer-events: auto;
        }

        .nav__links a {
            display: block;
            width: 100%;
            padding: 15px 0;
            border-bottom: 1px solid rgba(0, 212, 255, 0.08);
        }

            .nav__links a:last-child {
                border-bottom: none;
            }

    .nav__cta .btn--ghost {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .hero {
        padding: 140px 0 70px;
    }

    .hero__title {
        font-size: clamp(2.1rem, 8.5vw, 3rem);
    }

    .stats__bar {
        grid-template-columns: 1fr 1fr;
        row-gap: 30px;
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat:nth-child(3), .stat:nth-child(4) {
        border-top: 1px solid var(--line);
        padding-top: 26px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        grid-template-columns: 1fr;
    }

    .solution-card__media {
        min-height: 210px;
    }

        .solution-card__media::after {
            background: linear-gradient(180deg, transparent 55%, rgba(5, 10, 23, 0.85));
        }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   Navbar dropdowns (Products / Solutions)
   ============================================================ */
.nav__item {
    position: relative;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav__chevron {
    width: 14px;
    height: 14px;
    flex: none;
    transition: transform 0.25s var(--ease);
}

.nav__item:hover > .nav__link .nav__chevron,
.nav__item.is-open > .nav__link .nav__chevron {
    transform: rotate(180deg);
}

.nav__menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(9, 16, 34, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.58), 0 0 34px rgba(0, 212, 255, 0.09);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 130;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

    .nav__menu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -16px;
        height: 16px;
    }

.nav__item:hover > .nav__menu,
.nav__item.is-open > .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav__menu-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    transition: background 0.2s;
}

    .nav__menu-item:hover {
        background: rgba(0, 212, 255, 0.08);
    }

    .nav__menu-item.is-active {
        background: rgba(0, 212, 255, 0.06);
    }

        .nav__menu-item.is-active .nav__menu-item-title {
            color: var(--cyan);
        }

        .nav__menu-item.is-active .nav__menu-icon {
            color: var(--violet);
        }

.nav__menu-icon {
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: 3px;
    color: var(--cyan);
}

.nav__menu-item-body {
    display: flex;
    flex-direction: column;
}

.nav__menu-item-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
}

.nav__menu-item-desc {
    margin-top: 2px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--muted);
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__link.is-active {
    color: var(--text);
}

    .nav__link.is-active::after {
        width: 100%;
    }

/* ============================================================
   Sub pages — page hero
   ============================================================ */
.page-hero {
    position: relative;
    padding: 176px 0 72px;
    overflow: hidden;
}

.page-hero__inner {
    max-width: 900px;
}

.crumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 24px;
}

    .crumb a {
        color: var(--cyan);
    }

        .crumb a:hover {
            text-decoration: underline;
        }

.crumb__sep {
    width: 14px;
    height: 14px;
    color: var(--muted);
    flex: none;
}

.crumb__current {
    color: var(--text);
    font-weight: 500;
}

.page-hero__title {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

    .page-hero__title .accent {
        background: var(--grad);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.page-hero__desc {
    margin-top: 22px;
    color: var(--muted);
    font-size: 16.5px;
    max-width: 660px;
}

.page-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.tag {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 7px 14px;
    background: rgba(0, 212, 255, 0.05);
}

/* ============================================================
   Sub pages — sections
   ============================================================ */
.page-section {
    padding: 84px 0;
}

.page-section--alt {
    background: rgba(8, 15, 33, 0.5);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.page-section--tight {
    padding: 56px 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split--flip .split__media {
    order: 2;
}

.split__media {
    position: relative;
}

    .split__media::before {
        content: "";
        position: absolute;
        inset: 8%;
        background: var(--grad);
        filter: blur(70px);
        opacity: 0.22;
        border-radius: 50%;
        z-index: 0;
    }

    .split__media img {
        position: relative;
        z-index: 1;
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 18px;
        border: 1px solid var(--line-strong);
        box-shadow: var(--shadow-glow), 0 26px 60px rgba(0, 0, 0, 0.5);
    }

.split__title {
    font-size: clamp(1.5rem, 2.7vw, 2rem);
    font-weight: 700;
    line-height: 1.22;
}

.split__text {
    margin-top: 18px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.point-list {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.point {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(8, 15, 33, 0.6);
    transition: border-color 0.3s;
}

    .point:hover {
        border-color: var(--line-strong);
    }

.point__icon {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--line);
    color: var(--cyan);
}

.point__icon--violet {
    color: var(--violet);
    background: rgba(139, 124, 255, 0.1);
}

.point__icon svg {
    width: 20px;
    height: 20px;
}

.point__title {
    font-size: 15.5px;
    font-weight: 600;
}

.point__desc {
    margin-top: 5px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 26px;
    margin-top: 30px;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.55;
}

    .check svg {
        width: 18px;
        height: 18px;
        flex: none;
        margin-top: 2px;
        color: var(--cyan);
    }

/* ============================================================
   Sub pages — workflow steps
   ============================================================ */
.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.flow-step {
    position: relative;
    padding: 24px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

    .flow-step:hover {
        transform: translateY(-4px);
        border-color: var(--line-strong);
    }

.flow-step__num {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--cyan);
}

.flow-step__title {
    margin-top: 12px;
    font-size: 15.5px;
    font-weight: 600;
}

.flow-step__desc {
    margin-top: 7px;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
}

/* ============================================================
   Sub pages — spec table
   ============================================================ */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-top: 30px;
}

    .spec-table th,
    .spec-table td {
        text-align: left;
        padding: 15px 18px;
        border-bottom: 1px solid var(--line);
        font-size: 14.5px;
        vertical-align: top;
    }

    .spec-table th {
        font-size: 12.5px;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--cyan);
        background: rgba(0, 212, 255, 0.05);
        border-bottom: 1px solid var(--line-strong);
    }

    .spec-table td {
        color: var(--muted);
    }

        .spec-table td:first-child {
            color: var(--text);
            font-weight: 500;
        }

    .spec-table tr:hover td {
        background: rgba(0, 212, 255, 0.025);
    }

/* ============================================================
   Sub pages — related
   ============================================================ */
.related {
    padding: 30px 0 110px;
}

.related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 36px;
}

.related-card {
    display: block;
    padding: 22px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

    .related-card:hover {
        transform: translateY(-5px);
        border-color: var(--line-strong);
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 26px rgba(0, 212, 255, 0.1);
    }

.related-card__tag {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--violet);
}

.related-card__title {
    margin-top: 9px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .related-card__title svg {
        width: 15px;
        height: 15px;
        color: var(--cyan);
        transition: transform 0.25s var(--ease);
    }

.related-card:hover .related-card__title svg {
    transform: translateX(4px);
}

.related-card__desc {
    margin-top: 7px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================================
   Footer — product / solution link groups
   ============================================================ */
.footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
}

.footer__links .footer__sub {
    margin: 8px 0 12px;
}

    .footer__links .footer__sub:first-of-type {
        margin-top: 0;
    }

.footer__group {
    color: var(--text);
    font-size: 14.5px;
    font-weight: 600;
}

.footer__sub ul {
    display: grid;
    gap: 8px;
    margin: 8px 0 0 12px;
}

    .footer__sub ul a {
        font-size: 13.5px;
    }

.footer__mini {
    display: flex;
    gap: 20px;
    margin-top: 18px;
}

    .footer__mini a {
        color: var(--muted);
        font-size: 13.5px;
        transition: color 0.2s;
    }

        .footer__mini a:hover {
            color: var(--cyan);
        }

/* ============================================================
   Responsive — dropdown & sub pages
   ============================================================ */
@media (max-width: 1020px) {
    .split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .split--flip .split__media {
        order: 0;
    }

    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 760px) {
    .nav__item {
        width: 100%;
    }

    .nav__link--drop {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .nav__menu {
        position: static;
        transform: none;
        min-width: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        width: 100%;
        border: none;
        border-left: 1px solid var(--line);
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        padding: 6px 0 10px 14px;
        margin-left: 14px;
    }

    .nav__item:hover > .nav__menu,
    .nav__item.is-open > .nav__menu {
        transform: none;
        display: block;
    }

    .nav__menu-item {
        padding: 10px 8px;
    }

    .page-hero {
        padding: 138px 0 54px;
    }

    .page-section {
        padding: 62px 0;
    }

    .page-section--tight {
        padding: 44px 0;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .flow-grid {
        grid-template-columns: 1fr;
    }

    .related__grid {
        grid-template-columns: 1fr;
    }

    .related {
        padding: 16px 0 80px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .spec-table th,
    .spec-table td {
        padding: 12px 12px;
        font-size: 13.5px;
    }
}

/* ===== 回到顶部按钮（滚动一段距离后才显示） ===== */
.back-to-top {
    position: fixed;
    right: 5vw;
    bottom: 5vh;
    z-index: 100;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #040a18;
    background: var(--grad);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.28);
    /* 默认隐藏：不可见 + 向下偏移 8px（配合过渡，出现时带轻微上浮） */
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .5s var(--ease), visibility .5s;
}

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }

    /* 滚动超过阈值后显示 */
    .back-to-top.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* hover 上浮（隐藏状态不可见，无需区分 is-visible） */
    .back-to-top:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 32px rgba(0, 212, 255, 0.42);
    }
