/* ============================================================
   FANCHUAN TOOLS · 高级暗色主题
   ============================================================ */
:root {
    --bg: #05070d;
    --bg-soft: #0a0f1a;
    --panel: rgba(255, 255, 255, 0.03);
    --panel-hover: rgba(255, 255, 255, 0.055);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #eaf0fa;
    --muted: #8b98b0;
    --cyan: #22d3ee;
    --sky: #0ea5e9;
    --indigo: #6366f1;
    --violet: #a855f7;
    --green: #34d399;
    --grad: linear-gradient(120deg, #22d3ee, #6366f1 52%, #a855f7);
    --grad-soft: linear-gradient(120deg, rgba(34, 211, 238, 0.16), rgba(99, 102, 241, 0.16) 52%, rgba(168, 85, 247, 0.16));
    --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
    --mono: ui-monospace, "Cascadia Code", "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

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

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

::selection { background: rgba(34, 211, 238, 0.32); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 99px;
    border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(34, 211, 238, 0.45); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- 全局装饰 ---------- */
.noise {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.section { padding: 110px 0; }

.section-alt {
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(99, 102, 241, 0.07), transparent 60%),
        radial-gradient(900px 420px at 88% 100%, rgba(168, 85, 247, 0.06), transparent 60%);
}

/* ---------- 渐变描边（玻璃发光边框） ---------- */
.gborder { position: relative; }

.gborder::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.55), rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0.08) 70%, rgba(168, 85, 247, 0.55));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

/* ---------- 鼠标聚光灯卡片 ---------- */
.spot { position: relative; overflow: hidden; }

.spot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.09), transparent 42%);
    opacity: 0;
    transition: opacity 0.45s;
    pointer-events: none;
}

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

/* ---------- 导航 ---------- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(5, 7, 13, 0.65);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled {
    background: rgba(5, 7, 13, 0.88);
    border-bottom-color: var(--border);
}

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

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

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 6px 18px rgba(34, 211, 238, 0.25);
}

.brand-name {
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--muted); }

.nav-links a { position: relative; transition: color 0.25s; }

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -7px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
    transition: right 0.3s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

.nav-cta {
    color: #fff !important;
    background: var(--grad);
    padding: 9px 20px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(34, 211, 238, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta::after { display: none; }

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(34, 211, 238, 0.42); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 190px 0 110px;
    text-align: center;
}

.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.34;
    animation: drift 20s ease-in-out infinite alternate;
    pointer-events: none;
}

.aurora.a1 { width: 620px; height: 460px; background: #0ea5e9; top: -140px; left: 6%; }
.aurora.a2 { width: 520px; height: 400px; background: #6366f1; top: 40px; right: 2%; animation-delay: -7s; }
.aurora.a3 { width: 460px; height: 360px; background: #a855f7; bottom: -120px; left: 30%; animation-delay: -13s; }

@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, 34px) scale(1.1); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 68% 60% at 50% 0%, #000 25%, transparent 78%);
    mask-image: radial-gradient(ellipse 68% 60% at 50% 0%, #000 25%, transparent 78%);
}

.hero-inner { position: relative; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.07);
    border: 1px solid rgba(34, 211, 238, 0.3);
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-title {
    font-size: clamp(44px, 7vw, 74px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 26px rgba(99, 102, 241, 0.4));
}

.hero-sub {
    max-width: 640px;
    margin: 24px auto 38px;
    color: var(--muted);
    font-size: 17.5px;
}

.hero-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.22s, box-shadow 0.22s, background 0.22s, border-color 0.22s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 12px 34px rgba(34, 211, 238, 0.28);
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -90%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: skewX(-22deg);
    transition: left 0.65s ease;
}

.btn-primary:hover { box-shadow: 0 16px 44px rgba(34, 211, 238, 0.4); }

.btn-primary:hover::after { left: 130%; }

.btn-ghost {
    border: 1px solid var(--border-strong);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover { background: var(--panel-hover); border-color: rgba(34, 211, 238, 0.5); }

.btn-sm { padding: 11px 22px; font-size: 14px; }

/* ---------- Hero 数据条 ---------- */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 64px auto 56px;
    max-width: 680px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.stat {
    flex: 1;
    padding: 22px 10px;
    position: relative;
}

.stat + .stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24%;
    bottom: 24%;
    width: 1px;
    background: var(--border);
}

.stat strong {
    display: block;
    font-family: var(--mono);
    font-size: 26px;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat span { font-size: 12.5px; color: var(--muted); }

/* ---------- 终端窗口 ---------- */
.hero-term {
    max-width: 660px;
    margin: 0 auto;
    background: rgba(8, 12, 22, 0.86);
    border-radius: 18px;
    text-align: left;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 70px rgba(99, 102, 241, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.term-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; box-shadow: 0 0 8px rgba(255, 95, 87, 0.5); }
.dot-y { background: #febc2e; box-shadow: 0 0 8px rgba(254, 188, 46, 0.5); }
.dot-g { background: #28c840; box-shadow: 0 0 8px rgba(40, 200, 64, 0.5); }

.term-title {
    margin-left: 10px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
}

.term-body { padding: 22px 24px; }

.term-line {
    font-family: var(--mono);
    font-size: 13px;
    line-height: 2.1;
    color: #c9d4e5;
}

.t-prompt { color: var(--cyan); font-weight: 700; }

.t-ok { color: #6ee7b7; }

.t-dim { color: #5b6a82; font-size: 12px; margin-top: 8px; }

/* ---------- 工具卡片 ---------- */
.tools { padding: 70px 0 100px; }

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.tool-card {
    position: relative;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), var(--panel) 58%);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 42px 38px;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s, border-color 0.28s, box-shadow 0.28s;
}

.tool-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: var(--grad);
    opacity: 0.7;
}

.tool-card.accent-cyan::before { background: linear-gradient(90deg, transparent, #34d399, #22d3ee, transparent); }
.tool-card.accent-violet::before { background: linear-gradient(90deg, transparent, #6366f1, #a855f7, transparent); }

.tool-card:hover {
    transform: translateY(-7px);
    border-color: rgba(34, 211, 238, 0.34);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 46px rgba(99, 102, 241, 0.1);
}

.tool-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    border-radius: 17px;
    background: var(--grad-soft);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(34, 211, 238, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.tool-card h3 { font-size: 22px; letter-spacing: 0.2px; }

.tool-en { color: var(--muted); font-size: 13px; margin-top: 3px; }

.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }

.tool-tags span,
.mode-tag {
    font-size: 12px;
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.07);
    border: 1px solid rgba(34, 211, 238, 0.26);
    border-radius: 999px;
    padding: 4px 13px;
}

.tool-desc { color: var(--muted); font-size: 14.5px; }

.tool-points { list-style: none; margin-top: 16px; }

.tool-points li {
    color: var(--muted);
    font-size: 14px;
    padding: 5.5px 0 5.5px 25px;
    position: relative;
}

.tool-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.tool-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 26px; }

/* ---------- 区块标题 ---------- */
.section-head { text-align: center; margin-bottom: 60px; }

.section-kicker {
    display: inline-block;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: transparent;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 12px;
}

.section-head h2 {
    font-size: clamp(30px, 4.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-head h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    margin: 18px auto 0;
    background: var(--grad);
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.6);
}

.section-head p { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* ---------- 特性网格 ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 25px;
    transition: transform 0.26s, border-color 0.26s, background 0.26s;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.32);
    background: var(--panel-hover);
}

.feature-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 13px;
    background: var(--grad-soft);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 14px;
}

.feature h3 { font-size: 16.5px; margin-bottom: 7px; }

.feature p { color: var(--muted); font-size: 13.5px; }

/* ---------- 模式卡片 ---------- */
.mode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 60px;
}

.mode-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 34px 32px;
    transition: transform 0.26s, border-color 0.26s;
}

.mode-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.3); }

.mode-card-hot {
    border-color: rgba(34, 211, 238, 0.34);
    background: linear-gradient(165deg, rgba(34, 211, 238, 0.07), var(--panel) 62%);
}

.mode-card .mode-tag { display: inline-block; margin-bottom: 15px; }

.mode-card h3 { font-size: 22px; margin-bottom: 15px; }

.mode-card ul { list-style: none; }

.mode-card li {
    color: var(--muted);
    font-size: 14px;
    padding: 6.5px 0 6.5px 27px;
    position: relative;
}

.mode-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* ---------- 隐私 ---------- */
.privacy-panel {
    text-align: center;
    background:
        radial-gradient(640px 320px at 50% 0%, rgba(52, 211, 153, 0.09), transparent 70%),
        var(--panel);
    border-radius: 28px;
    padding: 62px 52px;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.4);
}

.privacy-icon { font-size: 46px; margin-bottom: 14px; }

.privacy-panel h2 { font-size: 30px; letter-spacing: -0.3px; }

.privacy-lead { color: var(--muted); margin: 10px 0 40px; }

.privacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    text-align: left;
}

.privacy-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    transition: border-color 0.26s, background 0.26s, transform 0.26s;
}

.privacy-item:hover {
    border-color: rgba(52, 211, 153, 0.38);
    background: rgba(52, 211, 153, 0.05);
    transform: translateY(-3px);
}

.privacy-item h4 { color: #6ee7b7; font-size: 15.5px; margin-bottom: 7px; }

.privacy-item p { color: var(--muted); font-size: 13.5px; }

/* ---------- 下载 ---------- */
.download-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    background: var(--panel);
    border-radius: 28px;
    padding: 52px;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.4);
}

.download-info h2 { font-size: 30px; margin-bottom: 20px; }

.download-info ul { list-style: none; margin-bottom: 26px; }

.download-info li { color: var(--muted); padding: 4.5px 0; font-size: 14px; }

.download-info li::before { content: "▸ "; color: var(--cyan); }

.note { margin-top: 15px; font-size: 12.5px; color: var(--muted); }

.qr { text-align: center; }

.qr-ring {
    display: inline-block;
    border-radius: 22px;
    padding: 3px;
    background: var(--grad);
    box-shadow: 0 24px 60px rgba(99, 102, 241, 0.35);
}

.qr img {
    display: block;
    border-radius: 19px;
    background: #fff;
    padding: 10px;
}

.qr p { margin-top: 14px; color: var(--muted); font-size: 13px; }

/* ---------- 图片工具 ---------- */
.img-tool-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 36px;
    align-items: center;
}

.img-tool-info .tool-points { margin-bottom: 8px; }

.cli-card {
    background: rgba(8, 12, 22, 0.88);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(99, 102, 241, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cli-card pre {
    margin: 0;
    padding: 22px 24px;
    font-family: var(--mono);
    font-size: 12.5px;
    line-height: 2;
    color: #c9d4e5;
    white-space: pre-wrap;
    word-break: break-all;
}

.keys {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 20px;
    border-top: 1px solid var(--border);
}

.keys span {
    font-family: var(--mono);
    font-size: 11px;
    color: #a5f3fc;
    background: rgba(34, 211, 238, 0.09);
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 8px;
    padding: 5px 11px;
    transition: background 0.2s, transform 0.2s;
}

.keys span:hover { background: rgba(34, 211, 238, 0.18); transform: translateY(-2px); }

.formats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 20px;
    border-top: 1px solid var(--border);
}

.formats span {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #e4dcff;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.32);
    border-radius: 8px;
    padding: 5px 11px;
    transition: background 0.2s, transform 0.2s;
}

.formats span:hover { background: rgba(168, 85, 247, 0.2); transform: translateY(-2px); }

/* ---------- 页脚 ---------- */
.footer {
    position: relative;
    border-top: 1px solid var(--border);
    padding: 34px 0;
    margin-top: 60px;
}

.footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    height: 1px;
    background: var(--grad);
    opacity: 0.7;
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
}

.footer-inner a { color: var(--cyan); transition: color 0.2s; }
.footer-inner a:hover { color: #a5f3fc; }

/* ---------- 入场动画 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .aurora { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
    .tools-grid,
    .mode-grid,
    .img-tool-grid {
        grid-template-columns: 1fr;
    }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .privacy-panel { padding: 44px 28px; }
    .download-panel { grid-template-columns: 1fr; text-align: center; }
    .download-info ul { display: inline-block; text-align: left; }
}

@media (max-width: 640px) {
    .section { padding: 76px 0; }
    .nav-links a:not(.nav-cta) { display: none; }
    .hero { padding: 150px 0 80px; }
    .hero-stats { flex-wrap: wrap; }
    .stat { flex: 1 1 40%; }
    .stat:nth-child(3)::before { display: none; }
    .feature-grid { grid-template-columns: 1fr; }
    .privacy-grid { grid-template-columns: 1fr; }
    .tool-card { padding: 30px 24px; }
    .download-panel { padding: 34px 24px; }
    .term-body { padding: 18px; }
    .term-line { font-size: 11.5px; }
}
