/* ============================================================
   LinkWork 官网落地页 · 飞书风格视觉
   设计令牌：飞书蓝 #3370FF，中性灰，圆角，轻阴影
   ============================================================ */

:root {
  --blue: #3370FF;
  --blue-dark: #245BDB;
  --blue-light: #E8F0FF;
  --ink: #1F2329;
  --ink-2: #51565D;
  --ink-3: #8F959E;
  --line: #E5E6EB;
  --bg: #FFFFFF;
  --bg-alt: #F7F8FA;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(31, 35, 41, 0.06);
  --shadow: 0 8px 30px rgba(31, 35, 41, 0.10);
  --shadow-lg: 0 24px 60px rgba(51, 112, 255, 0.18);
  --container: 1920px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 48px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(51,112,255,.30); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--blue); }

.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }

.nav-wrap { display: flex; align-items: center; height: 68px; gap: 18px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { display: inline-flex; }
.brand-logo img { display: block; border-radius: 22%; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: .3px; }
.brand-slogan { font-size: 12px; color: var(--ink-3); margin-left: 4px; padding-left: 10px; border-left: 1px solid var(--line); white-space: nowrap; }

.main-nav ul { display: flex; gap: 20px; flex-wrap: nowrap; }
.main-nav a { font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color .2s; white-space: nowrap; }
.main-nav a:hover { color: var(--blue); }
.main-nav a.is-current { color: var(--blue); font-weight: 700; }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(51,112,255,.14), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(51,112,255,.10), transparent 55%),
    linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 70%);
  z-index: -1;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: 48px; line-height: 1.18; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .hl { color: var(--blue); }
.lead { font-size: 18px; color: var(--ink-2); margin: 22px 0 30px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 34px; font-size: 14px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.hero-trust strong { color: var(--ink); font-size: 18px; }

/* Hero mockup */
.hero-mockup { perspective: 1600px; }
.mock-window {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden;
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform .5s ease;
}
.hero-mockup:hover .mock-window { transform: rotateY(0) rotateX(0); }
.mock-titlebar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #FAFBFC; border-bottom: 1px solid var(--line); }
.mock-titlebar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #FF5F57; } .dot.yellow { background: #FEBC2E; } .dot.green { background: #28C840; }
.mock-title { margin-left: 8px; font-size: 13px; color: var(--ink-3); }
.mock-body { display: grid; grid-template-columns: 56px 180px 1fr; height: 320px; }
.mock-rail { background: #F4F6F9; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 16px; }
.mock-avatar { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg,var(--blue),#6FA0FF); }
.mock-icon { width: 28px; height: 28px; border-radius: 8px; background: #E3E7ED; }
.mock-icon.active { background: var(--blue); }
.mock-list { border-right: 1px solid var(--line); padding: 14px 12px; display: flex; flex-direction: column; gap: 14px; background: #FCFCFD; }
.mock-chat { display: flex; gap: 10px; align-items: center; }
.mock-ava { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.mock-ava.a1 { background: #FFB74D; } .mock-ava.a2 { background: #4DB6AC; } .mock-ava.a3 { background: #9575CD; }
.mock-line { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mock-line span { height: 8px; border-radius: 4px; background: #E6E9EF; display: block; }
.mock-line span.sub { background: #F0F2F5; height: 6px; }
.w70 { width: 70%; } .w60 { width: 60%; } .w80 { width: 80%; } .w40 { width: 40%; } .w50 { width: 50%; } .w30 { width: 30%; } .w90 { width: 90%; }
.mock-main { padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.mock-msg { display: flex; flex-direction: column; gap: 6px; }
.mock-msg span { height: 9px; border-radius: 5px; background: #EDEFF3; }
.mock-msg.me { align-items: flex-end; }
.mock-msg.me span { background: var(--blue-light); }
.mock-bubble { align-self: flex-start; background: var(--blue); color: #fff; font-size: 13px; padding: 10px 14px; border-radius: 4px 14px 14px 14px; }

/* ---------- Logos ---------- */
.logos { padding: 40px 0; border-bottom: 1px solid var(--line); }
.logos-title { text-align: center; color: var(--ink-3); font-size: 13px; letter-spacing: 1px; margin-bottom: 22px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px; }
.logo-row span { font-size: 18px; font-weight: 700; color: #B4BAC2; letter-spacing: .5px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -.5px; margin: 8px 0 12px; }
.section-head p { color: var(--ink-2); font-size: 17px; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.fc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--blue-light); margin-bottom: 18px; }
.feature-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-2); font-size: 15px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-copy h2 { font-size: 32px; font-weight: 800; margin: 8px 0 16px; }
.split-copy p { color: var(--ink-2); font-size: 16px; margin-bottom: 22px; }
.check-list { margin-bottom: 28px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); font-size: 15px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 12px; display: grid; place-items: center; font-weight: 700;
}
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; font-size: 30px; box-shadow: var(--shadow-sm);
}
.tile span { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.tile.t1 { background: linear-gradient(135deg,#E8F0FF,#fff); }
.tile.t4 { background: linear-gradient(135deg,#EAFBF0,#fff); }
.tile.t6 { background: linear-gradient(135deg,#FFF4E6,#fff); }

/* Solutions */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sol-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .25s, box-shadow .25s; }
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sol-card h3 { font-size: 19px; margin-bottom: 10px; }
.sol-card p { color: var(--ink-2); font-size: 14px; margin-bottom: 16px; min-height: 66px; }
.sol-card a { color: var(--blue); font-weight: 600; font-size: 14px; }

/* Stats */
.stats { background: linear-gradient(120deg, var(--blue), #5B8CFF); color: #fff; padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: 40px; font-weight: 800; }
.stat span { font-size: 15px; opacity: .9; }

/* Cases */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.case-card p { font-size: 16px; color: var(--ink); margin-bottom: 20px; line-height: 1.7; }
.case-card footer strong { display: block; font-size: 15px; }
.case-card footer span { font-size: 13px; color: var(--ink-3); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.price-card h3 { font-size: 20px; margin-bottom: 14px; }
.price { font-size: 44px; font-weight: 800; color: var(--ink); margin-bottom: 22px; }
.price .cur { font-size: 22px; vertical-align: super; margin-right: 2px; }
.price .per { font-size: 14px; color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.price-card ul { margin-bottom: 26px; flex: 1; }
.price-card li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: 15px; color: var(--ink-2); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* FAQ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; transition: border-color .2s; }
.faq-item[open] { border-color: var(--blue); }
.faq-item summary { cursor: pointer; font-size: 17px; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--blue); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-2); font-size: 15px; padding: 0 0 18px; }

/* CTA */
.cta { background: linear-gradient(120deg,#1F2329,#2E3742); color: #fff; padding: 80px 0; text-align: center; }
.cta-inner h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.cta-inner p { font-size: 17px; opacity: .85; margin-bottom: 30px; }
.cta .hero-cta { justify-content: center; }

/* Footer */
.site-footer { background: #0F1419; color: #C5CBD3; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand-row { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-row img { display: block; border-radius: 22%; }
.footer-brand .brand-name { color: #fff; font-size: 22px; font-weight: 800; }
.footer-brand p { margin-top: 12px; font-size: 14px; line-height: 1.7; color: #8F959E; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: #9AA1AB; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #232A33; font-size: 13px; color: #6B7280; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1240px) {
  .brand-slogan { display: none; }
  .main-nav ul { gap: 14px; }
  .main-nav a { font-size: 14px; }
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-dl { display: none; }
  .menu-toggle { display: flex; }
  .mega { display: none; }
  .site-header.nav-open .main-nav {
    display: block; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px;
    box-shadow: var(--shadow); z-index: 60;
  }
  .site-header.nav-open .main-nav ul { flex-direction: column; gap: 6px; }
  .site-header.nav-open .main-nav li { height: auto; display: block; }
  .site-header.nav-open .main-nav a { display: block; padding: 8px 0; }
  .drop-menu { display: none; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mockup { display: none; }
  .hero h1 { font-size: 38px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .case-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 27px; }
  .hero h1 { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- 帮助中心入口卡片 ---------- */
.help-entry {
  display: flex; align-items: center; gap: 22px;
  max-width: 1400px; margin: 0 auto;
  background: linear-gradient(120deg, var(--blue-light), #FFFFFF);
  border: 1px solid #D6E4FF;
  border-radius: 20px;
  padding: 28px 32px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.help-entry:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.he-icon {
  flex: none; width: 60px; height: 60px; border-radius: 16px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(51,112,255,.30);
}
.he-copy { flex: 1; min-width: 0; }
.he-copy h3 { font-size: 21px; margin-bottom: 6px; }
.he-copy p { font-size: 15px; color: var(--ink-2); }
.he-arrow {
  flex: none; font-size: 16px; font-weight: 700; color: var(--blue);
  white-space: nowrap;
  transition: transform .2s;
}
.help-entry:hover .he-arrow { transform: translateX(4px); }

@media (max-width: 720px) {
  .help-entry { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .he-arrow { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   飞书式首页改造：公告条 / 下拉导航 / 大轮播 / 产品卡片 / 标签页
   ============================================================ */

/* ---------- 顶部公告轮播条 ---------- */
.top-banner { background: linear-gradient(90deg, #0B1B3A, #16307A 55%, #0B1B3A); color: #fff; }
.tb-inner {
  max-width: var(--container); margin: 0 auto; padding: 10px clamp(20px, 3vw, 48px);
  display: flex; align-items: center; gap: 14px; min-height: 44px;
}
.tb-ico { display: flex; flex: none; }
.tb-chip { width: 18px; height: 18px; border-radius: 5px; display: inline-block; }
.tb-chip.c1 { background: linear-gradient(135deg, #5B8CFF, #8FB4FF); z-index: 1; }
.tb-chip.c2 { background: linear-gradient(135deg, #22C3A6, #7FE3D0); margin-left: -6px; }
.tb-track { position: relative; flex: 1; min-width: 0; height: 22px; overflow: hidden; }
.tb-msg {
  position: absolute; inset: 0;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
}
.tb-msg.active { opacity: 1; transform: none; }
.tb-btn {
  flex: none; font-size: 12px; font-weight: 600; color: #fff;
  border: 1px solid rgba(255,255,255,.45); border-radius: 999px;
  padding: 4px 12px; transition: background .2s;
  white-space: nowrap;
}
.tb-btn:hover { background: rgba(255,255,255,.14); }
.tb-close {
  flex: none; background: none; border: none; color: rgba(255,255,255,.75);
  font-size: 18px; line-height: 1; width: 28px; height: 28px; border-radius: 6px;
}
.tb-close:hover { background: rgba(255,255,255,.12); color: #fff; }
.site-header { top: 0; }

/* ---------- 导航下拉菜单 ---------- */
.main-nav ul li { position: relative; display: flex; align-items: center; height: 68px; }
.main-nav ul li.has-mega { position: static; }
.main-nav .caret { font-size: 10px; color: var(--ink-3); margin-left: 2px; transition: transform .2s; display: inline-block; }
.has-drop:hover .caret, .has-mega:hover .caret { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 4px); left: 50%; transform: translate(-50%, -6px);
  min-width: 168px;
  background: #fff; border: 1px solid var(--line-light); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(31,35,41,.12);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transition: all .18s ease;
}
.has-drop:hover .drop-menu,
.has-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: 14px; color: var(--ink-2); white-space: nowrap;
}
.drop-menu a:hover { background: var(--blue-light); color: var(--blue); }

/* ---------- 飞书式 Mega 大面板 ---------- */
.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line-light);
  box-shadow: 0 28px 56px rgba(31,35,41,.14);
  border-radius: 0 0 16px 16px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 90;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }

.mega-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 230px minmax(0, 1fr) 240px;
  gap: 28px; padding: 26px clamp(20px, 3vw, 48px) 16px;
}

/* 左侧特色卡片 */
.mega-cards { display: flex; flex-direction: column; gap: 12px; }
.mg-card { border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; transition: transform .2s, box-shadow .2s; }
.mg-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.mg-card strong { font-size: 15px; }
.mg-card span { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.g-blue { background: linear-gradient(135deg, #E8F0FF, #F6F9FF); }
.g-teal { background: linear-gradient(135deg, #E5F7F2, #F3FCFA); }
.g-purple { background: linear-gradient(135deg, #F0EBFF, #F9F6FF); }
.g-gray { background: #F5F6F7; }

/* 中间分组链接 */
.mega-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; align-content: start; }
.mg-label { font-size: 12px; color: var(--ink-3); margin: 8px 0 4px; }
.mg-links { display: flex; flex-direction: column; }
.mg-link { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; transition: background .15s; }
.mg-link:hover { background: #F2F5FF; }
.mg-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--blue-light); display: grid; place-items: center; font-size: 16px; }
.mg-txt { min-width: 0; }
.mg-txt strong { display: block; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.mg-txt em { display: block; font-style: normal; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 右侧促销卡 */
.mega-promo {
  background: linear-gradient(160deg, #E8F0FF, #F7FAFF);
  border-radius: 14px; padding: 20px 18px;
  display: flex; flex-direction: column; gap: 8px; align-self: start;
}
.mp-visual { font-size: 30px; margin-bottom: 2px; }
.mega-promo strong { font-size: 16px; }
.mega-promo p { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.mega-promo a { font-size: 13px; color: var(--blue); font-weight: 600; margin-top: 4px; }
.mega-promo a:hover { text-decoration: underline; }

/* 底部附加链接 */
.mega-foot {
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 48px) 14px;
  display: flex; justify-content: flex-end; gap: 22px;
}
.mega-foot a { font-size: 12.5px; color: var(--ink-3); }
.mega-foot a:hover { color: var(--blue); }

/* ---------- 头部按钮 ---------- */
.btn-sm { padding: 8px 18px; font-size: 14px; }
.nav-dl {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  transition: color .2s; white-space: nowrap;
}
.nav-dl:hover { color: var(--blue); }

/* ---------- Hero 大轮播 ---------- */
.hero-carousel { position: relative; overflow: hidden; }
.car-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 520px at 80% -20%, rgba(51,112,255,.16), transparent 60%),
    radial-gradient(760px 420px at 5% 115%, rgba(51,112,255,.10), transparent 55%),
    linear-gradient(180deg, #F3F7FF 0%, #FFFFFF 78%);
}
.carousel-viewport { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 3vw, 48px); }

.slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.slide.active { position: relative; opacity: 1; pointer-events: auto; }

.slide-inner {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px;
  align-items: center; padding: 56px 0 64px;
}
.slide-badge { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 15px; }
.slide-badge em { font-style: normal; color: #C9CFD8; }
.sb-logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, #3370FF, #6FA0FF);
  color: #fff; font-weight: 800; font-size: 15px;
  display: grid; place-items: center;
}
.sb-logo.alt { background: linear-gradient(135deg, #0FA98E, #4FD6BB); }
.sb-logo.alt2 { background: linear-gradient(135deg, #7B5BFF, #A78BFF); }
.sb-name { font-weight: 700; }
.sb-brand { font-weight: 800; }

.slide-copy h2 { font-size: 46px; line-height: 1.2; font-weight: 800; letter-spacing: -.5px; margin-bottom: 16px; }
.slide-sub { font-size: 19px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.slide-promo { font-size: 15px; color: var(--ink-2); margin-bottom: 28px; }
.slide-promo strong { color: var(--blue); }
.slide-cta { border-radius: 999px 999px 999px 8px; }

.slide-media { position: relative; }
.slide-media .mock-window {
  transform: rotateY(6deg) rotateX(2deg);
  box-shadow: var(--shadow-lg);
  transition: transform .5s ease;
}
.slide-media:hover .mock-window { transform: rotateY(0) rotateX(0); }

/* 轮播内 mock 内容件 */
.mk-tasks { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.mk-task { display: flex; align-items: center; gap: 10px; }
.mk-task span:last-child { height: 10px; border-radius: 5px; background: #E6E9EF; display: block; }
.mk-ck { width: 16px; height: 16px; border-radius: 5px; border: 2px solid #C9CFD8; flex: none; }
.mk-ck.done { background: var(--blue); border-color: var(--blue); position: relative; }
.mk-ck.done::after { content: "✓"; position: absolute; inset: 0; color: #fff; font-size: 11px; display: grid; place-items: center; }
.mk-chart { display: flex; align-items: flex-end; gap: 10px; height: 96px; margin-top: 6px; padding: 0 6px; border-bottom: 1px solid var(--line-light); }
.mk-chart span { flex: 1; background: linear-gradient(180deg, #6FA0FF, #3370FF); border-radius: 6px 6px 0 0; }

.mk-sheet { padding: 14px 18px 18px; }
.mk-row { display: grid; grid-template-columns: 1.4fr .9fr 1fr; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-light); }
.mk-row.head { font-size: 12px; color: var(--ink-3); font-weight: 600; border-bottom: 1px solid var(--line); }
.mk-row > span:first-child { height: 9px; border-radius: 5px; background: #E6E9EF; display: block; }
.mk-row.head > span:first-child { height: auto; background: none; }
.mk-chip { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 3px 10px; background: #F2F3F5; color: var(--ink-2); justify-self: start; }
.mk-chip.ok { background: #E8F7EE; color: #0FA96E; }
.mk-chip.run { background: var(--blue-light); color: var(--blue); }
.mk-bar { height: 8px; border-radius: 5px; background: #EFF1F4; overflow: hidden; }
.mk-bar i { display: block; height: 100%; background: linear-gradient(90deg, #6FA0FF, #3370FF); border-radius: 5px; }

.mk-video { position: relative; margin: 16px; height: 190px; border-radius: 10px; background: #0B0F14; display: flex; align-items: center; justify-content: center; }
.mk-video .v-play {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
}
.mk-video .v-play::after {
  content: ""; display: block; margin: 15px auto 0 20px;
  border-style: solid; border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}
.mk-cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  font-size: 12px; color: #E8F0FF; background: rgba(51,112,255,.28);
  border: 1px solid rgba(143,180,255,.4); border-radius: 8px;
  padding: 7px 10px; backdrop-filter: blur(4px);
}

.float-card {
  position: absolute; right: -8px; bottom: 26px;
  background: #fff; border: 1px solid var(--line-light);
  border-radius: 12px; box-shadow: var(--shadow);
  font-size: 13px; color: var(--ink-2);
  padding: 10px 16px;
  animation: floatY 3.2s ease-in-out infinite;
}
.float-card strong { color: var(--blue); }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 轮播箭头与横条指示器 */
.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s, color .2s;
  z-index: 5; cursor: pointer;
}
.carousel-viewport:hover .car-arrow { opacity: 1; }
.car-arrow:hover { color: var(--blue); }
.car-arrow.prev { left: 10px; }
.car-arrow.next { right: 10px; }

.car-dots {
  display: flex; justify-content: center; gap: 8px;
  padding: 0 0 26px;
}
.dot-bar {
  width: 18px; height: 4px; border-radius: 3px;
  background: #D4D9E0; border: none; padding: 0;
  transition: width .25s, background .25s;
  cursor: pointer;
}
.dot-bar.active { width: 30px; background: var(--blue); }

/* ---------- 产品入口卡片条 ---------- */
.prod-strip { border-bottom: 1px solid var(--line-light); }
.prod-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.prod-card {
  padding: 22px 18px;
  border-left: 1px solid var(--line-light);
  display: flex; flex-direction: column; gap: 8px;
  transition: background .2s, transform .2s;
}
.prod-card:first-child { border-left: none; }
.prod-card:hover { background: #F7F9FF; transform: translateY(-2px); }
.pc-head { display: flex; align-items: center; gap: 8px; }
.pc-head strong { font-size: 15px; }
.pc-ico { font-size: 20px; }
.pc-tag {
  font-size: 10px; font-weight: 800; color: var(--blue);
  border: 1px solid currentColor; border-radius: 5px;
  padding: 0 4px; line-height: 1.5;
}
.prod-card p { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-cta { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.prod-card:hover .pc-cta, .prod-card:hover p { color: var(--blue); }

/* ---------- 标签页 ---------- */
.tab-pills {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  position: sticky; top: 68px; z-index: 40;
  padding: 12px clamp(20px, 3vw, 48px);
  background: rgba(255,255,255,.6);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(31,35,41,.06);
  box-shadow: 0 6px 18px -16px rgba(31,35,41,.35);
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
/* 真正吸附在顶部时才加明显投影，模拟“动态玻璃” */
.tab-pills.stuck {
  background: rgba(255,255,255,.72);
  border-bottom-color: rgba(31,35,41,.1);
  box-shadow: 0 10px 28px -14px rgba(31,35,41,.45);
}
.tab-panels { min-height: 520px; }
.pill {
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  background: #F2F3F5; border: none; border-radius: 999px;
  padding: 9px 22px;
  transition: background .2s, color .2s;
}
.pill:hover { color: var(--ink); background: #E8EAEE; }
.pill.active { background: #1F2329; color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tp-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .25s, box-shadow .25s;
}
.tp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tp-ico { font-size: 26px; display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--blue-light); margin-bottom: 14px; }
.tp-card h4 { font-size: 18px; margin-bottom: 8px; }
.tp-card p { font-size: 14px; color: var(--ink-2); }

/* ---------- 回到顶部按钮 ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 32px; z-index: 150;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(31,35,41,.14);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, color .2s, border-color .2s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { color: var(--blue); border-color: var(--blue); }

@media (max-width: 720px) {
  .back-top { right: 16px; bottom: 20px; }
}

/* ---------- 响应式（新增组件） ---------- */
@media (max-width: 980px) {
  .slide-inner { grid-template-columns: 1fr; padding: 44px 0 52px; text-align: left; }
  .slide-media { display: none; }
  .slide-copy h2 { font-size: 34px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-card:nth-child(4) { border-left: none; }
  .prod-card:nth-child(n+4) { border-top: 1px solid var(--line-light); }
  .tp-grid { grid-template-columns: 1fr; }
  .tab-pills { top: 60px; padding: 10px 12px; gap: 8px; }
  .pill { padding: 7px 14px; font-size: 13px; }
  .tab-panels { min-height: 0; }
}

/* 锚点跳转时避开吸顶导航 */
section[id] { scroll-margin-top: 84px; }
@media (max-width: 720px) {
  .tb-btn { display: none; }
  .nav-dl { display: none; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-card { border-left: none; }
  .prod-card:nth-child(even) { border-left: 1px solid var(--line-light); }
  .prod-card:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}
