/* ============================================================
   Weatball 官网样式
   ============================================================ */

:root {
    --bg: #060609;
    --bgRaised: #0b0b12;
    --panel: rgba(255, 255, 255, 0.035);
    --panelHover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --borderStrong: rgba(255, 255, 255, 0.16);
    --text: #f5f4fa;
    --muted: #a3a1b4;
    --dim: #6f6d80;
    --violet: #b98dff;
    --cyan: #6fd8ff;
    --pink: #ff9edb;
    --gradient: linear-gradient(115deg, #c6a6ff 0%, #7fdcff 50%, #ffa8dc 100%);
    --radiusLg: 22px;
    --radiusMd: 16px;
    --radiusSm: 10px;
    --maxWidth: 1180px;
    --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
}

h1, h2, h3, h4, p, ul, ol {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--maxWidth);
    margin: 0 auto;
    padding: 0 28px;
}

.bgGlow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(900px 520px at 18% -8%, rgba(120, 84, 214, 0.22), transparent 62%),
        radial-gradient(820px 480px at 88% 2%, rgba(66, 150, 210, 0.14), transparent 60%),
        radial-gradient(900px 600px at 50% 115%, rgba(214, 92, 168, 0.08), transparent 62%);
}

/* ---------- 按钮 ---------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.buttonPrimary {
    background: #f7f5ff;
    color: #0a0a0f;
    box-shadow: 0 10px 34px rgba(190, 160, 255, 0.22);
}

.buttonPrimary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(190, 160, 255, 0.34);
}

.buttonGhost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--borderStrong);
    color: var(--text);
}

.buttonGhost:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ---------- 头部导航 ---------- */

.siteHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(6, 6, 9, 0.66);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

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

.brandLogo {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.brandName {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

.siteNav > a {
    padding: 8px 14px;
    border-radius: 9px;
    transition: color 0.2s ease, background 0.2s ease;
}

.siteNav > a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.siteNav > a.isActive {
    color: var(--text);
    position: relative;
}

.siteNav > a.isActive::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--gradient);
}

.siteNav .navCta {
    margin-left: 12px;
    background: #f7f5ff;
    color: #0a0a0f;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 999px;
}

.siteNav .navCta:hover {
    background: #ffffff;
    color: #0a0a0f;
}

.navToggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: space-between;
}

.navToggle span {
    display: block;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.hero {
    position: relative;
    padding: 158px 0 70px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 720px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 70% 62% at 50% 0%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 0%, #000 30%, transparent 78%);
    pointer-events: none;
}

.heroInner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.heroCopy {
    max-width: 860px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    border-radius: 999px;
    border: 1px solid rgba(185, 141, 255, 0.26);
    background: rgba(151, 110, 232, 0.09);
    color: #d9c6ff;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.pillDot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient);
    box-shadow: 0 0 10px rgba(185, 141, 255, 0.9);
}

.hero h1 {
    margin-top: 26px;
    font-size: clamp(38px, 6.4vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 750;
}

.gradientText {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.heroDesc {
    max-width: 680px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.heroActions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.heroMeta {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 46px;
    padding: 0;
    flex-wrap: wrap;
}

.heroMeta li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 30px;
    border-right: 1px solid var(--border);
}

.heroMeta li:last-child {
    border-right: none;
}

.heroMeta strong {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.heroMeta span {
    font-size: 12.5px;
    color: var(--dim);
}

.heroVisual {
    position: relative;
    width: 100%;
    margin-top: 68px;
}

.heroVisualGlow {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 6%;
    bottom: 0;
    background: linear-gradient(120deg, rgba(145, 104, 230, 0.3), rgba(86, 176, 220, 0.22), rgba(220, 110, 180, 0.2));
    filter: blur(90px);
    opacity: 0.55;
    z-index: -1;
}

.heroFrame {
    position: relative;
    padding: 9px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 42%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.heroFrame img {
    width: 100%;
    height: auto;
    border-radius: 13px;
}

.heroVersion {
    position: absolute;
    right: 34px;
    bottom: -24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(14, 14, 22, 0.88);
    border: 1px solid var(--borderStrong);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    font-size: 13px;
    color: var(--muted);
}

.heroVersion strong {
    color: var(--text);
    font-size: 14px;
}

.heroVersion a {
    color: #c9b4ff;
    font-weight: 600;
}

/* ---------- 区块 ---------- */

.section {
    position: relative;
    padding: 108px 0;
}

.sectionTint {
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 18%, rgba(255, 255, 255, 0.018) 82%, transparent);
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.sectionHead {
    max-width: 660px;
    margin: 0 auto 58px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 650;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #c2a7ff;
}

.sectionHead h2 {
    margin-top: 16px;
    font-size: clamp(28px, 3.8vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.03em;
    font-weight: 720;
}

.sectionHead p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

/* ---------- 功能卡片 ---------- */

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

.featureCard {
    position: relative;
    padding: 30px 28px 32px;
    border-radius: var(--radiusLg);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.featureCard::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 200px at 50% -30%, rgba(178, 137, 255, 0.14), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.featureCard:hover {
    border-color: rgba(185, 141, 255, 0.28);
    transform: translateY(-4px);
}

.featureCard:hover::after {
    opacity: 1;
}

.featureIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(150deg, rgba(185, 141, 255, 0.2), rgba(111, 216, 255, 0.1));
    border: 1px solid rgba(185, 141, 255, 0.2);
    color: #d9c6ff;
}

.featureIcon svg {
    width: 23px;
    height: 23px;
}

.featureCard h3 {
    margin-top: 22px;
    font-size: 18.5px;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.featureCard p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.75;
}

/* ---------- 工作流 ---------- */

.workflow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}

.workflowStep {
    position: relative;
    padding: 28px 24px 30px;
    border-radius: var(--radiusMd);
    background: rgba(255, 255, 255, 0.027);
    border: 1px solid var(--border);
}

.workflowStep::before {
    content: "";
    position: absolute;
    top: 38px;
    right: -19px;
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent);
}

.workflowStep:last-child::before {
    display: none;
}

.stepNumber {
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: transparent;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

.workflowStep h3 {
    margin-top: 14px;
    font-size: 17px;
    font-weight: 650;
}

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

/* ---------- 截图 ---------- */

.shotList {
    display: flex;
    flex-direction: column;
    gap: 90px;
}

.shot {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 56px;
    align-items: center;
}

.shotReverse {
    grid-template-columns: 0.75fr 1.25fr;
}

.shotReverse .shotMedia {
    order: 2;
}

.shotMedia {
    position: relative;
    padding: 8px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.shotMedia img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.shotCopy h3 {
    margin-top: 14px;
    font-size: clamp(23px, 2.6vw, 30px);
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-weight: 700;
    text-wrap: balance;
}

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

.checkList {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkList li {
    position: relative;
    padding-left: 26px;
    color: #d3d1df;
    font-size: 14.5px;
}

.checkList li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(140deg, rgba(185, 141, 255, 0.9), rgba(111, 216, 255, 0.8));
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / 11px no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- CTA ---------- */

.ctaPanel {
    position: relative;
    overflow: hidden;
    padding: 76px 40px;
    border-radius: 30px;
    text-align: center;
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ctaGlow {
    position: absolute;
    inset: -40% -10% auto;
    height: 420px;
    background: radial-gradient(closest-side, rgba(160, 112, 240, 0.28), transparent 75%);
    pointer-events: none;
}

.ctaPanel h2 {
    position: relative;
    margin-top: 16px;
    font-size: clamp(27px, 3.6vw, 40px);
    letter-spacing: -0.03em;
    font-weight: 720;
}

.ctaPanel > p {
    position: relative;
    max-width: 620px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.8;
}

.ctaPanel .heroActions {
    position: relative;
    margin-top: 30px;
}

.ctaVersion {
    margin-top: 22px !important;
    font-size: 13px !important;
    color: var(--dim) !important;
}

/* ---------- 下载页 ---------- */

.downloadHero {
    padding: 148px 0 54px;
    text-align: center;
    position: relative;
}

.downloadHero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(680px 340px at 50% -10%, rgba(139, 96, 220, 0.16), transparent 70%);
    pointer-events: none;
}

.downloadHero .container {
    position: relative;
}

.downloadHero h1 {
    margin-top: 16px;
    font-size: clamp(36px, 5.4vw, 56px);
    letter-spacing: -0.035em;
    line-height: 1.1;
    font-weight: 750;
}

.downloadHero p {
    max-width: 620px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 16px;
}

.downloadBody {
    padding: 26px 0 110px;
}

.latestRelease {
    padding: 38px 40px 30px;
    border-radius: 26px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022));
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

.latestHead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border);
}

.versionTag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(185, 141, 255, 0.14);
    border: 1px solid rgba(185, 141, 255, 0.28);
    color: #d9c6ff;
    font-size: 12px;
    font-weight: 600;
}

.latestHead h2 {
    margin-top: 14px;
    font-size: clamp(26px, 3.4vw, 36px);
    letter-spacing: -0.025em;
    font-weight: 720;
}

.latestHead h2 small {
    display: inline-block;
    margin-left: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0;
}

.releaseDate {
    margin-top: 8px;
    color: var(--dim);
    font-size: 13.5px;
}

.stableBadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(110, 216, 150, 0.25);
    background: rgba(80, 200, 130, 0.08);
    color: #9ee6b9;
    font-size: 12.5px;
    white-space: nowrap;
}

.stableBadge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #67d99b;
    box-shadow: 0 0 8px rgba(103, 217, 155, 0.8);
}

.changelog {
    margin-top: 24px;
    padding: 20px 22px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--border);
    color: #c9c7d6;
    font-size: 14.5px;
    line-height: 1.85;
}

.fileList {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fileRow {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.fileRow:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.045);
}

.filePlatform {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.filePlatform svg {
    width: 21px;
    height: 21px;
}

.platWindows { color: #7fc4ff; }
.platMacos { color: #d9d5f2; }
.platOther { color: #d0b8ff; }

.fileMeta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fileMeta strong {
    font-size: 15px;
    font-weight: 620;
}

.fileMeta > span {
    color: var(--dim);
    font-size: 12.5px;
    overflow-wrap: anywhere;
}

.fileHash {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 11px !important;
    letter-spacing: 0.01em;
}

.copyHash {
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 5px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 11px;
    cursor: pointer;
}

.copyHash:hover {
    color: var(--text);
    border-color: var(--borderStrong);
}

.fileDownload {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    background: #f7f5ff;
    color: #0a0a0f;
    font-size: 13.5px;
    font-weight: 650;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fileDownload:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(200, 175, 255, 0.25);
}

.emptyNote {
    margin-top: 20px;
    color: var(--dim);
    font-size: 14px;
}

.emptyRelease {
    text-align: center;
    padding: 70px 40px;
}

.emptyRelease h2 {
    font-size: 26px;
}

.emptyRelease p {
    margin-top: 12px;
    color: var(--muted);
}

.emptyRelease a {
    color: #c9b4ff;
}

.downloadNote {
    margin-top: 18px;
    text-align: center;
    color: var(--dim);
    font-size: 12.5px;
}

.historyHead {
    margin-top: 72px;
    padding-bottom: 22px;
}

.historyHead h2 {
    font-size: 26px;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.historyHead p {
    margin-top: 6px;
    color: var(--dim);
    font-size: 14px;
}

.historyList {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.historyRelease {
    padding: 24px 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid var(--border);
}

.historyTop {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
}

.historyTop h3 {
    font-size: 17px;
    font-weight: 640;
}

.historyTop span {
    color: var(--dim);
    font-size: 13px;
    white-space: nowrap;
}

.installTips {
    margin-top: 78px;
}

.installTips > h2 {
    font-size: 26px;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.tipCard {
    padding: 24px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.026);
    border: 1px solid var(--border);
}

.tipIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
}

.tipIcon svg {
    width: 19px;
    height: 19px;
}

.tipCard h3 {
    margin-top: 16px;
    font-size: 15.5px;
}

.tipCard p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
}

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

.siteFooter {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.012);
}

.footerInner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-top: 54px;
    padding-bottom: 42px;
}

.footerBrand p {
    margin-top: 14px;
    max-width: 320px;
    color: var(--dim);
    font-size: 13.5px;
}

.footerLinks {
    display: flex;
    gap: 72px;
}

.footerColumn {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
}

.footerColumn h4 {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim);
}

.footerColumn a {
    color: var(--muted);
    transition: color 0.2s ease;
}

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

.footerBottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 22px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--dim);
    font-size: 12.5px;
}

.footerBottom a:hover {
    color: var(--muted);
}

/* ---------- 入场动画 ---------- */

.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.22, 0.65, 0.3, 1), transform 0.7s cubic-bezier(0.22, 0.65, 0.3, 1);
}

.js .reveal.isVisible {
    opacity: 1;
    transform: none;
}

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

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

    .button,
    .featureCard,
    .fileDownload {
        transition: none;
    }
}

/* ---------- 响应式 ---------- */

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

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

    .workflowStep::before {
        display: none;
    }

    .shot,
    .shotReverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .shotReverse .shotMedia {
        order: 0;
    }

    .shotCopy {
        max-width: 640px;
    }

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

@media (max-width: 860px) {
    .navToggle {
        display: flex;
    }

    .siteNav {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 20px 22px;
        background: rgba(8, 8, 13, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .siteNav.isOpen {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .siteNav > a {
        padding: 12px 12px;
    }

    .siteNav .navCta {
        margin: 10px 0 0;
        text-align: center;
    }

    .hero {
        padding-top: 128px;
    }

    .heroMeta li {
        padding: 4px 18px;
    }

    .heroVersion {
        position: static;
        margin: 20px auto 0;
        width: max-content;
    }

    .section {
        padding: 76px 0;
    }

    .shotList {
        gap: 64px;
    }

    .latestRelease {
        padding: 26px 22px 22px;
    }

    .latestHead {
        flex-direction: column;
    }

    .fileRow {
        flex-wrap: wrap;
        gap: 12px;
    }

    .fileMeta {
        flex-basis: calc(100% - 60px);
    }

    .fileDownload {
        width: 100%;
        justify-content: center;
    }

    .footerInner {
        flex-direction: column;
        gap: 30px;
    }

    .footerLinks {
        gap: 56px;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 18px;
    }

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

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

    .heroActions .button {
        width: 100%;
    }

    .heroMeta li {
        padding: 4px 14px;
    }

    .heroMeta strong {
        font-size: 16px;
    }

    .heroMeta span {
        font-size: 11.5px;
    }

    .ctaPanel {
        padding: 52px 20px;
        border-radius: 22px;
    }

    .historyTop {
        flex-direction: column;
        gap: 4px;
    }

    .footerLinks {
        gap: 40px;
    }
}