/* ============================================================
   琢卷 ForgeStory · 官方网站
   品牌色：深靛蓝 + 科技青蓝 + 暖金 + 米白
   调性：科技 + AI + 影视文创（科技感 × 文艺感）
   ============================================================ */

:root {
  /* 主色调 - 深藏青（取自品牌视觉规范「示案卷」，带青绿调） */
  --ink-deep:    #0A2233;   /* 最深 - 背景（logo底色） */
  --ink:         #0F3049;   /* 主深色 - 标题 */
  --ink-soft:    #1A4260;   /* 次级深色 */
  --ink-light:   #2A5578;   /* 浅色深色 */

  /* 科技青（取自logo电路板线路色，青绿调） */
  --tech:        #18B2BE;   /* 主科技色 */
  --tech-soft:   #6FE0E8;   /* 浅科技色 */
  --tech-glow:   rgba(24, 178, 190, 0.35);

  /* 曙光金（取自视觉规范「曙光」与logo光束暖黄） */
  --gold:        #D9A45B;   /* 主金色 */
  --gold-soft:   #F2D5A0;   /* 浅金色 */
  --gold-wash:   #F9F1E0;
  --dawn:        #F5E7C6;   /* 曙光米金 - 光束色 */

  /* 叙事白（取自视觉规范「叙事」） */
  --paper:       #F5F2EA;   /* 米白 - 背景 */
  --paper-2:     #EFEAE0;
  --paper-3:     #E8E2D5;

  /* 先锋橙（取自视觉规范「IP孵化」） */
  --pioneer:     #EE9642;
  --pioneer-soft:#F5AC63;

  /* 中性色 */
  --slate:       #3A403C;
  --muted:       #888888;
  --line:        #E7E3D9;
  --line-strong: #DEE0E3;
  --card:        #FFFFFF;

  /* 功能色 */
  --ok:          #2F6F52;
  --warn:        #B07A2A;
  --bad:         #A5433B;

  /* 尺寸 */
  --radius:      14px;
  --radius-sm:   10px;
  --radius-lg:   20px;

  /* 阴影 */
  --shadow-sm:   0 1px 2px rgba(11, 30, 45, .05);
  --shadow:      0 2px 6px rgba(11, 30, 45, .05), 0 18px 40px rgba(11, 30, 45, .07);
  --shadow-lg:   0 10px 40px rgba(11, 30, 45, .12);
  --shadow-glow: 0 0 40px rgba(20, 184, 197, .15);

  /* 字体 */
  --font-body:   "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, sans-serif;
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-mono:   "JetBrains Mono", "Fira Code", Consolas, monospace;
}

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

html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  background: var(--paper);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }

a { color: inherit; text-decoration: none; transition: color .2s; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { max-width: 100%; height: auto; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #D2CCBF; border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::selection { background: var(--tech-soft); color: var(--ink-deep); }

/* ========== Layout ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(245, 242, 234, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 30, 45, .06);
  transition: all .3s;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(11, 30, 45, .06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: transform .3s;
}

.navbar-logo:hover .navbar-logo-mark {
  transform: scale(1.06);
}

.navbar-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* 深色图标在浅色导航上的微光晕 */
  filter: drop-shadow(0 0 6px rgba(24, 178, 190, .25));
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar-logo-text .cn {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.navbar-logo-text .en {
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  padding: 4px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--tech);
  transition: width .3s;
}

.navbar-links a:hover { color: var(--ink); }
.navbar-links a:hover::after { width: 100%; }

.navbar-links a.nav-product {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-product-logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: block;
  flex-shrink: 0;
}

.navbar-cta {
  padding: 10px 20px !important;
  background: var(--ink-deep);
  color: var(--paper) !important;
  border-radius: 8px;
  font-weight: 500 !important;
  transition: all .25s !important;
}

.navbar-cta::after { display: none !important; }
.navbar-cta:hover {
  background: var(--tech);
  color: var(--ink-deep) !important;
}

.navbar-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.navbar-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .3s;
}

.navbar-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}
.navbar-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #060D14 0%, var(--ink-deep) 40%, var(--ink) 75%, var(--ink-soft) 100%);
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 18% 42%, rgba(24, 178, 190, .16), transparent 70%),
    radial-gradient(ellipse 45% 35% at 82% 68%, rgba(217, 164, 91, .10), transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 95%, rgba(24, 178, 190, .07), transparent 70%);
  pointer-events: none;
}

/* 网格电路底纹 */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(24, 178, 190, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 178, 190, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 40% 45%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 40% 45%, black 30%, transparent 75%);
}

/* 电路板动态背景 */
.hero-circuits {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .4;
}

.circuit-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24, 178, 190, .5), transparent);
}

.circuit-dot {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--tech);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--tech);
}

/* Hero 布局：左 logo 光束舞台 + 右文案 */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  align-items: center;
  gap: 64px;
  width: 100%;
}

/* ---- 左侧：logo 光束舞台 ---- */
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.hero-logo-wrap {
  position: relative;
  width: min(230px, 22vw);
  z-index: 3;
}

.hero-logo-wrap img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, .5));
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(.6deg); }
}

/* logo 光晕：以图标中心为圆心的正圆 */
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 29%;              /* 图标中心在竖版 logo 上部约 29% 处 */
  width: 135%;
  aspect-ratio: 1;       /* 保证正圆 */
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245, 231, 198, .2) 0%, rgba(24, 178, 190, .12) 42%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  animation: haloBreath 5s ease-in-out infinite;
}

@keyframes haloBreath {
  0%, 100% { opacity: .8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

/* 光束：从 logo 胶片盘（图标右上角）向右射出，随 logo 缩放自动对位 */
.hero-beam {
  position: absolute;
  top: 6%;
  left: 70%;
  width: 135%;
  height: 24%;
  background: linear-gradient(90deg,
    rgba(245, 231, 198, .34) 0%,
    rgba(245, 231, 198, .14) 34%,
    rgba(217, 164, 91, .06) 62%,
    transparent 100%);
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 62%);
  filter: blur(6px);
  transform-origin: left center;
  pointer-events: none;
  z-index: 1;
  animation: beamSweep 7s ease-in-out infinite;
}

@keyframes beamSweep {
  0%, 100% { transform: rotate(0deg) scaleX(1); opacity: .9; }
  50% { transform: rotate(-4deg) scaleX(1.04); opacity: 1; }
}

/* 光束内漂浮的微尘 */
.hero-dust {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--dawn);
  opacity: 0;
  z-index: 2;
  animation: dustDrift 6s linear infinite;
}

@keyframes dustDrift {
  0% { opacity: 0; transform: translate(0, 0); }
  12% { opacity: .9; }
  60% { opacity: .5; }
  100% { opacity: 0; transform: translate(150px, -36px); }
}

/* ---- 右侧：文案区 ---- */
.hero-copy {
  text-align: left;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  background: rgba(20, 184, 197, .12);
  border: 1px solid rgba(20, 184, 197, .3);
  border-radius: 999px;
  font-size: 13px;
  color: var(--tech-soft);
  letter-spacing: .1em;
  margin-bottom: 32px;
}

.hero-eyebrow .pulse {
  width: 8px; height: 8px;
  background: var(--tech);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  color: #F5F2EA;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 28px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--tech-soft) 0%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245, 242, 234, .7);
  line-height: 1.8;
  margin-bottom: 48px;
}

.hero-tagline {
  display: flex;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(245, 242, 234, .5);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.hero-tagline span {
  position: relative;
}

.hero-tagline span:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -18px;
  color: var(--tech);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- 胶片条纹装饰 ---- */
.film-strip {
  position: absolute;
  left: 0; right: 0;
  height: 34px;
  background: rgba(6, 13, 20, .55);
  border-top: 1px solid rgba(24, 178, 190, .18);
  border-bottom: 1px solid rgba(24, 178, 190, .18);
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px, transparent 14px,
    rgba(245, 242, 234, .14) 14px, rgba(245, 242, 234, .14) 26px,
    transparent 26px, transparent 40px
  );
  background-size: 40px 12px;
  background-position: center;
  background-repeat: repeat-x;
  pointer-events: none;
  z-index: 2;
}

.film-strip.top { top: 76px; }
.film-strip.bottom { bottom: 0; }

/* 滚动指示器 */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(245, 242, 234, .5);
  font-size: 12px;
  letter-spacing: .15em;
  animation: bounce 2s infinite;
}

.hero-scroll i {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  text-align: center;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: all .25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink-deep);
  color: var(--paper);
  border-color: var(--ink-deep);
}

.btn-primary:hover {
  background: var(--tech);
  border-color: var(--tech);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 184, 197, .3);
}

.btn-gold {
  background: var(--gold);
  color: #FFFDF8;
  border-color: var(--gold);
}

.btn-gold:hover {
  background: #AB7833;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--tech);
  color: var(--tech);
}

.btn-outline-dark {
  background: transparent;
  color: var(--paper);
  border-color: rgba(245, 242, 234, .3);
}

.btn-outline-dark:hover {
  border-color: var(--tech);
  color: var(--tech-soft);
  background: rgba(20, 184, 197, .08);
  transform: translateY(-2px);
}

/* ========== Section Headers ========== */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tech);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  color: var(--ink);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}

.gold-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--tech), var(--gold));
  margin: 0 auto 24px;
  border-radius: 2px;
}

/* ========== Stats Row ========== */
.stats {
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink) 100%);
  color: var(--paper);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(20, 184, 197, .12), transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(192, 138, 62, .08), transparent 70%);
  pointer-events: none;
}

.stats-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  text-align: center;
}

.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--tech-soft), var(--gold-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 14px;
  color: rgba(245, 242, 234, .6);
  letter-spacing: .08em;
}

/* ========== Products Section ========== */
.products {
  background: var(--paper);
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
  transition: transform .3s, box-shadow .3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card.reverse {
  direction: rtl;
}
.product-card.reverse > * {
  direction: ltr;
}

.product-card-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-visual.papertale {
  background: linear-gradient(135deg, #C08A3E 0%, #8B6340 100%);
}

.product-card-visual.vibrant {
  background: linear-gradient(135deg, #0F1E17 0%, #1F3A2F 100%);
}

.product-card-visual .visual-icon {
  font-size: 80px;
  opacity: .3;
}

.product-card-visual .circuit-pattern {
  position: absolute;
  inset: 0;
  opacity: .2;
  pointer-events: none;
}

.product-card-visual::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.2), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.product-card-content {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-wash);
  color: var(--gold);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 20px;
  align-self: flex-start;
}

.product-badge.tech {
  background: rgba(20, 184, 197, .1);
  color: var(--tech);
}

.product-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.product-card p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.product-features {
  list-style: none;
  margin-bottom: 28px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--slate);
}

.product-features li i {
  color: var(--tech);
  font-size: 12px;
  width: 20px;
  text-align: center;
}

/* ---------- 产品入口按钮 ---------- */
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease,
              background .25s ease, border-color .25s ease, color .25s ease;
}

.product-cta i {
  font-size: 13px;
  transition: transform .25s ease;
}

/* 主入口：访问平台 */
.product-cta.primary {
  background: linear-gradient(135deg, var(--tech) 0%, #0E8F9B 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(24, 178, 190, .28);
}

.product-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(24, 178, 190, .4);
}

.product-cta.primary:hover i {
  transform: translate(2px, -2px);
}

/* 次入口：了解详情 */
.product-cta.ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(15, 48, 73, .25);
}

.product-cta.ghost:hover {
  color: var(--tech);
  border-color: var(--tech);
  background: rgba(24, 178, 190, .06);
  transform: translateY(-2px);
}

.product-cta.ghost:hover i {
  transform: translateX(4px);
}

/* ========== Capabilities ========== */
.capabilities {
  background: var(--paper-2);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.cap-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--line);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--tech), var(--gold));
  opacity: 0;
  transition: opacity .3s;
}

.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.cap-card:hover::before { opacity: 1; }

.cap-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
}

.cap-icon.ai { background: rgba(20, 184, 197, .12); color: var(--tech); }
.cap-icon.data { background: rgba(192, 138, 62, .12); color: var(--gold); }
.cap-icon.safety { background: rgba(47, 111, 82, .12); color: var(--ok); }
.cap-icon.creative { background: rgba(230, 126, 34, .12); color: var(--pioneer); }

.cap-card h4 {
  margin-bottom: 12px;
  font-size: 18px;
}

.cap-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ========== About Section ========== */
.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-visual {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink) 100%);
}

.about-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-inner .logo-large {
  width: 260px; height: 260px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(24, 178, 190, .12), rgba(245, 242, 234, .03) 60%, transparent 75%);
  border: 1px solid rgba(245, 242, 234, .12);
}

.about-visual-inner .logo-large img {
  width: 72%;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, .4));
}

.about-visual-inner .logo-large::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 1px dashed rgba(24, 178, 190, .25);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.about-visual-inner .logo-large::after {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 178, 190, .1), transparent 65%);
  pointer-events: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.about-visual-inner .brand-text {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  text-align: center;
}

.about-visual-inner .brand-text .cn {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 8px;
}

.about-visual-inner .brand-text .en {
  font-size: 12px;
  color: rgba(245, 242, 234, .5);
  letter-spacing: .3em;
  margin-top: 8px;
}

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink) 100%);
  color: var(--paper);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(20, 184, 197, .15), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 100%, rgba(192, 138, 62, .1), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--paper);
  margin-bottom: 20px;
}

.cta p {
  color: rgba(245, 242, 234, .6);
  margin-bottom: 40px;
  font-size: 17px;
}

/* ========== Contact ========== */
.contact {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h3 {
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-item i {
  width: 40px; height: 40px;
  background: var(--paper-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tech);
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-item-value {
  color: var(--ink);
  font-weight: 500;
}

.contact-form {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--line);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--paper);
  color: var(--ink);
  transition: all .2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tech);
  background: var(--card);
  box-shadow: 0 0 0 3px var(--tech-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========== Footer ========== */
.footer {
  background: var(--ink-deep);
  color: rgba(245, 242, 234, .7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo .logo-mark {
  width: 46px; height: 46px;
  flex-shrink: 0;
}

.footer-logo .logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* 深色背景上提亮图标 */
  filter: brightness(1.35) drop-shadow(0 0 8px rgba(24, 178, 190, .35));
}

.footer-logo-text {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 242, 234, .5);
}

.footer-col h5 {
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(245, 242, 234, .55);
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--tech-soft);
}

/* 页脚产品链接 logo：深色页脚上以米白底托保证辨识度 */
.footer-product-logo {
  width: 18px;
  height: 18px;
  padding: 2px;
  background: var(--paper);
  border-radius: 5px;
  box-sizing: content-box;
  vertical-align: middle;
  margin-right: 8px;
}

/* 页脚二维码区：官网 + 两个产品，扫码或点击直达 */
.footer-qr-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.footer-qr-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(245, 242, 234, .06);
  border: 1px solid rgba(245, 242, 234, .14);
  border-radius: 12px;
  transition: background .2s, border-color .2s;
}

.footer-qr-item:hover {
  background: rgba(245, 242, 234, .1);
  border-color: rgba(217, 164, 91, .45);
}

.footer-qr-item img {
  display: block;
  width: 88px;
  height: 88px;
  padding: 4px;
  background: #FFFFFF;
  border-radius: 10px;
  flex-shrink: 0;
}

.footer-qr-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.footer-qr-text strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  white-space: nowrap;
}

.footer-qr-text span {
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(245, 242, 234, .5);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .footer-qr-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
    margin-bottom: 28px;
  }

  .footer-qr-item {
    flex-direction: row;
    gap: 16px;
    padding: 14px;
  }

  .footer-qr-item img {
    width: 120px;
    height: 120px;
    padding: 6px;
  }

  .footer-qr-text {
    align-items: flex-start;
    gap: 6px;
  }

  .footer-qr-text strong {
    font-size: 16px;
    white-space: normal;
    line-height: 1.35;
  }

  .footer-qr-text span {
    font-size: 13px;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(245, 242, 234, .1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(245, 242, 234, .35);
}

/* 备案信息 */
.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-legal a {
  color: rgba(245, 242, 234, .5);
  transition: color .25s ease;
}

.footer-legal a:hover {
  color: rgba(245, 242, 234, .85);
}

.footer-legal .beian-police {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-legal .beian-police img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: .8;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px; height: 36px;
  background: rgba(245, 242, 234, .08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 242, 234, .6);
  transition: all .2s;
}

.footer-social a:hover {
  background: var(--tech);
  color: var(--ink-deep);
}

/* ========== Sub-page Header ========== */
.page-header {
  padding-top: 180px;
  padding-bottom: 80px;
  background: linear-gradient(175deg, var(--ink-deep) 0%, var(--ink) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 50%, rgba(20, 184, 197, .15), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 50%, rgba(192, 138, 62, .1), transparent 70%);
  pointer-events: none;
}

.page-header-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-header .eyebrow {
  color: var(--tech-soft);
}

.page-header h1 {
  color: var(--paper);
  margin-bottom: 20px;
}

.page-header p {
  color: rgba(245, 242, 234, .7);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto;
}

/* ========== Feature Detail Blocks ========== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reverse {
  direction: rtl;
}
.feature-block.reverse > * {
  direction: ltr;
}

.feature-block-visual {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-block-content h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

.feature-block-content p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.feature-tag-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-tag-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--slate);
}

.feature-tag-list li i {
  color: var(--tech);
  font-size: 14px;
}

/* ========== Product Visuals (SVG Illustration Containers) ========== */
.visual-box {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: var(--ink-deep);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.visual-box .visual-content {
  position: relative;
  z-index: 1;
  color: var(--paper);
  text-align: center;
}

/* ========== Badge Grid ========== */
.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--paper-2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--slate);
  font-weight: 500;
}

.badge i {
  color: var(--tech);
  font-size: 10px;
}

/* ========== Reveal Animation ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   产品主题作用域
   集团外壳统一，产品内容独立换肤
   ============================================================ */

/* ---------- PaperTale 牛皮纸：档案纸 · 深墨 · 暖铜 ---------- */
.theme-papertale {
  --ink: #0B2C3D;
  --ink-soft: #123340;
  --forest: #123A33;
  --forest-soft: #1E5148;
  --paper-3: #E6DED0;
  --card: #FBF8F1;
  --gold: #9E5A26;
  --gold-soft: #E8CFA3;
  --gold-wash: #F4E8D6;
  --gold-bright: #E8A33D;
  --teal: #21BAC6;
  --teal-deep: #128A96;
  --line: #D9D3C5;
  --line-strong: #C9C1B1;
  --muted: #5F6C66;
  --radius: 4px;
  --radius-sm: 3px;
}

/* ---------- 斑斓 Vibrant：墨绿 · 米白 · 暖金 ---------- */
.theme-vibrant {
  --ink: #0F1E17;
  --ink-soft: #14251D;
  --forest: #1F3A2F;
  --forest-soft: #2B4A3C;
  --paper-3: #E8E2D5;
  --card: #FFFFFF;
  --gold: #C08A3E;
  --gold-soft: #E4C794;
  --gold-wash: #F7EFE1;
  --line: #E7E3D9;
  --line-strong: #DEE0E3;
  --muted: #888888;
  --radius: 14px;
  --radius-sm: 10px;
}

/* ---------- 产品页通用 ---------- */
.product-page {
  background: var(--paper);
  color: var(--slate);
}

.product-page .section {
  position: relative;
}

.product-page .eyebrow {
  color: var(--gold);
}

.product-page .gold-rule {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}

/* ---------- 产品品牌组合 ---------- */
.product-brand-lockup {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.product-brand-mark {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.product-brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.product-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.product-brand-sub {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- 产品 Hero ---------- */
.product-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.product-hero-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--ink);
}

.product-hero-copy h1 .accent {
  color: var(--gold);
  position: relative;
}

.product-hero-copy h1 .accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--gold-wash);
  z-index: -1;
  border-radius: 2px;
}

.product-hero-copy > p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 480px;
}

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

.product-hero-aside {
  position: relative;
}

/* PaperTale Hero：浅色档案纸风 */
.theme-papertale .product-hero {
  background: var(--paper);
}

.theme-papertale .product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(158, 90, 38, .06), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(18, 58, 51, .05), transparent 70%);
  pointer-events: none;
}

/* 斑斓 Hero：墨绿品牌面板 */
.theme-vibrant .product-hero {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--paper);
}

.theme-vibrant .product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 75% 25%, rgba(192, 138, 62, .12), transparent 70%),
    radial-gradient(ellipse 45% 35% at 15% 75%, rgba(192, 138, 62, .06), transparent 70%);
  pointer-events: none;
}

.theme-vibrant .product-hero-copy h1 {
  color: var(--paper);
}

.theme-vibrant .product-hero-copy h1 .accent {
  color: var(--gold-soft);
}

.theme-vibrant .product-hero-copy h1 .accent::after {
  background: rgba(192, 138, 62, .18);
}

.theme-vibrant .product-hero-copy > p {
  color: rgba(245, 242, 234, .72);
}

.theme-vibrant .product-brand-name {
  color: var(--paper);
}

.theme-vibrant .product-brand-sub {
  color: rgba(245, 242, 234, .5);
}

/* 深墨 logo 置于墨绿 Hero 上，加深色分离的米白底托 */
.theme-vibrant .product-brand-mark {
  padding: 5px;
  background: #F5F2EA;
  border-radius: 16px;
  box-sizing: border-box;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35), 0 0 0 1px rgba(228, 199, 148, .35);
}

/* ---------- 产品 Hero 价值条 ---------- */
.product-hero-values {
  display: flex;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.product-hero-value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.product-hero-value i {
  color: var(--gold);
  font-size: 14px;
}

.theme-vibrant .product-hero-value {
  color: rgba(245, 242, 234, .65);
}

.theme-vibrant .product-hero-value i {
  color: var(--gold-soft);
}

/* ---------- 编辑手记卡片（PaperTale） ---------- */
.product-editor-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 6px 6px 0 rgba(11, 44, 61, .06);
  transform: rotate(-1.5deg);
  max-width: 420px;
  margin-left: auto;
}

.product-editor-note .note-label {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.product-editor-note .note-quote {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line-strong);
}

.product-editor-note .note-step {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.product-editor-note .note-step:last-child {
  margin-bottom: 0;
}

.product-editor-note .note-step-num {
  width: 28px;
  height: 28px;
  background: var(--gold-wash);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.product-editor-note .note-step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.product-editor-note .note-step-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.product-editor-note .note-sign {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  font-style: italic;
}

/* ---------- 智能体预览卡片（斑斓） ---------- */
.product-agent-preview {
  background: rgba(245, 242, 234, .06);
  border: 1px solid rgba(245, 242, 234, .12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
}

.product-agent-preview .preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(245, 242, 234, .1);
}

.product-agent-preview .preview-dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
}

.product-agent-preview .preview-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold-soft);
  font-weight: 600;
}

.product-agent-preview .preview-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-agent-preview .flow-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(245, 242, 234, .05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 242, 234, .08);
}

.product-agent-preview .flow-num {
  width: 24px;
  height: 24px;
  background: rgba(192, 138, 62, .2);
  color: var(--gold-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.product-agent-preview .flow-text {
  font-size: 13px;
  color: rgba(245, 242, 234, .8);
}

.product-agent-preview .flow-arrow {
  text-align: center;
  color: var(--gold);
  font-size: 12px;
  opacity: .6;
}

/* ---------- 首页产品卡片视觉区 ---------- */
.product-card-visual.papertale {
  background: linear-gradient(135deg, #C08A3E 0%, #8B6340 100%);
  position: relative;
}

.product-card-visual.papertale::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(255, 240, 208, .22), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(11, 44, 61, .10), transparent 70%);
  pointer-events: none;
}

.product-card-visual.vibrant {
  background: linear-gradient(135deg, #0F1E17 0%, #1F3A2F 100%);
}

.product-card-visual.vibrant::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(192, 138, 62, .15), transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(192, 138, 62, .08), transparent 50%);
  pointer-events: none;
}

.product-card-visual .product-visual-lockup {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.product-card-visual .product-visual-lockup .visual-logo {
  width: 88px;
  height: 88px;
}

.product-card-visual .product-visual-lockup .visual-logo img {
  width: 100%;
  height: 100%;
}

.product-card-visual .product-visual-lockup .visual-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
}

.product-card-visual.papertale .product-visual-lockup .visual-title {
  color: #FBF8F1;
}

.product-card-visual.vibrant .product-visual-lockup .visual-title {
  color: var(--gold-soft);
}

.product-card-visual .product-visual-lockup .visual-sub {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .6;
}

.product-card-visual.papertale .product-visual-lockup .visual-sub {
  color: #FBF8F1;
}

.product-card-visual.vibrant .product-visual-lockup .visual-sub {
  color: var(--paper);
}

/* 首页卡片装饰：档案索引线（PaperTale） */
.product-card-visual.papertale .visual-deco {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: .4;
}

.product-card-visual.papertale .visual-deco-line {
  height: 1px;
  background: rgba(255, 248, 232, .45);
}

.product-card-visual.papertale .visual-deco-line:nth-child(2) {
  width: 70%;
}

.product-card-visual.papertale .visual-deco-line:nth-child(3) {
  width: 45%;
}

/* 旧的居中圆形光斑与 logo 不同心，会形成错位感，斑斓卡片取消 */
.product-card-visual.vibrant::after {
  display: none;
}

/* ---------- 产品卡片内容区主题 ---------- */
.theme-papertale .product-badge {
  background: var(--gold-wash);
  color: var(--gold);
}

.theme-vibrant .product-badge {
  background: var(--gold-wash);
  color: var(--gold);
}

.theme-papertale .product-features li i {
  color: var(--gold);
}

.theme-vibrant .product-features li i {
  color: var(--gold);
}

.theme-papertale .product-cta.primary {
  background: var(--forest);
  color: #FBF8F1;
  box-shadow: 0 4px 14px rgba(18, 58, 51, .2);
}

.theme-papertale .product-cta.primary:hover {
  background: var(--forest-soft);
  box-shadow: 0 8px 22px rgba(18, 58, 51, .3);
}

.theme-papertale .product-cta.ghost {
  color: var(--ink);
  border-color: var(--line-strong);
}

.theme-papertale .product-cta.ghost:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-wash);
}

.theme-vibrant .product-cta.primary {
  background: var(--forest);
  color: #FBF8F1;
  box-shadow: 0 4px 14px rgba(31, 58, 47, .25);
}

.theme-vibrant .product-cta.primary:hover {
  background: var(--forest-soft);
  box-shadow: 0 8px 22px rgba(31, 58, 47, .35);
}

.theme-vibrant .product-cta.ghost {
  color: var(--ink);
  border-color: var(--line-strong);
}

.theme-vibrant .product-cta.ghost:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-wash);
}

/* ---------- 产品页卡片 ---------- */
.product-page .cap-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .25s ease;
}

.product-page .cap-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.product-page .cap-card::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}

.theme-papertale .cap-icon {
  border-radius: var(--radius-sm);
}

.theme-papertale .cap-icon.ai { background: rgba(33, 186, 198, .1); color: var(--teal); }
.theme-papertale .cap-icon.data { background: var(--gold-wash); color: var(--gold); }
.theme-papertale .cap-icon.safety { background: rgba(47, 111, 82, .1); color: var(--ok); }
.theme-papertale .cap-icon.creative { background: rgba(158, 90, 38, .1); color: var(--gold); }

.theme-vibrant .cap-icon {
  border-radius: var(--radius-sm);
}

.theme-vibrant .cap-icon.ai { background: rgba(192, 138, 62, .12); color: var(--gold); }
.theme-vibrant .cap-icon.data { background: rgba(192, 138, 62, .12); color: var(--gold); }
.theme-vibrant .cap-icon.safety { background: rgba(47, 111, 82, .12); color: var(--ok); }
.theme-vibrant .cap-icon.creative { background: rgba(192, 138, 62, .12); color: var(--gold); }

/* ---------- 产品页深色区块 ---------- */
.product-page .section-dark {
  background: var(--ink);
  color: var(--paper);
}

.product-page .section-dark .section-header h2 {
  color: var(--paper);
}

.product-page .section-dark .section-header p {
  color: rgba(245, 242, 234, .6);
}

.product-page .section-dark .eyebrow {
  color: var(--gold-soft);
}

.product-page .section-dark .cap-card {
  background: rgba(245, 242, 234, .06);
  border-color: rgba(245, 242, 234, .12);
}

.product-page .section-dark .cap-card h4 {
  color: var(--paper);
}

.product-page .section-dark .cap-card p {
  color: rgba(245, 242, 234, .65);
}

.theme-papertale .product-hero .btn-outline-dark {
  border-color: var(--line-strong);
  color: var(--ink);
}

.theme-papertale .product-hero .btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-wash);
}

/* ---------- 产品特性卡片 ---------- */
.product-feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .25s ease;
}

.product-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.product-feature-card .feature-icon {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 16px;
}

.product-feature-card h4 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--ink);
}

.product-feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- 产品步骤流程 ---------- */
.product-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.product-step {
  text-align: center;
  position: relative;
}

.product-step .step-num {
  width: 56px;
  height: 56px;
  background: var(--forest);
  color: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.theme-papertale .product-step .step-num {
  background: var(--forest);
  border-radius: var(--radius-sm);
}

.theme-vibrant .product-step .step-num {
  background: var(--forest);
}

.product-step h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--ink);
}

.product-step p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- 知识库标签 ---------- */
.product-kb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.product-kb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink);
}

.product-kb-tag i {
  color: var(--gold);
  font-size: 12px;
}

/* ---------- 产品页 CTA ---------- */
.product-page .cta {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
}

.product-page .cta h2 {
  color: var(--paper);
}

.product-page .cta p {
  color: rgba(245, 242, 234, .7);
}

.theme-papertale .cta .btn-gold {
  background: var(--gold);
  color: #FFFCF4;
}

.theme-papertale .cta .btn-gold:hover {
  background: #8F4C22;
}

.theme-vibrant .cta .btn-gold {
  background: var(--gold);
  color: #0F1E17;
}

.theme-vibrant .cta .btn-gold:hover {
  background: var(--gold-soft);
}

.product-page .cta .btn-outline-dark {
  border-color: rgba(245, 242, 234, .3);
  color: var(--paper);
}

.product-page .cta .btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(192, 138, 62, .1);
}

/* ---------- 产品页按钮 ---------- */
.product-page .btn-primary {
  background: var(--forest);
  color: #FBF8F1;
}

.product-page .btn-primary:hover {
  background: var(--forest-soft);
}

.product-page .btn-gold {
  background: var(--gold);
  color: #FFFCF4;
}

.product-page .btn-gold:hover {
  background: var(--gold);
  filter: brightness(.9);
}

.theme-vibrant .product-hero .btn-gold {
  background: var(--gold-soft);
  color: var(--ink);
}

.theme-vibrant .product-hero .btn-gold:hover {
  background: var(--gold);
  color: var(--paper);
}

.theme-vibrant .product-hero .btn-outline-dark {
  border-color: rgba(245, 242, 234, .3);
  color: var(--paper);
}

.theme-vibrant .product-hero .btn-outline-dark:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  background: rgba(192, 138, 62, .1);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .product-card,
  .product-card.reverse,
  .about-grid,
  .contact-grid,
  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .product-card-content {
    padding: 40px 32px;
  }

  .product-card-visual {
    min-height: 240px;
  }

  .product-card-visual.papertale .visual-deco {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .navbar-links {
    gap: 24px;
  }

  /* Hero 平板：上下布局 */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .hero-stage {
    min-height: 260px;
  }

  .hero-logo-wrap {
    width: min(180px, 42vw);
  }

  .hero-copy {
    text-align: center;
    margin: 0 auto;
  }

  .hero-tagline,
  .hero-actions {
    justify-content: center;
  }

  .product-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-hero-copy > p {
    max-width: 640px;
  }

  .product-editor-note,
  .product-agent-preview {
    max-width: 560px;
    margin: 0 auto;
  }

  .product-editor-note {
    transform: none;
  }

  .product-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .navbar-links {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform .3s;
    box-shadow: var(--shadow);
  }

  .navbar-links.open {
    transform: translateY(0);
  }

  .navbar-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero-tagline {
    flex-direction: column;
    gap: 8px;
  }

  .hero-tagline span:not(:last-child)::after {
    display: none;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .about-visual {
    height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    padding: 28px;
  }

  .product-hero {
    padding-top: 120px;
    padding-bottom: 64px;
  }

  .product-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-step {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .product-hero-values {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .stats-inner {
    grid-template-columns: 1fr;
  }

  .product-card-content {
    padding: 32px 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .product-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-brand-lockup {
    align-items: flex-start;
  }

  .product-brand-mark {
    width: 48px;
    height: 48px;
  }

  .product-brand-name {
    font-size: 19px;
  }

  .product-brand-sub {
    font-size: 10px;
  }

  .product-editor-note,
  .product-agent-preview {
    padding: 24px 20px;
  }

  .product-card-visual .product-visual-lockup .visual-sub {
    font-size: 10px;
    letter-spacing: .14em;
  }
}
