/* ====================================================
   GRASSCLOTHS — Premium B2B Landing Page
   Dark luxury theme with warm gold accents
   ==================================================== */

/* =====================================================================
   Self-hosted Google Fonts (variable).
   Inter v20 and Playfair Display v40 are variable fonts: one file per
   subset covers the full weight axis. We declare font-weight ranges that
   match what style.css uses so the browser picks the right file.
   Downloaded via scripts/fetch_google_fonts.py on 2026-04-21.
   ===================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/playfair-display-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/playfair-display-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design Tokens ---------- */
/* 全站默认：暖白主题（方案 B 统一色调） */
:root {
  --bg-deep:       #faf8f5;
  --bg-surface:    #ffffff;
  --bg-card:       #ffffff;
  --bg-card-hover: #f5f2ed;
  --surface:       #ffffff;
  --border:        rgba(120, 100, 70, 0.12);
  --border-hover:  rgba(120, 100, 70, 0.25);
  --text-primary:  #1a1612;
  --text-secondary: rgba(26, 22, 18, 0.6);
  --text-muted:    rgba(26, 22, 18, 0.5);
  --accent:        #9e7c3c;
  --accent-glow:   rgba(158, 124, 60, 0.12);
  --accent-deep:   #7d6230;
  --accent-light:  #b8923e;
  --olive:         #6b8f5e;
  --danger:        #c0534a;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, 'Segoe UI', sans-serif;

  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --radius-xl:    32px;
  --radius-pill:  999px;

  --shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:     0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.10);
  --shadow-glow:   0 0 40px rgba(158, 124, 60, 0.08);

  --container:    min(1180px, calc(100vw - 2.5rem));
  --transition:   220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 深色区块（用于首页 hero、footer 等） ---------- */
.dark-section {
  --bg-deep:      #0c0a08;
  --bg-surface:   #151210;
  --bg-card:      #1e1a16;
  --bg-card-hover:#262119;
  --surface:      #1e1a16;
  --border:       rgba(200, 155, 92, 0.12);
  --border-hover: rgba(200, 155, 92, 0.30);
  --text-primary: #f5f0e8;
  --text-secondary: rgba(245, 240, 232, 0.55);
  --text-muted:   rgba(245, 240, 232, 0.62);
  --accent:       #c89b5c;
  --accent-glow:  rgba(200, 155, 92, 0.25);
  --accent-deep:  #a67d3d;
  --accent-light: #dbb87a;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.4);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow:  0 0 40px rgba(200, 155, 92, 0.15);
  background: #0c0a08;
  color: #f5f0e8;
}

/* .light-page 保留为别名，兼容已有 HTML — 但现在是空壳，默认就是暖白 */
.light-page {}

/* 深色区块内的 header（首页 hero 上方时使用） */
.dark-section .site-header,
.site-header.over-dark {
  background: rgba(12, 10, 8, 0.82);
  border-bottom-color: rgba(200, 155, 92, 0.08);
}
.dark-section .site-header.scrolled,
.site-header.over-dark.scrolled {
  background: rgba(12, 10, 8, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-deep);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }

p { color: var(--text-secondary); margin: 0; }

ul { list-style: none; padding: 0; margin: 0; }

.container {
  width: var(--container);
  margin-inline: auto;
}

.text-accent { color: var(--accent); }
.kicker {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Animations ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #0c0a08;
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(200, 155, 92, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(200, 155, 92, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.btn-outline:hover {
  background: rgba(200, 155, 92, 0.08);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-sm:hover {
  background: rgba(200, 155, 92, 0.1);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* ==========================================
   HEADER
   ========================================== */
/* header 默认暖白透明，与全站暖白主题一致 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 253, 250, 0.88);
  border-bottom: 1px solid rgba(120, 100, 70, 0.1);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 253, 250, 0.96);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #0c0a08;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(200, 155, 92, 0.08);
}
/* 当前页面高亮 */
.nav-link.is-active {
  color: var(--accent);
  background: rgba(200, 155, 92, 0.1);
}
.cta-nav {
  margin-left: 0.3rem;
  background: rgba(200, 155, 92, 0.12);
  border: 1px solid rgba(200, 155, 92, 0.25);
  color: var(--accent) !important;
}
.cta-nav:hover {
  background: rgba(200, 155, 92, 0.2) !important;
}

/* 导航下拉菜单 */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-arrow {
  font-size: 0.7rem;
  transition: transform var(--transition);
}
.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 180px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  background: rgba(255, 253, 250, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(120, 100, 70, 0.12);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}
/* 深色区域的 dropdown 使用深色背景 */
.over-dark .nav-dropdown-menu {
  background: rgba(21, 18, 16, 0.97);
  border-color: rgba(200, 155, 92, 0.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
/* 桌面 hover + 移动端 JS toggle 双触发 */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-dropdown-menu a:hover {
  color: var(--accent);
  background: rgba(200, 155, 92, 0.1);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 0 3rem;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 50%, rgba(200, 155, 92, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(107, 143, 94, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(200, 155, 92, 0.04) 0%, transparent 35%);
}
.hero-bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 155, 92, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 155, 92, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.hero-sub {
  max-width: 50ch;
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Hero Mosaic */
.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.8rem;
  position: relative;
}
.mosaic-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.mosaic-item:hover img {
  transform: scale(1.05);
}
.mosaic-item--tall {
  grid-row: span 2;
}

/* Hero Metrics */
.hero-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 3rem;
}
.metric-badge {
  padding: 1.2rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}
.metric-badge:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.metric-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.metric-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* ==========================================
   SECTIONS (shared)
   ========================================== */
.section {
  padding: 6rem 0;
}
/* 暖白主题下的交替段落背景 */
.section-alt {
  background:
    linear-gradient(180deg, rgba(245, 240, 232, 0.6) 0%, var(--bg-deep) 100%);
}
/* 深色区块内的交替段落 */
.dark-section .section-alt {
  background:
    linear-gradient(180deg, rgba(30, 26, 22, 0.5) 0%, #0c0a08 100%);
}
.section-header {
  max-width: 680px;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  max-width: 55ch;
}

/* ==========================================
   PRODUCT CARDS
   ========================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}


.product-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.product-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(120,100,70,0.1), rgba(26,22,18,0.25));
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.08);
}
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,22,18,0.2) 100%);
  pointer-events: none;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(200, 155, 92, 0.9);
  color: #0c0a08;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-body {
  padding: 1.5rem 1.6rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.product-body h3 {
  font-size: 1.45rem;
}
.product-body > p {
  flex: 1;
  line-height: 1.7;
}

.product-specs {
  display: grid;
  gap: 0.55rem;
  margin: 0.4rem 0;
}
.product-specs div {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(200, 155, 92, 0.08);
}
.product-specs dt {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 6rem;
}
.product-specs dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================
   SPECS BAR
   ========================================== */
.specs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  padding: 1.4rem 2rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  white-space: nowrap;
}
.spec-item strong {
  color: var(--accent);
  font-weight: 600;
}
.spec-icon {
  font-size: 1.15rem;
}

@media (max-width: 768px) {
  .specs-bar {
    gap: 0.8rem 1.2rem;
    padding: 1rem 1.2rem;
  }
  .spec-item {
    font-size: 0.8rem;
  }
}

/* ==========================================
   TRUST / WHY US
   ========================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.trust-card {
  padding: 2rem 1.8rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.trust-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: var(--radius-md);
  background: rgba(200, 155, 92, 0.1);
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.trust-card h3 {
  margin-bottom: 0.7rem;
}

/* ==========================================
   PROCESS / HOW IT WORKS
   ========================================== */
.process-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.process-step {
  flex: 1;
  padding: 2rem 1.6rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.process-step:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.step-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1;
}

.process-step h3 {
  margin-bottom: 0.7rem;
}

.process-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  flex-shrink: 0;
  position: relative;
}
.process-connector::before {
  content: '';
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
}
.process-connector::after {
  content: '→';
  position: absolute;
  color: var(--accent);
  font-size: 1.1rem;
  background: var(--bg-deep);
  padding: 0 0.3rem;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-list {
  max-width: 800px;
  display: grid;
  gap: 0.6rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover,
.faq-item[open] {
  border-color: var(--border-hover);
}

.faq-item summary {
  padding: 1.3rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-primary);
  transition: color var(--transition);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.4rem;
}
.faq-answer p {
  line-height: 1.8;
}
.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  padding-top: 1rem;
}
.contact-info h2 {
  margin-bottom: 1rem;
}
.contact-info > p {
  margin-bottom: 2rem;
  max-width: 40ch;
}

.contact-methods {
  display: grid;
  gap: 0.8rem;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.contact-method:hover {
  border-color: var(--border-hover);
}
.contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: rgba(200, 155, 92, 0.1);
  color: var(--accent);
  flex-shrink: 0;
}
.contact-method strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-method span span {
  color: var(--text-primary);
  font-size: 0.92rem;
}

/* Inquiry Form */
.inquiry-form {
  padding: 2.2rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.inquiry-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.form-field--full {
  grid-column: 1 / -1;
}
.form-field--hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.required { color: var(--accent); }

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 155, 92, 0.12);
  background: rgba(12, 10, 8, 0.6);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all var(--transition);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

/* Chip Group (Material Selection) */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(12, 10, 8, 0.5);
  transition: all var(--transition);
  user-select: none;
}
.chip:hover span {
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.chip input:checked + span {
  background: rgba(200, 155, 92, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
}

.form-note {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.form-status {
  margin-top: 0.8rem;
  min-height: 1.2rem;
  text-align: center;
  font-size: 0.9rem;
}
.form-status.success { color: var(--olive); }
.form-status.error { color: var(--danger); }

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  border-top: 1px solid rgba(200, 155, 92, 0.12);
  padding: 3.5rem 0 2rem;
  /* Footer 始终使用深色主题 */
  background: #1a1612;
  --text-primary: #f5f0e8;
  --text-secondary: rgba(245, 240, 232, 0.55);
  --text-muted: rgba(245, 240, 232, 0.62);
  --accent: #c89b5c;
  --accent-light: #dbb87a;
  --border: rgba(200, 155, 92, 0.12);
  color: #f5f0e8;
}

.footer-inner {
  display: grid;
  gap: 3rem;
}

.footer-brand {
  max-width: 420px;
}
.footer-brand .logo {
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.footer-links h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-links li {
  margin-bottom: 0.55rem;
}
.footer-links a,
.footer-links li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-legal {
  font-size: 0.78rem !important;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-mosaic {
    max-width: 500px;
  }
  .hero-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid .product-card:last-child {
    max-width: 100%;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 4.2rem;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.3rem;
    background: rgba(250, 248, 245, 0.97);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  /* 深色 hero 上方时移动菜单也用深色 */
  .over-dark ~ .main-nav,
  .over-dark + * .main-nav {
    background: rgba(12, 10, 8, 0.97);
  }
  .main-nav.is-open {
    transform: translateX(0);
  }
  /* 移动端下拉改为折叠展开 */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: rgba(200, 155, 92, 0.06);
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: var(--radius-md);
    margin: 0.2rem 0 0.2rem 0.5rem;
    padding: 0.3rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }
  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
  }
  /* .light-page dropdown 不再需要覆盖 — 默认就是暖白 */
  .nav-link {
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
  }
  .cta-nav {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }
  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 2.5rem;
  }
  h1 { font-size: clamp(2.3rem, 10vw, 3.5rem); }

  .hero-mosaic {
    grid-template-columns: 1fr 1fr;
  }
  .mosaic-item--tall {
    grid-column: 1 / -1;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
  }
  .mosaic-item {
    aspect-ratio: 4 / 3;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 3.5rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }

  .product-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .product-grid .product-card:last-child {
    max-width: 100%;
  }

  .process-grid {
    flex-direction: column;
    gap: 0.8rem;
  }
  .process-connector {
    width: 100%;
    height: 2rem;
  }
  .process-connector::before {
    width: 1px;
    height: 100%;
  }
  .process-connector::after {
    content: '↓';
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .btn-primary, .btn-outline, .btn-sm,
  .product-card, .trust-card, .process-step,
  .metric-badge, .nav-link, .contact-method,
  .mosaic-item img, .product-img img {
    transition: none !important;
    transform: none !important;
  }
  html { scroll-behavior: auto; }
}

@media (max-width: 480px) {
  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    text-align: center;
  }
  .inquiry-form {
    padding: 1.5rem;
  }
}

/* ==========================================
   SOCIAL PROOF STATS
   ========================================== */
.social-proof-section {
  padding: 2.5rem 0;
}
.proof-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem 2.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(200, 155, 92, 0.06) 0%, rgba(30, 26, 22, 0.8) 100%);
  border: 1px solid var(--border);
}
.proof-stat {
  text-align: center;
  flex: 1;
}
.proof-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.proof-stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}
.proof-stat-divider {
  width: 1px;
  height: 3rem;
  background: linear-gradient(180deg, transparent, var(--border-hover), transparent);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .proof-stats {
    flex-wrap: wrap;
    gap: 1.5rem 1rem;
    padding: 1.5rem;
  }
  .proof-stat {
    flex: 0 0 calc(50% - 1rem);
  }
  .proof-stat-divider {
    display: none;
  }
  .proof-stat-number {
    font-size: 1.8rem;
  }
}

/* ==========================================
   WHATSAPP FLOATING ACTION BUTTON
   ========================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-pill);
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
}
.whatsapp-fab.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
}
.whatsapp-fab svg {
  flex-shrink: 0;
}
.whatsapp-fab-label {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .whatsapp-fab {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem;
  }
  .whatsapp-fab-label {
    display: none;
  }
}

/* ==========================================
   MODAL OVERLAY & CARD
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 2.5rem 2.2rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(200, 155, 92, 0.1);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s ease;
}
.modal-overlay.is-active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(200, 155, 92, 0.08);
  color: var(--text-secondary);
  font-size: 1.4rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
}
.modal-close:hover {
  background: rgba(200, 155, 92, 0.2);
  color: var(--text-primary);
}

.modal-header {
  text-align: center;
  margin-bottom: 1.8rem;
}
.modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200, 155, 92, 0.15), rgba(200, 155, 92, 0.05));
  color: var(--accent);
  margin-bottom: 1rem;
}
.modal-header h3 {
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}
.modal-header p {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 36ch;
  margin-inline: auto;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.modal-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.modal-form .btn-submit {
  margin-top: 0.4rem;
}

@media (max-width: 480px) {
  .modal-card {
    padding: 1.8rem 1.4rem;
  }
}

/* ==========================================
   SHARED SUBPAGE STYLES
   以下样式由所有 guides/, tools/, projects/ 页面共用。
   避免在每个 HTML 中重复 <style> 块。
   ========================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.5;
}

/* ---------- Hub Hero (Guides Hub / Tools Hub / Projects Hub) ---------- */
.hub-hero {
  padding: 8rem 0 3rem;
  text-align: center;
  position: relative;
}
.hub-hero .hero-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 30% 40%, rgba(158, 124, 60, 0.05) 0%, transparent 50%);
}
.hub-hero-inner {
  position: relative;
  max-width: 650px;
  margin: 0 auto;
}
.hub-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}
.hub-hero-sub {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

/* ---------- Content Page Hero (individual guides, projects) ---------- */
.project-hero,
.guide-hero {
  padding: 8rem 0 3rem;
  position: relative;
}
.project-hero .hero-bg-pattern,
.guide-hero .hero-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 30% 40%, rgba(158, 124, 60, 0.05) 0%, transparent 50%);
}
.project-hero-inner,
.guide-hero-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.project-hero h1,
.guide-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin-bottom: 1rem;
}
.project-hero-sub,
.guide-hero-sub {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 60ch;
}
.project-hero-meta,
.guide-hero-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ---------- Content Body (guide + project prose) ---------- */
.project-body,
.guide-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}
.project-body h2,
.guide-body h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.project-body h2:first-of-type,
.guide-body h2:first-of-type {
  border-top: none;
  padding-top: 0;
}
.project-body h3,
.guide-body h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.6rem;
  color: var(--accent);
}
.project-body p,
.guide-body p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
  color: var(--text-secondary);
}
.project-body strong,
.guide-body strong {
  color: var(--text-primary);
}
.project-body ul,
.guide-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
  list-style: disc;
}
.project-body li,
.guide-body li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

/* ---------- Direct Answer Block (AI 可提取) ---------- */
.direct-answer {
  background: rgba(158, 124, 60, 0.06);
  border-left: 3px solid var(--accent);
  padding: 1.2rem 1.5rem;
  margin: 0 0 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.direct-answer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Spec Box ---------- */
.spec-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.spec-box h3 {
  margin-top: 0;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.spec-row:last-child {
  border-bottom: none;
}
.spec-row strong {
  color: var(--text-primary);
}

/* ---------- Related Grid ---------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s;
}
.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.related-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}
.related-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Project / Guide CTA Block ---------- */
.project-cta,
.guide-cta {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(158, 124, 60, 0.06) 0%, rgba(107, 143, 94, 0.04) 100%);
  border-radius: var(--radius-xl);
  margin: 2.5rem 0 0;
}
.project-cta h2,
.guide-cta h2 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  border: none;
  padding: 0;
}
.project-cta p,
.guide-cta p {
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Hub Card Grids ---------- */
.guides-grid,
.tools-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 2rem auto 4rem;
  padding: 0 1.25rem;
}
.guide-card,
.tool-card,
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}
.guide-card:hover,
.tool-card:hover,
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.card-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}
.badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
  background: rgba(158, 124, 60, 0.08);
  color: var(--accent);
  font-weight: 600;
}
.card-link {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .guides-grid,
  .tools-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--accent);
  color: #0c0a08;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Page Entrance Animation ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 子页面入场动画（light-page 类仍保留在子页面 HTML 中） */
.light-page main {
  animation: fadeInUp 0.5s ease-out;
}
