/* ── Web Font（对齐旧站 zhizuobanzou.net 用的 Quicksand 圆润字体）── */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

/* ── Reset & Base ──
   浅色主题：白色背景 + 深灰文字 + 紫色(#7971ea)强调色，对齐旧站 zhizuobanzou.net
   的存档快照风格（Bootstrap 商业模板 + Quicksand 字体 + #7971ea 主色）。
   #7971ea 的加深版本（用于 hover 态）是 #655cc9，按同一色相手工调深算出来的。 */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:#ffffff;color:#4d4d4d;font-family:"Quicksand",system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px;line-height:1.6;min-height:100vh}
img{max-width:100%;display:block}
a{color:#7971ea;text-decoration:none}
a:hover{text-decoration:underline}

/* ── Typography ── */
h1,h2,h3,h4{font-weight:700;line-height:1.25;color:#25262a}
h1{font-size:clamp(2rem,5vw,3.2rem)}
h2{font-size:clamp(1.5rem,3vw,2rem)}
h3{font-size:1.2rem}
p{color:#4d4d4d;line-height:1.7}
.text-muted{color:#6c757d}
.text-accent{color:#7971ea}
.text-cyan{color:#06b6d4}
.text-success{color:#22c55e}
.text-error{color:#ef4444}

/* ── Layout ── */
.container{max-width:900px;margin:0 auto;padding:0 20px}
.container-wide{max-width:1100px;margin:0 auto;padding:0 20px}
.section{padding:60px 0}
.section-sm{padding:32px 0}

/* ── Navigation ── */
nav{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid #e5e7eb;padding:0 20px;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.nav-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:60px}
.logo{font-size:1.15rem;font-weight:800;color:#25262a;letter-spacing:-.02em}
.logo span{color:#7971ea}
.nav-links{display:flex;gap:4px;align-items:center;flex-wrap:wrap}
.nav-links a{padding:6px 12px;border-radius:6px;color:#4d4d4d;font-size:.875rem;transition:all .15s}
.nav-links a:hover{color:#25262a;background:#f4f5f9;text-decoration:none}
.nav-links a.active{color:#7971ea}
.nav-tool-link{background:#7971ea!important;color:#fff!important;padding:7px 16px!important;border-radius:20px!important}
.nav-tool-link:hover{background:#655cc9!important}

/* ── Tools dropdown（纯 CSS，:hover + :focus-within，不依赖 app.js——很多内容页
   如 FAQ/About/隐私政策不加载 app.js，导航菜单不能靠 JS 才能用）── */
.nav-dropdown{position:relative}
.nav-dropdown-menu{position:absolute;top:100%;left:0;margin-top:4px;background:#ffffff;border:1px solid #e5e7eb;
  border-radius:10px;padding:6px;min-width:190px;display:none;flex-direction:column;gap:1px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);z-index:200}
.nav-dropdown-menu a{padding:9px 12px;border-radius:6px;white-space:nowrap;font-size:.85rem;color:#4d4d4d}
.nav-dropdown-menu a:hover{background:#f4f5f9;color:#25262a;text-decoration:none}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{display:flex}

/* ── Buttons ── */
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 28px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;border:none;transition:all .15s;text-decoration:none!important;white-space:nowrap}
.btn-primary{background:#7971ea;color:#fff}
.btn-primary:hover{background:#655cc9;transform:translateY(-1px)}
.btn-cyan{background:#06b6d4;color:#fff}
.btn-cyan:hover{background:#0891b2;transform:translateY(-1px)}
.btn-outline{border:1.5px solid #ced4da;color:#4d4d4d;background:transparent}
.btn-outline:hover{border-color:#7971ea;color:#7971ea;background:rgba(121,113,234,.06)}
.btn-sm{padding:8px 18px;font-size:.875rem}
.btn-lg{padding:16px 40px;font-size:1.1rem;border-radius:10px}

/* ── Hero ── */
.hero{text-align:center;padding:72px 20px 48px}
.hero h1{margin-bottom:16px}
.hero .subtitle{font-size:1.2rem;color:#6c757d;margin-bottom:36px;max-width:560px;margin-left:auto;margin-right:auto}
/* 原来是每个工具页 hero 区顶部的一行 "100% Free — No Signup"（.hero-badge），
   但那个 font-size 是明显写错的 clamp(2rem,5vw,3.2rem)——巨大字号，占了一大块
   hero 空间。现在挪到导航栏 logo 右边，做成小巧的一个 pill，不再单独占页面高度。 */
.nav-badge{display:inline-flex;align-items:center;gap:6px;background:#f4f5f9;border:1px solid #e5e7eb;border-radius:20px;padding:4px 12px;font-size:.7rem;color:#6c757d;margin-left:12px;white-space:nowrap}
.nav-badge .dot{width:6px;height:6px;background:#22c55e;border-radius:50%;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

/* ── Upload Zone ── */
.upload-wrap{max-width:640px;margin:0 auto}
.upload-zone{border:2px dashed #ced4da;border-radius:16px;padding:52px 24px;text-align:center;cursor:pointer;transition:all .2s;background:#fafafe}
.upload-zone:hover,.upload-zone.drag{border-color:#7971ea;background:rgba(121,113,234,.05);box-shadow:0 0 32px rgba(121,113,234,.12)}
.upload-icon{width:52px;height:52px;color:#7971ea;margin:0 auto 16px}
.upload-title{font-size:1.1rem;font-weight:600;color:#25262a;margin-bottom:8px}
.upload-hint{color:#6c757d;font-size:.875rem}
#file-input{display:none}

/* ── Progress ── */
.progress-section{max-width:640px;margin:0 auto;text-align:center;padding:0 20px}
.progress-title{font-size:1.1rem;font-weight:600;margin-bottom:8px;color:#25262a}
.progress-bar-wrap{background:#e9ecef;border-radius:8px;height:8px;margin:12px 0;overflow:hidden}
.progress-bar{background:linear-gradient(90deg,#7971ea,#06b6d4);height:100%;width:0;transition:width .5s ease;border-radius:8px}
.progress-label{color:#6c757d;font-size:.875rem;min-height:20px}

/* ── Knowledge Card ── */
.knowledge-card{background:#f8f9fa;border:1px solid #e5e7eb;border-radius:12px;padding:20px 24px;margin-top:20px;text-align:left;transition:opacity .4s ease;min-height:90px}
.knowledge-q{color:#7971ea;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}
.knowledge-a{color:#4d4d4d;font-size:.95rem;line-height:1.6}

/* ── Result ── */
.result-section{max-width:640px;margin:0 auto;text-align:center;padding:0 20px}
.result-icon{font-size:2.5rem;margin-bottom:8px}
.result-title{font-size:1.4rem;font-weight:700;color:#16a34a;margin-bottom:4px}
.result-sub{color:#6c757d;margin-bottom:20px}
.download-buttons{display:flex;flex-direction:column;gap:16px;align-items:center;margin-bottom:20px}
.stem-row{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%}
.stem-btns{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.download-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 24px;background:#06b6d4;color:#fff;border-radius:8px;font-weight:600;font-size:.95rem;transition:all .15s;text-decoration:none!important}
.download-btn:hover{background:#0891b2;transform:translateY(-1px)}
.download-btn.vocals{background:#7971ea}
.download-btn.vocals:hover{background:#655cc9}
.preview-btn{display:inline-flex;align-items:center;gap:6px;padding:14px 20px;background:none;border:2px solid #ced4da;color:#4d4d4d;border-radius:8px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .15s}
.preview-btn:hover:not(:disabled){border-color:#7971ea;color:#7971ea}
.preview-btn:disabled{opacity:.5;cursor:default}
.stem-player{width:100%;max-width:480px;height:40px;accent-color:#7971ea}

/* ── Error ── */
.error-box{background:rgba(239,68,68,.06);border:1px solid rgba(239,68,68,.25);border-radius:12px;padding:24px;text-align:center;color:#dc2626;max-width:640px;margin:0 auto 32px}

/* ── Cards & Grid ── */
.card{background:#ffffff;border:1px solid #e5e7eb;border-radius:12px;padding:28px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.card-grid{display:grid;gap:20px}
.card-grid-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.card-grid-3{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.card-grid-4{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.card h3{margin-bottom:10px;color:#25262a}
.card p{font-size:.9rem}

/* ── How It Works Steps ── */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0;counter-reset:step}
.step{position:relative;text-align:center;padding:32px 24px}
.step::before{counter-increment:step;content:counter(step);display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:linear-gradient(135deg,#7971ea,#06b6d4);border-radius:50%;font-weight:700;font-size:1.1rem;margin:0 auto 16px;color:#fff}
.step h3{margin-bottom:8px;font-size:1rem;color:#25262a}
.step p{font-size:.875rem;color:#6c757d}
.steps-connector{display:none}

/* ── FAQ ── */
.faq-item{border-bottom:1px solid #e5e7eb;padding:20px 0}
.faq-item:last-child{border-bottom:none}
.faq-q{font-weight:600;color:#25262a;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;padding:0}
.faq-q::after{content:'＋';color:#7971ea;font-size:1.2rem;flex-shrink:0;transition:transform .2s}
details[open] .faq-q::after{transform:rotate(45deg)}
.faq-a{padding-top:12px;color:#6c757d;font-size:.95rem;line-height:1.7}

/* ── Blog ── */
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}
.blog-card{background:#ffffff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;transition:border-color .2s;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.blog-card:hover{border-color:#7971ea;text-decoration:none}
.blog-card-body{padding:24px}
.blog-tag{display:inline-block;background:rgba(121,113,234,.1);color:#7971ea;border-radius:4px;padding:3px 8px;font-size:.75rem;font-weight:600;margin-bottom:10px}
.blog-card h3{font-size:1rem;margin-bottom:8px;color:#25262a}
.blog-card p{font-size:.875rem;color:#6c757d;line-height:1.5}
.blog-card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:.8rem;color:#868e96}

/* ── Article / Blog Post ── */
.article-header{padding:60px 0 32px;text-align:center}
.article-meta{color:#6c757d;font-size:.875rem;margin-bottom:20px}
.article-body{max-width:720px;margin:0 auto}
.article-body h2{font-size:1.5rem;margin:36px 0 14px;padding-top:8px;border-top:1px solid #e5e7eb;color:#25262a}
.article-body h3{font-size:1.15rem;margin:24px 0 10px;color:#25262a}
.article-body p{margin-bottom:16px;color:#4d4d4d}
.article-body ul,.article-body ol{margin:0 0 16px 24px;color:#4d4d4d}
.article-body li{margin-bottom:6px;line-height:1.7}
/* :not(.btn) 排除按钮链接——不加这个的话 .article-body a（class+元素选择器，
   优先级 0,1,1）会压过 .btn-primary/.btn-outline 自己的 color（只有单类选择器，
   优先级 0,1,0），导致 .btn-primary 的文字被强制变成 #7971ea，和它自己的背景色
   接近，文字看不清——博客文章里好几个"Try Free Vocal Remover"之类的
   CTA 按钮都受影响。 */
.article-body a:not(.btn){color:#7971ea}
.article-body blockquote{border-left:3px solid #7971ea;padding:12px 20px;margin:20px 0;background:#f8f9fa;border-radius:0 8px 8px 0;color:#6c757d;font-style:italic}
.article-body .cta-box{background:linear-gradient(135deg,rgba(121,113,234,.1),rgba(6,182,212,.08));border:1px solid #e5e7eb;border-radius:12px;padding:28px;text-align:center;margin:36px 0}

/* ── Comparison Table ── */
.compare-table{width:100%;border-collapse:collapse;margin:24px 0;font-size:.9rem}
.compare-table th{background:#f8f9fa;color:#7971ea;padding:12px 16px;text-align:left;font-weight:600;border-bottom:2px solid #e5e7eb}
.compare-table td{padding:12px 16px;border-bottom:1px solid #e9ecef;color:#4d4d4d;vertical-align:top}
.compare-table tr:hover td{background:#fafafe}
.check{color:#16a34a}
.cross{color:#dc2626}

/* ── Features Bar ── */
.features-bar{background:#f8f9fa;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;padding:20px 0}
.features-bar-inner{display:flex;gap:32px;justify-content:center;flex-wrap:wrap;align-items:center}
.feat-item{display:flex;align-items:center;gap:8px;font-size:.875rem;color:#6c757d}
.feat-item .icon{color:#16a34a;font-size:1rem}

/* ── Use Cases ── */
.use-cases{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin:24px 0}
.use-case{background:#ffffff;border:1px solid #e5e7eb;border-radius:10px;padding:20px;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.use-case .emoji{font-size:1.8rem;margin-bottom:10px}
.use-case h4{font-size:.9rem;margin-bottom:6px;color:#25262a}
.use-case p{font-size:.8rem;color:#6c757d}

/* ── Tool Tabs ── */
.tool-tabs{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:32px}
.tool-tab{padding:8px 18px;border-radius:20px;border:1.5px solid #ced4da;color:#6c757d;font-size:.875rem;cursor:pointer;transition:all .15s;background:transparent;text-decoration:none!important}
.tool-tab:hover,.tool-tab.active{border-color:#7971ea;color:#7971ea;background:rgba(121,113,234,.08)}

/* ── Related Tools ── */
.related-tools{background:#f8f9fa;border-radius:12px;padding:28px;text-align:center;margin-top:40px}
.related-tools h3{margin-bottom:16px;color:#25262a}
.related-tools-links{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.related-tools-links a{padding:8px 18px;border:1.5px solid #ced4da;border-radius:20px;color:#6c757d;font-size:.875rem;transition:all .15s}
.related-tools-links a:hover{border-color:#7971ea;color:#7971ea;text-decoration:none}

/* ── Footer ──
   旧站页脚是深色（#333）配浅灰文字，即使整站是浅色主题，页脚也刻意用深色收尾、
   和主体形成对比——这里原样保留这个层次关系。 */
footer{background:#333333;color:#ccc;padding:48px 20px 32px;margin-top:80px}
.footer-inner{max-width:900px;margin:0 auto}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:32px;margin-bottom:40px}
.footer-col h4{color:#fff;font-size:.875rem;margin-bottom:14px;text-transform:uppercase;letter-spacing:.06em}
.footer-col a{display:block;color:#aaaaaa;font-size:.875rem;margin-bottom:8px;transition:color .15s}
.footer-col a:hover{color:#fff;text-decoration:none}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding-top:24px;border-top:1px solid #4d4d4d;color:#999999;font-size:.8rem}
.footer-bottom a{color:#999999}
.footer-bottom a:hover{color:#fff;text-decoration:none}

/* ── Breadcrumb ── */
.breadcrumb{color:#6c757d;font-size:.85rem;margin-bottom:24px}
.breadcrumb a{color:#7971ea}
.breadcrumb a:hover{color:#655cc9}
.breadcrumb span{margin:0 6px}

/* ── Alert / Notice ── */
.alert{border-radius:8px;padding:14px 18px;margin-bottom:20px;font-size:.9rem}
.alert-info{background:rgba(6,182,212,.06);border:1px solid rgba(6,182,212,.25);color:#0e7490}
/* 低调说明文字：不用醒目的有色提示框，纯灰色小字，用于辅助性说明而非需要用户
   特别留意的警告（对照 alert-info 的醒目青色框，二者用途不同，按需选用）。 */
.hint-text{color:#6c757d;font-size:.8rem;line-height:1.5}

/* ── Review Widget ── */
.review-widget{background:#f8f9fa;border:1px solid #e5e7eb;border-radius:12px;padding:24px;margin-top:24px;text-align:center}
.review-title{font-size:.95rem;font-weight:600;color:#495057;margin-bottom:12px}
.review-hint{font-weight:400;color:#6c757d;font-size:.85rem}
.star-row{display:flex;gap:6px;justify-content:center;margin-bottom:4px}
.star-btn{background:none;border:none;font-size:2.2rem;line-height:1;cursor:pointer;color:#dee2e6;transition:color .1s;padding:2px}
.star-btn.active{color:#f59e0b}
.star-btn.hov{color:#fbbf24}
.review-saved{margin-top:8px;color:#16a34a;font-weight:600;font-size:.9rem}
.review-comment-wrap{margin-top:16px}
#review-comment{width:100%;background:#ffffff;border:1px solid #ced4da;border-radius:8px;color:#4d4d4d;font-size:.9rem;font-family:inherit;padding:10px 12px;resize:vertical;min-height:72px;transition:border-color .15s}
#review-comment:focus{outline:none;border-color:#7971ea}
.review-comment-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 0}
.review-char-count{font-size:.75rem;color:#868e96}

/* ── Responsive ── */
@media(max-width:640px){
  .hero{padding:48px 16px 32px}
  .section{padding:40px 0}
  .btn-lg{padding:14px 28px;font-size:1rem}
  .nav-links .hide-mobile{display:none}
  .nav-badge{display:none}
  .footer-bottom{flex-direction:column;text-align:center}
}
