/* ============================================
   宸图家具 — 全站样式
   ============================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2c2c2c;
  background: #fafafa;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- CONTAINER ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- NAV ---------- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-mark { font-family: 'Noto Serif SC', serif; font-size: 1.4rem; font-weight: 700; color: #8B4513; }
.logo-sub { font-size: 0.65rem; letter-spacing: 2px; color: #999; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.9rem; color: #555; font-weight: 500;
  position: relative; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #8B4513; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: #8B4513; border-radius: 1px;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #333; margin: 5px 0; transition: 0.3s; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3a2a1a 0%, #5a3a22 40%, #8B4513 100%);
  text-align: center; padding: 120px 24px 80px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="p" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0 10h20M10 0v20" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect fill="url(%23p)" width="100" height="100"/></svg>');
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: 3.5rem; font-weight: 700; color: #fff;
  line-height: 1.2; margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,0.8); line-height: 1.8;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block; padding: 14px 32px;
  font-size: 1rem; font-weight: 500; border-radius: 8px;
  cursor: pointer; transition: all 0.3s; border: 2px solid transparent;
}
.btn-primary {
  background: #c4783e; color: #fff; border-color: #c4783e;
}
.btn-primary:hover { background: #b06530; border-color: #b06530; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,120,62,0.3); }
.btn-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-block { width: 100%; text-align: center; }
.btn-large { padding: 18px 48px; font-size: 1.1rem; }

/* ---------- HERO STATS ---------- */
.hero-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { display: block; font-family: 'Noto Serif SC', serif; font-size: 2.2rem; font-weight: 700; color: #f0c27a; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); font-size: 0.85rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- SECTION COMMON ---------- */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 500;
  color: #c4783e; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 2.4rem; font-weight: 700; color: #2c2c2c; margin-bottom: 12px;
}
.section-desc { font-size: 1.05rem; color: #777; }

/* ---------- ABOUT ---------- */
.section-about { background: #fff; }
.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
.about-card {
  text-align: center; padding: 40px 24px;
  background: #fafafa; border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.about-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; color: #333; }
.about-card p { font-size: 0.9rem; color: #777; line-height: 1.7; }
.about-info {
  background: #f7f3ee; border-radius: 12px; padding: 32px 40px;
}
.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.info-row:last-child { border-bottom: none; }
.info-label { font-weight: 500; color: #8B4513; min-width: 100px; }
.info-value { color: #555; }

/* ---------- PRODUCTS ---------- */
.section-products { background: #fafafa; }
.product-series { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.series-card {
  border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s; cursor: pointer;
}
.series-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.series-visual { height: 160px; }
.series-info { padding: 20px; position: relative; }
.series-info h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.series-info p { font-size: 0.85rem; color: #999; }
.series-tag {
  position: absolute; top: 20px; right: 20px;
  font-size: 0.7rem; padding: 3px 10px; border-radius: 20px;
  background: #c4783e; color: #fff; font-weight: 500;
}

/* Gradients for each series */
.modern-gradient { background: linear-gradient(135deg, #2c3e50, #4ca1af); }
.luxe-gradient { background: linear-gradient(135deg, #8B4513, #c4783e); }
.classic-gradient { background: linear-gradient(135deg, #6b4c3b, #a67c5b); }
.retro-gradient { background: linear-gradient(135deg, #3b2f2f, #7a6458); }
.nature-gradient { background: linear-gradient(135deg, #5b7a5b, #8fb58f); }
.italy-gradient { background: linear-gradient(135deg, #1a1a2e, #4a4a6e); }

/* Material section */
.material-section { text-align: center; }
.material-section h3 { font-family: 'Noto Serif SC', serif; font-size: 1.6rem; margin-bottom: 32px; }
.material-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.material-item {
  padding: 28px 20px; background: #fff; border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
}
.material-icon { font-size: 2rem; margin-bottom: 12px; }
.material-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.material-item p { font-size: 0.85rem; color: #777; line-height: 1.6; }

/* ---------- PRICING ---------- */
.section-pricing { background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 32px; }
.price-card {
  position: relative; padding: 36px 28px; text-align: center;
  background: #fafafa; border-radius: 12px;
  border: 2px solid transparent; transition: all 0.3s;
}
.price-card:hover { border-color: #c4783e; transform: translateY(-4px); }
.price-card.featured { border-color: #c4783e; background: #fff; box-shadow: 0 8px 30px rgba(196,120,62,0.15); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #c4783e; color: #fff; font-size: 0.75rem; padding: 4px 16px; border-radius: 20px; font-weight: 500;
}
.price-tier {
  font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; padding: 4px 16px; border-radius: 20px; display: inline-block;
}
.tier-引流 { background: #e8f5e9; color: #2e7d32; }
.tier-主力 { background: #fff3e0; color: #e65100; }
.tier-标准 { background: #e3f2fd; color: #1565c0; }
.tier-高端 { background: #fce4ec; color: #c62828; }
.price-amount { margin-bottom: 24px; }
.price-currency { font-size: 1.4rem; vertical-align: super; }
.price-amount .price-currency, .price-amount > *:nth-child(2) { font-family: 'Noto Serif SC', serif; font-size: 2.8rem; font-weight: 700; color: #2c2c2c; }
.price-unit { font-size: 1rem; color: #999; }
.price-features { margin-bottom: 28px; }
.price-features li { font-size: 0.9rem; color: #666; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.price-features li:last-child { border-bottom: none; }
.price-note { text-align: center; font-size: 0.95rem; color: #777; background: #f7f3ee; padding: 20px; border-radius: 8px; }

/* ---------- PARTNER ---------- */
.section-partner { background: linear-gradient(135deg, #3a2a1a, #5a3a22); color: #fff; }
.section-partner .section-tag { color: #f0c27a; }
.section-partner .section-header h2 { color: #fff; }
.section-partner .section-desc { color: rgba(255,255,255,0.7); }
.partner-highlight { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 64px; }
.ph-card { text-align: center; padding: 32px 20px; background: rgba(255,255,255,0.08); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.ph-number { font-family: 'Noto Serif SC', serif; font-size: 2.4rem; font-weight: 700; color: #f0c27a; margin-bottom: 8px; }
.ph-label { font-size: 0.9rem; font-weight: 500; margin-bottom: 4px; }
.ph-card p { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* Commission table */
.commission-table { margin-bottom: 64px; }
.commission-table h3 { font-family: 'Noto Serif SC', serif; font-size: 1.5rem; text-align: center; margin-bottom: 20px; }
.comm-row { display: flex; padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.comm-header { font-weight: 600; color: #f0c27a; background: rgba(255,255,255,0.05); border-radius: 8px 8px 0 0; }
.comm-row > * { flex: 1; text-align: center; font-size: 0.95rem; }
.comm-row:first-child > *:first-child { text-align: left; }
.comm-row > *:first-child { text-align: left; }

/* Partner types */
.partner-types { margin-bottom: 48px; }
.partner-types h3 { font-family: 'Noto Serif SC', serif; font-size: 1.5rem; text-align: center; margin-bottom: 24px; }
.ptype-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ptype-card {
  padding: 32px 24px; background: rgba(255,255,255,0.08); border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1); text-align: center;
}
.ptype-icon { font-size: 2.2rem; margin-bottom: 12px; }
.ptype-card h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.ptype-card p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.ptype-card ul { text-align: left; }
.ptype-card li { font-size: 0.85rem; color: rgba(255,255,255,0.6); padding: 4px 0; }
.ptype-card li::before { content: '✓ '; color: #f0c27a; }

.partner-cta { text-align: center; padding: 48px; background: rgba(255,255,255,0.06); border-radius: 16px; }
.partner-cta h3 { font-family: 'Noto Serif SC', serif; font-size: 1.5rem; margin-bottom: 8px; }
.partner-cta p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.partner-cta .btn-primary { background: #f0c27a; border-color: #f0c27a; color: #3a2a1a; }
.partner-cta .btn-primary:hover { background: #e0b060; border-color: #e0b060; }

/* ---------- PROCESS ---------- */
.section-process { background: #fafafa; }
.process-timeline {
  display: flex; justify-content: space-between; position: relative;
  padding: 40px 0 0;
}
.process-timeline::before {
  content: ''; position: absolute; top: 60px; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, #c4783e, #f0c27a);
}
.process-step { flex: 1; text-align: center; position: relative; padding: 0 8px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 16px;
  background: #c4783e; color: #fff; font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; box-shadow: 0 2px 8px rgba(196,120,62,0.3);
}
.step-title { font-size: 1rem; font-weight: 600; color: #333; margin-bottom: 6px; }
.step-desc { font-size: 0.8rem; color: #999; line-height: 1.5; }

.process-badge { display: flex; justify-content: center; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.process-badge span {
  font-size: 0.95rem; font-weight: 500; color: #8B4513;
  background: #f7f3ee; padding: 10px 24px; border-radius: 30px;
}

/* ---------- MARKET ---------- */
.section-market { background: #fff; }
.market-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.market-card {
  padding: 40px; background: #fafafa; border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
}
.market-icon { font-size: 2.5rem; margin-bottom: 16px; }
.market-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 16px; color: #8B4513; }
.market-card li { font-size: 0.95rem; color: #666; padding: 6px 0; padding-left: 20px; position: relative; }
.market-card li::before { content: '•'; position: absolute; left: 0; color: #c4783e; font-weight: bold; }

/* ---------- CONTACT ---------- */
.section-contact { background: #fafafa; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.ci-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 0.95rem; color: #333; margin-bottom: 2px; }
.contact-item a { color: #c4783e; font-size: 1.1rem; font-weight: 500; }
.contact-item p { font-size: 0.9rem; color: #777; }

/* Contact form */
.contact-form-wrap { background: #fff; padding: 40px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.contact-form h3 { font-family: 'Noto Serif SC', serif; font-size: 1.4rem; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 8px;
  font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s;
  outline: none; background: #fafafa;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #c4783e; background: #fff; }
.form-group textarea { resize: vertical; }
.form-note { font-size: 0.8rem; color: #999; text-align: center; margin-top: 12px; }

/* ---------- FOOTER ---------- */
.footer { background: #2c2420; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand h2 { font-family: 'Noto Serif SC', serif; font-size: 1.5rem; color: #fff; margin-bottom: 4px; }
.footer-brand p { font-size: 0.9rem; margin-bottom: 4px; }
.footer-slogan { font-size: 0.8rem !important; color: rgba(255,255,255,0.5) !important; }
.footer-links { display: flex; gap: 48px; }
.fl-group h4 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.fl-group a { display: block; font-size: 0.85rem; padding: 4px 0; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.fl-group a:hover { color: #f0c27a; }
.qr-placeholder { text-align: center; }
.qr-box {
  width: 120px; height: 120px; margin: 0 auto 8px;
  background: rgba(255,255,255,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
}
.footer-bottom { padding: 20px 0; text-align: center; font-size: 0.8rem; }
.footer-credit { margin-top: 4px; color: rgba(255,255,255,0.3); }

/* ---------- FLOATING CTA ---------- */
.floating-cta { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15); cursor: pointer;
  transition: transform 0.3s;
}
.float-btn:hover { transform: scale(1.1); }
.float-phone { background: #c4783e; color: #fff; flex-direction: column; font-size: 0.6rem; }
.float-phone span:first-child { font-size: 1.3rem; }
.float-top { background: #fff; color: #555; font-size: 1.2rem; display: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about-grid, .partner-highlight, .material-features { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .product-series { grid-template-columns: repeat(2, 1fr); }
  .ptype-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); gap: 16px;
  }
  .nav-links.open { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 1.6rem; }
  .section-header h2 { font-size: 1.8rem; }
  .about-grid, .partner-highlight, .material-features, .pricing-grid, .product-series, .ptype-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-timeline { flex-direction: column; gap: 0; }
  .process-timeline::before { display: none; }
  .process-step { display: flex; align-items: center; gap: 16px; text-align: left; padding: 12px 0; }
  .step-num { margin: 0; flex-shrink: 0; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { gap: 24px; }
  .hero-cta { flex-direction: column; align-items: center; }
}
