/* 留灯 Porchlighter 官方网站样式
   配色基于现有官网 https://47.100.94.102/ 二创：
   深底 #101822 / #18222E，主蓝 #3E6FA3，暖灯金 #F2B33C，浅字 #EAF0F4，灰蓝 #9FB0BE
*/

:root {
  --bg-deep: #0B1218;
  --bg-body: #101822;
  --bg-card: #18222E;
  --bg-elevated: #1E2A38;
  --primary: #3E6FA3;
  --primary-light: #5A8FC7;
  --accent: #F2B33C;
  --accent-soft: rgba(242, 179, 60, 0.12);
  --accent-glow: rgba(242, 179, 60, 0.18);
  --accent-deep: #8a5e16;
  --text: #EAF0F4;
  --text-muted: #9FB0BE;
  --border: rgba(234, 240, 244, 0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --max-width: 1200px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* 环境光效 */
.ambient-glow {
  position: fixed;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(242, 179, 60, 0.14) 0%, rgba(62, 111, 163, 0.08) 40%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  animation: breathe 8s ease-in-out infinite;
}

.particles {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(242, 179, 60, 0.06) 0, transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(62, 111, 163, 0.08) 0, transparent 25%);
}

@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #101822;
  box-shadow: 0 8px 24px rgba(242, 179, 60, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(242, 179, 60, 0.32);
}

.btn-ghost {
  background: rgba(234, 240, 244, 0.06);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: rgba(234, 240, 244, 0.12);
  border-color: rgba(234, 240, 244, 0.22);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

/* 头部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(16, 24, 34, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  line-height: 1.2;
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero — 全幅沉浸式背景视频 */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 26% 34%, rgba(11, 18, 24, 0.98) 0%, rgba(11, 18, 24, 0.78) 26%, rgba(11, 18, 24, 0.28) 56%, rgba(11, 18, 24, 0.10) 100%),
    linear-gradient(0deg, rgba(11, 18, 24, 0.55) 0%, rgba(11, 18, 24, 0.0) 48%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  max-width: 680px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.22;
  font-weight: 700;
  margin-bottom: 26px;
  color: var(--text);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.brand-name {
  display: block;
  color: var(--accent);
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: none;
  margin-bottom: 0.5em;
  opacity: 0.92;
}

.hero-slogan {
  display: block;
  font-size: 1.02em;
  font-weight: 700;
  letter-spacing: 0.01em;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-slogan .accent {
  color: var(--accent);
}

.break-desktop {
  display: block;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text);
  max-width: 600px;
  margin-bottom: 36px;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}

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

.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3DCC91;
  box-shadow: 0 0 10px #3DCC91;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
}

.scroll-hint span {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-hint span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-wheel 1.8s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

/* 通用 Section */
.section {
  padding: 120px 0;
  position: relative;
}

.section > .container {
  position: relative;
  z-index: 3;
}

/* 背景灯灵：透明 PNG、呼吸漂浮、四角散落。
   自适应关键：尺寸用 clamp() 封顶不随屏幕无限放大；水平偏移改为「锚定视口边缘(left/right:0) + 按图片自身宽度 translateX 外推」，
   外推量不再随视口宽度线性放大，因此超宽/全屏时灯灵仍留在画面内、不会整个被推出去。
   下方关键帧已把各自的水平外推写死，避免与定位 transform 冲突。 */
.spirit-field {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.spirit-field img {
  position: absolute;
  width: clamp(170px, 13vw, 300px);
  opacity: 0.72;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 40px rgba(242, 179, 60, 0.22));
  will-change: transform;
}

/* 左右分别锚定视口左/右边缘，再向外侧推出约 1/3 宽，仅留内侧约 2/3 在画面内 */
.spirit-float {
  top: 5%;
  left: 0;
  transform: translateX(-34%);
  animation: spirit-float-1 16s ease-in-out infinite;
}

.spirit-guide {
  top: 50%;
  right: 0;
  transform: translateX(34%);
  animation: spirit-float-2 18s ease-in-out infinite;
}

.spirit-dance {
  bottom: 3%;
  left: 0;
  transform: translateX(-32%);
  animation: spirit-float-3 14s ease-in-out infinite;
}

.spirit-protect {
  bottom: 9%;
  right: 0;
  transform: translateX(32%);
  animation: spirit-float-4 20s ease-in-out infinite;
}

/* 关键帧内保留各自水平外推，确保动画运行时定位不丢失 */
@keyframes spirit-float-1 {
  0%, 100% { transform: translateX(-34%) translateY(0) rotate(0deg); }
  50% { transform: translateX(-34%) translateY(-18px) rotate(1.5deg); }
}

@keyframes spirit-float-2 {
  0%, 100% { transform: translateX(34%) translateY(0) rotate(0deg); }
  50% { transform: translateX(34%) translateY(-14px) rotate(-2deg); }
}

@keyframes spirit-float-3 {
  0%, 100% { transform: translateX(-32%) translateY(0) rotate(0deg); }
  50% { transform: translateX(-32%) translateY(-22px) rotate(2.5deg); }
}

@keyframes spirit-float-4 {
  0%, 100% { transform: translateX(32%) translateY(0) rotate(0deg); }
  50% { transform: translateX(32%) translateY(-16px) rotate(-1deg); }
}

/* 泽丰吉瑞式：信任数据条 */
.stats-band {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(11, 18, 24, 0.55) 0%, var(--bg-body) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  text-shadow: 0 0 24px rgba(242, 179, 60, 0.25);
}

.stat-label {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* 场景案例网格 */
.scene-card {
  display: flex;
  flex-direction: column;
}

.scene-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(62, 111, 163, 0.16);
  color: var(--primary-light);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
}

/* Why */
.why .section-title,
.why .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.cards-grid {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: linear-gradient(180deg, rgba(30, 42, 56, 0.7) 0%, rgba(24, 34, 46, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 179, 60, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(242, 179, 60, 0.08);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 22px;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.card-text {
  color: var(--text-muted);
  line-height: 1.8;
}

.card-text strong {
  color: var(--text);
  font-weight: 600;
}

/* Split 布局 */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.split-content .eyebrow {
  margin-bottom: 16px;
}

.split-content .section-title {
  margin-bottom: 16px;
}

.split-content .section-subtitle {
  margin-bottom: 28px;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.pain-item {
  background: rgba(234, 240, 244, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.pain-label {
  display: block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.pain-item span:last-child {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  margin-bottom: 32px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  position: relative;
  margin-top: 3px;
}

.check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.split-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.media-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 50%, rgba(16, 24, 34, 0.4) 100%);
  pointer-events: none;
}

/* Enterprise */
.enterprise {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-body) 100%);
}

.enterprise-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.enterprise-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.card-enterprise {
  background: rgba(30, 42, 56, 0.5);
}

.enterprise-cta {
  text-align: center;
  margin-top: 48px;
}

/* How it works */
.how {
  background: var(--bg-body);
}

.how-header {
  text-align: center;
  margin-bottom: 56px;
}

.how-header .section-subtitle {
  margin: 0 auto;
}

.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.pipeline-step {
  width: 170px;
  text-align: center;
  padding: 28px 18px;
  background: rgba(30, 42, 56, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.pipeline-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text);
}

.pipeline-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pipeline-arrow {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  position: relative;
  flex-shrink: 0;
}

.pipeline-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 0;
  height: 0;
  border-left: 6px solid var(--accent);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.bottom-lines {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.bottom-lines span {
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(62, 111, 163, 0.12);
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(62, 111, 163, 0.2);
}

/* Architecture diagram */
.architecture-diagram {
  width: 100%;
  max-width: 420px;
  padding: 36px;
  background: linear-gradient(180deg, rgba(30, 42, 56, 0.6) 0%, rgba(16, 24, 34, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow);
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(234, 240, 244, 0.04);
  min-width: 130px;
}

.arch-node span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.arch-node small {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.node-console {
  border-color: rgba(242, 179, 60, 0.4);
  background: var(--accent-soft);
}

.node-console span {
  color: var(--accent);
}

.arch-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.arch-branch .arch-node {
  min-width: 0;
  width: 100%;
  padding: 14px 10px;
}

.arch-line {
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, var(--border), var(--accent));
}

/* Moat / flywheel */
.moat {
  background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-deep) 100%);
}

.moat-header {
  text-align: center;
  margin-bottom: 56px;
}

.flywheel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 56px;
}

.flywheel-layer {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(30, 42, 56, 0.5);
}

.layer-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.flywheel-layer h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}

.flywheel-layer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.flywheel-connector {
  display: flex;
  justify-content: center;
}

.flywheel-connector span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  position: relative;
  animation: spin 8s linear infinite;
}

.flywheel-connector span::before,
.flywheel-connector span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--accent);
}

.flywheel-connector span::before {
  left: -18px;
}

.flywheel-connector span::after {
  right: -18px;
}

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

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.model-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(234, 240, 244, 0.04);
  text-align: center;
}

.model-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text);
}

.model-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Film */
.film {
  background: var(--bg-body);
}

.film-header {
  text-align: center;
  margin-bottom: 48px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.video-wrapper video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* CTA */
.cta {
  padding: 100px 0 140px;
  background: var(--bg-deep);
}

.cta-inner {
  text-align: center;
  padding: 72px 48px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(30, 42, 56, 0.7) 0%, rgba(16, 24, 34, 0.6) 100%);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(242, 179, 60, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-subtitle {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: relative;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
}

/* Footer */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .logo-mark {
  font-size: 1.5rem;
}

.footer-legal {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  opacity: 0.78;
  margin-top: 2px;
}

.footer-motto {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-links h4 {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* 公司站新增样式 */
.about-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.about-head .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.about-body {
  max-width: 760px;
  margin: 0 auto 56px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-body strong {
  color: var(--text);
  font-weight: 600;
}

.about-body p {
  margin-bottom: 18px;
}

.role-tag {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.role-card {
  padding: 30px;
}

.role-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.role-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.role-type {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
}

.news-card {
  padding: 32px;
}

.news-date {
  display: block;
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.news-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.news-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.careers-cta {
  text-align: center;
  margin-top: 40px;
  color: var(--text-muted);
}

.inline-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 179, 60, 0.4);
}

.inline-link:hover {
  color: var(--text);
}

/* Devin 式：Hero 本地优先保证条 */
.hero-guarantees {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-guarantees .guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(242, 179, 60, 0.25);
  background: var(--accent-soft);
  font-weight: 500;
}

.hero-guarantees .g-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}

/* Character.ai 式：温情引语 */
.pull-quote {
  max-width: 820px;
  margin: 56px auto 0;
  padding: 40px 36px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(242, 179, 60, 0.08) 0%, rgba(30, 42, 56, 0.4) 100%);
  border: 1px solid rgba(242, 179, 60, 0.2);
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.7;
  color: var(--text);
  font-weight: 600;
}

.pull-quote .pq-accent {
  color: var(--accent);
}

/* Devin 式：显式企业保证卡 */
.guarantee-card .card-title {
  position: relative;
  padding-left: 34px;
}

.guarantee-card .card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.guarantee-card .card-title::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 5px;
  height: 10px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 新闻 → 最近交付 标签 */
.news-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(62, 111, 163, 0.16);
  color: var(--primary-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.news-card .news-date {
  margin-bottom: 8px;
}

.news-more {
  text-align: center;
  margin-top: 40px;
}

/* Anthropic 式：页脚承诺条 + 多列 */
.footer-commitment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.footer-commitment div {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-commitment strong {
  display: block;
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-weight: 600;
}

/* 响应式 */
@media (max-width: 1024px) {
  .three-col,
  .four-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    max-width: 100%;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split-reverse {
    direction: ltr;
  }

  .split-media {
    order: -1;
  }

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

  .flywheel-connector {
    transform: rotate(90deg);
    margin: 8px 0;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    position: fixed;
    inset: 70px 16px auto;
    flex-direction: column;
    gap: 0;
    background: rgba(16, 24, 34, 0.96);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
  }

  .main-nav.open a {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
  }

  .main-nav.open a:hover {
    background: rgba(234, 240, 244, 0.06);
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(11, 18, 24, 0.92) 0%, rgba(11, 18, 24, 0.50) 55%, rgba(11, 18, 24, 0.55) 100%);
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-lead,
  .hero-proof {
    margin-left: auto;
    margin-right: auto;
  }

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

  .section {
    padding: 80px 0;
  }

  .three-col,
  .four-col,
  .model-grid,
  .two-col,
  .pain-grid,
  .footer-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

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

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

  .pipeline-step {
    width: 100%;
    text-align: left;
    padding-left: 64px;
    position: relative;
  }

  .pipeline-step .step-number {
    position: absolute;
    left: 18px;
    top: 26px;
  }

  .pipeline-arrow {
    width: 2px;
    height: 24px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--border), var(--accent), var(--border));
  }

  .pipeline-arrow::after {
    top: auto;
    bottom: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--accent);
    border-bottom: none;
  }

  .arch-branches {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    padding: 48px 24px;
  }

  .footer-links {
    gap: 32px;
  }

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

  .hero-guarantees .guarantee {
    font-size: 0.82rem;
    padding: 7px 12px;
  }

  .spirit-field img {
    opacity: 0.6;
    width: clamp(108px, 32vw, 170px);
  }

  .spirit-float { top: 1%; }
  .spirit-guide { top: 46%; }
  .spirit-dance { bottom: 1%; }
  .spirit-protect { bottom: 7%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== 预约部署弹窗 ===== */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.booking-modal.open {
  visibility: visible;
  opacity: 1;
}
.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 14, 0.72);
  backdrop-filter: blur(6px);
}
.booking-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #1B2735 0%, #141D28 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 32px 28px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1);
}
.booking-modal.open .booking-dialog {
  transform: translateY(0) scale(1);
}
.booking-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 36px; height: 36px;
  border: none; background: transparent;
  color: var(--text-muted);
  font-size: 26px; line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.booking-close:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.booking-head { margin-bottom: 20px; }
.booking-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--text);
  margin: 6px 0 8px;
}
.booking-sub { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.field { display: flex; flex-direction: column; }
.field-wide { grid-column: 1 / -1; }
.field label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.field .req { color: var(--accent); }
.field .opt { color: rgba(159,176,190,0.7); font-size: 0.78rem; }
.field input, .field textarea {
  width: 100%;
  background: rgba(11,18,24,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(159,176,190,0.5); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field.invalid input, .field.invalid textarea {
  border-color: #e0625a;
  box-shadow: 0 0 0 3px rgba(224,98,90,0.14);
}
.field-error {
  color: #f08a82;
  font-size: 0.76rem;
  margin-top: 5px;
  min-height: 0;
}
.booking-submit { width: 100%; margin-top: 20px; }
.booking-foot { color: rgba(159,176,190,0.7); font-size: 0.76rem; text-align: center; margin-top: 12px; line-height: 1.5; }
.booking-success { text-align: center; padding: 18px 8px 6px; }
.success-mark {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 34px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px var(--accent-glow);
}
.success-title { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 10px; }
.success-msg { color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }

@media (max-width: 560px) {
  .hero-title { font-size: clamp(1.24rem, 5.6vw, 1.8rem); line-height: 1.32; margin-bottom: 18px; }
  .brand-name { font-size: 0.38em; letter-spacing: 0.14em; margin-bottom: 0.4em; }
  .break-desktop { display: none; }
  .booking-modal { padding: 12px; }
  .booking-dialog { padding: 22px 18px 18px; }
  .booking-head { margin-bottom: 14px; }
  .eyebrow { font-size: 0.68rem; margin-bottom: 5px; }
  .booking-title { font-size: 1.15rem; margin-bottom: 6px; }
  .booking-sub { font-size: 0.78rem; line-height: 1.5; }
  .booking-grid { grid-template-columns: 1fr; gap: 10px; }
  .field label { font-size: 0.75rem; margin-bottom: 4px; }
  .field input,
  .field select,
  .field textarea { padding: 9px 11px; font-size: 0.86rem; }
  .booking-submit { padding: 11px 16px; font-size: 0.9rem; }
  .booking-foot { font-size: 0.68rem; margin-top: 10px; }
  .success-mark { width: 52px; height: 52px; font-size: 28px; margin-bottom: 12px; }
  .success-title { font-size: 1.05rem; margin-bottom: 6px; }
  .success-msg { font-size: 0.78rem; margin-bottom: 14px; }
  .success-note { font-size: 0.7rem; margin-bottom: 14px; }
  .download-link { padding: 10px 12px; }
  .dl-label { font-size: 0.88rem; }
  .dl-note { font-size: 0.7rem; }
}

/* ===== 下载注册弹窗：成功后的下载渠道 ===== */
.download-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 4px 0 18px;
}
.download-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid rgba(242, 179, 60, 0.35);
  border-radius: 12px;
  background: rgba(242, 179, 60, 0.06);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.download-link:hover {
  transform: translateY(-2px);
  background: rgba(242, 179, 60, 0.12);
  border-color: var(--accent);
}
.dl-label { font-weight: 600; font-size: 0.98rem; }
.dl-note { font-size: 0.76rem; color: var(--text-muted); }
.success-note {
  font-size: 0.78rem;
  color: rgba(159, 176, 190, 0.8);
  line-height: 1.6;
  margin: 0 0 18px;
}
@media (max-width: 560px) {
  .download-links { grid-template-columns: 1fr; }
}
