/* ============================================================
   SoundMe 站点样式 · 大气 / 深空蓝 · 青蓝渐变
   主色：深空底 #05070D，青蓝渐变 #00D4FF → #5E9EFF → #6C4EFE
   ============================================================ */

:root {
    --bg: #05070D;
    --bg-elev: #080B14;
    --bg-soft: #0B101C;
    --surface: #0D1420;
    --surface-2: #111A29;
    --text: #EDF3FC;
    --text-2: #C6D2E6;
    --text-muted: #8493AD;
    --accent: #5E9EFF;
    --accent-2: #00D4FF;
    --accent-3: #6C4EFE;
    --border: #1B2434;
    --border-soft: #141C2A;
    --ai-gradient: linear-gradient(110deg, #00D4FF 0%, #5E9EFF 55%, #6C4EFE 100%);
    --glow: rgba(94, 158, 255, .35);
    --radius: 16px;
    --shadow: 0 20px 60px rgba(0, 0, 0, .5);
    --maxw: 1180px;
    --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* 背景氛围光晕 */
    background-image:
        radial-gradient(1200px 600px at 80% -10%, rgba(108, 78, 254, .14), transparent 60%),
        radial-gradient(1000px 500px at 15% 5%, rgba(0, 212, 255, .10), transparent 55%),
        radial-gradient(900px 600px at 50% 120%, rgba(94, 158, 255, .08), transparent 60%);
    background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(94, 158, 255, .35); color: #fff; }

/* ---------- 通用容器 / 文案 ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.grad-text {
    background: var(--ai-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.section { padding: 110px 0; position: relative; }
.section h2 {
    font-size: clamp(30px, 4.6vw, 46px);
    font-weight: 800; letter-spacing: -.5px;
    line-height: 1.25; margin-bottom: 18px;
}
.section-sub { color: var(--text-muted); font-size: 18px; max-width: 640px; }

/* ---------- 顶部导航 ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 32px;
    background: rgba(5, 7, 13, .72);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.3px; }
.brand-mark {
    width: 30px; height: 30px; border-radius: 9px;
    background: var(--ai-gradient);
    position: relative; flex: none;
    box-shadow: 0 0 22px var(--glow);
}
.brand-mark::after {
    content: ""; position: absolute; inset: 8px; border-radius: 4px;
    background:
        linear-gradient(90deg, #fff 2px, transparent 2px) 0 50% / 4px 100% no-repeat;
    opacity: .92;
}
.site-nav { display: flex; gap: 6px; }
.site-nav a {
    color: var(--text-2); font-size: 15px; font-weight: 500;
    padding: 8px 15px; border-radius: 9px; transition: .2s;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav a.active { color: #fff; background: rgba(94, 158, 255, .14); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 600; border-radius: 11px; cursor: pointer; transition: .22s;
    border: none; font-size: 15px; padding: 12px 26px; }
.btn-primary {
    background: var(--ai-gradient); color: #fff;
    box-shadow: 0 8px 26px rgba(94, 158, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(94, 158, 255, .5); }
.btn-ghost {
    background: rgba(255, 255, 255, .03); color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: #2a354a; }
.btn-download { display: inline-flex; align-items: center; padding: 9px 20px;
    background: var(--ai-gradient); color: #fff; border-radius: 10px; font-weight: 600; font-size: 14px;
    box-shadow: 0 6px 20px rgba(94, 158, 255, .3); transition: .2s; }
.btn-download:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(94, 158, 255, .45); }

/* ---------- Hero 首屏 ---------- */
.hero { position: relative; text-align: center; padding: 110px 28px 60px; overflow: hidden; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--accent-2); letter-spacing: 3px; font-size: 13px; font-weight: 600;
    text-transform: uppercase; margin-bottom: 24px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
    content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-2));
}
.hero-eyebrow::after { background: linear-gradient(90deg, var(--accent-2), transparent); }
.hero h1 {
    font-size: clamp(40px, 7vw, 76px); font-weight: 900; letter-spacing: -2px;
    line-height: 1.12; margin-bottom: 24px;
}
.hero h1 .grad-text { background-image: var(--ai-gradient); }
.hero-sub { color: var(--text-2); font-size: clamp(17px, 2.4vw, 21px); max-width: 620px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero-tags span {
    font-size: 13px; color: var(--text-muted); padding: 7px 16px;
    border: 1px solid var(--border); border-radius: 20px; background: rgba(255, 255, 255, .02);
}

/* 搜索 mockup */
.hero-mockup {
    max-width: 760px; margin: 60px auto 0; position: relative;
}
.hero-mockup::before {
    content: ""; position: absolute; inset: -40px -60px;
    background: radial-gradient(closest-side, rgba(94, 158, 255, .18), transparent);
    filter: blur(30px); z-index: 0; pointer-events: none;
}
.mockup-search {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px; padding: 20px 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}
.mockup-search-icon {
    width: 20px; height: 20px; flex: none; position: relative;
}
.mockup-search-icon::before {
    content: ""; position: absolute; width: 13px; height: 13px;
    border: 2.5px solid var(--accent-2); border-radius: 50%; top: 0; left: 0;
}
.mockup-search-icon::after {
    content: ""; position: absolute; width: 2.5px; height: 8px;
    background: var(--accent-2); border-radius: 2px;
    transform: rotate(-45deg); bottom: 1px; right: 1px;
}
.hero-typed {
    font-size: 20px; color: var(--text); text-align: left; flex: 1;
    min-height: 30px; font-weight: 500;
}
.hero-caret {
    width: 2px; height: 24px; background: var(--accent-2);
    animation: caret 1s steps(1) infinite; flex: none;
}
@keyframes caret { 50% { opacity: 0; } }

/* 声波柱 */
.hero-wave {
    display: flex; align-items: flex-end; justify-content: center; gap: 5px;
    height: 96px; margin-top: 32px; position: relative; z-index: 1;
}
.hero-wave .bar {
    width: 6px; border-radius: 3px; flex: none;
    background: linear-gradient(180deg, var(--accent-2), var(--accent));
    transform-origin: bottom; opacity: .85;
}
.hero-wave .bar.ai { background: linear-gradient(180deg, var(--accent-3), var(--accent)); opacity: 1; }

/* ---------- 痛点 ---------- */
.section-pain { text-align: center; }
.section-pain .section-sub { margin: 0 auto 54px; }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 840px; margin: 0 auto; }
.pain-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 26px; text-align: left;
    color: var(--text-2); font-size: 16px; position: relative; overflow: hidden;
    transition: .25s;
}
.pain-item::before {
    content: "✕"; position: absolute; right: 18px; top: 10px;
    color: rgba(255, 69, 58, .55); font-size: 22px; font-weight: 700;
}
.pain-item:hover { border-color: #2a354a; transform: translateY(-3px); }

/* ---------- AI 搜索 ---------- */
.section-ai { text-align: center; }
.section-ai .section-sub { margin: 0 auto 54px; }
.example-list { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin: 0 auto; }
.example-item {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-radius: 13px;
    padding: 18px 26px; text-align: left; color: var(--text-2);
    font-size: 16px; position: relative; transition: .25s;
}
.example-item::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--ai-gradient); border-radius: 3px; opacity: 0; transition: .25s;
}
.example-item:hover { border-color: #2a354a; color: #fff; }
.example-item:hover::before { opacity: 1; }

/* ---------- 三步 ---------- */
.section-steps { text-align: center; }
.section-steps .section-sub { margin: 0 auto 60px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 38px 28px; text-align: left;
    position: relative; transition: .25s;
}
.step:hover { transform: translateY(-4px); border-color: #2a354a; box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.step-num {
    display: inline-block; font-family: var(--mono); font-size: 15px; font-weight: 700;
    background: var(--ai-gradient); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; margin-bottom: 18px; letter-spacing: 1px;
}
.step h3 { font-size: 21px; margin-bottom: 12px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* ---------- 为什么选择 ---------- */
.section-why { text-align: center; }
.section-why .section-sub { margin: 0 auto 60px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 30px 24px; text-align: left; transition: .25s;
}
.why-item:hover { border-color: #2a354a; }
.why-item h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.why-item p { color: var(--text-muted); font-size: 14px; }

/* ---------- 品牌态度 ---------- */
.section-attitude { text-align: center; padding-bottom: 80px; }
.section-attitude .section-sub { margin: 0 auto; }

/* ---------- CTA ---------- */
.section-cta {
    text-align: center; padding: 90px 0 120px; position: relative;
}
.section-cta::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(closest-side at 50% 50%, rgba(108, 78, 254, .16), transparent);
    pointer-events: none;
}
.section-cta .hero-actions { margin-top: 36px; }
.cta-english { margin-top: 26px; color: var(--text-muted); letter-spacing: 1px; font-size: 14px; }

/* ---------- 页脚 ---------- */
.site-footer {
    border-top: 1px solid var(--border-soft); padding: 56px 32px 36px;
    background: rgba(5, 7, 13, .6);
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.footer-name { font-weight: 800; font-size: 18px; }
.footer-desc { color: var(--text-muted); font-size: 13px; }
.footer-links, .footer-legal { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 18px; }
.footer-links a, .footer-legal a { color: var(--text-muted); font-size: 14px; transition: .2s; }
.footer-links a:hover, .footer-legal a:hover { color: #fff; }
.footer-legal a { font-size: 13px; }
.footer-copy { color: var(--text-muted); font-size: 13px; margin-top: 8px; opacity: .8; }

/* ============================================================
   内页通用（定价 / 下载 / 手册 / 关于 / 联系 / 法律 / FAQ）
   ============================================================ */
.page-hero { text-align: center; padding: 80px 28px 20px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.page-hero .page-sub { color: var(--text-muted); font-size: 17px; }
.page-body { max-width: 880px; margin: 0 auto; padding: 0 28px 90px; }

/* ---------- 定价 ---------- */
.pricing-page { max-width: 980px; margin: 0 auto; padding: 0 24px 90px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; margin: 50px 0 44px; }
.plan-card {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-radius: 20px; padding: 36px 30px;
    position: relative; transition: .25s; text-align: center;
}
.plan-card:hover { transform: translateY(-5px); }
.plan-highlight {
    border-color: rgba(94, 158, 255, .6);
    box-shadow: 0 0 50px rgba(94, 158, 255, .18);
}
.plan-badge {
    position: absolute; top: -13px; right: 26px;
    background: var(--ai-gradient); color: #fff; padding: 5px 14px;
    border-radius: 12px; font-size: 12px; font-weight: 700;
    box-shadow: 0 6px 18px rgba(94, 158, 255, .4);
}
.plan-card h2 { font-size: 19px; margin-bottom: 16px; color: var(--text-2); font-weight: 700; }
.plan-price {
    font-size: 54px; font-weight: 900; letter-spacing: -2px; line-height: 1;
    background: var(--ai-gradient); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; margin-bottom: 14px;
}
.plan-price small { font-size: 20px; font-weight: 700; -webkit-text-fill-color: var(--text-muted); }
.plan-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.plan-features { text-align: left; list-style: none; margin-bottom: 28px; }
.plan-features li { padding: 7px 0; color: var(--text-2); font-size: 14px; display: flex; gap: 9px; }
.plan-features li::before { content: "✓"; color: var(--accent-2); font-weight: 700; }
.checkout-form { display: flex; flex-direction: column; gap: 12px; }
.checkout-form input {
    padding: 13px 16px; background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text); font-size: 15px; outline: none; transition: .2s;
}
.checkout-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94,158,255,.15); }
.checkout-form button {
    padding: 13px; background: var(--ai-gradient); color: #fff; border: 0; border-radius: 10px;
    font-size: 16px; font-weight: 700; cursor: pointer; transition: .2s;
    box-shadow: 0 8px 24px rgba(94, 158, 255, .3);
}
.checkout-form button:hover { transform: translateY(-2px); }
.pricing-notes { color: var(--text-muted); font-size: 13px; line-height: 2.2; }

/* ---------- 兼容工具类 ---------- */
.page-title { text-align: center; font-size: clamp(32px, 5vw, 46px); font-weight: 800; margin: 60px 0 8px; letter-spacing: -1px; }
.page-sub { text-align: center; color: var(--text-muted); margin-bottom: 40px; font-size: 16px; }
.muted { color: var(--text-muted); font-size: 13px; }

/* ---------- 成功页 / 找回页 ---------- */
.success-page { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 70px); padding: 40px 24px; }
.success-card {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-radius: 22px; padding: 52px 44px;
    max-width: 560px; width: 100%; text-align: center;
    box-shadow: var(--shadow);
}
.success-icon {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 26px;
    background: var(--ai-gradient); color: #fff; font-size: 36px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 40px var(--glow);
}
.success-card h1 { font-size: 28px; margin-bottom: 12px; }
.success-sub { color: var(--text-muted); margin-bottom: 30px; font-size: 15px; }
.card-box {
    background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: 14px; padding: 24px; margin-bottom: 14px; text-align: left;
}
.card-label { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
.card-code {
    font-family: var(--mono); font-size: 20px; letter-spacing: 1px; line-height: 1.5;
    color: var(--accent-2); word-break: break-all;
}
.success-warn { color: #FFB020; font-size: 13px; margin-bottom: 26px; text-align: left; line-height: 1.8; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.success-actions .btn { font-size: 14px; }

.recover-page { max-width: 540px; margin: 0 auto; padding: 70px 24px 100px; }
.recover-page h1 { text-align: center; font-size: 30px; margin-bottom: 10px; }
.recover-page .page-sub { text-align: center; color: var(--text-muted); margin-bottom: 36px; }
.recover-form { display: flex; flex-direction: column; gap: 16px; }
.recover-form input, .recover-form select {
    padding: 14px 16px; background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text); font-size: 15px; outline: none; transition: .2s;
}
.recover-form input:focus, .recover-form select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94,158,255,.15); }
.recover-form select option { background: var(--bg-soft); }
.recover-form button {
    padding: 14px; background: var(--ai-gradient); color: #fff; border: 0; border-radius: 10px;
    font-size: 16px; font-weight: 700; cursor: pointer; transition: .2s;
    box-shadow: 0 8px 24px rgba(94, 158, 255, .3);
}
.recover-form button:hover { transform: translateY(-2px); }
.recover-result { margin-top: 20px; }
.alert-error {
    background: rgba(255, 69, 58, .12); color: #FF6B62;
    border: 1px solid rgba(255, 69, 58, .3); padding: 13px 18px;
    border-radius: 10px; margin: 16px 0; font-size: 14px;
}
.alert-success {
    background: rgba(52, 199, 89, .12); color: #34C759;
    border: 1px solid rgba(52, 199, 89, .3); padding: 13px 18px;
    border-radius: 10px; margin: 16px 0; font-size: 14px;
}

/* ---------- 下载页 ---------- */
.download-card {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-radius: 20px; padding: 40px;
    text-align: center; margin-bottom: 24px;
}
.download-card h2 { font-size: 26px; margin-bottom: 8px; }
.download-version { color: var(--text-muted); font-size: 14px; margin-bottom: 26px; }
.download-meta { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 30px; }
.download-meta span { color: var(--text-muted); font-size: 13px; }
.download-btn { font-size: 17px; padding: 16px 40px; }
.download-note { color: var(--text-muted); font-size: 13px; text-align: center; line-height: 2; }

/* ---------- 使用手册 / 关于 / 法律 / FAQ 内容 ---------- */
.prose { color: var(--text-2); font-size: 16px; line-height: 1.9; }
.prose h2 { font-size: 26px; margin: 44px 0 16px; color: #fff; }
.prose h3 { font-size: 20px; margin: 32px 0 12px; color: #fff; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: #fff; }
.prose a { color: var(--accent-2); border-bottom: 1px solid rgba(0,212,255,.4); }
.prose code {
    font-family: var(--mono); font-size: .9em; background: var(--bg-soft);
    padding: 2px 7px; border-radius: 5px; color: var(--accent-2);
}
.prose blockquote {
    border-left: 3px solid var(--accent); padding: 10px 20px; margin: 20px 0;
    background: var(--bg-soft); border-radius: 0 10px 10px 0; color: var(--text-muted);
}
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-q { font-size: 18px; font-weight: 700; margin-bottom: 10px; cursor: pointer; color: #fff; }
.faq-a { color: var(--text-muted); font-size: 15px; line-height: 1.9; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.contact-item {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; text-align: center;
}
.contact-item h3 { font-size: 17px; margin-bottom: 8px; }
.contact-item p { color: var(--text-muted); font-size: 14px; word-break: break-all; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
    .site-header { flex-wrap: wrap; gap: 12px; padding: 12px 20px; }
    .site-nav { order: 3; width: 100%; overflow-x: auto; gap: 2px; }
    .site-nav a { padding: 7px 12px; font-size: 14px; white-space: nowrap; }
    .hero { padding-top: 70px; }
    .pain-grid, .steps-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 70px 0; }
    .success-card { padding: 40px 28px; }
}
@media (max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 38px; }
    .plan-price { font-size: 44px; }
}
