/* ============================================================
   佛系云 —— 全站样式
   ------------------------------------------------------------
   设计语言：黑色极简（Vesper 风格）+ 东方禅意（留白 / 圆相 / 墨色）
   字体：Inter（西文）+ 思源宋体（中文衬线强调字）
   ============================================================ */

/* ---------- 1. 字体：可自托管 WOFF2，缺失时回退 Google Fonts ---------- */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter.woff2") format("woff2");
}
@font-face {
    font-family: "Instrument Serif";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
}

/* ---------- 2. 设计令牌 ---------- */
:root {
    --bg: #000000;
    --text: #ffffff;
    --muted: #9a9a9a;
    --stat: #d8d8d8;
    --border: rgba(255, 255, 255, 0.16);
    --border-soft: rgba(255, 255, 255, 0.12);

    --sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
    --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
    --serif-latin: "Instrument Serif", "Times New Roman", Times, serif;

    --logo: 15.5px;
    --nav: 14px;
    --nav-h: 40px;
    --btn: 13.5px;
    --btn-h: 40px;
    --hero-btn-h: 42px;
    --h1: 48px;
    --h2: 32px;
    --h3: 18px;
    --lede: 15.5px;
    --badge: 12.5px;
    --stat-size: 13.5px;
    --body: 15px;

    /* 品牌强调色（取自真实站点的 CSS 变量，融入黑底高对比度） */
    --brand: #fa541c;
    --brand-dk: #d22c00;
    --brand-lt: #ff6830;
    --brand-glow: rgba(250, 84, 28, 0.35);
    --brand-soft: rgba(250, 84, 28, 0.12);
    --accent: #13c2c2;

    --header-y: 18px;
    --header-x: 40px;
    --stats-x: 72px;
    --stats-y: 34px;
    --hero-gap: 84px;
    --copy-max: 860px;
    --lede-max: 500px;
    --card-radius: 14px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 3. 基础重置与全局（强制纯黑，杜绝白屏闪烁） ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body { background: #000000 !important; color: #ffffff; }
html, body { background: #000000; background: var(--bg, #000000); color: #ffffff; color: var(--text, #ffffff); }

body {
    font-family: var(--sans);
    font-size: var(--body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    position: relative;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
img, svg { display: block; }

::selection { background: rgba(255, 255, 255, 0.92); color: #000; }

/* 锚点滚动时避开粘性头部 */
section[id] { scroll-margin-top: 88px; }

/* ---------- 4. 胶片颗粒层（悬浮最上层，不拦截交互） ---------- */
.grain {
    position: fixed; inset: 0; z-index: 100; pointer-events: none;
    opacity: 0.035;
    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.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 5. 英雄区背景：禅圆水印 + 柔光 ---------- */
.hero-bg {
    position: fixed; inset: 0; z-index: 0;
    display: grid; place-items: center; pointer-events: none;
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse 72% 58% at 50% 62%, rgba(255, 255, 255, 0.06), transparent 70%);
}
.enso {
    width: min(780px, 88vw); height: auto;
    opacity: 0.1; transform: translateY(-4%); filter: blur(1px);
}

/* 内容层提升到背景之上 */
main, .site-footer { position: relative; z-index: 1; }

/* ---------- 6. 布局容器 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--header-x); }
.container-narrow { max-width: 880px; }

/* ---------- 7. 顶部导航 ---------- */
.site-header {
    position: sticky; top: 0; z-index: 60;
    transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.scrolled {
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.header-inner {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
    width: 100%; max-width: 1680px; margin: 0 auto;
    padding: var(--header-y) var(--header-x);
}

/* Logo（真实品牌素材：橙色调"佛系云计算"标识图） */
.logo {
    display: inline-flex; align-items: center; gap: 9px; justify-self: start;
    font-size: var(--logo); font-weight: 600; letter-spacing: -0.02em; color: #fff;
}
.logo-mark { width: 22px; height: 22px; }
.logo-suffix { font-family: var(--serif); font-weight: 400; }

/* 图片 Logo：使用真实品牌素材，保持 header 高度 + 响应式 */
.logo--brand { gap: 0; }
.logo-img {
    display: block;
    height: clamp(36px, 4.2vw, 46px);
    width: auto;
    filter: drop-shadow(0 4px 16px rgba(250, 84, 28, 0.18));
}

/* 导航（液态金属药丸） */
.site-nav { display: flex; align-items: center; gap: 8px; justify-self: center; }

.nav-link {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    height: var(--nav-h); padding: 0 18px; border-radius: 7px;
    border: 1px solid rgba(198, 198, 198, 0.55);
    background: linear-gradient(105deg, #050505 0%, #2a2a2a 48%, #4a4a4a 100%);
    color: #f3f3f3; font-size: var(--nav); font-weight: 400;
    letter-spacing: -0.01em; white-space: nowrap;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}
/* 光泽扫过 */
.nav-link::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.16) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform 0.6s ease;
}
.nav-link:hover::before, .nav-link.active::before { transform: translateX(120%); }
.nav-link:hover, .nav-link.active {
    border-color: rgba(235, 235, 235, 0.9);
    background: linear-gradient(105deg, #111 0%, #3a3a3a 45%, #6a6a6a 100%);
    box-shadow: 0 0 18px rgba(200, 210, 230, 0.18);
}

/* 头部右侧 */
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.header-cta { height: var(--btn-h); }

/* 汉堡按钮（默认隐藏，≤900px 显示） */
.burger {
    display: none; width: 42px; height: 42px; place-items: center;
    border-radius: 6px; border: 1px solid var(--border);
    background: rgba(8, 8, 8, 0.55); z-index: 60;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.burger:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.05); }
.burger span {
    display: block; width: 16px; height: 1.5px; border-radius: 1px; background: #fff;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger span + span { margin-top: 5px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 移动端菜单遮罩（默认隐藏） */
.menu-backdrop { display: none; }

/* ---------- 8. 按钮（液态玻璃语言） ---------- */
.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    height: var(--btn-h); padding: 0 16px; border-radius: 6px;
    font-size: var(--btn); font-weight: 500; letter-spacing: -0.02em; line-height: 1;
    white-space: nowrap; cursor: pointer;
    transition: background 0.35s ease, border-color 0.35s ease,
                box-shadow 0.35s ease, color 0.35s ease, filter 0.35s ease;
}
.btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.45) 48%, transparent 76%);
    transform: translateX(-130%); transition: transform 0.65s ease;
}
.btn:hover::after { transform: translateX(130%); }

/* 实心按钮（白）—— 主 CTA */
.btn-solid {
    background: linear-gradient(180deg, #ffffff 0%, #e7e7e7 48%, #cfcfcf 100%);
    color: #111; border: 1px solid #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.btn-solid:hover {
    background: linear-gradient(180deg, #fff 0%, #f3f6ff 42%, #d5def2 100%);
    border-color: #f2f6ff;
    box-shadow: inset 0 1px 0 #fff, 0 0 22px rgba(186, 208, 255, 0.35), 0 8px 18px rgba(255, 255, 255, 0.12);
}

/* 品牌强调按钮（橙）—— 次级 CTA / 价格推荐 */
.btn-accent {
    background: linear-gradient(180deg, var(--brand-lt) 0%, var(--brand) 52%, var(--brand-dk) 100%);
    color: #fff; border: 1px solid rgba(255, 220, 200, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-accent:hover {
    background: linear-gradient(180deg, #ff7c44 0%, #ff6024 52%, #c22400 100%);
    border-color: #ffd0b4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 26px var(--brand-glow), 0 8px 18px rgba(250, 84, 28, 0.18);
}

/* 幽灵按钮（毛玻璃） */
.btn-ghost {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.5) 46%, rgba(150, 170, 200, 0.1));
    color: #fff; border: 1px solid rgba(198, 198, 198, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.btn-ghost:hover {
    border-color: rgba(220, 230, 255, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 24px rgba(170, 200, 255, 0.28);
}

/* 英雄区按钮略大 */
.hero-cta, .hero-ghost { height: var(--hero-btn-h); padding: 0 18px; }

/* ---------- 9. 英雄区（底部对齐居中） ---------- */
.hero {
    position: relative;
    display: flex; align-items: flex-end; justify-content: center;
    padding: 8px 24px var(--hero-gap);
    min-height: calc(100dvh - 76px);
}
.hero-copy {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    max-width: var(--copy-max); width: 100%;
}

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 22px; padding: 9px 15px; border-radius: 5px;
    background: linear-gradient(95deg, #ff9058 0%, var(--brand) 48%, var(--brand-dk) 100%);
    color: #fff; font-size: var(--badge); font-weight: 500; letter-spacing: -0.005em;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 24px -8px var(--brand-glow);
}
.badge-star { width: 18px; height: 20px; color: #fff; filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.55)); }

.hero-title {
    font-size: var(--h1); font-weight: 500;
    letter-spacing: -0.01em; line-height: 1.25; color: #fff;
}
.hero-title em {
    font-family: var(--serif); font-style: normal; font-weight: 600;
    font-size: 1.08em; letter-spacing: -0.01em; color: #ff9058;
}
/* 遮罩行：外层裁剪，内层上滑入场 */
.headline-line { display: block; overflow: hidden; padding: 0.06em 0.15em 0.16em; }
.headline-line .headline-inner { display: block; }

.lede {
    max-width: var(--lede-max); margin-top: 18px;
    color: #9a9a9a; font-size: var(--lede); line-height: 1.55; letter-spacing: -0.015em;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }

/* ---------- 10. 数据看板（3 项统计） ---------- */
.stats {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 0 var(--stats-x) var(--stats-y);
    padding-bottom: max(var(--stats-y), env(safe-area-inset-bottom));
    color: var(--stat);
}
.stat {
    display: inline-flex; align-items: center; gap: 14px;
    font-size: var(--stat-size); letter-spacing: -0.015em; white-space: nowrap;
}
.stat-icon { width: 20px; height: 20px; flex: none; color: #e8e8e8; }
.stat-icon svg { width: 100%; height: 100%; }
.stat-icon-wide { width: 38px; height: 21px; }
.stat-text strong { font-weight: 600; color: #fff; margin-right: 6px; }

/* ---------- 11. 板块通用 ---------- */
.section { position: relative; padding: 108px 0; }
.section + .section { border-top: 1px solid rgba(255, 255, 255, 0.06); }

.sec-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.sec-head--left { max-width: none; text-align: left; margin-bottom: 32px; }
.sec-badge {
    display: inline-block; padding: 6px 14px; margin-bottom: 18px;
    border: 1px solid rgba(250, 84, 28, 0.35); border-radius: 999px;
    font-size: 12px; letter-spacing: 0.1em; color: #ffb880;
    background: rgba(250, 84, 28, 0.04);
}
.sec-title {
    font-size: var(--h2); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; color: #fff;
}
.sec-title em {
    font-family: var(--serif); font-style: normal; font-weight: 600; color: #9a9a9a;
}
.sec-lede { margin-top: 14px; color: var(--muted); font-size: var(--lede); line-height: 1.7; }

/* 网格 */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 12. 卡片（磨砂玻璃） ---------- */
.card {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    padding: 26px 24px 24px;
    border: 1px solid var(--border-soft); border-radius: var(--card-radius);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015) 55%, rgba(255, 255, 255, 0.03));
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.card::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.05) 50%, transparent 60%);
    transform: translateX(-120%); transition: transform 0.8s ease;
}
.card:hover {
    transform: translateY(-4px); border-color: var(--border);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 24px 48px -24px rgba(255, 255, 255, 0.14);
}
.card:hover::before { transform: translateX(120%); }

.card-icon {
    display: grid; place-items: center;
    width: 46px; height: 46px; margin-bottom: 18px;
    border: 1px solid var(--border-soft); border-radius: 11px;
    background: rgba(255, 255, 255, 0.04); color: #f0f0f0;
}
.card-icon svg { width: 22px; height: 22px; }

.card-title {
    display: flex; align-items: baseline; gap: 10px;
    font-size: var(--h3); font-weight: 500; letter-spacing: -0.01em; color: #fff;
}
.card-en { font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; color: #6f6f6f; }
.card-desc { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; flex: 1; }

.card-specs { margin-top: 18px; display: grid; gap: 9px; }
.card-specs li { display: flex; align-items: flex-start; gap: 8px; color: #c9c9c9; font-size: 13px; line-height: 1.6; }
.spec-check { width: 15px; height: 15px; flex: none; margin-top: 2px; color: #ff9058; }

.card-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 20px; font-size: 13.5px; color: #fff;
    transition: color 0.3s ease;
}
.card-link .link-arrow { width: 15px; height: 15px; transition: transform 0.3s ease; }
.card-link:hover { color: #ffb880; }
.card-link:hover .link-arrow { transform: translateX(4px); }

.card-tag {
    position: absolute; top: 14px; right: 14px;
    padding: 3px 9px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06);
    color: #fff; font-size: 11px; letter-spacing: 0.06em;
}

/* ---------- 13. 上云路径（3 步） ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
    position: relative; padding: 30px 26px;
    border: 1px solid var(--border-soft); border-radius: var(--card-radius);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 60%);
    transition: transform 0.35s ease, border-color 0.35s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--border); }
.step-num {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; margin-bottom: 16px;
    border-radius: 50%; border: 1px solid var(--border);
    color: #d6dcff; font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
}
.step h3 { font-size: var(--h3); font-weight: 500; color: #fff; }
.step p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.step:not(:last-child)::after {
    content: ""; position: absolute; top: 50px; right: -20px;
    width: 20px; height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent);
}

/* ---------- 14. 价格方案 ---------- */
.price-card { padding: 32px 28px 28px; }
.price-card--popular {
    border-color: rgba(250, 84, 28, 0.45);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02) 55%, rgba(250, 84, 28, 0.06));
    box-shadow: 0 0 50px -16px var(--brand-glow), 0 0 0 1px rgba(250, 84, 28, 0.18);
}
.price-card--popular:hover {
    box-shadow: 0 0 60px -14px var(--brand-glow), 0 0 0 1px rgba(250, 84, 28, 0.32), 0 24px 48px -24px rgba(255, 255, 255, 0.14);
}
.price-pop {
    position: absolute; top: 14px; right: 14px;
    padding: 4px 10px; border-radius: 999px;
    background: linear-gradient(95deg, var(--brand-lt) 0%, var(--brand) 64%, var(--brand-dk) 100%);
    color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
    box-shadow: 0 4px 14px -4px var(--brand-glow);
}
.price-name { font-size: var(--h3); font-weight: 500; color: #fff; display: flex; align-items: baseline; gap: 10px; }
.price-desc { margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.price-value {
    margin-top: 22px; display: flex; align-items: baseline;
    color: #fff; font-size: 44px; font-weight: 600; letter-spacing: -0.03em;
}
.price-symbol { font-size: 18px; font-weight: 500; margin-right: 4px; color: #ff9058; }
.price-unit { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price-features {
    margin-top: 22px; padding: 22px 0;
    border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
    display: grid; gap: 10px;
}
.price-features li { display: flex; align-items: flex-start; gap: 9px; color: #c9c9c9; font-size: 13.5px; line-height: 1.6; }
.price-cta { width: 100%; margin-top: 24px; }

/* ---------- 15. FAQ 手风琴 ---------- */
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item:first-child { border-top: 1px solid var(--border-soft); }
.faq-q {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    width: 100%; padding: 22px 4px; text-align: left;
    color: #f2f2f2; font-size: 15.5px; letter-spacing: -0.01em;
    transition: color 0.3s ease;
}
.faq-q:hover { color: #fff; }
.faq-icon { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform 0.35s ease, color 0.35s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: #fff; }
.faq-a {
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease-out);
}
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p {
    padding: 0 4px 22px; max-width: 720px;
    color: var(--muted); font-size: 14.5px; line-height: 1.8;
}

/* ---------- 16. 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-meta { margin-top: 26px; display: grid; gap: 16px; }
.contact-meta li {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding-bottom: 16px; border-bottom: 1px solid var(--border-soft);
}
.contact-meta span { color: var(--muted); font-size: 13px; letter-spacing: 0.04em; }
.contact-meta strong { color: #fff; font-weight: 500; font-size: 14.5px; word-break: break-all; text-align: right; }
.contact-lic { font-size: 12.5px !important; color: #c8c8c8 !important; }
.contact-promise {
    margin-top: 26px; padding: 16px 18px;
    border: 1px solid var(--border-soft); border-left: 2px solid var(--brand);
    border-radius: 10px;
    background: linear-gradient(95deg, rgba(250, 84, 28, 0.06), rgba(255, 255, 255, 0.02));
    color: #b8b8b8; font-size: 13px; line-height: 1.8;
}

/* 表单 */
.contact-form {
    position: relative;
    display: grid; gap: 18px;
    padding: 30px;
    border: 1px solid var(--border-soft); border-radius: 16px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; }
.form-field label { color: #cfcfcf; font-size: 13px; letter-spacing: 0.02em; }
.req { color: #ff9d9d; }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--border-soft); border-radius: 8px;
    background: rgba(255, 255, 255, 0.04); color: #fff;
    font-family: inherit; font-size: 14px;
    padding: 0 14px; height: 46px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.form-field textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #5c5c5c; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none; border-color: rgba(250, 84, 28, 0.7);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(250, 84, 28, 0.18);
}
.form-field input.invalid, .form-field textarea.invalid { border-color: rgba(255, 140, 140, 0.7); }

/* 下拉框自定义箭头 */
select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%239a9a9a' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 40px;
}

.err { min-height: 15px; color: #ff9d9d; font-size: 12.5px; line-height: 1.4; }
.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 2px; }
.form-submit { min-width: 148px; }
.form-submit:disabled { opacity: 0.6; cursor: wait; }
.form-status { color: #8fd6a0; font-size: 13px; line-height: 1.6; }
.form-status.err { color: #ff9d9d; }

/* 蜜罐字段：屏幕外隐藏，仅供机器人 */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 17. 页脚 ---------- */
.site-footer { border-top: 1px solid var(--border-soft); background: rgba(255, 255, 255, 0.015); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 48px; }
.footer-tagline { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 340px; }
.footer-contact { margin-top: 14px; color: #9f9f9f; font-size: 13px; line-height: 1.9; }
.footer-col h4 { margin-bottom: 16px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; }
.footer-col a { display: block; padding: 5px 0; color: #8f8f8f; font-size: 13.5px; transition: color 0.3s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
    max-width: 1200px; margin: 0 auto;
    padding: 20px var(--header-x);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #888; font-size: 12.5px;
}
.footer-icp { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.footer-icp a { color: #888; transition: color 0.3s ease; }
.footer-icp a:hover { color: #ffb880; }
.footer-icp-extra { color: #6f6f6f; font-size: 11.5px; }

/* ============================================================
   入场动画
   ============================================================ */

/* ---------- 18. 首屏入场（appear） ---------- */
.appear {
    opacity: 1;                       /* 静息态可见，动画失败页面不空白 */
    animation-duration: 1.05s;
    animation-fill-mode: both;
    animation-timing-function: var(--ease-out);
    animation-delay: var(--d, 0.08s);
}
.appear--scale { animation-name: in-scale; }
.appear--soft  { animation-name: in-soft; }
.appear--pop   { animation-name: in-pop; }
.appear--btn   { animation-name: in-btn; }
.appear--side  { animation-name: in-side; }
.appear--stat  { animation-name: in-stat; }

/* 遮罩行内层动画（延迟继承自外层 --d） */
.headline-line .headline-inner { animation: in-mask 1.05s var(--ease-out) both; animation-delay: var(--d, 0.6s); }

.badge-star { animation: in-star 0.9s var(--ease-out) both; animation-delay: 0.28s; }
.hero-title em { animation: in-em 1.2s var(--ease-out) both; animation-delay: 0.72s; }

/* 动画结束后由 JS 追加 is-in，锁定终态 */
.appear.is-in, .headline-inner.is-in, .badge-star.is-in, .hero-title em.is-in {
    animation: none; opacity: 1; transform: none; clip-path: none; filter: none;
}

@keyframes in-scale { from { opacity: 0; transform: scale(0.84); } to { opacity: 1; transform: none; } }
@keyframes in-soft  { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes in-mask  { from { opacity: 0; transform: translateY(42%); } to { opacity: 1; transform: none; } }
@keyframes in-pop   { 0% { opacity: 0; transform: scale(0.9); } 70% { opacity: 1; transform: scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes in-btn   { from { opacity: 0; transform: translateY(18px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes in-side  { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes in-stat  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes in-star  { 0% { opacity: 0; transform: scale(0.2) rotate(-50deg); } 65% { opacity: 1; transform: scale(1.2) rotate(8deg); } 100% { opacity: 1; transform: none; } }
@keyframes in-em    { from { opacity: 0.35; filter: blur(4px); } to { opacity: 1; filter: none; } }

/* ---------- 19. 滚动 reveal（由 IntersectionObserver 触发） ---------- */
.reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
    transition-delay: var(--rd, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   响应式断点
   ============================================================ */

/* ---------- ≥1600 ---------- */
@media (min-width: 1600px) {
    :root {
        --logo: 17px; --nav: 15px; --nav-h: 44px;
        --btn: 15px; --btn-h: 44px; --hero-btn-h: 48px;
        --h1: 56px; --h2: 38px; --lede: 18px; --badge: 13.5px; --stat-size: 15px;
        --header-y: 26px; --header-x: 64px;
        --stats-x: 96px; --stats-y: 44px;
        --copy-max: 980px; --lede-max: 560px;
    }
    .nav-link { padding: 0 20px; }
    .badge { margin-bottom: 26px; }
    .lede { margin-top: 22px; }
    .hero-actions { margin-top: 30px; gap: 12px; }
    .stat-icon { width: 22px; height: 22px; }
    .stat-icon-wide { width: 45px; height: 24px; }
}

/* ---------- ≥1920 ---------- */
@media (min-width: 1920px) {
    :root {
        --logo: 18px; --nav: 16px; --nav-h: 48px;
        --btn: 16px; --btn-h: 48px; --hero-btn-h: 52px;
        --h1: 66px; --h2: 44px; --lede: 20px; --badge: 14.5px; --stat-size: 16px;
        --header-y: 32px; --header-x: 80px;
        --stats-x: 120px; --stats-y: 52px;
        --copy-max: 1120px; --lede-max: 620px;
    }
    .site-nav { gap: 10px; }
    .nav-link { padding: 0 22px; }
    .btn { padding: 0 22px; }
    .badge { padding: 10px 15px; }
    .stat-icon-wide { width: 48px; height: 26px; }
}

/* ---------- ≥2560 ---------- */
@media (min-width: 2560px) {
    :root {
        --h1: 78px; --lede: 22px;
        --header-x: 120px; --stats-x: 160px;
        --copy-max: 1280px; --lede-max: 680px;
    }
}

/* ---------- 1280–1599 ---------- */
@media (min-width: 1280px) and (max-width: 1599px) {
    :root {
        --h1: 54px; --lede: 16px;
        --header-x: 48px; --stats-x: 80px; --copy-max: 900px;
    }
}

/* ---------- 901–1279 ---------- */
@media (min-width: 901px) and (max-width: 1279px) {
    :root {
        --logo: 15px; --nav: 13px; --nav-h: 36px;
        --btn: 13px; --btn-h: 38px; --hero-btn-h: 40px;
        --h1: 42px; --h2: 28px; --lede: 15px; --badge: 12px; --stat-size: 12.5px;
        --header-y: 16px; --header-x: 28px;
        --stats-x: 36px; --stats-y: 28px;
        --hero-gap: 64px; --copy-max: 760px; --lede-max: 440px;
    }
    .nav-link { padding: 0 14px; }
    .badge { margin-bottom: 16px; }
    .lede { margin-top: 14px; }
    .hero-actions { margin-top: 20px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 桌面端矮屏微调 ---------- */
@media (min-width: 901px) and (max-height: 850px) {
    :root { --header-y: 14px; --stats-y: 24px; --hero-gap: 48px; --h1: 40px; }
    .badge { margin-bottom: 12px; }
    .lede { margin-top: 12px; }
    .hero-actions { margin-top: 16px; }
}
@media (min-width: 901px) and (max-height: 720px) {
    :root {
        --h1: 34px; --lede: 14px; --hero-gap: 32px; --stats-y: 18px;
        --nav-h: 30px; --btn-h: 34px; --hero-btn-h: 36px;
    }
    .badge { margin-bottom: 8px; }
}

/* ---------- ≤900 手机 ---------- */
@media (max-width: 900px) {
    :root {
        --logo: 16px; --btn: 15px; --btn-h: 46px; --hero-btn-h: 48px;
        --h1: 36px; --h2: 26px; --lede: 16px; --badge: 13.5px; --stat-size: 15px;
        --header-y: 16px; --header-x: 18px;
        --stats-y: 28px; --hero-gap: 40px;
        --copy-max: 100%; --lede-max: 100%;
    }
    html, body { height: auto; overflow-y: auto; }

    /* 头部三栏：Logo | CTA | 汉堡 */
    .header-inner { grid-template-columns: 1fr auto auto; gap: 8px; }
    .logo, .header-cta, .burger { position: relative; z-index: 80; }
    .header-cta { padding: 0 14px; }

    /* 汉堡显示 */
    .burger { display: grid; }
    body.menu-open { overflow: hidden; }

    /* 全屏菜单 */
    .menu-backdrop {
        display: block; position: fixed; inset: 0; z-index: 40;
        background: rgba(8, 8, 8, 0.42);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        opacity: 0; visibility: hidden;
        transition: opacity 0.28s ease, visibility 0.28s;
    }
    body.menu-open .menu-backdrop { opacity: 1; visibility: visible; }

    .site-nav {
        position: fixed; inset: 0; z-index: 45;
        flex-direction: column; justify-content: center; align-items: stretch; gap: 12px;
        padding: max(96px, calc(env(safe-area-inset-top) + 88px)) 22px 32px;
        opacity: 0; visibility: hidden;
        transition: opacity 0.28s ease, visibility 0.28s;
    }
    body.menu-open .site-nav { opacity: 1; visibility: visible; }
    .site-nav .nav-link {
        width: 100%; height: 56px; font-size: 19px; border-radius: 10px;
    }

    /* 英雄区 */
    .hero { min-height: calc(100dvh - 70px); padding: 20px 20px 64px; }
    .hero-copy { max-width: 100%; }
    .lede { max-width: 100%; }

    /* 数据看板纵向居中 */
    .stats { flex-direction: column; align-items: center; gap: 16px; }
    .stat { white-space: normal; }

    /* 板块单列化 */
    .section { padding: 84px 0; }
    .grid-4, .grid-3, .steps { grid-template-columns: 1fr; }
    .step:not(:last-child)::after { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ---------- ≤560 小屏手机 ---------- */
@media (max-width: 560px) {
    :root { --h1: 32px; --lede: 15.5px; --header-x: 14px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-actions { flex-direction: column; align-items: stretch; }
    .form-submit { width: 100%; }
}

/* ============================================================
   无障碍：用户偏好减少动效时，全部动画关闭、内容直接可见
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .appear, .headline-inner, .badge-star, .hero-title em, .reveal {
        opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important;
    }
}
