/* =========================================================
   越昇和桂昇爸爸的小站 — 医学科技蓝主题
   纯个人学习网站 · 非商业
   ========================================================= */

:root {
  /* 医学科技蓝主色 */
  --blue-50:  #eef5ff;
  --blue-100: #d9e9ff;
  --blue-200: #b3d3fb;
  --blue-300: #7fb2f0;
  --blue-400: #4f90e8;
  --blue-500: #2e78de;
  --blue-600: #1f62c4;
  --blue-700: #184f9f;
  --blue-800: #143f80;
  --blue-900: #0e2f60;
  --ink:      #10233f;
  --ink-soft: #3d5473;
  --ink-faint:#6b81a0;
  --teal:     #12a8a0;
  --bg:       #f5f9ff;
  --card:     #ffffff;
  --line:     rgba(22, 74, 141, .12);
  --shadow-sm: 0 2px 10px rgba(20, 63, 128, .06);
  --shadow-md: 0 14px 34px rgba(20, 63, 128, .12);
  --shadow-lg: 0 26px 60px -18px rgba(14, 47, 96, .30);
  --radius: 18px;
  --radius-lg: 26px;
  --grad-main: linear-gradient(135deg, #3f8df0 0%, #1a5fc4 100%);
  --grad-soft: linear-gradient(135deg, #eaf2ff 0%, #f7fbff 100%);
  --maxw: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  --mono: "SF Mono", "Cascadia Code", Consolas, "Courier New", monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

::selection { background: rgba(47, 120, 222, .20); }

img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
code {
  font-family: var(--mono);
  background: rgba(20, 63, 128, .08);
  padding: .1em .42em;
  border-radius: 6px;
  font-size: .92em;
  color: var(--blue-700);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* 顶部阅读进度 */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad-main); z-index: 120;
  transition: width .1s linear;
}

/* ---------- 背景装饰 ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.orb-a { width: 560px; height: 560px; background: radial-gradient(circle at 30% 30%, #cfe2ff, transparent 70%); top: -180px; right: -140px; }
.orb-b { width: 520px; height: 520px; background: radial-gradient(circle at 60% 40%, #d5f2f0, transparent 70%); bottom: -200px; left: -160px; }
.grid-mask {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(30, 90, 170, .035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(30, 90, 170, .035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- 通用 ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, #eef5ff 0%, #f7fbff 100%); }

.sec-head { margin-bottom: 48px; }
.sec-no {
  display: inline-block; font-size: 13px; letter-spacing: .16em; font-weight: 700;
  color: var(--blue-400); background: rgba(47, 120, 222, .10);
  border: 1px solid rgba(47, 120, 222, .18);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}
.sec-head h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.3; letter-spacing: -.01em; }
.sec-sub { color: var(--ink-soft); margin-top: 10px; font-size: 16px; }

/* ---------- 胶囊徽标 ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  padding: 7px 15px; border-radius: 999px; backdrop-filter: blur(8px);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47, 191, 113, .18); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.8); opacity: .7; } }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .3s, background .3s;
  background: rgba(245, 249, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header.scrolled { box-shadow: 0 8px 30px -12px rgba(14, 47, 96, .18); background: rgba(247, 251, 255, .92); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-text strong { font-size: 16px; white-space: nowrap; }
.brand-text small { font-size: 11px; color: var(--ink-faint); letter-spacing: .06em; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  position: relative; padding: 8px 14px; border-radius: 10px;
  color: var(--ink-soft); font-size: 15px; font-weight: 500; transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--blue-600); background: rgba(47, 120, 222, .08); }
.site-nav a.nav-cta {
  color: #fff; background: var(--grad-main); box-shadow: 0 8px 18px -8px rgba(31, 98, 196, .6);
  margin-left: 8px;
}
.site-nav a.nav-cta:hover { background: linear-gradient(135deg, #4b97f3, #1a5fc4); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 70px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-copy > * { margin-bottom: 22px; }
.hero-copy .pill { margin-bottom: 22px; }
.hero h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.24; letter-spacing: -.015em; font-weight: 800; }
.grad-text {
  background: linear-gradient(120deg, #1a5fc4 10%, #2fa9d8 55%, #12a8a0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 17px; color: var(--ink-soft); max-width: 34em; }
.lead strong { color: var(--ink); font-weight: 700; }
.lead em { font-style: normal; color: var(--blue-700); font-weight: 600; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 13px; font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s; border: none;
}
.btn-primary { color: #fff; background: var(--grad-main); box-shadow: 0 14px 26px -10px rgba(31, 98, 196, .65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(31, 98, 196, .7); }
.btn-ghost {
  color: var(--blue-700); background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(31, 98, 196, .25);
}
.btn-ghost:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--shadow-md); }
.btn-light { color: var(--blue-800); background: #fff; box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-2px); }

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-faint); font-size: 14px; }
.hero-meta svg { color: var(--teal); }

/* Hero 右侧视觉 */
.hero-visual { position: relative; min-height: 420px; }
.glass-card {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
}
.main-card {
  position: absolute; top: 8px; right: 8px; left: 8px;
  padding: 22px; transform: rotate(1.2deg);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: rotate(1.2deg) translateY(0); } 50% { transform: rotate(1.2deg) translateY(-10px); } }

.gcard-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.gcard-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; background: var(--grad-main); box-shadow: 0 8px 18px -8px rgba(31, 98, 196, .7);
}
.gcard-title { font-weight: 700; font-size: 16px; }
.badge-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--teal);
  background: rgba(18, 168, 160, .1); padding: 4px 10px; border-radius: 999px;
}
.badge-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); animation: pulse 1.6s infinite; }

.chat-sim { display: flex; flex-direction: column; gap: 12px; }
.msg {
  max-width: 88%; padding: 12px 15px; border-radius: 14px; font-size: 13.5px; line-height: 1.7;
}
.msg-a { align-self: flex-start; background: #eef3fb; color: var(--ink); border-bottom-left-radius: 4px; }
.msg-b { align-self: flex-end; background: var(--grad-main); color: #fff; border-bottom-right-radius: 4px; box-shadow: 0 10px 22px -10px rgba(31, 98, 196, .6); }
.typing { display: flex; gap: 5px; padding: 14px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .7); animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 11px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-md); border-radius: 16px; padding: 13px 17px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.float-chip .chip-icon {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none;
  color: var(--blue-600); background: var(--blue-50);
}
.float-chip b { display: block; font-size: 14px; line-height: 1.3; }
.float-chip small { color: var(--ink-faint); font-size: 12px; }
.chip-q { top: 46px; left: -34px; animation: floaty 6.5s .6s ease-in-out infinite; }
.chip-badge { bottom: 66px; right: -24px; animation: floaty 7.5s .2s ease-in-out infinite; }

.scroll-hint { display: flex; justify-content: center; margin-top: 60px; }
.scroll-hint span {
  width: 24px; height: 40px; border: 2px solid rgba(20, 63, 128, .25);
  border-radius: 14px; position: relative;
}
.scroll-hint span::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 3px; background: var(--blue-500); animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 个人声明条 ---------- */
.pledge { padding: 8px 0 0; }
.pledge-box {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(120deg, rgba(31, 98, 196, .07), rgba(18, 168, 160, .08));
  border: 1px solid rgba(31, 98, 196, .18);
  border-radius: var(--radius);
  padding: 18px 24px;
}
.pledge-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; background: var(--grad-main);
}
.pledge-box p { color: var(--ink-soft); font-size: 14.5px; }
.pledge-box em { font-style: normal; font-weight: 700; color: var(--blue-700); }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.about-card, .mini-card, .project-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-main { padding: 40px; }
.about-main h3 { font-size: 22px; margin-bottom: 18px; line-height: 1.45; }
.about-main p { color: var(--ink-soft); margin-bottom: 14px; }
.about-main p strong { color: var(--ink); }
.about-main p em { font-style: normal; color: var(--blue-700); font-weight: 600; }
.about-sign { list-style: none; margin-top: 22px; border-top: 1px dashed var(--line); padding-top: 18px; display: grid; gap: 10px; }
.about-sign li { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; color: var(--ink-soft); }
.about-sign li span {
  flex: none; width: 44px; font-size: 12px; text-align: center; color: #fff;
  background: var(--grad-main); border-radius: 6px; padding: 2px 0; letter-spacing: .02em;
}

.about-side { display: grid; gap: 24px; }
.mini-card { padding: 28px; }
.mini-card h4 { font-size: 17px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.mini-card.accent { background: linear-gradient(180deg, #10233f, #14365f); border-color: rgba(255,255,255,.06); color: #eef5ff; }
.mini-card.accent h4 { color: #fff; }
.mini-card ul { list-style: none; display: grid; gap: 11px; }
.tick-list li, .cross-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.mini-card.accent .cross-list li { color: #bcd2ef; }
.tick-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4L19 7"/></svg>') center/11px no-repeat #2fbf71; }
.cross-list li::before { content: "×"; flex: none; width: 18px; height: 18px; margin-top: 4px; line-height: 18px; text-align: center; border-radius: 50%; background: rgba(255, 99, 99, .15); color: #ff8080; font-weight: 700; font-size: 13px; }

/* ---------- 项目 ---------- */
.project-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.project-card {
  position: relative; overflow: hidden; padding: 36px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-main); opacity: .9;
}
.project-quiz::before { background: linear-gradient(90deg, #12a8a0, #1f62c4); }
.p-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.p-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.p-status {
  font-size: 12px; font-weight: 700; letter-spacing: .05em;
  color: #0d7d54; background: rgba(47, 191, 113, .14);
  padding: 5px 12px; border-radius: 999px;
}
.p-status-plan { color: var(--blue-700); background: rgba(47, 120, 222, .12); }
.p-domain {
  font-size: 12px; color: var(--ink-faint); font-family: var(--mono);
  background: rgba(20, 63, 128, .06); padding: 5px 10px; border-radius: 8px;
}
.p-num {
  font-size: 46px; font-weight: 800; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.6px rgba(31, 98, 196, .28);
}
.project-card h3 { font-size: 24px; margin-bottom: 10px; }
.p-desc { color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; }
.p-desc strong { color: var(--ink); }
.feat-list { list-style: none; display: grid; gap: 13px; margin-bottom: 24px; }
.feat-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.feat-list svg { flex: none; margin-top: 4px; color: var(--teal); }
.project-ai .feat-list svg { color: var(--blue-500); }

.p-foot { margin-top: auto; }
.progress-line { height: 8px; border-radius: 6px; background: rgba(20, 63, 128, .09); overflow: hidden; margin-bottom: 9px; }
.progress-line i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--grad-main); }
.p-progress-note { font-size: 12.5px; color: var(--ink-faint); }
.p-entry { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }
.p-entry-note { font-size: 12px; color: var(--ink-faint); }

.project-note {
  margin-top: 34px; text-align: center; color: var(--ink-soft); font-size: 14.5px;
  background: rgba(255, 255, 255, .7); border: 1px dashed rgba(31, 98, 196, .3);
  border-radius: var(--radius); padding: 18px 26px;
}
.project-note strong { color: var(--ink); }

/* ---------- 备案说明 ---------- */
.notice-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: stretch; }
.notice-main, .notice-aside { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.notice-main { padding: 40px; }
.notice-main h3 { font-size: 21px; margin-bottom: 18px; line-height: 1.5; }
.notice-main p { color: var(--ink-soft); margin-bottom: 14px; }
.notice-main em { font-style: normal; font-weight: 700; color: var(--blue-700); }
.notice-aside { padding: 30px; background: linear-gradient(170deg, #fff, #f0f7ff); display: flex; flex-direction: column; gap: 14px; }
.notice-aside ul { list-style: none; display: grid; gap: 14px; }
.notice-aside li { display: flex; gap: 11px; align-items: center; font-size: 15px; color: var(--ink-soft); }
.notice-aside svg { color: var(--blue-500); }
.notice-aside li strong { color: var(--ink); }
.notice-tip {
  margin-top: auto; font-size: 13px; color: var(--ink-faint);
  background: rgba(31, 98, 196, .07); border-radius: 12px; padding: 14px 16px; line-height: 1.7;
}

/* 备案信息表（合规披露用） */
.notice-facts { display: grid; gap: 0; }
.notice-facts > div {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.notice-facts > div:last-child { border-bottom: 0; }
.notice-facts dt { color: var(--ink-faint); font-size: 13px; letter-spacing: .02em; }
.notice-facts dd { color: var(--ink); font-weight: 600; font-size: 15px; }

.notice-aside h4 {
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--blue-700); text-transform: none; margin-bottom: 12px;
}
.notice-no-list { list-style: none; display: grid; gap: 10px; }
.notice-no-list li {
  position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-soft); line-height: 1.7;
}
.notice-no-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 2px;
  background: rgba(31, 98, 196, .35); border-radius: 1px;
}

@media (max-width: 480px) {
  .notice-facts > div { grid-template-columns: 86px 1fr; gap: 10px; }
  .notice-facts dt { font-size: 12.5px; }
  .notice-facts dd { font-size: 14.5px; }
}

/* ---------- CTA ---------- */
.cta-section { padding-bottom: 110px; }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, #10233f 0%, #1a4a94 55%, #1759b8 100%);
  border-radius: 30px; padding: 72px 32px; color: #eaf2ff;
  box-shadow: 0 40px 80px -30px rgba(14, 47, 96, .55);
}
.cta-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 141, 240, .5), transparent 65%);
  top: -160px; left: 50%; transform: translateX(-50%); filter: blur(20px);
}
.cta-card .pill { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #dcebff; }
.cta-card h2 { position: relative; font-size: clamp(26px, 4vw, 40px); margin: 22px 0 12px; line-height: 1.3; }
.cta-card .grad-text { background: linear-gradient(120deg, #9ecbff, #7de3d4); -webkit-background-clip: text; background-clip: text; }
.cta-card p { position: relative; color: #b7cff0; max-width: 30em; margin: 0 auto 28px; }
.cta-actions { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-hint { font-size: 12.5px; color: #8aa9d6; }

/* 联系信息（CTA 内部） */
.cta-body { position: relative; display: flex; gap: 36px; justify-content: center; align-items: center; flex-wrap: wrap; text-align: left; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1 1 320px; max-width: 420px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px; padding: 14px 18px;
  color: #eaf2ff; text-decoration: none;
  transition: background .25s, transform .2s, border-color .25s;
}
a.contact-item:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .32); transform: translateY(-2px); }
.contact-ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #3f8df0, #1a5fc4);
  box-shadow: 0 8px 18px -8px rgba(63, 141, 240, .6);
}
.contact-ic.wechat-ic {
  background: linear-gradient(135deg, #2ee59d, #07c160);
  box-shadow: 0 8px 18px -8px rgba(46, 229, 157, .55);
}
.contact-text { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; flex: 1; }
.contact-text small { font-size: 11.5px; color: #8aa9d6; letter-spacing: .02em; }
.contact-text b { font-size: 16px; font-weight: 700; color: #fff; word-break: break-all; }
.contact-arrow { flex: none; color: #8aa9d6; transition: color .2s, transform .2s; }
a.contact-item:hover .contact-arrow { color: #fff; transform: translate(2px, -2px); }

/* 极小二维码触发器 + 弹窗 */
.qr-trigger {
  flex: none; width: 40px; height: 40px; padding: 0; border: none; cursor: zoom-in;
  background: #fff; border-radius: 9px; overflow: hidden;
  opacity: .45; box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  transition: opacity .25s, transform .2s, box-shadow .25s;
}
.qr-trigger:hover { opacity: 1; transform: scale(1.08); box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.qr-trigger img { width: 100%; height: 100%; object-fit: cover; display: block; }

.qr-modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(8, 20, 38, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.qr-modal.open { display: flex; }
.qr-modal-card {
  position: relative; background: #fff; border-radius: 20px; padding: 26px 24px 22px;
  text-align: center; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
  max-width: 330px; width: 100%; animation: pop .25s ease;
}
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qr-modal-frame {
  background: #fff; padding: 10px; border: 1px solid #e6eefb;
  border-radius: 14px; display: inline-block;
}
.qr-modal-frame img { width: 210px; height: 210px; object-fit: contain; border-radius: 6px; display: block; }
.qr-modal-card p { margin: 14px 0 4px; font-weight: 700; color: #10233f; font-size: 15px; }
.qr-modal-card small { color: #6b81a0; font-size: 12.5px; }
.qr-modal-close {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px;
  border: none; border-radius: 50%; background: #eef3fb; color: #3d5473;
  font-size: 18px; line-height: 1; display: grid; place-items: center; transition: background .2s;
}
.qr-modal-close:hover { background: #dbe9fb; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0b1c33; color: #b7cbe8; padding: 56px 0 30px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.f-slogan { color: #cfe0f6; font-size: 14px; max-width: 24em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: #9db7da; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-legal { padding-top: 26px; text-align: center; }
.legal-line { font-size: 13px; color: #7f9ac2; margin-bottom: 10px; }
.legal-line strong { color: #bcd2ef; font-weight: 600; }
.legal-icp { font-size: 13px; color: #7f9ac2; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; }
.legal-icp a { color: #9db7da; transition: color .2s; }
.legal-icp a:hover { color: #fff; }
.legal-tiny { margin-top: 12px; font-size: 12px; color: #5e7ba6; }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 14px; border: none;
  color: #fff; background: var(--grad-main);
  box-shadow: 0 14px 26px -8px rgba(31, 98, 196, .6);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity .3s, transform .3s;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); }

/* ---------- 滚动浮现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 380px; max-width: 560px; margin: 0 auto; width: 100%; }
  .chip-q { left: -6px; }
  .chip-badge { right: -6px; }
  .about-grid { grid-template-columns: 1fr; }
  .project-feature { grid-template-columns: 1fr; }
  .notice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 70px 0; }
  .nav-wrap { height: 64px; }
  .brand-text small { display: none; }

  .site-nav {
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(247, 251, 255, .98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 20px 22px;
    box-shadow: 0 24px 40px -18px rgba(14, 47, 96, .25);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .28s ease;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 12px 16px; font-size: 16px; }
  .site-nav a.nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }

  .nav-toggle { display: flex; }

  .hero { padding: 52px 0 56px; }
  .hero-cta .btn { flex: 1; }
  .float-chip { padding: 10px 13px; }
  .chip-q { top: 12px; }
  .chip-badge { bottom: 12px; }
  .about-main, .notice-main { padding: 28px 22px; }
  .project-card { padding: 28px 22px; }
  .cta-card { padding: 56px 22px; border-radius: 22px; }
  .cta-body { flex-direction: column; gap: 24px; }
  .contact-list { max-width: 100%; width: 100%; }
  .qr-modal-card { max-width: 300px; padding: 22px 16px 18px; }
  .qr-modal-frame img { width: 180px; height: 180px; }
  .footer-grid { flex-direction: column; }
  .back-top { right: 16px; bottom: 16px; }
}
