/* WgetCloud — wgetcloudap.xyz
   灰白底 + 命令青，主打命令行说明文档与操作速查表 */

:root {
  --bg: #F8FAFA;
  --bg-alt: #EDF4F5;
  --panel: #FFFFFF;
  --panel-soft: #EAF4F6;
  --border: #D3E6E9;
  --text: #0B2E33;
  --text-dim: #52777E;
  --accent: #0891B2;
  --accent-dark: #0E7490;
  --promo: #E11D48;
  --shadow: 0 6px 22px rgba(8, 145, 178, 0.08);
  --radius: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(248,250,250,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; font-family: "SFMono-Regular", Consolas, monospace; }
.brand svg { width: 26px; height: 26px; }
.brand-cn { color: var(--text); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-dim); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu { display: none; }

.btn { display: inline-block; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(8,145,178,0.26); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { display: block; width: 100%; text-align: center; }

.burger { display: none; width: 26px; height: 20px; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); }
.burger span:nth-child(1) { top: 0; } .burger span:nth-child(2) { top: 9px; } .burger span:nth-child(3) { top: 18px; }
#nav-toggle { display: none; }

.hero { padding: 76px 0 56px; background: linear-gradient(180deg, var(--bg-alt), var(--bg) 70%); }
.hero-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.promo-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(225,29,72,0.08); border: 1px solid rgba(225,29,72,0.3); color: var(--promo); font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 8px; margin-bottom: 20px; font-family: "SFMono-Regular", Consolas, monospace; }
.hero h1 { font-size: 38px; line-height: 1.4; margin: 0 0 18px; color: var(--text); }
.hero h1 span { color: var(--accent); }
.hero p.sub { font-size: 16.5px; color: var(--text-dim); margin: 0 0 32px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-ctas .btn { padding: 14px 28px; font-size: 15px; }

section { padding: 60px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 27px; margin: 0 0 12px; }
.section-head p { color: var(--text-dim); margin: 0; font-size: 15px; }
.eyebrow { display: inline-block; font-size: 13px; color: var(--accent-dark); letter-spacing: 1px; margin-bottom: 10px; font-weight: 700; font-family: "SFMono-Regular", Consolas, monospace; }

.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.adv-card .icon { width: 44px; height: 44px; border-radius: 8px; background: var(--panel-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--accent); }
.adv-card h3 { font-size: 17px; margin: 0 0 8px; }
.adv-card p { font-size: 14px; color: var(--text-dim); margin: 0; }

.stream-row { margin-top: 20px; background: var(--panel-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.stream-row .label { font-size: 14px; color: var(--text-dim); font-weight: 600; }
.pill-list { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { font-size: 13px; background: #fff; border: 1px solid var(--border); padding: 6px 14px; border-radius: 8px; color: var(--text); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow); }
.price-card.recommend { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.price-card .badge { position: absolute; top: -12px; right: 20px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 8px; }
.price-card h3 { font-size: 18px; margin: 0 0 4px; }
.price-card .cap { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.price-table td { padding: 6px 0; font-size: 13.5px; border-bottom: 1px dashed var(--border); }
.price-table td.period { color: var(--text-dim); }
.price-table td.price { text-align: right; }
.price-table .now { color: var(--accent-dark); font-weight: 800; }
.price-table .old { color: var(--text-dim); text-decoration: line-through; font-size: 12px; margin-left: 6px; }
.price-card .foot { margin-top: auto; }
.price-note { font-size: 12px; color: var(--text-dim); margin-top: 6px; text-align: center; }

.flow-pack-row { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.flow-pack { background: var(--panel-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.flow-pack .name { font-weight: 700; }
.flow-pack .desc { font-size: 13px; color: var(--text-dim); }

.why-block { margin-bottom: 26px; }
.why-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.why-card h3 { font-size: 20px; margin: 0 0 10px; text-align: center; }
.why-card > p.intro { color: var(--text-dim); font-size: 14.5px; margin: 0 0 26px; text-align: center; }

.manpage { background: var(--panel-soft); border: 1px solid var(--border); border-radius: 10px; padding: 22px 24px; font-family: "SFMono-Regular", Consolas, "Courier New", monospace; font-size: 12.5px; color: var(--text); line-height: 1.9; }
.manpage .sec { color: var(--accent-dark); font-weight: 700; margin-top: 14px; }
.manpage .sec:first-child { margin-top: 0; }
.manpage .body-line { color: var(--text-dim); padding-left: 16px; }

.cheat-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.cheat-grid .cell { padding: 12px 16px; font-size: 13px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.cheat-grid .cell:nth-child(2n) { border-right: none; }
.cheat-grid .cell.head { background: var(--panel-soft); font-weight: 700; color: var(--accent-dark); font-size: 12px; }
.cheat-grid .cell.op { font-weight: 600; }
.cheat-grid .cell.desc { color: var(--text-dim); }

.cta-band { background: linear-gradient(135deg, rgba(8,145,178,0.1), rgba(225,29,72,0.03)); border: 1px solid var(--border); border-radius: 16px; padding: 46px 32px; text-align: center; }
.cta-band h2 { font-size: 25px; margin: 0 0 12px; }
.cta-band p { color: var(--text-dim); margin: 0 0 26px; }

.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll-left 45s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review-card { width: 300px; flex: 0 0 auto; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.review-card .stars { color: var(--promo); font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }
.review-card p { font-size: 14px; color: var(--text); margin: 0 0 14px; }
.review-card .who { font-size: 12.5px; color: var(--text-dim); }
.review-disclaimer { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 14px; }

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 6px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; padding: 17px 0; font-weight: 700; font-size: 15px; list-style: none; position: relative; padding-right: 30px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 15px; font-size: 20px; color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-dim); font-size: 14px; margin: 0 0 18px; }

footer { border-top: 1px solid var(--border); padding: 52px 0 30px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-col h4 { font-size: 14px; margin: 0 0 14px; color: var(--text); }
.footer-col a, .footer-col p { font-size: 13.5px; color: var(--text-dim); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-seo { font-size: 13px; color: var(--text-dim); border-top: 1px solid var(--border); padding-top: 24px; margin-bottom: 24px; line-height: 1.9; }
.friend-links { display: flex; flex-wrap: wrap; gap: 10px 18px; border-top: 1px solid var(--border); padding-top: 22px; margin-bottom: 18px; }
.friend-links span.label { color: var(--text-dim); font-size: 12.5px; margin-right: 6px; }
.friend-links a { font-size: 13px; color: var(--text-dim); }
.friend-links a:hover { color: var(--accent); }
.copyright { font-size: 12.5px; color: var(--text-dim); text-align: center; }

.page-hero { padding: 54px 0 20px; background: var(--bg-alt); }
.page-hero h1 { font-size: 30px; margin: 0 0 10px; }
.breadcrumb { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.breadcrumb a { color: var(--accent); }
.content-block { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; margin: 24px 0; box-shadow: var(--shadow); }
.content-block h2 { font-size: 20px; margin: 28px 0 12px; }
.content-block h2:first-child { margin-top: 0; }
.content-block p, .content-block li { color: var(--text-dim); font-size: 14.5px; }
.content-block ul { padding-left: 20px; list-style: disc; margin: 10px 0; }
.content-block ul li { margin-bottom: 8px; }
.sitemap-list a { color: var(--accent); font-size: 15px; font-weight: 700; }
.sitemap-list li { margin-bottom: 14px; }
.sitemap-list p { margin: 4px 0 0; font-size: 13px; color: var(--text-dim); }

@media (max-width: 900px) {
  .adv-grid, .pricing-grid { grid-template-columns: 1fr; }
  .flow-pack-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .burger { display: block; }
  .hero h1 { font-size: 28px; }
  .hero p.sub { font-size: 15px; }
  section { padding: 44px 0; }
  .why-card { padding: 22px; }
  .cheat-grid { grid-template-columns: 1fr; }
  .cheat-grid .cell { border-right: none; }
  #nav-toggle:checked ~ .mobile-menu { max-height: 400px; padding: 10px 24px 20px; }
  .mobile-menu { display: flex; max-height: 0; overflow: hidden; transition: max-height .25s ease; flex-direction: column; gap: 14px; padding: 0 24px; background: var(--bg); }
  .mobile-menu a { font-size: 15px; color: var(--text-dim); padding: 4px 0; }
  .mobile-menu .btn { width: 100%; text-align: center; }
}
@media (max-width: 520px) { .hero h1 { font-size: 24px; } .manpage { font-size: 11px; } }

.content-block ol.step-list { padding-left: 0; list-style: none; counter-reset: step; margin: 10px 0 20px; }
.content-block ol.step-list li { position: relative; padding-left: 34px; margin-bottom: 10px; counter-increment: step; }
.content-block ol.step-list li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #06101f; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
