/* ====== CSS 变量 ====== */
:root {
  --primary: #8B6914;
  --primary-light: #D4A574;
  --primary-dark: #6B5010;
  --accent: #2C2C2C;
  --bg: #FAF8F5;
  --bg-dark: #1a1a1a;
  --text: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --white: #ffffff;
  --border: #e8e0d8;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: 0.3s ease;
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ====== Reset ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ====== Container ====== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ====== Header / 导航 ====== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); transition: var(--transition);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo-text { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.logo-accent { color: var(--primary); }
.nav { display: flex; gap: 32px; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--text-light); transition: var(--transition); position: relative; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { width: 24px; height: 2px; background: var(--accent); transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ====== Hero ====== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 70px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #3a3020 100%); z-index: 0; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-text { max-width: 700px; }
.hero-subtitle { font-size: 0.95rem; letter-spacing: 3px; color: var(--primary-light); text-transform: uppercase; margin-bottom: 16px; }
.hero-title { font-size: 4rem; font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.text-accent { color: var(--primary-light); }
.hero-desc { font-size: 1.2rem; color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ====== Buttons ====== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 36px; font-size: 1rem; font-weight: 500; border-radius: 8px; transition: var(--transition); cursor: pointer; border: 2px solid transparent; font-family: var(--font); }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(139,105,20,0.3); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary i { transition: var(--transition); }
.btn-primary:hover i { transform: translateX(3px); }

/* ====== Section ====== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 4px; color: var(--primary); margin-bottom: 12px; }
.section-title { font-size: 2.5rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.section-desc { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ====== 关于我们 ====== */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-img-placeholder { background: linear-gradient(135deg, #f0ebe4 0%, #e8e0d8 100%); border-radius: var(--radius); height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-lighter); gap: 12px; }
.about-img-placeholder i { font-size: 3rem; }
.about-text h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 20px; color: var(--accent); }
.about-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.about-stats { display: flex; gap: 40px; margin-top: 30px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.9rem; color: var(--text-lighter); margin-top: 4px; }

/* ====== 产品中心 ====== */
.products { background: var(--bg); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card { background: var(--white); border-radius: var(--radius); padding: 40px 28px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.product-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--primary-light), var(--primary)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.product-icon i { font-size: 2rem; color: var(--white); }
.product-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; color: var(--accent); }
.product-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* ====== 品牌故事 ====== */
.brand-story { background: var(--white); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.story-text h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 20px; color: var(--accent); }
.story-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }
.story-values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value-item { background: var(--bg); padding: 24px 20px; border-radius: var(--radius); text-align: center; transition: var(--transition); }
.value-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-item i { font-size: 1.8rem; color: var(--primary); margin-bottom: 12px; }
.value-item h4 { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.value-item p { font-size: 0.9rem; color: var(--text-light); }

/* ====== 定制流程 ====== */
.process { background: var(--bg); }
.process-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: start; }
.step { text-align: center; padding: 30px 16px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.step-num { font-size: 2rem; font-weight: 900; color: var(--primary); opacity: 0.3; line-height: 1; margin-bottom: 8px; }
.step-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary-light), var(--primary)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step-icon i { font-size: 1.4rem; color: var(--white); }
.step h3 { font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.step-arrow { display: flex; align-items: center; justify-content: center; color: var(--primary-light); font-size: 1.2rem; padding-top: 50px; }

/* ====== 选材品质 ====== */
.materials { background: var(--white); }
.materials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.material-item { padding: 36px 24px; text-align: center; border-radius: var(--radius); background: var(--bg); transition: var(--transition); }
.material-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.material-img { width: 70px; height: 70px; background: linear-gradient(135deg, var(--primary-light), var(--primary)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.material-img i { font-size: 1.8rem; color: var(--white); }
.material-item h3 { font-size: 1.15rem; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.material-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .step-arrow:nth-child(4), .step-arrow:nth-child(8) { display: none; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .materials-grid { grid-template-columns: 1fr; }
  .story-values { grid-template-columns: 1fr 1fr; }
}

/* ====== 案例展示 ====== */
.cases { background: var(--white); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.case-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); background: var(--bg); }
.case-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.case-img { width: 100%; height: 260px; object-fit: cover; display: block; }
.case-img-placeholder { height: 260px; background: linear-gradient(135deg, #e8e0d8 0%, #ddd6cc 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-lighter); gap: 8px; }
.case-img-placeholder i { font-size: 2.5rem; }
.case-info { padding: 20px 24px; }
.case-info h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; color: var(--accent); }
.case-info p { font-size: 0.9rem; color: var(--text-lighter); }
.cases-more { text-align: center; margin-top: 40px; color: var(--text-lighter); font-size: 0.95rem; }

/* ====== 门店地址 ====== */
.store { background: var(--bg); }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 900px; margin: 0 auto; }
.store-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); text-align: center; }
.store-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary-light), var(--primary)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.store-icon i { font-size: 1.5rem; color: var(--white); }
.store-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; color: var(--accent); }
.store-card p { color: var(--text-light); margin-bottom: 8px; font-size: 0.95rem; }
.store-card .btn { margin-top: 16px; }
.store-address i, .store-phone i, .store-hours i { color: var(--primary); margin-right: 8px; width: 16px; }

/* ====== 联系我们 ====== */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 1000px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--bg); border-radius: var(--radius); transition: var(--transition); }
.contact-item:hover { transform: translateX(5px); }
.contact-item i { font-size: 1.4rem; color: var(--primary); margin-top: 3px; width: 28px; }
.contact-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; color: var(--accent); }
.contact-item p { font-size: 0.95rem; color: var(--text-light); }
.contact-item a { color: var(--primary); }
.contact-item a:hover { text-decoration: underline; }

.contact-form { background: var(--bg); padding: 36px; border-radius: var(--radius); }
.contact-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; color: var(--accent); }
.contact-form-desc { color: var(--text-light); margin-bottom: 24px; font-size: 0.95rem; }
.wechat-contact-card { display: flex; gap: 24px; align-items: center; }
.contact-qrcode { width: 150px; height: 150px; object-fit: contain; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.wechat-contact-info { flex: 1; }
.wechat-contact-info p { margin-bottom: 8px; font-size: 0.95rem; }
.wechat-contact-info .btn { margin-top: 12px; }
@media (max-width: 480px) {
  .wechat-contact-card { flex-direction: column; text-align: center; }
}
.form-group { margin-bottom: 16px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: 8px; font-size: 0.95rem; font-family: var(--font); transition: var(--transition); background: var(--white); color: var(--text); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(139,105,20,0.1); }
.form-group textarea { resize: vertical; }

/* ====== 微信弹窗 ====== */
.wechat-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; align-items: center; justify-content: center; }
.wechat-modal.active { display: flex; }
.wechat-modal-content { background: var(--white); padding: 40px; border-radius: var(--radius); text-align: center; max-width: 380px; width: 90%; position: relative; }
.close-modal { position: absolute; top: 12px; right: 16px; font-size: 1.5rem; cursor: pointer; color: var(--text-lighter); }
.wechat-modal-content h3 { margin-bottom: 20px; color: var(--accent); }
.qrcode-img { width: 200px; height: 200px; margin: 0 auto 16px; object-fit: contain; border-radius: var(--radius); }
.qrcode-placeholder { width: 200px; height: 200px; margin: 0 auto 16px; background: var(--bg); border: 2px dashed var(--border); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--text-lighter); }
.qrcode-placeholder i { font-size: 2.5rem; }
.qrcode-hint { font-size: 0.8rem; color: var(--text-lighter); }

/* ====== Footer ====== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-brand h3::after { content: ' 轻高定'; color: var(--primary-light); }
.footer-brand p { margin-bottom: 8px; font-size: 0.9rem; }
.footer-phone a { color: var(--primary-light); }
.footer-links h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer-links a { display: block; color: rgba(255,255,255,0.6); margin-bottom: 10px; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); padding-left: 5px; }
.footer-qr h4 { color: var(--white); margin-bottom: 16px; }
.footer-qr-img { width: 100px; height: 100px; object-fit: contain; border-radius: 8px; margin-bottom: 8px; }
.footer-qr-placeholder { width: 100px; height: 100px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.footer-qr-placeholder i { font-size: 2rem; color: rgba(255,255,255,0.3); }
.footer-qr p { font-size: 0.85rem; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* ====== 回到顶部 ====== */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 15px rgba(139,105,20,0.3); opacity: 0; transform: translateY(20px); transition: var(--transition); z-index: 999; }
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ====== 动画 ====== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { opacity: 0; transform: translateY(30px); transition: 0.6s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ====== 响应式 ====== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.8rem; }
  .section-title { font-size: 2rem; }
  .nav { position: fixed; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); transform: translateY(-100%); opacity: 0; transition: var(--transition); pointer-events: none; }
  .nav.active { transform: translateY(0); opacity: 1; pointer-events: all; }
  .hamburger { display: flex; }
  .about-grid, .contact-grid, .store-grid { grid-template-columns: 1fr; gap: 30px; }
  .products-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .contact-form { padding: 24px; }
}
