/* 曲凡空间全屋定制 - 独立样式系统 */
/* 风格：高端定制，莫兰迪色+原木色+简约风格 */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #6b5b4f;
  --primary-dark: #4a3f35;
  --secondary: #a8998a;
  --secondary-dark: #8b7d6f;
  --accent: #c9b8a8;
  --bg: #faf8f5;
  --bg-card: #ffffff;
  --text: #3d352e;
  --text-muted: #8b7d6f;
  --border: #e8e0d8;
  --shadow: 0 4px 20px rgba(107, 91, 79, 0.08);
  --shadow-hover: 0 8px 30px rgba(107, 91, 79, 0.15);
  --radius: 4px;
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif; background: var(--bg); color: var(--text); line-height: 1.8; letter-spacing: 0.3px; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 导航栏 */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(250,248,245,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; letter-spacing: 1px; font-weight: 700; }
.logo-title { font-size: 18px; font-weight: 600; color: var(--primary-dark); letter-spacing: 2px; }
.logo-sub { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; }
.nav-links { display: flex; list-style: none; gap: 8px; align-items: center; flex: 1; justify-content: center; }
.nav-links a { padding: 8px 16px; border-radius: 2px; font-size: 14px; font-weight: 400; color: var(--text); transition: all 0.2s; white-space: nowrap; letter-spacing: 1px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--accent); }
.nav-cta { background: var(--primary) !important; color: white !important; font-weight: 500 !important; }
.nav-cta:hover { background: var(--primary-dark) !important; }
.mobile-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--primary); }

/* Hero */
.hero { background: linear-gradient(135deg, #f5f0eb 0%, #ebe3db 50%, #e0d5c9 100%); padding: 100px 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 100%; 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='%23a8998a' fill-opacity='0.1'%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"); opacity: 0.5; }
.hero h1 { font-size: 44px; font-weight: 300; line-height: 1.4; margin-bottom: 24px; color: var(--primary-dark); letter-spacing: 3px; }
.hero h1 span { font-weight: 600; color: var(--primary); }
.hero p { font-size: 16px; color: var(--text-muted); margin-bottom: 36px; max-width: 550px; line-height: 2; letter-spacing: 1px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 36px; border-radius: 2px; font-size: 14px; font-weight: 500; cursor: pointer; border: none; transition: all 0.3s; letter-spacing: 2px; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(107,91,79,0.2); }
.btn-secondary { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: white; }
.hero-stats { display: flex; gap: 60px; margin-top: 60px; flex-wrap: wrap; }
.stat-item h3 { font-size: 36px; font-weight: 300; color: var(--primary); letter-spacing: 2px; }
.stat-item p { font-size: 13px; color: var(--text-muted); letter-spacing: 1px; margin-top: 4px; }

/* 通用区块 */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 28px; font-weight: 300; margin-bottom: 16px; color: var(--primary-dark); letter-spacing: 4px; }
.section-title h2 span { font-weight: 600; color: var(--primary); }
.section-title p { font-size: 14px; color: var(--text-muted); letter-spacing: 1px; }
.section-title::after { content: ""; display: block; width: 40px; height: 1px; background: var(--primary); margin: 20px auto 0; }

/* 卡片 */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 30px; }
.card { background: var(--bg-card); border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow); transition: all 0.3s; border: 1px solid var(--border); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card-icon { font-size: 32px; margin-bottom: 20px; color: var(--primary); }
.card h3 { font-size: 18px; font-weight: 500; margin-bottom: 16px; color: var(--primary-dark); letter-spacing: 2px; }
.card p { font-size: 14px; color: var(--text-muted); line-height: 2; }

/* 高亮框 */
.highlight-box { background: #f5f0eb; border-left: 3px solid var(--primary); padding: 24px 28px; border-radius: 0 2px 2px 0; margin-bottom: 20px; }
.highlight-box.light { background: #faf8f5; border-left-color: var(--secondary); }
.highlight-box p { font-size: 15px; line-height: 2; }
.highlight-box strong { color: var(--primary-dark); font-weight: 500; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border-radius: var(--radius); margin-bottom: 16px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--border); }
.faq-question { padding: 22px 28px; cursor: pointer; font-weight: 500; font-size: 15px; display: flex; justify-content: space-between; align-items: center; color: var(--primary-dark); letter-spacing: 1px; }
.faq-question .arrow { transition: transform 0.3s; color: var(--secondary); font-size: 12px; }
.faq-item[open] .arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; padding: 0 28px; }
.faq-item[open] .faq-answer { max-height: none; padding: 0 28px 24px; }
.faq-answer p { font-size: 14px; color: var(--text-muted); line-height: 2; }

/* 案例 */
.case-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s; cursor: pointer; border: 1px solid var(--border); }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.case-header { background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 28px; color: white; }
.case-header h3 { font-size: 18px; font-weight: 500; letter-spacing: 2px; }
.case-header .case-tag { display: inline-block; background: rgba(255,255,255,0.2); padding: 4px 12px; border-radius: 2px; font-size: 11px; margin-top: 10px; letter-spacing: 1px; }
.case-body { padding: 28px; }
.case-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; line-height: 2; }
.case-meta { display: flex; gap: 20px; font-size: 12px; color: var(--text-muted); margin-top: 20px; flex-wrap: wrap; letter-spacing: 1px; }

/* 页脚 */
.footer { background: var(--primary-dark); color: #d4c8bc; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h4 { font-size: 15px; margin-bottom: 20px; color: var(--accent); font-weight: 500; letter-spacing: 2px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; font-size: 13px; color: #b8a99a; letter-spacing: 1px; }
.footer a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; color: #9c8d7e; letter-spacing: 1px; }

/* 响应式 */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 30px; letter-spacing: 2px; }
  .hero-stats { gap: 30px; }
  .stat-item h3 { font-size: 28px; }
  .section { padding: 50px 0; }
}

/* 可访问的交互控件 */
.faq-question { width: 100%; border: 0; background: transparent; text-align: left; font-family: inherit; color: inherit; gap: 12px; }
.faq-question:focus-visible, .mobile-toggle:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.faq-question .arrow { flex-shrink: 0; }

/* Native disclosure remains operable when JavaScript is unavailable. */
.faq-question { list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
