/* =====================================================================
   晓天动态皮肤工具官网样式
   风格参照微信官网(weixin.qq.com): 微信绿主色 + 大量留白 + 居中排版
   ===================================================================== */

:root {
    --green: #07C160;        /* 微信品牌绿 */
    --green-dark: #06AD56;
    --green-bg: #e8f8ee;
    --text: #191919;
    --text-2: #555;
    --text-3: #999;
    --bg: #ffffff;
    --bg-gray: #f7f7f7;
    --border: #ececec;
}

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

html { scroll-behavior: smooth; }

/* 锚点跳转时避开顶部 sticky 导航(64px), 否则标题被遮住看起来"没跳转" */
section[id] { scroll-margin-top: 76px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

/* ---------------- 导航栏 ---------------- */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1080px; margin: 0 auto; padding: 0 24px;
    height: 64px; display: flex; align-items: center; gap: 40px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.logo-mark {
    width: 28px; height: 28px;
    display: inline-block;
    object-fit: contain;
    border-radius: 6px;
    vertical-align: middle;
}
.nav-links { display: flex; gap: 32px; flex: 1; }
.nav-links a { font-size: 14px; color: var(--text-2); transition: color .2s; }
.nav-links a:hover { color: var(--green); }
.nav-btn {
    font-size: 14px; color: #fff; background: var(--green);
    padding: 8px 22px; border-radius: 6px; transition: background .2s;
}
.nav-btn:hover { background: var(--green-dark); }

/* ---------------- 首屏 ---------------- */
.hero { background: var(--bg); overflow: hidden; }
.hero-inner {
    max-width: 1080px; margin: 0 auto; padding: 72px 24px 0;
    text-align: center;
}
.hero h1 {
    font-size: 44px; font-weight: 700; letter-spacing: 1px;
}
.hero-sub {
    margin-top: 18px; font-size: 17px; line-height: 1.9; color: var(--text-2);
}
.hero-actions { margin-top: 36px; display: flex; justify-content: center; gap: 16px; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green); color: #fff;
    font-size: 16px; padding: 13px 34px; border-radius: 8px;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 14px rgba(7,193,96,.28);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-primary .ver { font-size: 13px; opacity: .85; }
.btn-ghost {
    display: inline-flex; align-items: center;
    font-size: 16px; color: var(--text-2);
    padding: 13px 30px; border-radius: 8px;
    border: 1px solid var(--border); transition: all .2s;
}
.btn-ghost:hover { color: var(--green); border-color: var(--green); }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--text-3); }

/* 首屏截图 */
.hero-shot { margin-top: 56px; }
.shot-frame {
    max-width: 860px; margin: 0 auto;
    border: 1px solid var(--border); border-radius: 12px;
    background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.08);
    overflow: hidden;
}
.shot-toolbar {
    height: 38px; display: flex; align-items: center; gap: 7px;
    padding: 0 14px; background: #fafafa; border-bottom: 1px solid var(--border);
}
.shot-toolbar i { width: 11px; height: 11px; border-radius: 50%; background: #e3e3e3; }
.shot-toolbar span { margin-left: 12px; font-size: 12px; color: var(--text-3); }
.shot-body {
    height: 380px;
    background:
        linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.12)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.75 0 0 0 0 0.4 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.shot-body::before {
    content: "Studio Pro 机架界面 · 视频背景运行中";
    position: absolute; top: 12px; left: 16px;
    font-size: 12px; color: rgba(255,255,255,.85);
    background: rgba(0,0,0,.3); padding: 4px 10px; border-radius: 4px;
}
.shot-panel {
    width: 380px; background: rgba(255,255,255,.96);
    border-radius: 10px; padding: 18px 20px; text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.panel-row { padding: 9px 0; border-bottom: 1px solid #f2f2f2; font-size: 12.5px; }
.panel-row b { display: inline-block; min-width: 96px; color: var(--green); font-weight: 600; }
.panel-row span { color: var(--text-2); }
.panel-apply {
    margin-top: 14px; text-align: center;
    background: var(--green); color: #fff;
    font-size: 14px; padding: 9px 0; border-radius: 7px;
}

/* ---------------- 通用区块 ---------------- */
.section { padding: 88px 0; }
.section-gray { background: var(--bg-gray); }
.section-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section-title { text-align: center; font-size: 30px; font-weight: 700; }
.section-desc { text-align: center; margin-top: 12px; font-size: 15px; color: var(--text-3); }

/* ---------------- 功能卡片 ---------------- */
.feature-grid {
    margin-top: 56px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature-card {
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 30px 26px; transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0,0,0,.07);
}
.feature-icon {
    width: 52px; height: 52px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.feature-card h3 { margin-top: 18px; font-size: 17px; font-weight: 600; }
.feature-card p { margin-top: 10px; font-size: 13.5px; line-height: 1.8; color: var(--text-2); }

/* ---------------- 步骤 ---------------- */
.steps {
    margin-top: 56px;
    display: flex; align-items: stretch; justify-content: center; gap: 18px;
}
.step {
    width: 280px; background: #fff; border: 1px solid var(--border);
    border-radius: 12px; padding: 30px 26px; text-align: center;
}
.step-num {
    width: 40px; height: 40px; margin: 0 auto; border-radius: 50%;
    background: var(--green-bg); color: var(--green);
    font-size: 18px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-top: 16px; font-size: 16px; }
.step p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--text-2); }
.step-arrow { align-self: center; font-size: 22px; color: #d0d0d0; }

/* ---------------- 下载区 ---------------- */
.download-card { text-align: center; }
.download-card h2 { font-size: 32px; font-weight: 700; }
.download-meta { margin-top: 14px; color: var(--text-3); font-size: 14px; }
.download-meta b { color: var(--green); }
.btn-big { margin-top: 30px; font-size: 17px; padding: 15px 44px; }
.download-note { margin-top: 14px; font-size: 12.5px; color: var(--text-3); }
.changelog {
    max-width: 620px; margin: 40px auto 0; text-align: left;
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 22px 26px;
}
.changelog h4 { font-size: 15px; margin-bottom: 12px; }
.changelog pre {
    font-family: inherit; font-size: 13.5px; line-height: 2;
    color: var(--text-2); white-space: pre-wrap;
}

/* ---------------- FAQ ---------------- */
.faq-list { margin-top: 48px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-list details {
    background: #fff; border: 1px solid var(--border);
    border-radius: 10px; padding: 0 22px; margin-bottom: 14px;
}
.faq-list summary {
    cursor: pointer; list-style: none;
    padding: 18px 0; font-size: 15px; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+"; font-size: 20px; color: var(--text-3); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
    padding: 0 0 18px; font-size: 14px; line-height: 1.9; color: var(--text-2);
}

/* ---------------- 客服微信(右侧悬浮) ---------------- */
.kefu-float {
    position: fixed; right: 22px; bottom: 90px; z-index: 200;
}
.kefu-btn {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--green); color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; cursor: pointer;
    box-shadow: 0 6px 18px rgba(7,193,96,.35);
    transition: background .2s, transform .2s;
}
.kefu-btn span { font-size: 10px; line-height: 1.2; }
.kefu-btn:hover { background: var(--green-dark); transform: translateY(-2px); }
.kefu-pop {
    position: absolute; right: 72px; top: 50%; transform: translateY(-50%) scale(.96);
    width: 190px; background: #fff;
    border: 1px solid var(--border); border-radius: 12px;
    padding: 14px; text-align: center;
    box-shadow: 0 14px 40px rgba(0,0,0,.14);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
}
.kefu-float:hover .kefu-pop {
    opacity: 1; visibility: visible; transform: translateY(-50%) scale(1);
}
.kefu-pop img {
    width: 100%; height: auto; display: block;
    border-radius: 8px; background: var(--bg-gray);
    min-height: 160px;
}
.kefu-pop p { margin-top: 10px; font-size: 12.5px; color: var(--text-2); }

/* ---------------- 页脚备案 ---------------- */
.footer-icp { margin-top: 10px; }
.footer-icp a { color: var(--text-3); transition: color .2s; }
.footer-icp a:hover { color: var(--green); }

/* ---------------- 页脚 ---------------- */
.footer { border-top: 1px solid var(--border); padding: 36px 0; }
.footer-inner { max-width: 1080px; margin: 0 auto; text-align: center; padding: 0 24px; }
.footer p { font-size: 13px; color: var(--text-3); }
.footer-note { margin-top: 6px; font-size: 12px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 860px) {
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); }
    .hero h1 { font-size: 32px; }
    .nav-links { display: none; }
}
@media (max-width: 560px) {
    .feature-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .shot-body { height: 300px; }
    .shot-panel { width: 88%; }
}
