:root {
    --bg: #07080b;
    --surface: rgba(18, 19, 24, .72);
    --surface-strong: rgba(25, 25, 31, .86);
    --line: rgba(183, 234, 255, .16);
    --line-warm: rgba(255, 227, 163, .22);
    --text: #f4f1f5;
    --muted: rgba(232, 236, 241, .62);
    --dim: rgba(232, 236, 241, .42);
    --gold: #ffe3a3;
    --cyan: #4cd6ff;
    --mint: #79ffbf;
    --violet: #b867ff;
    --shadow: 0 30px 90px rgba(0, 0, 0, .5);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 18% 5%, rgba(76, 214, 255, .16), transparent 28%),
        radial-gradient(circle at 84% 9%, rgba(184, 103, 255, .2), transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(121, 255, 191, .1), transparent 36%),
        #07080b;
    color: var(--text);
    font-family: "PingFang SC", "Microsoft YaHei", "SF Pro Display", BlinkMacSystemFont, -apple-system, "Segoe UI", Arial, sans-serif;
    margin: 0;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, .055), transparent),
        linear-gradient(180deg, rgba(76, 214, 255, .035), transparent 35%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 0;
}

body::selection {
    background: rgba(121, 255, 191, .28);
}

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

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

main,
.siteHeader,
.footer {
    position: relative;
    z-index: 1;
}

.siteHeader {
    align-items: center;
    backdrop-filter: blur(22px);
    background: rgba(8, 9, 12, .72);
    border: 1px solid rgba(183, 234, 255, .16);
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .06);
    color: #fffaf0;
    display: flex;
    height: 64px;
    justify-content: space-between;
    left: 50%;
    padding: 8px 10px 8px 12px;
    position: fixed;
    top: 18px;
    transform: translateX(-50%);
    width: min(1160px, calc(100% - 32px));
    z-index: 20;
}

.brand {
    align-items: center;
    display: inline-flex;
    font-size: 18px;
    font-weight: 900;
    gap: 10px;
    letter-spacing: .12em;
}

.brand img {
    border: 1px solid rgba(255, 227, 163, .3);
    border-radius: 13px;
    box-shadow: 0 0 22px rgba(255, 227, 163, .16);
    height: 40px;
    width: 40px;
}

.navLinks {
    align-items: center;
    display: flex;
    gap: 7px;
}

.navLinks a {
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(244, 241, 245, .72);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    white-space: nowrap;
}

.navLinks a:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(183, 234, 255, .16);
    color: #fff;
}

.hero {
    align-items: center;
    background: #07080b;
    display: grid;
    min-height: 760px;
    overflow: hidden;
    position: relative;
}

.heroMedia,
.heroOverlay {
    inset: 0;
    position: absolute;
}

.heroMedia img {
    filter: saturate(1.05) contrast(1.08) brightness(.9);
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.heroOverlay {
    background:
        radial-gradient(circle at 73% 28%, rgba(184, 103, 255, .2), transparent 28%),
        radial-gradient(circle at 48% 72%, rgba(76, 214, 255, .16), transparent 32%),
        linear-gradient(90deg, rgba(7, 8, 11, .96) 0%, rgba(7, 8, 11, .82) 42%, rgba(7, 8, 11, .34) 100%),
        linear-gradient(0deg, rgba(7, 8, 11, .95) 0%, rgba(7, 8, 11, .12) 54%, rgba(7, 8, 11, .78) 100%);
}

.heroContent {
    color: #fffaf0;
    margin: 0 auto;
    padding: 150px 0 118px;
    position: relative;
    width: min(1160px, calc(100% - 40px));
    z-index: 2;
}

.eyebrow {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .22em;
    line-height: 1.2;
    margin: 0 0 15px;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(76, 214, 255, .44);
}

.hero h1 {
    font-size: clamp(56px, 8vw, 116px);
    font-weight: 900;
    letter-spacing: .01em;
    line-height: .98;
    margin: 0;
    max-width: 900px;
    text-shadow: 0 0 34px rgba(255, 255, 255, .08);
}

.tagline {
    color: #fff5d9;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    margin: 24px 0 0;
}

.heroText {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
    margin: 24px 0 0;
    max-width: 650px;
}

.heroActions,
.ctaActions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.primaryBtn,
.secondaryBtn {
    align-items: center;
    border-radius: 13px;
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
}

.primaryBtn {
    background: linear-gradient(90deg, #ffd91f, #8cf0a2, #64e8ff);
    box-shadow: 0 18px 38px rgba(121, 255, 191, .18), 0 0 26px rgba(76, 214, 255, .16);
    color: #101114;
}

.primaryBtn:hover {
    filter: brightness(1.08);
}

.secondaryBtn {
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(183, 234, 255, .2);
    color: #fffaf0;
}

.secondaryBtn:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(76, 214, 255, .36);
}

.secondaryBtn.light {
    border-color: rgba(183, 234, 255, .2);
    color: var(--text);
}

.heroPanel {
    backdrop-filter: blur(20px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
    border: 1px solid rgba(183, 234, 255, .18);
    border-radius: 20px;
    bottom: 44px;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
    color: #fffaf0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    position: absolute;
    right: max(32px, calc((100vw - 1160px) / 2));
    width: min(520px, calc(100% - 64px));
    z-index: 3;
}

.heroPanel div {
    border-right: 1px solid rgba(183, 234, 255, .12);
    padding: 18px;
}

.heroPanel div:last-child {
    border-right: 0;
}

.heroPanel strong {
    display: block;
    font-size: 28px;
    line-height: 1;
}

.heroPanel span {
    color: var(--muted);
    display: block;
    font-size: 12px;
    margin-top: 8px;
}

.section {
    margin: 0 auto;
    padding: 94px 0;
    width: min(1160px, calc(100% - 40px));
}

.sectionTitle {
    align-items: end;
    display: grid;
    gap: 50px;
    grid-template-columns: .72fr 1.28fr;
    margin-bottom: 34px;
}

.sectionTitle h2,
.labCopy h2,
.cta h2 {
    color: var(--text);
    font-size: clamp(31px, 4vw, 56px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 0;
}

.sectionTitle.compact {
    display: block;
    max-width: 700px;
}

.introGrid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
}

.introGrid article,
.materialCard,
.labList div,
.cta {
    backdrop-filter: blur(20px);
    background:
        radial-gradient(circle at 14% -18%, rgba(76, 214, 255, .11), transparent 36%),
        linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
    border: 1px solid rgba(183, 234, 255, .15);
    border-radius: 20px;
    box-shadow: 0 18px 64px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .055);
}

.introGrid article,
.materialCard {
    min-height: 260px;
    padding: 26px;
}

.introGrid span {
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
}

.introGrid h3,
.materialCard h3 {
    color: var(--text);
    font-size: 24px;
    margin: 54px 0 14px;
}

.introGrid p,
.materialCard p,
.labCopy p,
.cta p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
    margin: 0;
}

.lab {
    align-items: center;
    display: grid;
    gap: 52px;
    grid-template-columns: .9fr 1.1fr;
}

.labVisual {
    background: #090a0d;
    border: 1px solid rgba(183, 234, 255, .16);
    border-radius: 22px;
    box-shadow: var(--shadow);
    min-height: 560px;
    overflow: hidden;
}

.labVisual img {
    filter: saturate(1.06) contrast(1.06);
    height: 560px;
    object-fit: cover;
    width: 100%;
}

.labCopy {
    padding: 20px 0;
}

.labCopy > p {
    margin-top: 20px;
}

.labList {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.labList div {
    padding: 18px;
}

.labList b {
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.labList span {
    color: var(--muted);
    display: block;
    font-size: 14px;
    line-height: 1.75;
}

.materialGrid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, 1fr);
}

.materialCard {
    min-height: 300px;
}

.materialCard h3 {
    margin-top: 0;
}

.materialCard.dark {
    background:
        radial-gradient(circle at 10% -12%, rgba(255, 227, 163, .16), transparent 34%),
        rgba(255, 255, 255, .07);
    border-color: rgba(255, 227, 163, .22);
}

.materialCard.accent {
    background:
        radial-gradient(circle at 80% 0, rgba(121, 255, 191, .2), transparent 36%),
        rgba(255, 227, 163, .09);
    border-color: rgba(255, 227, 163, .22);
}

.cta {
    align-items: center;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 80px;
    padding: 42px;
}

.cta p {
    margin-top: 16px;
    max-width: 680px;
}

.ctaActions {
    justify-content: flex-end;
    margin-top: 0;
    min-width: 300px;
}

.footer {
    background: rgba(0, 0, 0, .7);
    border-top: 1px solid rgba(183, 234, 255, .12);
    color: rgba(244, 241, 245, .66);
    padding: 30px 20px;
    text-align: center;
}

.footer p {
    font-size: 13px;
    margin: 0;
}

.footerSub {
    color: rgba(244, 241, 245, .38);
    margin-top: 8px !important;
}

@media (max-width: 900px) {
    .siteHeader {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        height: auto;
        top: 10px;
        width: calc(100% - 20px);
    }

    .navLinks {
        overflow-x: auto;
        padding-bottom: 2px;
        width: 100%;
    }

    .hero {
        min-height: 760px;
    }

    .heroContent {
        padding: 180px 0 210px;
        width: calc(100% - 32px);
    }

    .heroPanel {
        bottom: 24px;
        grid-template-columns: 1fr;
        left: 16px;
        right: 16px;
        width: auto;
    }

    .heroPanel div {
        border-bottom: 1px solid rgba(183, 234, 255, .12);
        border-right: 0;
    }

    .heroPanel div:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 66px 0;
        width: calc(100% - 32px);
    }

    .sectionTitle,
    .introGrid,
    .lab,
    .materialGrid {
        grid-template-columns: 1fr;
    }

    .sectionTitle {
        gap: 12px;
    }

    .introGrid article,
    .materialCard {
        min-height: auto;
    }

    .introGrid h3 {
        margin-top: 32px;
    }

    .labVisual,
    .labVisual img {
        height: 420px;
        min-height: 420px;
    }

    .cta {
        align-items: flex-start;
        display: grid;
        padding: 26px;
    }

    .ctaActions {
        justify-content: flex-start;
        min-width: 0;
    }
}

@media (max-width: 520px) {
    .heroContent {
        padding-top: 170px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .primaryBtn,
    .secondaryBtn {
        width: 100%;
    }
}
