/* KunPengWorker 官网 — 参考 qwenwork.cn 风格：
   暖白底 + 墨绿近黑深色区块交替，鲜绿 #47c77a 强调色，
   粗黑大标题、纸质高光卡片、细网格纹理，克制弹性动效。无第三方依赖。 */

:root {
  --bg: #faf9f6;            /* 暖白底 */
  --bg-soft: #f5f4f1;       /* 柔和表面 */
  --ink: #18181b;           /* 墨色正文 */
  --ink-2: #2f2d29;         /* 暖墨灰 */
  --muted: #77736c;         /* 次级文字 */
  --subtle: #a19d96;        /* 弱文字 */
  --line: #e6e2da;          /* 分割线 */
  --green: #47c77a;         /* 品牌强调绿 */
  --green-grad: linear-gradient(135deg, #4BE38C 0%, #45DC85 56%, #49E58C 100%);
  --green-tint: rgba(71, 199, 122, 0.12);
  --dark: linear-gradient(180deg, #292c29 0%, #161616 100%);
  --dark-2: linear-gradient(180deg, #252825 0%, #0c0e0c 100%);
  --light-on-dark: rgb(248, 249, 245);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 16px;
  --radius-lg: 22px;
  --font: "Alimama ShuHeiTi", "Alibaba PuHuiTi 3.0", "PingFang SC",
    "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 毛玻璃导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 253, 0.88);
  backdrop-filter: blur(24px) saturate(1.34);
  -webkit-backdrop-filter: blur(24px) saturate(1.34);
  border-bottom: 1px solid rgba(16, 18, 16, 0.07);
  box-shadow: 0 1px 12px rgba(24, 33, 26, 0.04);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 30px; height: 30px; border-radius: 8px; }
.brand-name { font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: 0.2px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 14.5px;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  border-radius: 11px; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease);
}
/* 主按钮：深色渐变 + 顶部高光 + 光泽感（qwenwork 同款拟物光泽） */
.btn-primary {
  background: linear-gradient(180deg, #292c29 0%, #161616 100%);
  color: #fff; padding: 12px 28px; font-size: 15px;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.13),
    0 6px 18px rgba(16, 18, 16, 0.28);
  position: relative;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.16),
    0 10px 26px rgba(16, 18, 16, 0.36);
}
/* 次按钮：白底渐变 + 内描边 */
.btn-ghost {
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f1 100%);
  color: var(--ink); padding: 12px 28px; font-size: 15px;
  border: 1px solid rgba(41, 55, 56, 0.16);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.06);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09); }
.btn-lg { padding: 15px 36px; font-size: 16px; border-radius: 13px; }
.btn-sm { padding: 9px 20px; font-size: 13.5px; border-radius: 9px; }
/* 深色区块内的主按钮反相：鲜绿渐变 + 墨字 */
.dark .btn-primary {
  background: var(--green-grad); color: #10281a;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), 0 8px 22px rgba(71, 199, 122, 0.35);
}
.dark .btn-primary:hover { box-shadow: inset 0 1px rgba(255,255,255,0.45), 0 12px 30px rgba(71, 199, 122, 0.5); }

/* ---------- Hero（暖白 + 细网格纹理 + 绿色光晕） ---------- */
.hero { position: relative; padding: 92px 0 84px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(110, 132, 118, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 132, 118, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 40% at 50% 0%, rgba(71, 199, 122, 0.13), transparent 70%);
}
.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 999px;
  background: var(--green-tint); border: 1px solid rgba(71, 199, 122, 0.3);
  color: #24774d; font-size: 13.5px; font-weight: 600; letter-spacing: 1px;
  margin-bottom: 28px; position: relative;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 64px); font-weight: 800;
  line-height: 1.2; letter-spacing: -0.5px; max-width: 840px; margin: 0 auto;
  position: relative;
}
.grad-text {
  background: var(--green-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding: 0 6px;
}
.hero-sub {
  max-width: 620px; margin: 24px auto 0; color: var(--muted);
  font-size: 17px; line-height: 1.85; position: relative;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; position: relative; }
.hero-note { margin-top: 20px; color: var(--subtle); font-size: 13.5px; position: relative; }

/* ---------- 应用窗口框（截图容器，浅色界面上的实体卡片感） ---------- */
.app-window {
  margin: 64px auto 0; max-width: 960px;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(41, 55, 56, 0.14);
  background: #e9e8e4;
  box-shadow:
    0 22px 60px rgba(24, 33, 26, 0.16),
    inset 0 1px rgba(255, 255, 255, 0.6);
  cursor: zoom-in;
}
.window-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: #1b2130;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.window-title {
  margin-left: 12px; font-size: 12.5px; color: #8b93a7;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.app-window img { display: block; width: 100%; height: auto; }
.app-window figcaption {
  padding: 14px 20px; background: #ffffff; color: var(--muted);
  font-size: 14px; text-align: center;
}

/* ---------- 通用小节 ---------- */
section { padding: 96px 0; }
.section-title {
  font-size: clamp(28px, 3.6vw, 44px); font-weight: 800;
  text-align: center; letter-spacing: -0.3px;
}
.section-sub { text-align: center; color: var(--muted); margin-top: 14px; font-size: 16px; }

/* ---------- 纸质卡片 ---------- */
.paper {
  background: #ffffff;
  border: 1px solid rgba(41, 55, 56, 0.12);
  border-radius: var(--radius);
  box-shadow:
    0 8px 22px rgba(24, 33, 26, 0.055),
    inset 0 1px rgba(255, 255, 255, 0.92);
}

/* ---------- 能力卡片（浅色区） ---------- */
.features { background: var(--bg); }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 52px;
}
.feature-card { padding: 30px 26px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(24, 33, 26, 0.1), inset 0 1px rgba(255, 255, 255, 0.92);
}
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; background: var(--green-tint);
}
.feature-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.feature-card p { color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* ---------- 截图展示区（深色区块，浅深交替） ---------- */
.showcase {
  background: var(--dark);
  color: var(--light-on-dark);
  position: relative;
}
.showcase::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.05), transparent 42%);
}
.showcase .section-sub { color: rgba(248, 249, 245, 0.6); }
.showcase-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 52px; align-items: start; position: relative;
}
.showcase-grid .app-window {
  margin: 0; max-width: none;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.showcase-grid .app-window figcaption { background: #1c1f1c; color: rgba(248, 249, 245, 0.62); }

/* ---------- 办公能力全景（深色区块） ---------- */
.office {
  background: var(--dark);
  color: var(--light-on-dark);
  position: relative;
}
.office::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 18% 8%, rgba(71, 199, 122, 0.1), transparent 45%);
}
.office .container { position: relative; }
.office-kicker {
  display: block; text-align: center; margin-bottom: 14px;
  color: #6fdd9d; font-size: 13px; font-weight: 600; letter-spacing: 2px;
}
.office .section-sub { color: rgba(248, 249, 245, 0.6); }
.office-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 52px;
}
.office-group {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.office-group:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.065); }
.office-group h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 18px;
  color: var(--light-on-dark); display: flex; align-items: center; gap: 8px;
}
.office-group h3::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; flex: none;
  background: var(--green-grad);
  box-shadow: 0 0 10px rgba(71, 199, 122, 0.55);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 249, 245, 0.82); font-size: 13px; line-height: 1.5;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover {
  background: rgba(71, 199, 122, 0.16);
  border-color: rgba(71, 199, 122, 0.45);
  color: #eafff2;
}
.office-note {
  text-align: center; margin-top: 40px;
  color: rgba(248, 249, 245, 0.42); font-size: 13.5px;
}

/* ---------- Hero 贴纸卡（qwenwork 风格：三张各不相同的浮卡） ---------- */
.hero-stage { position: relative; }
.sticker {
  position: absolute; z-index: 2; width: 168px;
  display: flex; flex-direction: column; gap: 3px;
  padding: 18px 18px 20px; background: #ffffff; border-radius: 18px;
  box-shadow: 0 20px 44px rgba(24, 33, 26, 0.16), 0 2px 8px rgba(24, 33, 26, 0.06);
  animation: sticker-float 6s ease-in-out infinite;
}
.sticker small { font-size: 11.5px; color: rgba(41, 55, 56, 0.67); }
.sticker strong { font-size: 15.5px; color: #161616; line-height: 1.4; }
@keyframes sticker-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

/* 卡 1：工作流程——绿色循环图标 + 徽章 */
.sticker-flow { left: -64px; top: 46px; rotate: -6deg; }
.sticker-flow-icon {
  width: 36px; height: 36px; border-radius: 12px; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-tint); color: #24945a;
}
.sticker-pill {
  align-self: flex-start; margin-top: 10px; padding: 3px 12px;
  border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 600;
  background: var(--green-tint); border: 1px solid rgba(71, 199, 122, 0.35);
  color: #24774d;
}

/* 卡 2：数据洞察——迷你柱状图 */
.sticker-chart { left: -52px; bottom: 74px; rotate: 4deg; animation-delay: -2s; }
.sticker-bars {
  display: flex; align-items: flex-end; gap: 6px;
  height: 46px; margin-top: 12px;
}
.sticker-bars i {
  flex: 1; border-radius: 3px 3px 1px 1px; background: #e2ded5;
}
.sticker-bars i:nth-child(1) { height: 44%; }
.sticker-bars i:nth-child(2) { height: 72%; background: linear-gradient(180deg, #52E795, #35c471); }
.sticker-bars i:nth-child(3) { height: 34%; }
.sticker-bars i:nth-child(4) { height: 96%; background: linear-gradient(180deg, #52E795, #35c471); }
.sticker-bars i:nth-child(5) { height: 58%; }

/* 卡 3：文件交付——绿色实体卡 + 白色叠层文件夹 */
.sticker-deliver {
  right: -64px; top: 38%; rotate: 5deg; animation-delay: -4s;
  background: linear-gradient(150deg, #4BE38C 0%, #2bb566 100%);
  box-shadow: 0 22px 46px rgba(43, 181, 102, 0.35), 0 2px 8px rgba(24, 33, 26, 0.08);
}
.sticker-deliver small { color: rgba(255, 255, 255, 0.78); }
.sticker-deliver strong { color: #ffffff; }
.sticker-folder3 { position: relative; display: block; height: 58px; margin-top: 14px; }
.sticker-folder3 i {
  position: absolute; bottom: 0; width: 78%; height: 40px;
  border-radius: 4px 8px 8px 8px; background: rgba(255, 255, 255, 0.92);
}
.sticker-folder3 i:nth-child(1) { left: 0; transform: rotate(-6deg); opacity: 0.55; }
.sticker-folder3 i:nth-child(2) { left: 18%; box-shadow: 0 6px 14px rgba(21, 87, 49, 0.25); }
.sticker-folder3 i:nth-child(2)::before {
  content: ""; position: absolute; top: -6px; left: 0;
  width: 24px; height: 8px; border-radius: 4px 6px 0 0; background: rgba(255, 255, 255, 0.92);
}
.sticker-folder3 i:nth-child(2)::after {
  content: ""; position: absolute; left: 12%; right: 18%; top: 32%; height: 3px;
  border-radius: 2px; background: rgba(53, 196, 113, 0.55);
  box-shadow: 0 8px 0 rgba(53, 196, 113, 0.35);
}

/* ---------- 专家套件区（浅色区，文件夹卡片） ---------- */
.kits { background: var(--bg); }
.kits-kicker {
  display: block; text-align: center; font-size: 13px; letter-spacing: 2px;
  color: #24774d; font-weight: 700; margin-bottom: 14px;
}
.kit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 48px;
}
.kit-card {
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.kit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(24, 33, 26, 0.1), inset 0 1px rgba(255,255,255,0.92);
}
.kit-card-wide { grid-column: span 3; }
.kit-head { display: flex; align-items: center; gap: 12px; }
.kit-head h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); }
.kit-count {
  margin-left: auto; padding: 3px 12px; border-radius: 999px; flex: none;
  background: var(--green-tint); border: 1px solid rgba(71, 199, 122, 0.35);
  color: #24774d; font-size: 12px; font-weight: 600;
}
.folder-icon {
  width: 34px; height: 25px; border-radius: 3px 6px 6px 6px; flex: none;
  background: linear-gradient(135deg, #4BE38C 0%, #35c471 100%);
  box-shadow: 0 3px 8px rgba(71, 199, 122, 0.35);
  position: relative;
}
.folder-icon::before {
  content: ""; position: absolute; top: -6px; left: 0;
  width: 14px; height: 6px; border-radius: 3px 3px 0 0; background: #35c471;
}
.kit-card p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.kits .chips { gap: 8px; }
.kits .chip {
  background: var(--bg-soft); border-color: var(--line); color: var(--ink-2);
}
.kits .chip:hover {
  background: var(--green-tint); border-color: rgba(71, 199, 122, 0.45); color: #1d6a44;
}
.kits-note {
  text-align: center; margin-top: 36px; color: var(--subtle); font-size: 13.5px;
}

/* ---------- 下载区（浅色区） ---------- */
.download { background: var(--bg-soft); }
.version-pill {
  display: inline-block; padding: 3px 16px; border-radius: 999px;
  background: var(--green-tint); border: 1px solid rgba(71, 199, 122, 0.35);
  color: #24774d; font-weight: 600; font-size: 14px;
}
.download-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 48px;
}
.dl-card { padding: 36px 28px; text-align: center; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.dl-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(24, 33, 26, 0.1), inset 0 1px rgba(255,255,255,0.92); }
.dl-os { font-size: 26px; font-weight: 800; color: var(--ink); }
.dl-desc { color: var(--muted); margin: 8px 0 24px; font-size: 14.5px; }
.dl-card .btn { width: 100%; }
.dl-note { margin-top: 16px; color: var(--subtle); font-size: 12.5px; }
.dl-tip { text-align: center; color: var(--subtle); margin-top: 28px; font-size: 13.5px; }

/* ---------- 页脚（深色收尾） ---------- */
.footer { background: var(--dark-2); color: var(--light-on-dark); padding: 48px 0; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 20px;
}
.footer-brand .brand-name { color: var(--light-on-dark); font-size: 18px; }
.footer-brand p { color: rgba(248, 249, 245, 0.55); font-size: 13px; margin-top: 6px; }
.footer-meta p { color: rgba(248, 249, 245, 0.55); font-size: 13px; text-align: right; line-height: 1.9; }
.footer-meta .footer-en { font-size: 12px; color: rgba(248, 249, 245, 0.4); }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(12, 14, 12, 0.88); backdrop-filter: blur(6px);
  cursor: zoom-out; padding: 32px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 96vw; max-height: 92vh; border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .sticker-flow { left: -14px; }
  .sticker-chart { left: -10px; }
  .sticker-deliver { right: -14px; }
}
@media (max-width: 1000px) {
  .kit-grid { grid-template-columns: repeat(2, 1fr); }
  .kit-card-wide { grid-column: span 2; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 56px; }
  section { padding: 64px 0; }
  .app-window { margin-top: 44px; border-radius: 14px; }
  .sticker { display: none; }
  .kit-grid { grid-template-columns: 1fr; }
  .kit-card-wide { grid-column: span 1; }
  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
  .footer-meta p { text-align: center; }
}
