/* =========================================================
   明璟AI 官网 v2 · 玉之光核
   深墨蓝黑 + 璟青 + 冰蓝 + 鎏金点缀 · 高级科幻玻璃
   ========================================================= */

:root {
  /* 底色 */
  --bg-0: #05080f;
  --bg-1: #070d1a;
  --bg-2: #0a1322;
  /* 璟青 */
  --teal: #37e6d6;
  --teal-2: #2dd4bf;
  /* 冰蓝 */
  --blue: #6ea8fe;
  --blue-2: #4f8cff;
  /* 鎏金 */
  --gold: #e8b15a;
  /* 文字 */
  --txt: #eaf2ff;
  --txt-2: #aebbd4;
  --txt-3: #74829c;
  /* 玻璃 */
  --glass: rgba(255, 255, 255, 0.05);
  --glass-2: rgba(255, 255, 255, 0.08);
  --glass-brd: rgba(255, 255, 255, 0.12);
  --glass-brd-hot: rgba(55, 230, 214, 0.45);
  /* 阴影/光 */
  --shadow: 0 24px 70px -28px rgba(0, 0, 0, 0.85);
  --glow-teal: 0 0 34px -6px rgba(55, 230, 214, 0.55);
  --glow-blue: 0 0 40px -8px rgba(110, 168, 254, 0.5);

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1200px;
  --nav-h: 70px;

  --font: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI",
    Roboto, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--txt);
  background: var(--bg-0);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 全站背景氛围层 */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 78% -10%, rgba(79, 140, 255, 0.16), transparent 60%),
    radial-gradient(900px 620px at 8% 6%, rgba(55, 230, 214, 0.13), transparent 58%),
    radial-gradient(1200px 900px at 50% 120%, rgba(45, 212, 191, 0.1), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 55%);
}
#bgCanvas { position: fixed; inset: 0; z-index: -1; opacity: 0.85; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

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

/* ============ 通用 ============ */
.section { padding: 110px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--teal);
  padding: 7px 15px; border: 1px solid rgba(55, 230, 214, 0.3);
  border-radius: 100px; background: rgba(55, 230, 214, 0.06);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 10px var(--teal);
}
.h-title {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800; letter-spacing: -0.5px; line-height: 1.18;
  margin: 22px 0 16px;
}
.h-title .grad {
  background: linear-gradient(92deg, var(--teal), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h-sub { color: var(--txt-2); font-size: 17px; max-width: 680px; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .h-sub { margin: 0 auto; }

/* 玻璃卡 */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: 15.5px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  color: #04211e;
  background: linear-gradient(92deg, var(--teal), var(--teal-2));
  box-shadow: var(--glow-teal);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 44px -4px rgba(55, 230, 214, 0.75); }
.btn-ghost {
  color: var(--txt); border: 1px solid var(--glass-brd); background: var(--glass);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--glass-brd-hot); transform: translateY(-2px); }
.btn-blue { color: #061026; background: linear-gradient(92deg, var(--blue), var(--blue-2)); box-shadow: var(--glow-blue); }
.btn-blue:hover { transform: translateY(-2px); }
.btn .ico { width: 18px; height: 18px; }

/* ============ 导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, height 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 11, 22, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--glass-brd);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; }
.brand .b-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand .b-cn { font-weight: 800; font-size: 18px; letter-spacing: 1px; }
.brand .b-en { font-family: var(--mono); font-size: 9.5px; letter-spacing: 3px; color: var(--txt-3); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 16px; border-radius: 100px; font-size: 14.5px; color: var(--txt-2);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--txt); background: var(--glass-2); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--txt); border-radius: 2px; transition: 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动菜单 */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(6, 11, 22, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-brd);
  padding: 14px 24px 26px;
  transform: translateY(-130%); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { display: block; padding: 14px 8px; color: var(--txt-2); font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-menu a:last-child { border: 0; }
.mobile-menu .btn { margin-top: 16px; width: 100%; }

/* ============ Hero ============ */
.hero { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 50px) 0 70px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--txt-2);
  border: 1px solid var(--glass-brd); background: var(--glass); padding: 8px 16px; border-radius: 100px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(55,230,214,.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(55,230,214,.5); }
  70% { box-shadow: 0 0 0 10px rgba(55,230,214,0); }
  100% { box-shadow: 0 0 0 0 rgba(55,230,214,0); }
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 64px); line-height: 1.1; font-weight: 850;
  letter-spacing: -1px; margin: 26px 0 22px;
}
.hero h1 .grad {
  background: linear-gradient(92deg, var(--teal) 10%, var(--blue) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 18px; color: var(--txt-2); max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 30px; margin-top: 42px; flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b { font-size: 26px; font-weight: 800; color: var(--teal); font-family: var(--mono); }
.hero-meta .m span { font-size: 13px; color: var(--txt-3); }

/* Hero 视觉：玻璃终端 + 光核 */
.hero-visual { position: relative; height: 480px; }
.hero-core {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.hero-core svg { width: 300px; height: 300px; animation: spin 26s linear infinite; filter: drop-shadow(0 0 26px rgba(55,230,214,.4)); }
@keyframes spin { to { transform: rotate(360deg); } }
.ring {
  position: absolute; border-radius: 50%; border: 1px dashed rgba(110,168,254,.3);
}
.ring.r1 { width: 380px; height: 380px; animation: spin 40s linear infinite reverse; }
.ring.r2 { width: 440px; height: 440px; border-style: solid; border-color: rgba(55,230,214,.12); animation: spin 60s linear infinite; }

.terminal {
  position: absolute; left: -6px; bottom: 18px; width: 300px;
  background: rgba(8, 15, 28, 0.72); border: 1px solid var(--glass-brd);
  border-radius: 14px; backdrop-filter: blur(16px); overflow: hidden;
  box-shadow: var(--shadow);
}
.terminal .t-bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.terminal .t-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2b3a55; }
.terminal .t-bar i:nth-child(1){ background:#ff5f57;} .t-bar i:nth-child(2){background:#febc2e;} .t-bar i:nth-child(3){background:#28c840;}
.terminal .t-body { padding: 14px; font-family: var(--mono); font-size: 11.5px; line-height: 1.9; min-height: 150px; }
.c-teal { color: var(--teal); }
.c-blue { color: var(--blue); }
.c-gold { color: var(--gold); }
.c-mut { color: var(--txt-3); }
.cursor-blink::after { content: "▋"; color: var(--teal); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-chip {
  position: absolute; right: 0; top: 40px;
  background: rgba(8, 15, 28, 0.7); border: 1px solid var(--glass-brd);
  border-radius: 12px; padding: 12px 16px; backdrop-filter: blur(14px);
  display: flex; align-items: center; gap: 11px; animation: floaty 5s ease-in-out infinite;
}
.hero-chip .hc-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(55,230,214,.14); color: var(--teal); }
.hero-chip .hc-t { font-size: 12.5px; } .hero-chip .hc-t b { display: block; font-size: 13px; } .hero-chip .hc-t span { color: var(--txt-3); font-size: 11px; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--txt-3); font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint .mouse { width: 22px; height: 36px; border: 1.5px solid var(--txt-3); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content:""; position:absolute; top:6px; left:50%; transform:translateX(-50%); width:3px; height:7px; border-radius:3px; background:var(--teal); animation:wheel 1.6s infinite; }
@keyframes wheel { 0%{opacity:1; top:6px;} 100%{opacity:0; top:16px;} }

/* ============ 数据条 ============ */
.stats-band { padding: 0; }
.stats-box {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--glass-brd); border: 1px solid var(--glass-brd);
  border-radius: var(--radius-lg); overflow: hidden;
}
.stat-cell { background: rgba(9, 16, 30, 0.65); padding: 40px 28px; text-align: center; backdrop-filter: blur(10px); }
.stat-cell b { font-size: clamp(30px,3.4vw,42px); font-weight: 800; font-family: var(--mono); display:block;
  background: linear-gradient(92deg,var(--teal),var(--blue)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat-cell span { color: var(--txt-2); font-size: 14.5px; }

/* ============ 能力特性 Bento ============ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bento .b-card {
  padding: 32px 28px; border-radius: var(--radius); position: relative; overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(14px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.bento .b-card:hover { transform: translateY(-6px); border-color: var(--glass-brd-hot); box-shadow: var(--shadow); }
.b-card .b-ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(55,230,214,.18), rgba(110,168,254,.14));
  color: var(--teal); margin-bottom: 20px;
}
.b-card h3 { font-size: 18.5px; margin-bottom: 10px; font-weight: 700; }
.b-card p { color: var(--txt-2); font-size: 14.5px; }
.b-card.b-wide { grid-column: span 2; }
.b-card .b-glow { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(55,230,214,.14), transparent 70%); top: -80px; right: -60px; pointer-events:none;}

/* ============ 作品 / 视频 ============ */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--glass-brd); background: var(--bg-2); cursor: pointer; transition: transform .3s, border-color .3s, box-shadow .3s; }
.work-card:hover { transform: translateY(-6px); border-color: var(--glass-brd-hot); box-shadow: var(--shadow); }
.work-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b1424; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-thumb .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(5,8,15,.05), rgba(5,8,15,.55));
  opacity: 0; transition: opacity .3s;
}
.work-card:hover .work-thumb .play { opacity: 1; }
.play .p-btn {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(55,230,214,.92); color: #04211e; transform: scale(.85); transition: transform .3s;
  box-shadow: var(--glow-teal);
}
.work-card:hover .p-btn { transform: scale(1); }
.work-tag { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; padding: 5px 11px; border-radius: 100px; background: rgba(6,11,22,.7); border: 1px solid var(--glass-brd); color: var(--teal); backdrop-filter: blur(6px); }
.work-body { padding: 20px 22px 24px; }
.work-body h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 7px; }
.work-body p { color: var(--txt-3); font-size: 13.5px; line-height: 1.6; }
.work-meta { display:flex; gap:14px; margin-top:13px; font-family:var(--mono); font-size:11px; color:var(--txt-3); }

/* 游戏卡（试玩） */
.game-card .work-thumb .play .p-btn { background: linear-gradient(92deg,var(--blue),var(--blue-2)); color:#061026; box-shadow: var(--glow-blue); }
.badge-3d { color: var(--gold) !important; border-color: rgba(232,177,90,.4) !important; }

/* ============ 智能体调度流程 ============ */
.pipe-sec { background: linear-gradient(180deg, transparent, rgba(10,19,34,.5), transparent); }
.pipe-flow { display: grid; grid-template-columns: 1fr auto 1.3fr auto 1fr; align-items: center; gap: 14px; }
.pipe-node {
  padding: 30px 24px; text-align: center; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--glass-brd); backdrop-filter: blur(14px);
}
.pipe-node .pn-ico { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 14px; display:grid; place-items:center; font-size: 24px;
  background: linear-gradient(135deg,rgba(55,230,214,.2),rgba(110,168,254,.14)); color:var(--teal);}
.pipe-node h4 { font-size: 17px; margin-bottom: 6px; }
.pipe-node p { font-size: 13px; color: var(--txt-3); }
.pipe-arrow { color: var(--teal); font-size: 24px; display:grid; place-items:center; }
.pipe-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pipe-mid .pm { padding: 20px 16px; text-align:center; border-radius: 14px; background: rgba(55,230,214,.07); border:1px solid rgba(55,230,214,.22); }
.pipe-mid .pm .pi{font-size:20px; margin-bottom:8px;} .pipe-mid .pm b{font-size:13.5px; display:block;} .pipe-mid .pm span{font-size:11.5px;color:var(--txt-3);}

/* ============ 下载 ============ */
.download-sec { position: relative; }
.download-box {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: 70px 60px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  background: linear-gradient(120deg, rgba(13,24,44,.88), rgba(8,16,32,.92));
  border: 1px solid var(--glass-brd); backdrop-filter: blur(18px);
}
.download-box::before { content:""; position:absolute; width:500px; height:500px; border-radius:50%; background:radial-gradient(circle,rgba(55,230,214,.16),transparent 65%); top:-240px; right:-120px; }
.download-box h2 { font-size: clamp(28px,3.6vw,40px); margin-bottom:16px; font-weight:800; }
.download-box p { color: var(--txt-2); margin-bottom: 30px; }
.dl-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.dl-side { display: grid; gap: 14px; }
.dl-feat { display:flex; gap:13px; align-items:flex-start; padding:16px 18px; border-radius:14px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);}
.dl-feat .df-ico{color:var(--teal); flex:none; margin-top:2px;}
.dl-feat b{font-size:14px; display:block;} .dl-feat span{font-size:12.5px;color:var(--txt-3);}
.dl-note { font-family:var(--mono); font-size:11.5px; color:var(--txt-3); margin-top:18px; }

/* ============ 常见问题 ============ */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--glass-brd); border-radius: 16px; background: var(--glass); backdrop-filter: blur(12px); overflow: hidden; }
.faq-q { width: 100%; display:flex; justify-content:space-between; align-items:center; gap:20px; padding: 21px 26px; text-align:left; font-size:16px; font-weight:600; }
.faq-q .fq-ico { flex:none; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; border:1px solid var(--glass-brd); color:var(--teal); transition:.3s; }
.faq-item.open .faq-q .fq-ico { transform: rotate(45deg); background: rgba(55,230,214,.15); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 26px 23px; color: var(--txt-2); font-size: 14.5px; }

/* ============ 页脚 ============ */
.footer { border-top: 1px solid var(--glass-brd); background: rgba(5,8,15,.7); padding: 70px 0 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand img { width: 44px; height: 44px; margin-bottom: 16px; }
.footer-brand p { color: var(--txt-3); font-size: 13.5px; max-width: 300px; }
.footer-col h5 { font-size: 14px; margin-bottom: 18px; letter-spacing: 1px; }
.footer-col a { display:block; color: var(--txt-3); font-size: 13.5px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 26px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; color:var(--txt-3); font-size:12.5px; }
.footer-icp { font-family: var(--mono); }

/* ============ 弹窗：视频播放 / 游戏试玩 ============ */
.modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 30px;
  background: rgba(3, 6, 12, 0.78); backdrop-filter: blur(10px);
}
.modal.open { display: flex; animation: fadein .25s ease; }
@keyframes fadein { from{opacity:0;} to{opacity:1;} }
.modal-box {
  width: min(960px, 96vw); max-height: 92vh; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--glass-brd);
  border-radius: 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.modal-box.game-modal { width: min(1100px, 97vw); height: min(760px, 93vh); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.modal-head b { font-size: 15px; }
.modal-head .m-sub { font-family: var(--mono); font-size: 11px; color: var(--txt-3); margin-left: 10px; }
.modal-close { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--glass-brd); color: var(--txt-2); transition:.2s; }
.modal-close:hover { background: rgba(255,87,87,.15); border-color: rgba(255,87,87,.5); color:#ff8080; }
.modal-body { flex: 1; overflow: auto; background: #04070e; }
.modal-body video { width: 100%; display: block; background: #000; }
.modal-body iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 560px; }

/* Toast */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translate(-50%, 90px); z-index: 300;
  background: rgba(10, 19, 34, .95); border: 1px solid var(--glass-brd-hot);
  color: var(--txt); padding: 13px 22px; border-radius: 100px; font-size: 14px;
  display: flex; align-items: center; gap: 10px; backdrop-filter: blur(14px);
  transition: transform .35s cubic-bezier(.22,1,.36,1); box-shadow: var(--shadow);
}
.toast.show { transform: translate(-50%, 0); }
.toast .t-ico { color: var(--teal); }

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

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 420px; max-width: 480px; margin: 0 auto; width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-box { grid-template-columns: repeat(2, 1fr); }
  .download-box { grid-template-columns: 1fr; padding: 50px 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pipe-flow { grid-template-columns: 1fr; gap: 14px; }
  .pipe-arrow { transform: rotate(90deg); }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: flex; }
  .section { padding: 80px 0; }
  .wrap { width: calc(100% - 36px); }
  .bento { grid-template-columns: 1fr; }
  .b-card.b-wide { grid-column: span 1; }
  .works-grid { grid-template-columns: 1fr; }
  .stats-box { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .download-box { padding: 40px 24px; }
  .hero-meta { gap: 22px; }
  .terminal { width: 250px; left: 0; }
  .ring.r1 { width: 320px; height: 320px; }
  .ring.r2 { width: 360px; height: 360px; }
  .hero-core svg { width: 240px; height: 240px; }
  .modal { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}