@charset "UTF-8";

/* ===== 蛋蛋分享库 · 文件柜主题（琥珀 / 米黄） ===== */
:root {
  --amber: #53CA04;
  --amber-deep: #4F850E;
  --amber-soft: #AAFD8A;
  --cream: #ECFEE8;
  --paper: #FFFDF3;
  --ink: #1A1C17;
  --ink-soft: #41443C;
  --muted: #74786C;
  --line: #CEEFBE;
  --radius: 3px;
  --shell: 1180px;
  --header-height: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { color: inherit; font: inherit; }

a, button { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible { outline: 2px dashed var(--amber); outline-offset: 3px; }

.page-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

.icon { display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; vertical-align: middle; }

.icon::before { display: block; width: 100%; height: 100%; content: ""; background: center / contain no-repeat; }

.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }
.icon-arrow::before { background-image: url("../icons/arrow.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }
.icon-plus::before { background-image: url("../icons/plus.svg"); }
.icon-bolt::before { background-image: url("../icons/bolt.svg"); }
.icon-shield::before { background-image: url("../icons/shield.svg"); }

/* ===== 顶栏：细线 + 方块按钮 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 2px solid var(--amber);
  background: rgba(236, 254, 232, 0.97);
  backdrop-filter: blur(6px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--shell));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FFFFFF;
  object-fit: contain;
}

.primary-nav ul { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.6vw, 36px); padding: 0; margin: 0; list-style: none; }

.primary-nav a {
  display: inline-block;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  font-family: Consolas, "Microsoft YaHei", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: border-color 160ms ease, color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible { border-color: var(--amber); color: var(--amber-deep); }

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 9px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nav-download {
  min-width: 128px;
  padding: 0 15px;
  border: 1px solid var(--amber);
  color: var(--amber-deep);
  background: #FFFFFF;
}

.nav-download .icon,
.button-primary .icon { filter: invert(41%) sepia(58%) saturate(655%) hue-rotate(8deg) brightness(93%) contrast(92%); }

.nav-download:hover { background: var(--amber); border-color: var(--amber); color: #FFFFFF; }
.nav-download:hover .icon { filter: brightness(0) invert(1); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}
.menu-toggle .icon { width: 19px; height: 19px; }

/* ===== 英雄区：文件卡网格 + 速度条 ===== */
.hero {
  position: relative;
  padding: 60px 0 64px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(83, 202, 4, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(rgba(83, 202, 4, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, #FFFDF3 0%, var(--cream) 100%);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr); align-items: center; gap: 46px; }

.hero-copy { max-width: 520px; padding: 8px 0; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber-deep);
  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
}

.eyebrow::before { content: "// "; color: var(--amber); }

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 16px 0 15px;
  font-size: clamp(22px, 2.5vw, 29px);
  font-weight: 800;
  color: var(--amber-deep);
  letter-spacing: 0;
  line-height: 1.3;
}

.hero-summary { max-width: 480px; margin: 0 0 27px; color: var(--muted); font-size: 15px; }

.button { min-width: 168px; padding: 0 22px; }

.button-primary {
  border: 1px solid var(--amber-deep);
  color: #FFFFFF;
  background: linear-gradient(180deg, var(--amber) 0%, var(--amber-deep) 100%);
  box-shadow: 4px 4px 0 rgba(26, 28, 23, 0.85);
}

.button-primary .icon { filter: brightness(0) invert(1); }

.button-primary:hover { box-shadow: 2px 2px 0 rgba(26, 28, 23, 0.85); transform: translate(2px, 2px); }

/* 文件队列面板 */
.fileGrid {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber);
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 12px 12px 0 rgba(83, 202, 4, 0.13);
}

.fgTop { display: flex; align-items: center; gap: 10px; padding: 0 2px 11px; border-bottom: 1px dashed var(--line); }
.fgTop b { font-family: Consolas, monospace; font-size: 14px; letter-spacing: 0.6px; }
.fgTop span { color: var(--muted); font-size: 11px; }
.fgTop em {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid #BBE7F7;
  border-radius: 999px;
  color: #156080;
  background: #F0FDF4;
  font-size: 10px;
  font-style: normal;
}

.fgCards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px 0; }

.fgCard {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 8px;
  border: 1px solid #E0F3D8;
  border-radius: var(--radius);
  background: #FFFDF4;
  transition: border-color 160ms ease, background 160ms ease;
}
.fgCard:hover { border-color: var(--amber-soft); background: #EBFFE3; }

.fgExt {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 2px;
  color: #FFFFFF;
  background: var(--amber);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.fgExt.zip { background: var(--ink-soft); }

.fgCard b { display: block; font-size: 12px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fgCard small { display: block; margin-top: 2px; color: var(--muted); font-family: Consolas, monospace; font-size: 9.5px; }
.fgCard i { grid-column: 2; justify-self: start; margin-top: -2px; color: var(--amber-deep); font-size: 9.5px; font-style: normal; }
.fgCard i.wait { color: #A8A29E; }

.fgSpeed { padding-top: 11px; border-top: 1px dashed var(--line); display: grid; gap: 8px; }

.fgRow { display: grid; grid-template-columns: 42px minmax(0, 1fr) 58px; align-items: center; gap: 9px; }
.fgRow span { color: var(--ink-soft); font-size: 10.5px; }
.fgRow b { color: var(--amber-deep); font-family: Consolas, monospace; font-size: 10px; text-align: right; }

.fgBar { height: 7px; border: 1px solid #CCF0BC; border-radius: 2px; background: #EBFBE4; overflow: hidden; }
.fgBar i { display: block; height: 100%; width: var(--p, 50%); background: repeating-linear-gradient(90deg, var(--amber) 0 6px, #50EA08 6px 9px); animation: fgFill 1.4s ease-out both; }
@keyframes fgFill { from { width: 0; } }

/* ===== 核心特色：编号横条 ===== */
.routes { padding: 66px 0 70px; background: #FFFBEB; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 12px); }

.section-heading { max-width: 640px; margin-bottom: 36px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 3.2vw, 38px); font-weight: 900; letter-spacing: -0.6px; line-height: 1.2; }
.section-heading > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }

.fours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }

.four {
  position: relative;
  min-width: 0;
  padding: 26px 30px 26px 62px;
  border-bottom: 1px solid var(--line);
}
.four:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 60px; }

.four .n {
  position: absolute;
  top: 26px;
  left: 22px;
  color: var(--amber);
  font-family: Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
}
.four .n::after { content: ""; position: absolute; top: 26px; left: 1px; width: 22px; height: 1px; background: var(--amber-soft); }

.four h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: 0; }
.four p { margin: 0; color: var(--muted); font-size: 14px; }

/* ===== 界面展示：斜切卡片 ===== */
.screens { padding: 70px 0 76px; scroll-margin-top: calc(var(--header-height) + 12px); }

.covers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.covers figure {
  min-width: 0;
  margin: 0;
  padding: 8px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #FFFFFF;
  transform: rotate(-0.8deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.covers figure:nth-child(even) { transform: rotate(0.9deg); }
.covers figure:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 12px 22px rgba(79, 133, 14, 0.14); }

.covers img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top center; border-radius: 3px; background: var(--cream); }
.covers b { display: block; margin-top: 9px; font-size: 12.5px; }
.covers small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.55; }

/* ===== FAQ ===== */
.faq { padding: 68px 0 20px; scroll-margin-top: calc(var(--header-height) + 12px); }

.faq-list { display: grid; gap: 8px; }

.faq-item { border: 1px solid var(--line); border-left: 3px solid var(--amber-soft); border-radius: 2px; background: #FFFFFF; transition: border-left-color 160ms ease; }
.faq-item[open] { border-left-color: var(--amber); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 10px 18px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
.faq-item summary .icon { width: 15px; height: 15px; transition: transform 180ms ease; filter: invert(41%) sepia(58%) saturate(655%) hue-rotate(8deg) brightness(93%) contrast(92%); }
.faq-item[open] summary .icon { transform: rotate(45deg); }

.faq-answer { padding: 0 18px 15px; }
.faq-answer p { margin: 0; color: var(--muted); font-size: 14px; }

/* ===== 官方入口 ===== */
.official { padding: 24px 0 70px; }

.official-fold { border: 1px solid var(--line); border-radius: 2px; background: #FFFBEB; }
.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  color: var(--amber-deep);
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}
.official-fold summary::-webkit-details-marker { display: none; }
.official-fold summary::after { content: "+"; margin-left: auto; font-family: Consolas, monospace; font-size: 17px; }
.official-fold[open] summary::after { content: "−"; }
.official-link { padding: 10px 18px 16px; border-top: 1px dashed var(--line); }
.official-link p { margin: 0; font-size: 14px; }
.official-link a { color: var(--amber-deep); font-weight: 700; word-break: break-all; }

/* ===== 用户评价 ===== */
.reviews { padding: 68px 0 72px; background: var(--ink); color: #FAFAF9; scroll-margin-top: calc(var(--header-height) + 12px); }
.reviews .section-heading h2 { color: #ECFEE8; }
.reviews .section-heading > p:last-child { color: #A8A29E; }
.reviews .eyebrow { color: var(--amber-soft); }

.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.rv {
  display: flex;
  min-height: 232px;
  flex-direction: column;
  padding: 20px 20px 18px;
  border: 1px solid #353B2E;
  border-radius: 2px;
  background: #22261C;
}
.rv header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.who b { display: inline-block; padding: 2px 8px; border: 1px solid var(--amber); border-radius: 2px; color: var(--amber-soft); font-size: 11.5px; font-weight: 700; }
.rv time { color: #74786C; font-family: Consolas, monospace; font-size: 10px; }
.rv > p { margin: 14px 0 12px; color: #D6D3D1; font-size: 13.5px; line-height: 1.85; }
.rv-site { margin-top: auto; padding-top: 10px; border-top: 1px dashed #41443C; color: var(--amber-soft); font-family: Consolas, monospace; font-size: 10px; }

/* ===== 下载模块 ===== */
.download-cta {
  padding: 66px 0 70px;
  background: linear-gradient(135deg, #CDFEC3 0%, #AAFD8A 45%, #83FC4D 100%);
  text-align: center;
  scroll-margin-top: calc(var(--header-height) + 12px);
}
.download-cta .section-heading { max-width: 660px; margin-right: auto; margin-left: auto; text-align: center; }
.download-cta .section-heading h2 { color: #2D4206; }
.download-cta .section-heading > p:last-child { color: #4B7112; }
.download-cta .eyebrow { color: #4B7112; }
.download-cta .button-primary { background: #1A1C17; border-color: #1A1C17; box-shadow: 4px 4px 0 rgba(75, 113, 18, 0.4); }
.download-cta .button-primary:hover { background: #282924; }
.disclaimer { margin: 18px 0 0; color: #4B7112; font-size: 12px; }

/* ===== 页脚 ===== */
.site-footer { padding: 34px 0 20px; background: #1A1C17; color: #A8A29E; text-align: center; }
.site-footer p { margin: 0 0 7px; font-size: 12px; }
.site-footer a { color: #D6D3D1; }
.site-footer a:hover { color: var(--amber-soft); }
.site-footer .icp { margin: 0; color: #74786C; }

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 150px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--amber-deep);
  border-radius: var(--radius);
  background: var(--amber);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}
.to-top::before { content: ""; width: 8px; height: 8px; border-top: 2px solid #FFFFFF; border-left: 2px solid #FFFFFF; transform: rotate(45deg) translate(1px, 1px); }
.to-top.is-show { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--amber-deep); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-copy { max-width: 640px; }
  .fileGrid { max-width: 560px; margin: 0 auto; }
  .fours { grid-template-columns: 1fr; }
  .four:nth-child(odd) { border-right: 0; padding-left: 62px; }
  .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  :root { --header-height: 62px; }

  body { padding-top: var(--header-height); }

  .site-header { position: fixed; right: 0; left: 0; width: 100%; background: var(--cream); }

  .page-shell,
  .nav-shell { width: min(calc(100% - 32px), var(--shell)); }

  .nav-shell { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-rows: var(--header-height); min-height: var(--header-height); column-gap: 8px; }

  .brand { grid-row: 1; grid-column: 1; gap: 7px; font-size: 16px; }
  .brand img { width: 30px; height: 30px; }

  .primary-nav { display: none; grid-row: 2; grid-column: 1 / -1; margin: 0 -16px; padding: 0 16px 12px; border-top: 1px solid var(--line); background: var(--cream); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding-top: 12px; }
  .primary-nav a { display: block; padding: 9px 11px; border: 1px solid var(--line); border-radius: 2px; background: #FFFFFF; font-size: 12.5px; }

  .nav-download { grid-row: 1; grid-column: 3; min-width: auto; min-height: 34px; margin-left: auto; padding: 0 9px; font-size: 11.5px; }
  .nav-download .icon { width: 14px; height: 14px; }
  .menu-toggle { display: inline-flex; grid-row: 1; grid-column: 4; width: 34px; height: 34px; }

  .hero { padding: 38px 0 44px; }
  .hero-copy { padding: 0; text-align: left; }
  .hero h1 { font-size: 40px; }
  .hero-title { font-size: 22px; }
  .hero-summary { font-size: 13.5px; }

  .fileGrid { padding: 11px; box-shadow: 6px 6px 0 rgba(83, 202, 4, 0.13); }
  .fgCards { grid-template-columns: minmax(0, 1fr); }
  .fgCard { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .fgCard i { grid-column: 3; grid-row: 1; margin: 0; align-self: center; }
  .fgExt { width: 34px; height: 34px; }

  .routes { padding: 48px 0 50px; }
  .screens { padding: 48px 0 52px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2 { font-size: 27px; }
  .four { padding: 20px 18px 20px 52px; }
  .four:nth-child(odd) { padding-left: 52px; }
  .four .n { top: 21px; left: 16px; font-size: 13px; }

  .covers { gap: 10px; }
  .covers figure,
  .covers figure:nth-child(even) { transform: none; }

  .faq { padding: 48px 0 16px; }
  .official { padding: 18px 0 48px; }
  .reviews { padding: 48px 0 50px; }
  .rgrid { grid-template-columns: 1fr; }
  .rv { min-height: auto; }
  .download-cta { padding: 48px 0 50px; }
  .download-cta .button-primary { width: 100%; }
  .to-top { right: 16px; bottom: 136px; width: 38px; height: 38px; }
}

@media (max-width: 380px) {
  .brand span { font-size: 14px; }
  .nav-download span { display: none; }
  .nav-download { width: 34px; padding: 0; }
  .hero h1 { font-size: 34px; }
  .primary-nav ul { grid-template-columns: 1fr; }
}
