@import url('https://fonts.googleapis.cn/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+SC:wght@400;600;700&display=swap');

:root {
  --color-wood: #A0764A;
  --color-wood-light: #C4A77D;
  --color-wood-dark: #7A5C3A;
  --color-wood-pale: #F0EAE0;
  --color-gold: #C9A96E;
  --color-gold-light: #E8D5A8;
  --color-bg: #F8F6F1;
  --color-surface: #FFFFFF;
  --color-text: #2C2C2C;
  --color-text-secondary: #7A7A7A;
  --color-text-muted: #B0A898;
  --color-border: #E8E3DA;
  --color-border-light: #F0ECE5;
  --color-accent-subtle: #F5F0E8;

  --font-heading: 'Noto Serif SC', Georgia, 'Times New Roman', serif;
  --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --size-display: clamp(36px, 5vw, 56px);
  --size-h1: clamp(28px, 3.5vw, 40px);
  --size-h2: clamp(22px, 2.5vw, 32px);
  --size-h3: clamp(18px, 1.8vw, 24px);
  --size-body: 16px;
  --size-body-sm: 14px;
  --size-caption: 12px;

  --leading-display: 1.3;
  --leading-heading: 1.4;
  --leading-body: 1.8;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-section: clamp(56px, 8vw, 120px);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ─── Container ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ─── Typography ─── */
h1, .h1 {
  font-family: var(--font-heading);
  font-size: var(--size-h1);
  line-height: var(--leading-heading);
  font-weight: 600;
}

h2, .h2 {
  font-family: var(--font-heading);
  font-size: var(--size-h2);
  line-height: var(--leading-heading);
  font-weight: 600;
}

h3, .h3 {
  font-family: var(--font-heading);
  font-size: var(--size-h3);
  line-height: var(--leading-heading);
  font-weight: 600;
}

.display {
  font-family: var(--font-heading);
  font-size: var(--size-display);
  line-height: var(--leading-display);
  font-weight: 700;
}

.body-secondary {
  color: var(--color-text-secondary);
  font-size: var(--size-body);
}

.body-sm {
  font-size: var(--size-body-sm);
}

.caption {
  font-size: var(--size-caption);
  color: var(--color-text-muted);
}

.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--size-body-sm);
  color: var(--color-wood);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

/* ─── Button ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: var(--size-body-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-wood);
  color: #fff;
  border-color: var(--color-wood);
}

.btn-primary:hover {
  background: var(--color-wood-dark);
  border-color: var(--color-wood-dark);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-wood);
  color: var(--color-wood);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: transparent;
}

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

.btn-lg {
  padding: 16px 40px;
  font-size: var(--size-body);
}

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-wood);
  letter-spacing: 1px;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  font-size: var(--size-body-sm);
  color: var(--color-text-secondary);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-wood);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--color-wood);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ─── Hero ─── */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at 40% 40%, rgba(160, 118, 74, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero .display {
  margin-bottom: var(--space-lg);
}

.hero-sub {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-zan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-lg);
  font-size: var(--size-body-sm);
  color: var(--color-gold);
  letter-spacing: 3px;
}

.hero-zan::before,
.hero-zan::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-gold-light);
}

/* ─── Section ─── */
.section {
  padding: var(--space-section) 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.section-header p {
  margin-top: var(--space-md);
  color: var(--color-text-secondary);
}

/* ─── Section alternate ─── */
.section-alt {
  background: var(--color-surface);
}

.section-wood {
  background: var(--color-accent-subtle);
}

/* ─── Grid ─── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* ─── Card ─── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: border-color 0.3s, transform 0.3s;
}

.card:hover {
  border-color: var(--color-wood-light);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-wood);
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-accent-subtle);
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--color-text-secondary);
  font-size: var(--size-body-sm);
  line-height: 1.7;
}

.card-media {
  aspect-ratio: 4/3;
  background: var(--color-wood-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--size-body-sm);
  margin-bottom: var(--space-lg);
}

/* ─── Stats ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--size-h1);
  font-weight: 700;
  color: var(--color-wood);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--size-body-sm);
  color: var(--color-text-secondary);
}

/* ─── Zan Badge ─── */
.zan-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--size-caption);
  color: var(--color-gold);
}

.zan-badge::before {
  content: '✦';
  font-size: 10px;
}

/* ─── Philosophy Block ─── */
.philosophy-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-block blockquote {
  font-family: var(--font-heading);
  font-size: var(--size-h2);
  line-height: 1.6;
  font-weight: 400;
  color: var(--color-text);
  font-style: italic;
}

.philosophy-block .attribution {
  margin-top: var(--space-lg);
  color: var(--color-text-muted);
  font-size: var(--size-body-sm);
}

/* ─── CTA Section ─── */
.cta-section {
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  background: var(--color-wood);
  color: #fff;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: var(--space-md);
}

.cta-section p {
  opacity: 0.85;
  margin-bottom: var(--space-xl);
  font-size: var(--size-body);
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--color-wood);
  border-color: #fff;
}

.cta-section .btn-primary:hover {
  background: transparent;
  color: #fff;
}

.cta-section .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.cta-section .btn-outline:hover {
  border-color: #fff;
  color: #fff;
}

/* ─── Footer ─── */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .nav-logo {
  display: block;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: var(--size-body-sm);
  line-height: 1.8;
  max-width: 280px;
}

.footer h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--size-body);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: var(--space-sm);
}

.footer ul a {
  font-size: var(--size-body-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer ul a:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: var(--size-body-sm);
  color: rgba(255, 255, 255, 0.4);
}

.footer-phone {
  font-family: var(--font-heading);
  font-size: var(--size-h3);
  color: var(--color-gold-light);
  margin-top: var(--space-md);
}

/* ─── Page Header ─── */
.page-header {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  text-align: center;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-light);
}

.page-header p {
  max-width: 560px;
  margin: var(--space-md) auto 0;
  color: var(--color-text-secondary);
}

/* ─── Breadcrumb ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--size-body-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-wood);
}

.breadcrumb span {
  color: var(--color-text-secondary);
}

/* ─── Content Page ─── */
.content-page {
  max-width: 760px;
  margin: 0 auto;
}

.content-page p {
  margin-bottom: var(--space-lg);
}

.content-page h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

/* ─── Form ─── */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--size-body-sm);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--size-body);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--color-wood);
}

.form-control::placeholder {
  color: var(--color-text-muted);
}

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

/* ─── FAQ ─── */
.faq-item {
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-lg) 0;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: var(--size-body);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  margin-top: var(--space-md);
  font-size: var(--size-body-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ─── Product Card ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s;
}

.product-card:hover {
  border-color: var(--color-wood-light);
}

.product-card-img {
  aspect-ratio: 4/3;
  background: var(--color-wood-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--size-body-sm);
}

.product-card-body {
  padding: var(--space-lg);
}

.product-card-body h3 {
  font-size: var(--size-body);
  margin-bottom: var(--space-sm);
}

.product-card-body .product-meta {
  font-size: var(--size-body-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.product-card-body .product-price {
  font-family: var(--font-heading);
  font-size: var(--size-h3);
  color: var(--color-wood);
  font-weight: 700;
}

/* ─── Case Card ─── */
.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s;
}

.case-card:hover {
  border-color: var(--color-wood-light);
}

.case-card-img {
  aspect-ratio: 16/9;
  background: var(--color-wood-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.case-card-body {
  padding: var(--space-lg);
}

.case-card-body h3 {
  font-size: var(--size-body);
  margin-bottom: var(--space-xs);
}

.case-card-body .case-tag {
  display: inline-block;
  font-size: var(--size-caption);
  color: var(--color-wood);
  background: var(--color-accent-subtle);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

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

  .section {
    padding: var(--space-3xl) 0;
  }

  .hero {
    min-height: 70vh;
    padding: var(--space-3xl) var(--space-lg);
    padding-top: calc(var(--nav-height) + var(--space-3xl));
  }
}

@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
}

/* ─── Utility ─── */
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
