/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: #2C2C2C;
  background: #F9F6F0;
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ===== Custom Properties ===== */
:root {
  --gold: #B8860B;
  --gold-dark: #96700A;
  --jade: #2D8B56;
  --ink: #1A1A2E;
  --paper: #F9F6F0;
  --paper-dark: #F0EBE1;
  --silk: #D4C5A0;
  --soot: #2C2C2C;
  --frost: #6B6B6B;
  --card: #FFFCF7;
  --serif: "Noto Serif SC", "STSong", "SimSun", serif;
}

/* ===== Typography ===== */
.font-serif { font-family: var(--serif); }

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ===== Gold Line ===== */
.gold-line {
  width: 80px; height: 2px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 2rem; font-weight: 500; border-radius: 6px;
  transition: all 0.3s ease; cursor: pointer; border: none; font-size: 0.95rem;
}
.btn-gold { background: var(--gold); color: var(--paper); box-shadow: 0 4px 14px rgba(184,134,11,0.25); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: rgba(184,134,11,0.08); }
.btn-outline-light { border: 1px solid rgba(184,134,11,0.4); color: var(--gold); background: transparent; }
.btn-outline-light:hover { background: rgba(184,134,11,0.08); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(249,246,240,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(212,197,160,0.5);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
@media (min-width: 640px) { .header-inner { height: 80px; padding: 0 1.5rem; } }
@media (min-width: 1024px) { .header-inner { padding: 0 2rem; } }

.logo-link { display: flex; align-items: center; gap: 0.75rem; }
.logo-link img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
@media (min-width: 640px) { .logo-link img { width: 48px; height: 48px; } }
.logo-text h1 { font-family: var(--serif); font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.logo-text p { font-size: 0.7rem; letter-spacing: 0.05em; }
.site-header:not(.scrolled) .logo-text h1 { color: #fff; }
.site-header:not(.scrolled) .logo-text p { color: rgba(255,255,255,0.7); }
.site-header.scrolled .logo-text h1 { color: var(--ink); }
.site-header.scrolled .logo-text p { color: var(--frost); }

/* Desktop Nav */
.desktop-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .desktop-nav { display: flex; } }
.desktop-nav a {
  padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.875rem;
  font-weight: 500; transition: all 0.2s;
}
.site-header:not(.scrolled) .desktop-nav a { color: rgba(255,255,255,0.9); }
.site-header:not(.scrolled) .desktop-nav a:hover { color: #fff; background: rgba(184,134,11,0.1); }
.site-header.scrolled .desktop-nav a { color: var(--soot); }
.site-header.scrolled .desktop-nav a:hover { color: var(--gold); background: rgba(184,134,11,0.08); }

/* Mobile menu toggle */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 0.5rem;
}
@media (max-width: 1023px) { .menu-toggle { display: block; } }
.menu-toggle svg { width: 24px; height: 24px; }
.site-header:not(.scrolled) .menu-toggle svg { color: #fff; }
.site-header.scrolled .menu-toggle svg { color: var(--soot); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; right: -300px; width: 288px; height: 100vh;
  background: var(--paper); z-index: 200; transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1); padding: 2rem 1.5rem;
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 150;
}
.mobile-overlay.open { display: block; }
.mobile-close { background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--soot); position: absolute; top: 1rem; right: 1rem; }
.mobile-menu .mobile-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.mobile-menu .mobile-logo img { width: 40px; height: 40px; border-radius: 50%; }
.mobile-menu .mobile-logo h2 { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--ink); }
.mobile-menu .mobile-logo p { font-size: 0.7rem; color: var(--frost); letter-spacing: 0.05em; }
.mobile-menu a {
  display: block; padding: 0.75rem 1rem; border-radius: 6px;
  font-size: 0.875rem; font-weight: 500; color: var(--soot); transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--gold); background: rgba(184,134,11,0.08); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--paper); position: relative; overflow: hidden;
}
.hero-decor { position: absolute; inset: 0; opacity: 0.04; pointer-events: none; }
.hero-decor .circle1 { position: absolute; top: 25%; left: 25%; width: 400px; height: 400px; border-radius: 50%; background: rgba(184,134,11,0.3); filter: blur(60px); }
.hero-decor .circle2 { position: absolute; bottom: 25%; right: 25%; width: 400px; height: 400px; border-radius: 50%; background: rgba(45,139,86,0.2); filter: blur(60px); }
.hero-grid {
  position: absolute; inset: 0; opacity: 0.06;
  background-image: linear-gradient(rgba(184,134,11,0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(184,134,11,0.3) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-content { position: relative; z-index: 10; max-width: 1000px; margin: 0 auto; padding: 0 1rem; text-align: center; }
.hero-line { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.hero-line .bar { width: 60px; height: 1px; background: linear-gradient(to right, transparent, rgba(184,134,11,0.6)); }
.hero-line .bar:last-child { background: linear-gradient(to left, transparent, rgba(184,134,11,0.6)); }
.hero-line .diamond { width: 8px; height: 8px; background: rgba(184,134,11,0.6); transform: rotate(45deg); }
.hero-logo { margin: 0 auto 1.5rem; width: 80px; height: 80px; border-radius: 50%; box-shadow: 0 4px 20px rgba(184,134,11,0.2); }
.hero h1 { font-family: var(--serif); font-size: 2.5rem; font-weight: 700; color: var(--soot); margin-bottom: 1rem; line-height: 1.2; }
@media (min-width: 640px) { .hero h1 { font-size: 3.5rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 4rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero .subtitle { font-size: 1.1rem; color: var(--frost); font-weight: 300; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
@media (min-width: 640px) { .hero .subtitle { font-size: 1.25rem; } }
.hero .motto { font-size: 1rem; color: var(--gold); font-family: var(--serif); max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.6; }
@media (min-width: 640px) { .hero .motto { font-size: 1.125rem; } }
.hero .desc { font-size: 0.9rem; color: var(--frost); max-width: 600px; margin: 0 auto 3rem; line-height: 1.7; }
@media (min-width: 640px) { .hero .desc { font-size: 1rem; } }
.hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; justify-content: center; } }
.hero-stats { margin-top: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 5rem; } }
.hero-stats .stat-value { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; color: var(--gold); }
@media (min-width: 640px) { .hero-stats .stat-value { font-size: 2.25rem; } }
@media (min-width: 768px) { .hero-stats .stat-value { font-size: 2.5rem; } }
.hero-stats .stat-label { font-size: 0.8rem; color: var(--frost); margin-top: 0.25rem; }
@media (min-width: 640px) { .hero-stats .stat-label { font-size: 0.875rem; } }

/* ===== Section ===== */
.section { padding: 4rem 0; }
@media (min-width: 640px) { .section { padding: 6rem 0; } }
.bg-paper { background: var(--paper); }
.bg-paper-dark { background: var(--paper-dark); }
.section-header { text-align: center; margin-bottom: 3rem; }
@media (min-width: 640px) { .section-header { margin-bottom: 4rem; } }
.section-header .tag { font-size: 0.8rem; font-weight: 500; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.75rem; }
.section-header h2 { font-family: var(--serif); font-size: 1.875rem; font-weight: 700; color: var(--ink); margin-bottom: 1rem; }
@media (min-width: 640px) { .section-header h2 { font-size: 2.25rem; } }
.section-header .desc { color: var(--frost); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ===== Card ===== */
.card {
  background: var(--card); border-radius: 8px; border: 1px solid rgba(212,197,160,0.5);
  padding: 1.5rem; transition: all 0.3s ease;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-2px); border-color: rgba(184,134,11,0.3); }
@media (min-width: 640px) { .card { padding: 1.5rem; } }

/* ===== Badge ===== */
.badge {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 6px;
  font-size: 0.8rem; font-weight: 500; border: 1px solid var(--silk);
  background: var(--paper); color: var(--soot);
}

/* ===== Grid ===== */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; } }

/* ===== News Featured ===== */
.news-featured { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 1024px) { .news-featured { grid-template-columns: 1fr 1fr; } }
.news-main { min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; }
@media (min-width: 640px) { .news-main { min-height: 320px; } }
.news-main h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--soot); margin-bottom: 0.75rem; transition: color 0.3s; }
@media (min-width: 640px) { .news-main h3 { font-size: 1.5rem; } }
.news-main:hover h3 { color: var(--gold); }
.news-side { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.news-item { display: block; }
.news-item h3 { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; transition: color 0.3s; line-height: 1.5; }
@media (min-width: 640px) { .news-item h3 { font-size: 1.125rem; } }
.news-item:hover h3 { color: var(--gold); }
.news-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; font-size: 0.75rem; color: rgba(107,107,107,0.6); }

/* ===== Feature Card ===== */
.feature-card { text-align: center; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 8px; background: rgba(184,134,11,0.1);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; transition: all 0.3s;
}
.feature-card:hover .feature-icon { background: var(--gold); color: #fff; }
.feature-card h3 { font-family: var(--serif); font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--frost); line-height: 1.6; }

/* ===== Benefit Card ===== */
.benefit-icon {
  color: var(--gold); margin-bottom: 1rem; transition: transform 0.3s;
}
.benefit-icon svg { width: 32px; height: 32px; }
.card:hover .benefit-icon { transform: scale(1.1); }
.card h3 { font-family: var(--serif); font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; color: var(--frost); line-height: 1.6; }

/* ===== Steps ===== */
.steps-card { padding: 1.5rem 2rem; text-align: center; }
.step-circle {
  width: 64px; height: 64px; border-radius: 50%; background: var(--paper);
  border: 1px solid var(--silk); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--gold);
  margin-bottom: 1rem; box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.step-title { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--soot); margin-bottom: 0.5rem; }
.step-desc { font-size: 0.875rem; color: var(--frost); line-height: 1.6; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; } }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--soot); margin-bottom: 0.375rem; }
.form-group label .required { color: #ef4444; }
.form-input {
  width: 100%; padding: 0.625rem 0.875rem; border: 1px solid rgba(212,197,160,0.6);
  border-radius: 6px; font-size: 0.875rem; background: #fff; color: var(--soot);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,134,11,0.1); }
.form-input::placeholder { color: #aaa; }
textarea.form-input { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.alert { padding: 1rem; border-radius: 6px; margin-bottom: 1.5rem; font-size: 0.875rem; }
.alert-success { background: rgba(45,139,86,0.1); border: 1px solid rgba(45,139,86,0.2); color: var(--jade); }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }

.contact-info-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--frost); }
.contact-info-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid rgba(212,197,160,0.4); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; cursor: pointer; font-size: 0.9rem; font-weight: 500; color: var(--soot);
  background: none; border: none; width: 100%; text-align: left;
}
.faq-question:hover { color: var(--gold); }
.faq-arrow { transition: transform 0.3s; flex-shrink: 0; margin-left: 1rem; }
.faq-arrow.open { transform: rotate(180deg); }
.faq-answer { padding: 0 0 1rem; font-size: 0.875rem; color: var(--frost); line-height: 1.7; display: none; }
.faq-answer.open { display: block; }

/* ===== Footer ===== */
.site-footer { background: var(--paper-dark); padding: 3rem 0 0; }
@media (min-width: 640px) { .site-footer { padding: 4rem 0 0; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 3rem; } }
.footer-brand p { font-size: 0.875rem; color: var(--frost); line-height: 1.7; margin-top: 1rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%; background: var(--paper);
  border: 1px solid var(--silk); display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.footer-social a:hover { background: rgba(184,134,11,0.1); }
.footer-social a svg { width: 16px; height: 16px; color: var(--frost); }
.footer-col h4 { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--soot); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.875rem; color: var(--frost); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(212,197,160,0.3); margin-top: 2rem;
  padding: 1.5rem 0; display: flex; flex-direction: column; align-items: center;
  gap: 0.75rem; font-size: 0.75rem; color: var(--frost);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom a { color: var(--frost); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--soot); }

/* ===== Page Banner ===== */
.page-banner {
  padding: 8rem 0 4rem; text-align: center;
  background: var(--paper-dark); border-bottom: 1px solid var(--silk);
}
@media (min-width: 640px) { .page-banner { padding: 10rem 0 5rem; } }
.page-banner h1 { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; }
@media (min-width: 640px) { .page-banner h1 { font-size: 2.5rem; } }

/* ===== View More ===== */
.view-more { text-align: center; margin-top: 2.5rem; }

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp 0.6s ease-out both; }
.animate-d1 { animation-delay: 0.1s; }
.animate-d2 { animation-delay: 0.2s; }
.animate-d3 { animation-delay: 0.3s; }
.animate-d4 { animation-delay: 0.4s; }
.animate-d5 { animation-delay: 0.5s; }
