
/* ============ 全局重置与基础 ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-primary: #0A1628;
  --bg-secondary: #0F1F3A;
  --bg-card: rgba(15, 31, 58, 0.6);
  --bg-card-hover: rgba(20, 40, 75, 0.8);
  --ai-cyan: #00D4FF;
  --ai-blue: #0066FF;
  --ai-glow: rgba(0, 212, 255, 0.4);
  --gold: #D4AF37;
  --gold-soft: #E8C766;
  --text-primary: #E8EEF7;
  --text-secondary: #8B9BB4;
  --text-muted: #5A6B85;
  --border: rgba(139, 155, 180, 0.15);
  --border-glow: rgba(0, 212, 255, 0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --gradient-ai: linear-gradient(135deg, #00D4FF 0%, #0066FF 100%);
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #E8C766 100%);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans CJK SC', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 背景网格科技感 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* 背景光晕 */
body::after {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ============ 导航栏 ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 22, 40, 0.95);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--gradient-ai);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900;
  color: #fff;
  box-shadow: 0 0 20px var(--ai-glow);
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: var(--gradient-ai);
  opacity: 0.3;
  filter: blur(8px);
  z-index: -1;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .name { font-size: 18px; color: var(--text-primary); }
.logo-text .tag { font-size: 11px; color: var(--ai-cyan); letter-spacing: 1.5px; }

.nav-menu {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-menu a {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav-menu a:hover { color: var(--ai-cyan); }
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-ai);
  transition: width 0.3s;
}
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px;
  background: var(--gradient-ai);
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(0, 212, 255, 0.5); }

.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--text-primary); }

/* ============ Hero区 ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}
.hero-bg-orb.one {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.3), transparent);
  top: 10%; right: -10%;
  animation: float 8s ease-in-out infinite;
}
.hero-bg-orb.two {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent);
  bottom: 5%; left: -5%;
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 30px;
  font-size: 13px;
  color: var(--ai-cyan);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--ai-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--ai-cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero h1 .highlight {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 560px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 18px;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.btn-primary {
  padding: 16px 36px;
  background: var(--gradient-ai);
  color: #fff;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0, 212, 255, 0.6); }
.btn-secondary {
  padding: 16px 36px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--ai-cyan); color: var(--ai-cyan); background: rgba(0, 212, 255, 0.05); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero 右侧 AI可视化 */
.hero-visual {
  position: relative;
  animation: fadeIn 1s ease 0.4s both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.ai-orb {
  width: 420px; height: 420px;
  margin: 0 auto;
  position: relative;
}
.ai-core {
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: var(--gradient-ai);
  box-shadow: 0 0 60px var(--ai-glow), inset 0 0 30px rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  animation: corePulse 3s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 60px var(--ai-glow), inset 0 0 30px rgba(255,255,255,0.2); }
  50% { box-shadow: 0 0 100px var(--ai-glow), inset 0 0 40px rgba(255,255,255,0.3); }
}
.ai-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border-glow);
}
.ai-ring.r1 { inset: 15%; animation: spin 20s linear infinite; }
.ai-ring.r2 { inset: 5%; animation: spin 30s linear infinite reverse; border-style: dashed; opacity: 0.5; }
.ai-ring.r3 { inset: -5%; animation: spin 40s linear infinite; opacity: 0.3; }
@keyframes spin { to { transform: rotate(360deg); } }

.ai-node {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--ai-cyan);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--ai-cyan);
}
.ai-node.n1 { top: 10%; left: 50%; }
.ai-node.n2 { top: 50%; right: 5%; }
.ai-node.n3 { bottom: 10%; left: 50%; }
.ai-node.n4 { top: 50%; left: 5%; }
.ai-node.n5 { top: 22%; right: 22%; background: var(--gold); box-shadow: 0 0 15px var(--gold); }
.ai-node.n6 { bottom: 22%; left: 22%; background: var(--gold); box-shadow: 0 0 15px var(--gold); }

.ai-orbit-label {
  position: absolute;
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
  padding: 4px 10px;
  background: rgba(15, 31, 58, 0.9);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}
.ai-orbit-label.l1 { top: 2%; left: 55%; }
.ai-orbit-label.l2 { top: 45%; right: -8%; }
.ai-orbit-label.l3 { bottom: 2%; left: 55%; }
.ai-orbit-label.l4 { top: 45%; left: -8%; }

/* ============ 数据背书条 ============ */
.stats-bar {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(15, 31, 58, 0.3);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px; top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}
.stat-num {
  font-size: 52px;
  font-weight: 800;
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-num .unit { font-size: 24px; }
.stat-label {
  font-size: 15px;
  color: var(--text-secondary);
}
.stat-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============ 通用 section ============ */
.section {
  padding: 100px 0;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  font-size: 12px;
  color: var(--ai-cyan);
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.section-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.section-title .highlight {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
}

/* ============ AI能力中心 ============ */
.ai-capability {
  background: linear-gradient(180deg, transparent, rgba(0, 102, 255, 0.03), transparent);
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ai-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-ai);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.ai-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}
.ai-card:hover::before { transform: scaleX(1); }
.ai-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  border: 1px solid var(--border-glow);
}
.ai-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 14px;
}
.ai-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}
.ai-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-card ul li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.ai-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  background: var(--gradient-ai);
  border-radius: 3px;
  opacity: 0.6;
}

/* AI流程展示 */
.ai-flow {
  margin-top: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  position: relative;
}
.ai-flow-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-flow-title .tag-ai {
  padding: 4px 12px;
  background: var(--gradient-ai);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 30px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--ai-cyan), var(--ai-blue), var(--ai-cyan));
  opacity: 0.3;
}
.flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.flow-step-num {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--ai-cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--ai-cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}
.flow-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.flow-step p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============ 专业领域 ============ */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.practice-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.practice-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06), transparent 70%);
  border-radius: 50%;
  transform: translate(50%, 50%);
  transition: transform 0.5s;
}
.practice-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}
.practice-card:hover::after { transform: translate(30%, 30%); }
.practice-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.practice-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--gradient-ai);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.practice-card h3 {
  font-size: 24px;
  font-weight: 700;
}
.practice-card .practice-en {
  font-size: 12px;
  color: var(--ai-cyan);
  letter-spacing: 1px;
  margin-top: 2px;
}
.practice-card > p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}
.practice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.practice-tag {
  padding: 6px 14px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
}
.practice-law {
  padding: 16px 20px;
  background: rgba(212, 175, 55, 0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.practice-law strong { color: var(--gold-soft); }

/* 26产品体系 */
.product-system {
  margin-top: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}
.product-system-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}
.product-system-head h3 {
  font-size: 26px;
  font-weight: 700;
}
.product-system-head p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 400px;
}
.product-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-item {
  padding: 10px 18px;
  background: rgba(15, 31, 58, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.2s;
  cursor: default;
}
.product-item:hover {
  border-color: var(--ai-cyan);
  color: var(--ai-cyan);
  background: rgba(0, 212, 255, 0.05);
  transform: translateY(-2px);
}

/* ============ 三有标准内容库 ============ */
.insights {
  background: linear-gradient(180deg, transparent, rgba(15, 31, 58, 0.4));
}
.geo-standard {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.geo-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 40px;
}
.geo-pill-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 800;
}
.geo-pill:nth-child(1) .geo-pill-icon { background: rgba(0, 212, 255, 0.15); color: var(--ai-cyan); }
.geo-pill:nth-child(2) .geo-pill-icon { background: rgba(212, 175, 55, 0.15); color: var(--gold-soft); }
.geo-pill:nth-child(3) .geo-pill-icon { background: rgba(0, 255, 136, 0.15); color: #00FF88; }
.geo-pill span { font-size: 15px; font-weight: 600; }

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s;
}
.insight-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}
.insight-cat {
  padding: 10px 18px;
  background: rgba(0, 212, 255, 0.08);
  color: var(--ai-cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  display: inline-block;
  margin: 24px 24px 0;
  border-radius: 6px;
}
.insight-body { padding: 20px 24px 28px; }
.insight-body h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}
.insight-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.insight-meta span { display: flex; align-items: center; gap: 4px; }
.insight-body p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.7;
}
.insight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.insight-footer .law-badge {
  font-size: 12px;
  color: var(--gold-soft);
}
.insight-footer .read-more {
  font-size: 13px;
  color: var(--ai-cyan);
  font-weight: 600;
}

/* ============ FAQ AI问答 ============ */
.faq-section {
  background: rgba(15, 31, 58, 0.3);
}
.faq-wrap {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item.active {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.faq-q {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--ai-cyan); }
.faq-q .q-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--ai-cyan);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.active .q-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.active .faq-a { max-height: 500px; }
.faq-a-inner {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
}
.faq-a-inner .law-ref {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(212, 175, 55, 0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: var(--gold-soft);
}

/* ============ 关于北嘉 ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.3;
}
.about-text p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.9;
}
.value-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.value-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.value-item p { font-size: 14px; color: var(--text-secondary); margin: 0; }

.about-visual {
  position: relative;
}
.about-card-stack {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
}
.about-card-stack::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.5;
}
.founder-block {
  text-align: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.founder-avatar {
  width: 90px; height: 90px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gradient-ai);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 30px var(--ai-glow);
}
.founder-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.founder-title {
  font-size: 14px;
  color: var(--ai-cyan);
  margin-bottom: 16px;
}
.founder-cred {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.founder-cred span {
  font-size: 12px;
  padding: 4px 12px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-secondary);
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cert-item {
  text-align: center;
  padding: 18px 12px;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.cert-item .num {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cert-item .label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ============ CTA ============ */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-box {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 212, 255, 0.08));
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.15), transparent 60%);
  animation: float 12s ease-in-out infinite;
}
.cta-box h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
}
.cta-box p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  position: relative;
}

/* ============ Footer ============ */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(10, 22, 40, 0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 360px;
}
.footer-col h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--ai-cyan); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ 微信二维码卡片 ============ */
.qr-card {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  margin-top: 28px; padding: 14px 14px 12px;
  background: #ffffff; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.qr-card img { width: 150px; height: 150px; object-fit: contain; display: block; }
.qr-card span { color: #0A1628; font-size: 13px; font-weight: 600; }

/* ============ 响应式 ============ */
@media (max-width: 968px) {
  .nav-menu { display: none; }
  .menu-toggle { display: block; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; }
  .ai-orb { width: 320px; height: 320px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item:not(:last-child)::after { display: none; }
  .ai-grid { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 32px; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .flow-steps::before { display: none; }
  .container { padding: 0 20px; }
  .cta-box { padding: 48px 28px; }
  .cta-box h2 { font-size: 28px; }
  .geo-standard { gap: 16px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 30px; }
  .stat-num { font-size: 38px; }
  .section { padding: 70px 0; }
  .section-title { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
}

/* ============ 文章阅读弹窗 ============ */
.read-more { cursor: pointer; transition: color 0.2s ease; }
.read-more:hover { color: var(--gold); }
.article-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: flex-start; justify-content: center;
  padding: 48px 20px; overflow-y: auto;
  background: rgba(4, 10, 20, 0.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.article-modal.open { display: flex; }

.article-modal-panel {
  position: relative; width: 100%; max-width: 800px;
  background: linear-gradient(165deg, var(--bg-secondary), var(--bg-primary));
  border: 1px solid var(--border); border-radius: 20px;
  padding: 52px 56px 48px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
  animation: modalIn 0.32s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.article-modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(255,255,255,0.04);
  color: var(--text-secondary); font-size: 17px; line-height: 1;
  cursor: pointer; transition: all 0.2s ease;
}
.article-modal-close:hover {
  background: var(--gold); color: var(--bg-primary);
  border-color: var(--gold); transform: rotate(90deg);
}

.am-cat {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(212, 175, 55, 0.12); border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 1px;
}
.am-title {
  margin: 18px 0 10px; font-size: 27px; line-height: 1.4;
  color: var(--text-primary); font-weight: 700;
}
.am-meta {
  display: flex; gap: 20px; font-size: 13px; color: var(--text-muted);
  padding-bottom: 22px; margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.am-body { color: var(--text-secondary); font-size: 15.5px; line-height: 1.95; }
.am-body h3 {
  color: var(--text-primary); font-size: 19px; font-weight: 700;
  margin: 32px 0 14px; padding-left: 14px;
  border-left: 3px solid var(--gold);
}
.am-body p { margin: 0 0 16px; }
.am-body strong { color: var(--gold-soft); font-weight: 600; }
.am-body .law-quote {
  margin: 18px 0; padding: 16px 20px; border-radius: 10px;
  background: rgba(212, 175, 55, 0.06); border-left: 3px solid var(--gold);
  color: var(--text-primary); font-size: 14.5px; line-height: 1.85;
}
.am-body .law-quote .law-src {
  display: block; margin-top: 8px; font-size: 12.5px; color: var(--gold);
}
.am-body ul, .am-body ol { margin: 0 0 16px; padding-left: 22px; }
.am-body li { margin-bottom: 8px; }
.am-body .am-case {
  margin: 18px 0; padding: 18px 22px; border-radius: 12px;
  background: rgba(0, 212, 255, 0.04); border: 1px solid var(--border);
}
.am-body .am-case .case-tag {
  display: inline-block; margin-bottom: 10px; font-size: 12.5px;
  color: var(--border-glow); font-weight: 600; letter-spacing: 1px;
}
.am-footer-tip {
  margin-top: 34px; padding: 18px 22px; border-radius: 12px;
  background: rgba(212, 175, 55, 0.07); border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--text-primary); font-size: 14px; line-height: 1.8;
}

@media (max-width: 700px) {
  .article-modal { padding: 16px 10px; }
  .article-modal-panel { padding: 40px 22px 32px; border-radius: 14px; }
  .am-title { font-size: 22px; }
  .am-body { font-size: 15px; }
}

/* 详情链接 / 文章详情页 */
.detail-link {
  display: inline-block; margin-top: 18px; color: var(--gold);
  font-weight: 600; text-decoration: none; transition: all 0.2s ease;
}
.detail-link:hover { text-decoration: underline; }
.article-detail { max-width: 820px; margin: 0 auto; }


/* 律所风采画廊（关于北嘉页） */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gallery-item {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.gallery-img-wrap {
  height: 300px;
  overflow: hidden;
}
.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img-wrap img { transform: scale(1.05); }
.gallery-item figcaption {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gallery-item figcaption strong {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 0.5px;
}
.gallery-item figcaption span {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-img-wrap { height: 340px; }
}
