/* ==========================================================
   共创影视 · 下载站
   浅色主题（仿 tvaiku.com 排版）
   ========================================================== */

:root {
    --bg: #ffffff;
    --bg-alt: #f7f8fa;
    --text: #14161a;
    --text-2: #33373d;
    --text-dim: #6b7280;
    --text-faint: #9ca3af;
    --border: #e8eaed;
    --border-strong: #d4d7dd;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-soft: #eff4ff;
    --green: #16a34a;
    --radius: 14px;
    --radius-sm: 10px;
    --max: 1080px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: var(--primary); text-decoration: none; }

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= 顶部导航 ================= */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 28px; height: 28px;
    border-radius: 7px;
    object-fit: cover;
    flex-shrink: 0;
}

.nav-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: .01em;
}

.nav-spacer { flex: 1; }

.nav-link {
    color: var(--text-dim);
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: .16s;
}

.nav-link:hover { color: var(--text); background: var(--bg-alt); }

/* ================= Hero ================= */

.hero {
    padding: 84px 0 64px;
    text-align: center;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 20px;
}

.hero-icon {
    width: 96px; height: 96px;
    border-radius: 22px;
    margin: 0 auto 28px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .10),
                0 0 0 1px rgba(0, 0, 0, .04);
}

.hero h1 {
    font-size: clamp(32px, 5.8vw, 54px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.2;
    margin-bottom: 22px;
    color: var(--text);
}

/* 仿 tvaiku 的下划线强调 */
.hero h1 .mark {
    position: relative;
    display: inline-block;
    color: var(--text);
}

.hero h1 .mark::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: .06em;
    height: .11em;
    background: var(--primary);
    opacity: .28;
    border-radius: 2px;
    z-index: -1;
}

.hero-sub {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.85;
}

.hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--text-dim);
}

.meta-pill .dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--green);
}

/* ================= 按钮 ================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 34px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: .18s;
    font-family: inherit;
    letter-spacing: .01em;
    white-space: nowrap;
}

.btn-primary {
    background: var(--text);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .14);
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
}

.btn-outline {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border-strong);
}

.btn-outline:hover { background: var(--bg-alt); border-color: var(--text-faint); }

.btn-lg { padding: 17px 40px; font-size: 16.5px; }

.btn-block { width: 100%; }

.btn svg { flex-shrink: 0; }

/* ================= 版本选择 ================= */

.pick {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 0 24px;
}

.pick-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 30px 30px;
    text-align: center;
    transition: .2s;
    position: relative;
}

.pick-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
    transform: translateY(-3px);
}

.pick-emoji { font-size: 38px; margin-bottom: 16px; line-height: 1; }

.pick-tag {
    display: inline-block;
    padding: 3px 11px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}

.pick-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.pick-card p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 24px;
    min-height: 50px;
}

.pick-card .btn { width: 100%; }

/* ================= 区块 ================= */

.section {
    padding: 72px 0;
    border-top: 1px solid var(--border);
}

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

.section-head {
    margin-bottom: 46px;
}

.section-head.center { text-align: center; }

.section-num {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.section-head h2 {
    font-size: clamp(25px, 3.8vw, 34px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.28;
    margin-bottom: 14px;
}

.section-head p {
    color: var(--text-dim);
    font-size: 16px;
    max-width: 600px;
    line-height: 1.8;
}

.section-head.center p { margin: 0 auto; }

/* ================= 左右交替图文 ================= */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 72px;
}

.split:last-child { margin-bottom: 0; }

.split.rev { direction: rtl; }

.split.rev > * { direction: ltr; }

.split-media {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .07);
}

.split-media img { width: 100%; cursor: zoom-in; display: block; }

.split-body h3 {
    font-size: clamp(20px, 2.6vw, 25px);
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.4;
    margin-bottom: 16px;
}

.split-body p {
    color: var(--text-dim);
    font-size: 15.5px;
    line-height: 1.85;
    margin-bottom: 14px;
}

.split-body .hint {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--primary);
}

.split-body ul {
    list-style: none;
    margin-top: 16px;
}

.split-body li {
    position: relative;
    padding-left: 22px;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 8px;
}

.split-body li::before {
    content: "";
    position: absolute;
    left: 4px; top: .68em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .55;
}

/* ================= 功能格 ================= */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.feat {
    background: #fff;
    padding: 28px 26px;
    transition: .18s;
}

.feat:hover { background: var(--bg-alt); }

.feat-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--text-faint);
    margin-bottom: 12px;
}

.feat h4 {
    font-size: 15.5px;
    font-weight: 650;
    margin-bottom: 8px;
    color: var(--text);
}

.feat p {
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.75;
}

/* ================= 截图网格 ================= */

.shots-phone {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
}

.shots-phone img {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: .2s;
    cursor: zoom-in;
    width: 100%;
    background: var(--bg-alt);
}

.shots-phone img:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}

.shots-tv {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 20px;
}

.shots-tv figure {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: .2s;
}

.shots-tv figure:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}

.shots-tv img { width: 100%; cursor: zoom-in; display: block; background: var(--bg-alt); }

.shots-tv figcaption {
    padding: 13px 18px;
    font-size: 13px;
    color: var(--text-dim);
    border-top: 1px solid var(--border);
}

/* 图片放大 */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 24px;
    cursor: zoom-out;
}

.lightbox.on { display: flex; }

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

/* ================= 步骤 ================= */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    counter-reset: step;
}

.step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 28px 24px;
    counter-increment: step;
    position: relative;
    transition: .18s;
}

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

.step::before {
    content: "0" counter(step);
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    opacity: .45;
    margin-bottom: 12px;
    letter-spacing: -.02em;
    line-height: 1;
}

.step h4 { font-size: 15.5px; font-weight: 650; margin-bottom: 8px; }

.step p { font-size: 13.5px; color: var(--text-dim); line-height: 1.75; }

/* ================= 信息表 ================= */

.info-table {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 760px;
    margin: 0 auto;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 15px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.info-row:last-child { border-bottom: none; }

.info-row .k { color: var(--text-dim); flex-shrink: 0; }

.info-row .v {
    font-family: ui-monospace, "SF Mono", Consolas, monospace;
    font-size: 13px;
    text-align: right;
    word-break: break-all;
    color: var(--text);
    font-weight: 500;
}

.info-row .v.small { font-size: 11.5px; color: var(--text-dim); font-weight: 400; }

/* ================= FAQ ================= */

.faq { max-width: 780px; margin: 0 auto; }

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: .18s;
}

.faq-item:hover { border-color: var(--border-strong); }

.faq-item summary {
    padding: 19px 24px;
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--text);
}

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

.faq-item summary::after {
    content: "+";
    font-size: 20px;
    font-weight: 300;
    color: var(--text-faint);
    flex-shrink: 0;
    transition: .2s;
    line-height: 1;
}

.faq-item[open] summary::after { content: "−"; color: var(--primary); }

.faq-body {
    padding: 0 24px 22px;
    font-size: 14.5px;
    color: var(--text-dim);
    line-height: 1.85;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin-top: -1px;
}

.faq-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ================= 下载卡片 ================= */

.dl-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
}

.dl-card .btn { margin-bottom: 18px; }

.dl-note {
    font-size: 13px;
    color: var(--text-faint);
    line-height: 1.7;
}

/* ================= 底部 ================= */

.footer {
    border-top: 1px solid var(--border);
    padding: 44px 0 52px;
    background: var(--bg-alt);
}

.footer .links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer .links a {
    font-size: 14px;
    color: var(--text-dim);
}

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

.footer p {
    font-size: 12.5px;
    color: var(--text-faint);
    line-height: 1.9;
    text-align: center;
}

/* ================= 响应式 ================= */

@media (max-width: 820px) {
    .split {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 52px;
    }
    .split.rev { direction: ltr; }
    .split-media { order: -1; }
    .section { padding: 52px 0; }
    .hero { padding: 56px 0 44px; }
}

@media (max-width: 640px) {
    .nav-link { display: none; }
    .hero h1 { letter-spacing: -.02em; }
    .hero-icon { width: 78px; height: 78px; border-radius: 18px; }
    .pick-card { padding: 28px 22px; }
    .btn { padding: 14px 28px; font-size: 15px; }
    .btn-lg { padding: 15px 32px; font-size: 15.5px; }
    .info-row { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 18px; }
    .info-row .v { text-align: left; }
    .features { grid-template-columns: 1fr; }
    .dl-card { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
