/* ============================================================
   折品荟素材 — 官网首页样式
   品牌主色：香槟金 #b8945e / 暖白 #faf7f2
   ============================================================ */

:root {
    --gold: #b8945e;
    --gold-deep: #9a7a45;
    --gold-light: #d9c39a;
    --gold-pale: #f4ecdf;
    --ink: #2a231c;
    --ink-soft: #4a4034;
    --muted: #7a6f60;
    --cream: #faf7f2;
    --card: #ffffff;
    --line: #ece4d6;
    --shadow-sm: 0 2px 10px rgba(122, 100, 60, .06);
    --shadow-md: 0 12px 32px rgba(122, 100, 60, .12);
    --shadow-lg: 0 24px 60px rgba(90, 70, 40, .18);
    --radius: 20px;
    --radius-lg: 28px;
    --maxw: 1120px;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

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

/* ---------- 顶部导航 ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
    background: rgba(250, 247, 242, .85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--ink-soft); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--gold-deep); }
.nav-cta {
    background: linear-gradient(135deg, #c8a56e, var(--gold));
    color: #fff; font-weight: 600; font-size: 14px;
    padding: 9px 20px; border-radius: 999px;
    box-shadow: 0 6px 18px rgba(184, 148, 94, .35);
    transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(184, 148, 94, .45); }

/* ---------- Hero ---------- */
.hero { padding: 148px 0 60px; position: relative; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: -30% -10% auto; height: 640px;
    background:
        radial-gradient(60% 60% at 20% 20%, rgba(217, 195, 154, .55), transparent 70%),
        radial-gradient(50% 50% at 80% 10%, rgba(184, 148, 94, .35), transparent 70%);
    filter: blur(6px);
    z-index: 0;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff; border: 1px solid var(--line);
    color: var(--gold-deep); font-size: 13px; font-weight: 600;
    padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
    box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 {
    font-size: clamp(38px, 7vw, 66px); font-weight: 800; letter-spacing: 1px;
    line-height: 1.15; margin-bottom: 20px;
    background: linear-gradient(120deg, #2a231c 20%, #b8945e 90%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .sub {
    font-size: clamp(16px, 2.4vw, 20px); color: var(--muted);
    max-width: 640px; margin: 0 auto 34px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 16px; font-weight: 700; padding: 14px 30px; border-radius: 999px;
    transition: transform .18s, box-shadow .18s; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; }
.btn-gold {
    background: linear-gradient(135deg, #c8a56e, var(--gold));
    color: #fff; box-shadow: 0 12px 28px rgba(184, 148, 94, .4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(184, 148, 94, .5); }
.btn-ghost {
    background: #fff; color: var(--ink-soft); border: 1.5px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold-light); }

/* 手机展示 */
.hero-phones { display: flex; justify-content: center; align-items: flex-end; gap: 22px; margin-top: 58px; flex-wrap: wrap; }
.phone {
    position: relative; width: 218px; border-radius: 34px;
    background: #1c1a17; padding: 12px;
    box-shadow: var(--shadow-lg);
    transition: transform .35s ease;
}
.phone:hover { transform: translateY(-8px); }
.phone .screen { border-radius: 24px; overflow: hidden; background: #fff; }
.phone .screen img { width: 100%; height: auto; display: block; }
.phone.mid { width: 252px; z-index: 2; margin-bottom: 6px; }
.phone.left { transform: rotate(-4deg); opacity: .92; }
.phone.right { transform: rotate(4deg); opacity: .92; }
.phone.left:hover { transform: rotate(-4deg) translateY(-8px); }
.phone.right:hover { transform: rotate(4deg) translateY(-8px); }

/* ---------- 信任条 ---------- */
.strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; justify-content: space-around; align-items: center; padding: 26px 0; flex-wrap: wrap; gap: 18px; }
.strip-item { text-align: center; }
.strip-item .num { font-size: 28px; font-weight: 800; color: var(--gold-deep); }
.strip-item .label { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- 通用 section ---------- */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 54px; }
.section-head .kicker {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 3px;
    color: var(--gold-deep); text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; letter-spacing: .5px; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- 功能卡片 ---------- */
.features { background: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--cream); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 30px 28px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.card .ico {
    width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--gold-pale), #f7efe0);
    color: var(--gold-deep); margin-bottom: 20px; font-size: 24px;
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 截图展示 ---------- */
.showcase { overflow: hidden; }
.showcase-scroll {
    display: flex; gap: 28px; padding: 10px 24px 30px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.showcase-scroll::-webkit-scrollbar { height: 6px; }
.showcase-scroll::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 3px; }
.showcase-item { flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.showcase-item .phone { margin: 0 auto; }
.showcase-item .cap { margin-top: 18px; font-weight: 600; color: var(--ink-soft); font-size: 15px; }

/* ---------- 三步流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; position: relative; padding: 8px 12px; }
.step .n {
    width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, #c8a56e, var(--gold));
    box-shadow: 0 10px 24px rgba(184, 148, 94, .35);
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- 下载区 ---------- */
.download {
    background:
        radial-gradient(70% 100% at 50% 0%, rgba(217, 195, 154, .35), transparent 70%),
        linear-gradient(180deg, #fff, var(--cream));
}
.dl-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 760px; margin: 0 auto; }
.dl-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 40px 34px; text-align: center; box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.dl-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.dl-card .os { font-size: 15px; font-weight: 700; color: var(--gold-deep); letter-spacing: 2px; text-transform: uppercase; }
.dl-card h3 { font-size: 22px; font-weight: 800; margin: 8px 0 6px; }
.dl-card .note { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.dl-card .qr { width: 168px; height: 168px; margin: 0 auto 24px; border-radius: 14px; border: 1px solid var(--line); padding: 10px; background: #fff; }
.dl-card .qr img { width: 100%; height: 100%; }
.dl-tip { text-align: center; margin-top: 30px; color: var(--muted); font-size: 13.5px; }
.dl-tip b { color: var(--gold-deep); }

/* ---------- 页脚 ---------- */
.footer { background: #201b15; color: #b7ad9e; padding: 56px 0 34px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer .col-brand { max-width: 320px; }
.footer .col-brand .brand { color: #fff; margin-bottom: 14px; }
.footer .col-brand .brand img { border-radius: 8px; }
.footer .col-brand p { font-size: 13.5px; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: #b7ad9e; transition: color .2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px;
    text-align: center; font-size: 12.5px; color: #8d8374;
}
.footer-bottom a { color: #b7ad9e; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
    .nav-links a { display: none; }
    .grid, .steps { grid-template-columns: 1fr 1fr; }
    .phone { width: 168px; }
    .phone.mid { width: 196px; }
    .dl-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .grid, .steps { grid-template-columns: 1fr; }
    .hero { padding-top: 122px; }
    .hero-phones { gap: 14px; }
    .phone { width: 132px; border-radius: 24px; padding: 8px; }
    .phone.mid { width: 156px; }
    .phone .screen { border-radius: 16px; }
    .section { padding: 64px 0; }
    .strip-inner { gap: 10px; }
    .strip-item .num { font-size: 22px; }
}

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