/* 首页：编辑排版风格，全宽铺满 */

body.home {
    overflow-x: hidden;
}

/* 细胶片颗粒，压掉大色块的塑料感 */
body.home::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 300;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 720px) {
    .wrap {
        padding: 0 20px;
    }
}

/* ---------- 顶栏 ---------- */

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 90;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease;
}

.nav.solid {
    background: rgba(var(--scrim-rgb), .88);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
}

.nav .wrap {
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 30px;
    height: 30px;
    flex: none;
    padding: 0;
    border-radius: 3px;
    border: 1px solid var(--accent-line);
    display: grid;
    place-items: center;
    color: var(--accent);
    background: var(--accent-veil);
    cursor: pointer;
    transition: transform .18s, background .18s;
}

.brand-mark:hover {
    background: var(--accent-soft);
    transform: rotate(35deg);
}

.brand-mark svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.brand b {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .01em;
    display: block;
    line-height: 1.15;
}

.brand-text span {
    font-size: 9.5px;
    color: var(--text-faint);
    letter-spacing: .22em;
    text-transform: uppercase;
    display: block;
    line-height: 1;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    gap: 26px;
    margin-left: auto;
    margin-right: 8px;
}

.nav-links a {
    font-size: 13.5px;
    color: var(--text-dim);
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: color .2s, border-color .2s;
}

.nav-links a:hover {
    color: var(--text);
    border-bottom-color: var(--accent);
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav .wrap {
        justify-content: space-between;
    }

    .nav-cta {
        margin-left: auto;
    }
}

/* ---------- 首屏 ---------- */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .28;
    filter: saturate(.75) contrast(1.05);
}

.hero-veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(100deg, var(--bg) 6%, rgba(var(--scrim-rgb), .86) 42%, rgba(var(--scrim-rgb), .5) 78%),
        linear-gradient(180deg, rgba(var(--scrim-rgb), .7), transparent 30%, var(--bg) 97%);
}

/* 背景片子是给深色底调的，铺在白底上会整片发灰，压得更淡一些 */
[data-theme="light"] .hero-bg video {
    opacity: .14;
    filter: saturate(.7) contrast(1.02);
}

/* 胶片颗粒在白纸上会变成一层脏点 */
[data-theme="light"] body.home::after {
    opacity: .018;
}

.hero .wrap {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 64px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 12.5px;
    color: var(--text-dim);
    letter-spacing: .01em;
}

.pill em {
    font-style: normal;
    padding: 2px 8px;
    border: 1px solid var(--accent-line);
    border-radius: 2px;
    color: var(--accent);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
}

h1.hero-title {
    margin: 26px 0 0;
    font-size: clamp(40px, 6.6vw, 86px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 800;
    max-width: 15ch;
}

.hero-sub {
    margin: 26px 0 0;
    max-width: 54ch;
    font-size: clamp(15px, 1.4vw, 17px);
    color: var(--text-dim);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero-actions .btn {
    height: 48px;
    padding: 0 28px;
    font-size: 15px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 62px;
    border-top: 1px solid var(--line);
    max-width: 780px;
}

.hero-stats div {
    padding: 24px 34px 0 0;
    margin-right: 34px;
    border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
    border-right: none;
}

.hero-stats div b {
    display: block;
    font-size: clamp(23px, 2.5vw, 31px);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.hero-stats div span {
    font-size: 12.5px;
    color: var(--text-faint);
}

@media (max-width: 620px) {
    .hero-stats div {
        padding-right: 20px;
        margin-right: 20px;
    }
}

/* ---------- 通用区块 ---------- */

.section {
    padding: clamp(72px, 8.5vw, 124px) 0;
    position: relative;
    border-top: 1px solid var(--line);
}

.section.alt {
    background: var(--bg-soft);
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 18px;
}

.section h2 {
    margin: 0;
    font-size: clamp(26px, 3.4vw, 42px);
    line-height: 1.2;
    letter-spacing: -.03em;
    font-weight: 700;
    max-width: 20ch;
}

.section .lede {
    margin: 18px 0 0;
    max-width: 58ch;
    color: var(--text-dim);
    font-size: 15.5px;
}

/* ---------- 作品墙 ---------- */

.showcase {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

@media (max-width: 1000px) {
    .showcase {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .showcase {
        grid-template-columns: 1fr;
    }
}

.shot {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg);
    cursor: pointer;
    margin: 0;
}

.shot video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .3, 1), opacity .3s;
    opacity: .82;
}

.shot:hover video {
    transform: scale(1.04);
    opacity: 1;
}

.shot figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 34px 14px 13px;
    font-size: 12.5px;
    color: #efece7;
    background: linear-gradient(transparent, rgba(0, 0, 0, .82));
}

.shot .play {
    position: absolute;
    top: 11px;
    right: 11px;
    width: 28px;
    height: 28px;
    border-radius: 2px;
    display: grid;
    place-items: center;
    background: rgba(14, 14, 15, .7);
    border: 1px solid var(--accent-line);
    color: var(--accent);
    opacity: 0;
    transition: opacity .2s;
}

.shot:hover .play {
    opacity: 1;
}

/* ---------- 图文分栏 ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
    margin-top: 52px;
}

.split.flip>*:first-child {
    order: 2;
}

@media (max-width: 900px) {

    .split,
    .split.flip {
        grid-template-columns: 1fr;
    }

    .split.flip>*:first-child {
        order: 0;
    }
}

.split h3 {
    margin: 0 0 12px;
    font-size: clamp(20px, 2.2vw, 26px);
    letter-spacing: -.025em;
    font-weight: 700;
}

.split p {
    margin: 0;
    color: var(--text-dim);
    max-width: 46ch;
}

.split-media {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    aspect-ratio: 16 / 10;
}

.split-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checks {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.checks li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-dim);
    font-size: 14.5px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.checks svg {
    margin-top: 4px;
    color: var(--accent);
    width: 15px;
    height: 15px;
}

/* ---------- 编号特性清单 ---------- */

.numbered {
    margin-top: 52px;
    border-top: 1px solid var(--line);
}

.nrow {
    display: grid;
    grid-template-columns: 72px 1.1fr 1.6fr;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
    transition: background .25s;
}

.nrow:hover {
    background: rgba(var(--tint-rgb), .04);
}

.nrow span.n {
    font-size: 12px;
    color: var(--accent);
    letter-spacing: .16em;
    font-variant-numeric: tabular-nums;
}

.nrow h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -.015em;
}

.nrow p {
    margin: 0;
    color: var(--text-dim);
    font-size: 14.5px;
}

@media (max-width: 800px) {
    .nrow {
        grid-template-columns: 44px 1fr;
        gap: 8px 18px;
    }

    .nrow p {
        grid-column: 2;
    }
}

/* ---------- 模型 ---------- */

.models {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 48px;
    background: var(--line);
    border: 1px solid var(--line);
}

@media (max-width: 900px) {
    .models {
        grid-template-columns: 1fr;
    }
}

.model {
    padding: 32px 28px;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    transition: background .25s;
}

.model:hover {
    background: var(--surface);
}

.model.hot {
    background: linear-gradient(180deg, var(--accent-veil), transparent 60%), var(--bg);
}

.model-badge {
    align-self: flex-start;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--text-faint);
}

.model.hot .model-badge {
    color: var(--accent);
}

.model h3 {
    margin: 18px 0 8px;
    font-size: 19px;
    letter-spacing: -.02em;
    font-weight: 700;
}

.model code {
    font-size: 12px;
    color: var(--text-faint);
    align-self: flex-start;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.model p {
    margin: 16px 0 24px;
    color: var(--text-dim);
    font-size: 14px;
    flex: 1;
}

/* ---------- 步骤 ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 48px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

@media (max-width: 800px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

.step {
    padding: 30px 26px;
    background: var(--bg-soft);
    counter-increment: s;
}

.section.alt .step {
    background: var(--bg);
}

.step::before {
    content: "0" counter(s);
    font-size: 12px;
    letter-spacing: .16em;
    color: var(--accent);
    display: block;
    margin-bottom: 14px;
}

.steps {
    counter-reset: s;
}

.step h3 {
    margin: 0 0 9px;
    font-size: 16.5px;
    font-weight: 650;
}

.step p {
    margin: 0;
    color: var(--text-dim);
    font-size: 14px;
}

/* ---------- 隐私 ---------- */

.privacy {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

@media (max-width: 820px) {
    .privacy {
        grid-template-columns: 1fr;
    }
}

.privacy div {
    padding: 28px 26px;
    background: var(--bg);
}

.privacy div h3 {
    margin: 0 0 10px;
    font-size: 15.5px;
    font-weight: 650;
    display: flex;
    align-items: center;
    gap: 9px;
}

.privacy div h3 svg {
    color: var(--accent);
    width: 16px;
    height: 16px;
}

.privacy div p {
    margin: 0;
    color: var(--text-dim);
    font-size: 14px;
}

/* ---------- FAQ ---------- */

.faq {
    margin-top: 44px;
    max-width: 880px;
    border-top: 1px solid var(--line);
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    font-size: 15.5px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color .2s;
}

.faq summary:hover {
    color: var(--accent-light);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary svg {
    color: var(--text-faint);
    transition: transform .25s, color .25s;
    flex: none;
}

.faq details[open] summary svg {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq p {
    margin: 0 0 24px;
    color: var(--text-dim);
    font-size: 14.5px;
    max-width: 72ch;
}

/* ---------- 结尾 CTA ---------- */

.cta {
    padding: clamp(76px, 9vw, 130px) 0;
    border-top: 1px solid var(--line);
    text-align: center;
}

.cta h2 {
    max-width: none;
    margin: 0 auto;
}

.cta .lede {
    margin: 18px auto 0;
}

.cta .hero-actions {
    justify-content: center;
}

/* ---------- 页脚 ---------- */

.foot {
    border-top: 1px solid var(--line);
    padding: 32px 0;
    color: var(--text-faint);
    font-size: 12.5px;
}

.foot .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    align-items: center;
}

/* ---------- 视频灯箱 ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    place-items: center;
    background: rgba(8, 8, 9, .93);
    padding: 24px;
}

.lightbox.on {
    display: grid;
}

.lightbox video {
    width: min(1020px, 92vw);
    max-height: 86vh;
    background: #000;
    border: 1px solid var(--line-strong);
}

.lightbox button {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-strong);
    display: grid;
    place-items: center;
    color: var(--text-dim);
    transition: color .2s, border-color .2s;
}

.lightbox button:hover {
    color: var(--accent);
    border-color: var(--accent);
}
