@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=Instrument+Serif:ital@0;1&family=Noto+Sans+SC:wght@300;400;500&display=swap');

/* ============================================
   陈萱宜增长转化体系 - 全站样式
   设计理念：参照增长诊断页，暖白纸感、细金线条、黑字、深红点睛
   ============================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "DM Sans", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Design Tokens ---- */
:root {
  --bg: #faf9f7;
  --bg-soft: #f5f3ef;
  --bg-card: rgba(255, 255, 255, 0.58);
  --bg-elevated: #ffffff;
  --text: #1a1a1a;
  --text-soft: rgba(42, 42, 42, 0.72);
  --text-muted: rgba(42, 42, 42, 0.52);
  --accent: #c4b5a0;
  --accent-hover: #b91c1c;
  --accent-soft: rgba(196, 181, 160, 0.18);
  --accent-glow: rgba(196, 181, 160, 0.22);
  --slate: #8b9daf;
  --border: rgba(196, 181, 160, 0.38);
  --border-soft: rgba(232, 230, 225, 0.95);
  --radius: 6px;
  --radius-lg: 12px;
  --max-width: 860px;
  --max-width-wide: 1080px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0;
}
h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
p { margin-bottom: 1.2em; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
strong { color: var(--text); font-weight: 500; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  color: var(--text-soft);
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-hover); }
.nav-toggle { display: none; }

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 56px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(250, 249, 247, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .nav-toggle span {
    width: 20px; height: 2px;
    background: var(--text-soft);
    border-radius: 1px;
  }
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 24%, rgba(196, 181, 160, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(245, 243, 239, 0.72), transparent 42%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero-with-portrait {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  text-align: left;
}
.hero-copy {
  max-width: 680px;
}
.hero-copy .hero-subtitle {
  margin-left: 0;
  margin-right: 0;
}
.hero-copy .hero-stats,
.hero-copy .hero-cta {
  justify-content: flex-start;
}
.hero-portrait {
  position: relative;
  margin: 0;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(245, 243, 239, 0.88));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(69, 54, 43, 0.08);
}
.hero-portrait::before {
  content: '';
  position: absolute;
  inset: 22px -14px -14px 22px;
  border: 1px solid rgba(196, 181, 160, 0.28);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.hero-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(var(--radius-lg) - 4px);
  filter: saturate(0.94) contrast(0.98);
}
.hero-portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px 0;
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-portrait figcaption strong {
  color: var(--text);
  font-weight: 500;
}
.hero-tag {
  font-size: 0.8rem;
  color: var(--slate);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  margin-bottom: 20px;
  max-width: 720px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.hero-stat {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text-soft);
}
.hero-stat strong { color: var(--accent-hover); }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---- Editorial Brand Hero ---- */
.editorial-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 16%, rgba(196, 181, 160, 0.16), transparent 58%),
    var(--bg);
}
.editorial-hero-image {
  padding: 56px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.editorial-hero-image img {
  display: block;
  width: 100%;
  min-height: calc(100vh - 56px);
  object-fit: cover;
  object-position: center center;
}
.editorial-hero-actions {
  position: absolute;
  left: clamp(36px, 5.6vw, 116px);
  bottom: clamp(30px, 4.8vw, 70px);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  z-index: 2;
}
.editorial-hero-split {
  padding: 116px clamp(28px, 5.6vw, 92px) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}
.editorial-hero-copy {
  max-width: 780px;
}
.editorial-hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 1.08;
  max-width: 900px;
  margin-bottom: 28px;
}
.editorial-hero-copy .hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  max-width: 660px;
  margin-left: 0;
  margin-right: 0;
}
.editorial-keywords {
  margin-top: 44px;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: var(--text);
  word-spacing: 0.5em;
}
.editorial-stamp {
  position: absolute;
  top: clamp(92px, 9vw, 136px);
  left: clamp(38px, 5.4vw, 92px);
  width: 42px;
  min-height: 92px;
  padding: 8px 5px;
  border: 1.5px solid var(--accent-hover);
  border-radius: 3px;
  color: var(--accent-hover);
  font-family: "Songti SC", "STSong", serif;
  font-size: 1.34rem;
  line-height: 1.65;
  text-align: center;
}
.editorial-hero-en .editorial-stamp {
  left: clamp(24px, 2.4vw, 34px);
}
.editorial-hero-person {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
}
.editorial-hero-person img {
  width: 100%;
  max-height: 76vh;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.94) contrast(0.98);
}
.editorial-hero-person figcaption {
  text-align: right;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 2px;
  letter-spacing: 0.08em;
  transition: all var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--accent);
}
.btn-secondary:hover {
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-label {
  font-size: 0.75rem;
  color: var(--slate);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ---- Cards / Grid ---- */
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), background var(--transition);
}
.card:hover {
  border-color: rgba(185, 28, 28, 0.24);
  background: var(--bg-elevated);
}
.card-number {
  font-size: 0.75rem;
  color: var(--accent-hover);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-soft); font-size: 0.9rem; }

/* ---- Identity Cards ---- */
.identity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.identity-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.identity-card:hover {
  border-color: rgba(185, 28, 28, 0.24);
  transform: translateY(-2px);
}
.identity-tag {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--slate);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.identity-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.identity-card p { font-size: 0.85rem; color: var(--text-soft); }

/* ---- Stats Bar ---- */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  flex: 1;
  min-width: 150px;
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent-hover);
  display: block;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .stat-item { flex: 1 1 50%; border-bottom: 1px solid var(--border); }
}

@media (max-width: 860px) {
  .editorial-hero-image {
    padding-top: 56px;
    min-height: auto;
  }
  .editorial-hero-image img {
    min-height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
  }
  .editorial-hero-actions {
    position: static;
    justify-content: center;
    padding: 18px 24px 36px;
    background: var(--bg);
  }
  .editorial-hero-split {
    grid-template-columns: 1fr;
    padding: 108px 24px 44px;
    text-align: center;
  }
  .editorial-stamp {
    top: 72px;
    left: 24px;
    width: 34px;
    min-height: 72px;
    font-size: 1.05rem;
    line-height: 1.55;
  }
  .editorial-hero-copy {
    margin: 0 auto;
  }
  .editorial-hero-copy h1 {
    font-size: clamp(2.15rem, 11vw, 3.8rem);
  }
  .editorial-hero-copy .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .editorial-keywords {
    word-spacing: 0.2em;
    margin-top: 28px;
  }
  .editorial-hero-person {
    max-width: 420px;
    margin: 0 auto;
  }
  .editorial-hero-person figcaption {
    text-align: center;
  }
  .hero-with-portrait {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: 100px;
  }
  .hero-copy {
    margin: 0 auto;
  }
  .hero-copy .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-copy .hero-stats,
  .hero-copy .hero-cta {
    justify-content: center;
  }
  .hero-portrait {
    width: min(100%, 420px);
    margin: 0 auto;
  }
}

/* ---- Article / Content ---- */
.article {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 24px 60px;
}
.article-header { margin-bottom: 40px; }
.article-header h1 { margin-bottom: 16px; }
.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.article-body h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}
.article-body h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text);
}
.article-body p { margin-bottom: 1.2em; }
.article-body ul, .article-body ol {
  margin-bottom: 1.2em;
  padding-left: 1.5em;
}
.article-body li { margin-bottom: 0.5em; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.85rem;
}
.article-body th, .article-body td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.article-body th {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 600;
}
.article-body td { color: var(--text-soft); }

/* ---- Blog List ---- */
.blog-list { display: flex; flex-direction: column; gap: 0; }
.blog-item {
  display: block;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left var(--transition);
}
.blog-item:hover { padding-left: 12px; }
.blog-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.blog-item:hover .blog-item-title { color: var(--accent-hover); }
.blog-item-excerpt {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.blog-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- Contact Section ---- */
.contact-section {
  text-align: center;
  padding: 80px 24px;
}
.contact-section h2 { margin-bottom: 20px; }
.contact-section .lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto 40px;
}
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-soft);
  transition: all var(--transition);
}
.contact-method:hover {
  border-color: var(--accent-hover);
  color: var(--text);
}
.contact-method strong { color: var(--accent-hover); }

/* ---- Diagnosis Page ---- */
.diagnosis-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.diagnosis-intro p { color: var(--text-soft); }
.dimension-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: border-color var(--transition);
}
.dimension-card:hover { border-color: rgba(185, 28, 28, 0.24); }
.dimension-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius);
  font-size: 1.1rem;
}
.dimension-content h3 { font-size: 1.05rem; margin-bottom: 6px; }
.dimension-content p { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 0; }

/* ---- Services Page ---- */
.service-hero {
  padding: 100px 24px 40px;
  text-align: center;
}
.service-hero h1 { margin-bottom: 16px; }
.service-hero .lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto;
}
.service-section { padding: 48px 0; }
.service-list { list-style: none; }
.service-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.service-list li::before {
  content: '→';
  color: var(--accent-hover);
  flex-shrink: 0;
}

/* ---- Lead Magnet ---- */
.checklist-section {
  margin-bottom: 40px;
}
.checklist-section h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--text);
}
.checklist-table { font-size: 0.85rem; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}
.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.6;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-soft { color: var(--text-soft); }
.text-accent { color: var(--accent-hover); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* ---- Highlight Quote ---- */
.highlight-quote {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 40px 0;
}
.highlight-quote::before, .highlight-quote::after {
  content: '"';
  color: var(--accent-hover);
  font-size: 1.5rem;
}

/* ---- Animations ---- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.6s ease-out; }
