/* Gather 官网样式：浅色为主、深色点缀（页眉 / 首屏 / 页头 / 数字条 / 诗句区 / 终端 / 页脚），品牌绿 #00FD82，不引任何外部字体或资源 */
:root {
  /* 浅色（默认） */
  --bg: #f6f8fa;
  --bg-2: #eef2f5;
  --card: #ffffff;
  --line: #e1e7ee;
  --text: #0e1621;
  --text-2: #354251;
  --muted: #5d6876;
  --link: #00804a;   /* 浅底上的品牌绿文字（#00fd82 在白底上对比度不够） */
  --card-1: #ffffff;
  --card-2: #fbfcfd;
  --card-edge: #e1e7ee;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 28px rgba(16, 24, 40, .06);
  color-scheme: light;
  --brand: #00fd82;
  --brand-ink: #03140b;
  --blue: #5328fb;  /* Gather 蓝（品牌 VI 规范） */
  --radius: 14px;
  --wrap: 1120px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Noto Sans CJK SC", "Malgun Gothic", sans-serif;
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--brand); color: var(--brand-ink); padding: 6px 10px; z-index: 10; }

/* 顶栏 */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(7, 9, 12, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.desktop-nav { margin-left: auto; }
.nav-toggle { display: none; }
.nav-toggle > summary { list-style: none; cursor: pointer; padding: 10px; }
.nav-toggle > summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--text); position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--text); }
.site-nav a:hover { color: var(--link); text-decoration: none; }
.lang { position: relative; }
.lang > summary { cursor: pointer; list-style: none; color: var(--muted); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; white-space: nowrap; }
.lang > summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: 44px; margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 10px; min-width: 140px; }
.lang li a { display: block; padding: 8px 12px; color: var(--text); border-radius: 6px; }
.lang li a:hover, .lang li a[aria-current] { background: var(--bg-2); color: var(--link); text-decoration: none; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--brand); color: var(--brand-ink) !important; font-weight: 700; border: 1px solid var(--brand); }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text) !important; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-small { padding: 6px 16px; font-size: .9rem; }

/* 首屏 */
.hero { padding: 88px 0 72px; background: radial-gradient(900px 420px at 80% -10%, rgba(0, 253, 130, .14), transparent 60%), radial-gradient(700px 380px at 0% 10%, rgba(83, 40, 251, .14), transparent 60%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; color: var(--link); font-weight: 600; font-size: .9rem; letter-spacing: .04em; margin-bottom: 14px; }
.hero h1 .accent { color: var(--link); display: inline-block; }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 40em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { justify-self: center; }
.hero-art img { width: min(280px, 60vw); border-radius: 56px; box-shadow: 0 30px 80px rgba(0, 253, 130, .18); }

/* 区块 */
.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(0, 253, 130, .1); color: var(--link); font-weight: 800; margin-bottom: 14px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 64px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); }
.callout { background: linear-gradient(135deg, rgba(0, 253, 130, .08), rgba(83, 40, 251, .08)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
td.ok { color: var(--link); }
td.warn { color: #ffc35a; }
.table-wrap + p { margin-top: 12px; }

/* 文档类页面（隐私、条款、常见问题） */
.page-head { padding: 64px 0 24px; }
.prose { max-width: 46em; padding-bottom: 72px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; }
.faq details[open] summary { color: var(--link); }
.faq details p { color: var(--text-2); }
.badge { display: inline-block; font-size: .8rem; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

/* 页脚 */
.site-footer { padding: 48px 0 56px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; }
.footer-grid nav a { color: var(--muted); }
.footer-grid .small { grid-column: 1 / -1; margin: 0; }

/* 手机 */
@media (max-width: 760px) {
  .header-row { gap: 8px; }
  .desktop-nav { display: none; }
  .lang { margin-left: auto; }
  .nav-toggle { display: block; }
  .mobile-nav { position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .mobile-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .mobile-nav a.btn { margin-top: 12px; border-bottom: 0; }
  .hero { padding: 56px 0 48px; }
  .hero-grid, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: 120px; border-radius: 28px; }
  .section { padding: 52px 0; }
}
.card ul, .callout ul { padding-left: 1.2em; margin: 0; color: var(--text-2); }
.card li, .callout li { margin-bottom: .5em; }
.card h2 { font-size: 1.25rem; }
/* 韩文按词断行，避免一个词拆到两行 */
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }

/* 「技术」下拉菜单（details 实现，无脚本） */
.dropdown { position: relative; }
.dropdown > summary { list-style: none; cursor: pointer; color: var(--text); }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown > summary::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dropdown[open] > summary { color: var(--link); }
.dropdown-menu { position: absolute; top: 40px; left: -16px; width: 300px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); }
.dropdown-menu a:hover { background: var(--bg-2); text-decoration: none; }
.dropdown-menu strong { display: block; font-weight: 600; }
.dropdown-menu span { display: block; color: var(--muted); font-size: .85rem; }
.mobile-group { padding: 12px 4px 4px; color: var(--muted); font-size: .85rem; }
.mobile-nav a.sub { padding-left: 16px; }

/* 页脚多栏 */
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.footer-cols nav { display: flex; flex-direction: column; gap: 8px; }
.footer-cols h4 { margin: 0 0 4px; font-size: .9rem; color: var(--text); }
.footer-cols a { color: var(--muted); }

/* 插图 */
.illust { width: 100%; height: auto; display: block; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.feature-group { margin-bottom: 40px; }
.feature-group h3 { color: var(--link); font-size: 1rem; letter-spacing: .04em; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .9rem; color: var(--text-2); }
.chips li.partial { border-style: dashed; color: var(--muted); }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
pre.code { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; overflow-x: auto; font-size: .85rem; line-height: 1.6; color: var(--text-2); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.kv dt { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--link); }
.kv dd { margin: 0; color: var(--text-2); }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .kv { grid-template-columns: 1fr; }
}

.card-link { display: block; color: inherit; transition: border-color .15s; }
.card-link:hover { border-color: var(--brand); text-decoration: none; }
.card-link h3 { color: var(--text); }
td:first-child, th:first-child { min-width: 5.5em; }
.illust-center { max-width: 720px; margin: 0 auto 32px; }
.illust-head { max-width: 720px; margin-top: 24px; }
.notfound { padding: 120px 0 140px; }
.notfound-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(4rem, 14vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 16px; background: linear-gradient(90deg, var(--brand), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.illust-pic { display: block; }

/* ===== 视觉改版（11-12）：卡片质感、分隔线、首屏网格、数字条、口号条、终端窗口 ===== */
.eyebrow { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform: uppercase; }
.card {
  background: linear-gradient(180deg, var(--card-1), var(--card-2)) padding-box,
              linear-gradient(135deg, rgba(0, 253, 130, .38), var(--card-edge) 38%, var(--card-edge) 62%, rgba(83, 40, 251, .38)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 0 0 1px rgba(0, 253, 130, .25), 0 18px 50px rgba(0, 253, 130, .08); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }

/* 区块分隔：中间亮、两头渐隐的电路线，中间一个发光节点 */
.section { border-bottom: 0; position: relative; }
.section + .section::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(1120px, 92vw); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0, 253, 130, .45) 35%, rgba(83, 40, 251, .45) 65%, transparent);
}
.section + .section::after {
  content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 14px 3px rgba(0, 253, 130, .55);
}

/* 首屏：细网格 + 径向渐隐 */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 60% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 60% 30%, #000 30%, transparent 75%);
}
.hero > .wrap { position: relative; }
.hero h1 .accent { background: linear-gradient(90deg, var(--brand), #4de8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 数字条 */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-2); padding: 26px 18px; text-align: center; }
.stat b { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; background: linear-gradient(90deg, var(--brand), #4de8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .9rem; }

/* 口号条 */
.slogans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.slogan { padding: 26px 24px; border-left: 2px solid var(--brand); background: linear-gradient(90deg, rgba(0, 253, 130, .07), transparent); border-radius: 0 var(--radius) var(--radius) 0; }
.slogan strong { display: block; font-size: 1.2rem; line-height: 1.4; }
.slogan span { display: block; color: var(--muted); margin-top: 8px; font-size: .92rem; }

/* 终端窗口 */
.terminal { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0a0e13; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #11161d; border-bottom: 1px solid var(--line); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3542; }
.terminal-bar i:first-child { background: #ff5f57; } .terminal-bar i:nth-child(2) { background: #febc2e; } .terminal-bar i:nth-child(3) { background: #28c840; }
.terminal-bar span { margin-left: 8px; color: var(--muted); font-size: .8rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.terminal pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; line-height: 1.7; color: var(--text-2); }
.terminal .k { color: #4de8ff; } .terminal .s { color: #a5d6a7; } .terminal .n { color: #ffc35a; } .terminal .c { color: #00fd82; } .terminal .p { color: #5a6672; }
.terminal-note { margin-top: 10px; }

@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .slogans { grid-template-columns: 1fr; }
}
.kicker { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--link); font-size: .95rem; margin-top: 4px; }

/* 文艺口号：衬线字体（只用系统自带字体，不引外部字体） */
:root { --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "Hiragino Mincho ProN", "Yu Mincho", "Nanum Myeongjo", Georgia, "Times New Roman", serif; }
.verse-section { padding: 96px 0; background: radial-gradient(600px 260px at 50% 50%, rgba(0, 253, 130, .07), transparent 70%); }
.verse { max-width: 760px; text-align: center; font-family: var(--serif); }
.verse p { font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.9; color: var(--text-2); margin: 0 0 .4em; letter-spacing: .02em; }
.verse .verse-lead { font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--text); margin-bottom: .9em; letter-spacing: .04em; }
.verse .verse-lead::before, .verse .verse-lead::after { color: var(--link); opacity: .7; }
.verse .verse-lead::before { content: "「"; } .verse .verse-lead::after { content: "」"; }
:lang(en) .verse .verse-lead::before { content: "“"; } :lang(en) .verse .verse-lead::after { content: "”"; }
.quote-band { padding: 40px 0 40px; }
.quote-band p { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--text-2); margin: 0; padding-left: 18px; border-left: 2px solid var(--brand); max-width: 46em; letter-spacing: .02em; }
.footer-verse { font-family: var(--serif); color: var(--text-2); font-size: 1.05rem; margin-top: 4px; }
:lang(ko) .verse .verse-lead::before { content: "“"; } :lang(ko) .verse .verse-lead::after { content: "”"; }

/* 品牌标准件（旧官网 VI：白色横版 Logo，不加圆角、阴影、描边） */
.brand .brand-logo { border-radius: 0; display: block; }
.brand-story { display: grid; grid-template-columns: 160px 1fr; gap: 40px; align-items: center; max-width: 880px; }
.brand-mark { width: 160px; height: auto; }
@media (max-width: 640px) { .brand-story { grid-template-columns: 1fr; gap: 20px; } .brand-mark { width: 96px; } }
/* G-Box 产品图：背后一圈 Gather 蓝的光 */
.gbox-pic { background: radial-gradient(closest-side, rgba(83, 40, 251, .28), transparent); border-radius: var(--radius); }
.gbox-pic img { display: block; width: 100%; max-width: 480px; margin: 0 auto; }
/* 机房短片：无声、默认不自动播放（照顾「减少动态效果」和流量） */
.video-frame { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame video { display: block; width: 100%; height: auto; }
.video-frame figcaption { padding: 14px 18px; font-family: var(--serif); color: var(--text-2); border-top: 1px solid var(--line); background: var(--bg-2); letter-spacing: .02em; }

/* ===== 深浅交替（11-12）：下面这些区块用深色变量，组件放进去自动变深 ===== */
.site-header, .site-footer, .hero, .page-head, .stats-section, .verse-section, .terminal, .notfound {
  --bg: #07090c;
  --bg-2: #0d1117;
  --card: #11161d;
  --line: #1f2731;
  --text: #e8edf2;
  --text-2: #c6d0da;
  --muted: #9aa6b2;
  --link: #00fd82;
  --card-1: rgba(17, 22, 29, .92);
  --card-2: rgba(13, 17, 23, .92);
  --card-edge: rgba(31, 39, 49, .9);
  --shadow: none;
  color-scheme: dark;
  color: var(--text);
}
.site-footer, .hero, .page-head, .stats-section, .verse-section, .notfound { background-color: var(--bg); }
.terminal { background-color: #0a0e13; }
/* 插图是为深底画的：放在浅色区时给一块深色底板，在深色区里不要底板 */
.illust-pic { background: radial-gradient(420px 220px at 70% 20%, rgba(83, 40, 251, .16), transparent 70%), #0b0f14; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.hero .illust-pic, .page-head .illust-pic { background: none; padding: 0; box-shadow: none; }
/* 白色标识在浅底上转成黑色 */
.brand-mark { filter: brightness(0); }
/* 浅色区的口号条、视频说明 */
.slogan { background: linear-gradient(90deg, rgba(0, 253, 130, .12), transparent); }
.page-head { padding-bottom: 56px; }

/* 首屏插图（11-12）：两个人、一封带锁的信，代替原来放大的 App 图标 */
.hero-grid { grid-template-columns: 1.1fr .9fr; }
.hero-art { justify-self: stretch; }
.hero-art picture { display: block; }
.hero-art .hero-illust { display: block; width: 100%; max-width: 520px; height: auto; margin-left: auto; border-radius: 0; box-shadow: none; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: 0; justify-self: stretch; }
  .hero-art .hero-illust { width: min(380px, 100%); margin: 8px auto 0; }
}
