/* 猫侠AI工具箱 · 官网首页样式 */
:root {
  --bg: #070912;
  --bg-2: #0c1020;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eef1fb;
  --muted: #9aa3c0;
  --muted-2: #6f779a;
  --violet: #8b5cff;
  --cyan: #22d3ee;
  --orange: #ff7a3d;
  --grad: linear-gradient(120deg, #8b5cff 0%, #6aa6ff 45%, #22d3ee 100%);
  --grad-hot: linear-gradient(120deg, #ff7a3d, #ff4d7e);
  --radius: 18px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "HarmonyOS Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

/* ---------- 背景光效 ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(120px); opacity: 0.5; pointer-events: none; }
.bg-glow-1 { width: 620px; height: 620px; top: -200px; left: -120px; background: radial-gradient(circle, #6a3cff, transparent 65%); }
.bg-glow-2 { width: 560px; height: 560px; top: 200px; right: -160px; background: radial-gradient(circle, #16b6cf, transparent 65%); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; cursor: pointer;
  border: 1px solid transparent; border-radius: 12px;
  padding: 10px 18px; color: var(--text);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #08111f; box-shadow: 0 12px 30px -10px rgba(99, 102, 241, 0.65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(99, 102, 241, 0.8); }
.btn-ghost { background: transparent; border-color: var(--border); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--border-strong); }
.btn-outline { background: var(--panel); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--panel-2); transform: translateY(-2px); }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 9, 18, 0.55);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.nav.scrolled { background: rgba(7, 9, 18, 0.85); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.brand-mark { display: grid; place-items: center; }
.brand-ai { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; flex: 1; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-actions .btn-ghost.nav-auth-logged-in { color: var(--cyan); border-color: rgba(34, 211, 238, 0.35); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 40px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--cyan); text-transform: uppercase;
  padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel);
  margin-bottom: 18px;
}
.hero-title { font-size: clamp(30px, 4.4vw, 54px); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 38px; flex-wrap: wrap; }
.hero-trust li { display: flex; flex-direction: column; font-size: 13px; color: var(--muted-2); }
.hero-trust b { font-size: 26px; font-weight: 800; color: var(--text); }
.hero-trust span { color: var(--muted); }

/* 应用拟态卡片 */
.hero-visual { position: relative; }
.app-card {
  background: linear-gradient(160deg, rgba(20,24,46,0.95), rgba(12,15,30,0.92));
  border: 1px solid var(--border-strong); border-radius: 22px; box-shadow: var(--shadow);
  overflow: hidden; position: relative; z-index: 2;
}
.app-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.app-top .dot { width: 11px; height: 11px; border-radius: 50%; background: #2b3155; }
.app-top .dot:nth-child(1){ background:#ff5f57; } .app-top .dot:nth-child(2){ background:#febc2e; } .app-top .dot:nth-child(3){ background:#28c840; }
.app-title { margin-left: 10px; font-size: 13px; color: var(--muted); }
.app-body { padding: 20px; }
.pipe { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.pipe-node {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 8px; flex: 1; font-size: 12px; color: var(--muted);
}
.pipe-node .ic { font-size: 18px; }
.pipe-node.hot { border-color: rgba(255,122,61,.5); background: rgba(255,122,61,.12); color: #ffd2bb; }
.pipe-arrow { width: 16px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan)); border-radius: 2px; flex-shrink: 0; }
.app-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 18px 0; }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px; text-align: center; }
.stat-num { display: block; font-size: 24px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 11px; color: var(--muted-2); }
.app-rows { display: grid; gap: 8px; }
.row-line { font-size: 12.5px; color: var(--muted); background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 6px; margin-right: 8px; }
.tag-ok { background: rgba(40,200,100,.15); color: #5ee8a0; }
.tag-ai { background: rgba(139,92,255,.18); color: #b99bff; }
.tag-warn { background: rgba(255,122,61,.16); color: #ffb08a; }

.float-chip {
  position: absolute; z-index: 3; font-size: 13px; font-weight: 700;
  background: rgba(16,20,40,0.9); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 8px 14px; box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite;
}
.chip-1 { top: 8%; left: -28px; }
.chip-2 { bottom: 30%; right: -34px; animation-delay: .8s; }
.chip-3 { bottom: 4%; left: 6%; animation-delay: 1.6s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

/* ---------- 平台条 ---------- */
.strip { padding: 18px 0; border-block: 1px solid var(--border); background: var(--bg-2); }
.strip-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; font-size: 14px; }
.strip-label { color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.strip-item { color: var(--text); font-weight: 600; }
.strip-dot { color: var(--muted-2); }
.strip-sep { width: 1px; height: 18px; background: var(--border); margin: 0 6px; }

/* ---------- 通用区块 ---------- */
.section { padding: 92px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-title { font-size: clamp(26px, 3.4vw, 40px); margin-top: 10px; }
.section-desc { margin-top: 16px; color: var(--muted); font-size: 16px; }

/* 核心能力网格 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.f-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .25s ease, border-color .25s ease, background .25s ease;
  position: relative; overflow: hidden;
}
.f-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s ease;
}
.f-card:hover { transform: translateY(-6px); background: var(--panel-2); }
.f-card:hover::before { opacity: 1; }
.f-ic { font-size: 30px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--border); margin-bottom: 16px; }
.f-card h3 { font-size: 19px; margin-bottom: 10px; }
.f-card p { color: var(--muted); font-size: 14.5px; }

/* 功能矩阵 */
.matrix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.m-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform .25s ease, border-color .25s ease; }
.m-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.m-card header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.m-ic { font-size: 22px; }
.m-card h3 { font-size: 17px; flex: 1; }
.m-badge { font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; }
.m-badge.hot { background: var(--grad-hot); color: #1a0a05; }
.m-badge.new { background: var(--grad); color: #08111f; }
.m-card ul { display: grid; gap: 9px; }
.m-card li { color: var(--muted); font-size: 14px; padding-left: 20px; position: relative; }
.m-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 3px; background: var(--grad); }

/* 自动化工作流 */
.workflow-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-list { display: grid; gap: 12px; margin: 24px 0 30px; }
.check-list li { position: relative; padding-left: 32px; color: var(--text); font-size: 15px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 7px; background: var(--grad); color: #08111f; font-weight: 800; font-size: 13px;
}
.workflow-visual { display: grid; gap: 14px; }
.flow-step {
  display: flex; align-items: center; gap: 16px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px;
  transition: transform .2s ease, border-color .2s ease;
}
.flow-step:hover { transform: translateX(6px); border-color: var(--border-strong); }
.flow-step.hot { background: rgba(255,122,61,.08); border-color: rgba(255,122,61,.4); }
.flow-idx { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: var(--grad); color: #08111f; font-weight: 800; }
.flow-step.hot .flow-idx { background: var(--grad-hot); }
.flow-step b { font-size: 15px; }
.flow-step p { color: var(--muted); font-size: 13px; }

/* 优势数据 */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-item { text-align: center; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 18px; }
.adv-num { display: block; font-size: 38px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.adv-item p { color: var(--muted); font-size: 14px; }

/* 招商 */
.invest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan-hot { border-color: transparent; background: linear-gradient(180deg, rgba(139,92,255,.14), rgba(34,211,238,.06)); box-shadow: var(--shadow); transform: translateY(-8px); }
.plan-hot::before { content:""; position:absolute; inset:0; border-radius:inherit; padding:1px; background:var(--grad); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; }
.plan-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #08111f; font-size: 12px; font-weight: 800; padding: 4px 14px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan-price { font-size: 26px; font-weight: 900; margin: 12px 0 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan ul { display: grid; gap: 11px; margin-bottom: 24px; flex: 1; }
.plan li { color: var(--muted); font-size: 14px; padding-left: 22px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
.invest-cta {
  margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(139,92,255,.16), rgba(34,211,238,.1));
  border: 1px solid var(--border-strong); border-radius: 22px; padding: 32px 36px;
}
.invest-cta h3 { font-size: 22px; }
.invest-cta p { color: var(--muted); margin-top: 6px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; padding-bottom: 36px; }
.footer-brand .brand-text { font-size: 20px; font-weight: 800; }
.footer-brand p { color: var(--muted); margin-top: 12px; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-size: 14px; margin-bottom: 14px; color: var(--text); }
.footer-cols a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 13px; }
.footer-site-link { color: var(--accent); text-decoration: none; }
.footer-site-link:hover { text-decoration: underline; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(4, 6, 14, 0.7); backdrop-filter: blur(6px); animation: fade .25s ease; }
.modal-card {
  position: relative; width: min(440px, 100%); background: linear-gradient(165deg, #11152a, #0b0e1c);
  border: 1px solid var(--border-strong); border-radius: 20px; padding: 32px; box-shadow: var(--shadow);
  animation: pop .28s cubic-bezier(.2,.9,.3,1.2);
}
.modal-x { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.modal-x:hover { color: var(--text); }
.modal-title { font-size: 22px; }
.modal-sub { color: var(--muted); margin-top: 8px; font-size: 14px; }
.form { display: grid; gap: 14px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; background: var(--panel); border: 1px solid var(--border); border-radius: 11px;
  padding: 11px 13px; color: var(--text); transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: var(--panel-2); }
.field textarea { resize: vertical; }
.field select option { background: #11152a; }
.form-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.checkbox { display: flex; align-items: center; gap: 7px; color: var(--muted); cursor: pointer; }
.link { color: var(--cyan); }
.form-foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 4px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--cyan); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.form-error { color: #f87171; font-size: 13px; margin: 0 0 4px; line-height: 1.5; }
.form-error[hidden] { display: none; }
.modal-card-auth { max-width: 420px; }
.modal-card-success { max-width: 440px; text-align: center; }
.modal-sub-success { font-size: 15px; line-height: 1.7; color: var(--text); margin-top: 16px; }
.auth-tabs { display: flex; gap: 8px; margin-top: 18px; padding: 4px; background: var(--panel); border-radius: 12px; border: 1px solid var(--border); }
.auth-tab {
  flex: 1; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600;
  padding: 10px 12px; border-radius: 9px; cursor: pointer; transition: background .2s ease, color .2s ease;
}
.auth-tab.active { background: linear-gradient(120deg, rgba(139,92,255,.35), rgba(34,211,238,.2)); color: var(--text); }
.auth-register-hint { margin: 0; font-size: 13px; color: var(--cyan); line-height: 1.5; }
.auth-success-actions { display: grid; gap: 10px; margin-top: 22px; }
.auth-panel[hidden] { display: none; }

.auth-code-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-code-input {
  flex: 1;
  min-width: 0;
  font: inherit;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 11px 13px;
  color: var(--text);
}
.auth-code-input:focus {
  outline: none;
  border-color: var(--violet);
  background: var(--panel-2);
}
.auth-code-btn {
  flex-shrink: 0;
  padding: 11px 14px;
  font-size: 13px;
}
.auth-code-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.auth-agree {
  margin: 2px 0 4px;
  font-size: 13px;
  color: var(--muted);
}
.form-success {
  color: #5ee8a0;
  font-size: 13px;
  margin: 10px 0 0;
  line-height: 1.5;
}
.form-success[hidden] { display: none; }

/* ---------- 下载区块 ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.download-card {
  padding: 28px 32px;
  background: linear-gradient(145deg, rgba(139,92,255,.12), rgba(34,211,238,.06));
  border: 1px solid var(--border-strong); border-radius: 20px; box-shadow: var(--shadow);
}
.download-card--plugin {
  background: linear-gradient(145deg, rgba(34,211,238,.14), rgba(139,92,255,.08));
}
.download-main { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.download-icon { font-size: 36px; line-height: 1; flex-shrink: 0; }
.download-icon--plugin { font-size: 34px; }
.download-main h3 { margin: 0 0 8px; font-size: 22px; }
.download-meta { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.download-meta strong { color: var(--cyan); }
.download-hint { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.6; }
.download-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.download-notes {
  margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.8;
}
.download-notes li::marker { color: var(--violet); }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: linear-gradient(120deg, #1a1f3a, #11152a); border: 1px solid var(--border-strong);
  color: var(--text); padding: 13px 22px; border-radius: 12px; box-shadow: var(--shadow);
  z-index: 200; opacity: 0; transition: opacity .3s ease, transform .3s ease; font-weight: 600;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast[hidden] { display: none; }

/* ---------- 滚动揭示 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float-chip { animation: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }
  .workflow-inner { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid, .matrix-grid, .invest-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .plan-hot { transform: none; }
  .download-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(8,10,20,.98); border-bottom: 1px solid var(--border);
    padding: 8px 20px; transform: translateY(-120%); transition: transform .3s ease; margin: 0;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-ghost.nav-auth-logged-in { display: inline-flex; }
  .feature-grid, .matrix-grid, .invest-grid, .adv-grid { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .section { padding: 64px 0; }
  .invest-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .footer-bottom { flex-direction: column; }
}
