:root {
  /* 字体定义 - 使用系统字体作为回退，避免FOIT */
  --serif: Georgia, 'Times New Roman', serif;
  --serif-en: Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* 基本变量已移至design-system.css */
}

body.dark-mode header {
  background-color: rgba(26, 26, 26, 0.95);
}

body.dark-mode .intro-screen {
  background-color: var(--bg);
}

body.dark-mode .intro-word {
  color: var(--brand);
}

body.dark-mode .intro-progress {
  background-color: rgba(255,255,255,0.1);
}

body.dark-mode .intro-progress-bar {
  background-color: var(--brand);
}

body.dark-mode .qr-modal-content {
  background: var(--bg-alt);
  color: var(--dark);
}

body.dark-mode .qr-modal-close {
  color: var(--light);
}

body.dark-mode .qr-modal-close:hover {
  color: var(--dark);
}

body.dark-mode .qr-modal-title {
  color: var(--dark);
}

body.dark-mode .qr-image {
  background: var(--bg);
  border-color: var(--light);
}

body.dark-mode .qr-tip {
  color: var(--light);
}

/* 深色模式下的页脚样式 */
body.dark-mode footer {
    background-color: #1a1a1a;
    color: #fff;
}

body.dark-mode .footer-section h3 {
    color: #fff;
}

body.dark-mode .footer-section p {
    color: #999;
}

body.dark-mode .footer-section ul li a {
    color: #999;
}

body.dark-mode .social-link-item {
    color: #999;
}

body.dark-mode .social-icon {
    background: rgba(255,255,255,0.1);
}

body.dark-mode .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .footer-bottom p {
    color: #666;
}

/* 语言和主题切换按钮 */
.toggle-container {
  display: flex;
  align-items: center;
  gap: clamp(0.2rem, 0.5vw, 0.3rem);
  flex-shrink: 0;
  width: 85px;
  justify-content: flex-end;
}

.theme-toggle,
.lang-toggle {
  background: none;
  border: none;
  color: var(--dark);
  padding: 0 10%;
  border-radius: 4px;
  cursor: pointer;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  transition: all 0.3s ease;
  width: clamp(60px, 10vw, 80px);
  height: 44px;
  min-height: 44px;
  min-width: 44px;
  text-align: center;
  line-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

/* 主题切换按钮图标样式 */
.theme-toggle {
  width: 44px;
  height: 44px;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  overflow: visible;
  text-align: center;
  line-height: 44px;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle svg {
  width: clamp(12px, 2vw, 16px);
  height: clamp(12px, 2vw, 16px);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: absolute;
  transition: all 0.3s ease;
}

#sunIcon {
  opacity: 1;
}

#moonIcon {
  opacity: 0;
}

body.dark-mode #sunIcon {
  opacity: 0;
}

body.dark-mode #moonIcon {
  opacity: 1;
}

.theme-toggle:hover,
.lang-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

body.dark-mode .theme-toggle,
body.dark-mode .lang-toggle {
  border-color: var(--brand);
  color: var(--brand);
}

body.dark-mode .theme-toggle:hover,
body.dark-mode .lang-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ===== CUSTOM CURSOR ===== */
.cursor { position: fixed; width: 12px; height: 12px; border: 1.5px solid var(--brand); border-radius: 50%; pointer-events: none; z-index: 9999; transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.3s; transform: translate(-50%, -50%); mix-blend-mode: difference; }
.cursor.hover { width: 48px; height: 48px; border-color: #fff; background: rgba(255,255,255,0.08); }

/* ===== LOADER ===== */
.loader { position: fixed; inset: 0; background: var(--bg); z-index: 10000; display: flex; align-items: center; justify-content: center; transition: opacity 0.8s ease, visibility 0.8s ease; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-text { font-family: var(--serif); font-size: clamp(28px, 5vw, 56px); color: var(--brand); letter-spacing: 14px; overflow: hidden; }
.loader-text span { display: inline-block; transform: translateY(100%); animation: loaderIn 0.6s ease forwards; }
.loader-text span:nth-child(2) { animation-delay: 0.12s; }
@keyframes loaderIn { to { transform: translateY(0); } }

/* ===== HERO ===== */
.hero { height: 45vh; max-height: 450px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; background: var(--bg); overflow: hidden; transition: background 0.5s; }

.hero-sub { font-size: 13px; letter-spacing: 4px; color: var(--light); margin-bottom: 20px; opacity: 0; transform: translateY(20px); }
.hero-logo-main { font-family: var(--serif); font-size: clamp(48px, 10vw, 100px); letter-spacing: clamp(8px, 2vw, 20px); color: var(--brand); line-height: 1; margin-bottom: 24px; opacity: 0; transform: translateY(30px); }
.hero-tagline { font-family: var(--serif); font-size: clamp(16px, 2.5vw, 24px); font-weight: 400; color: var(--dark); line-height: 18px; overflow: visible; }
.hero-tagline span { display: block; transform: translateY(100%); transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-tagline span.show { transform: translateY(0); }
.hero-scroll { position: absolute; bottom: 40px; font-size: 11px; letter-spacing: 3px; color: var(--light); opacity: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll::before { content: ''; width: 1px; height: 40px; background: linear-gradient(to bottom, var(--brand), transparent); animation: scrollLine 1.5s ease-in-out infinite; }
@keyframes scrollLine { 0%, 100% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ===== MARQUEE ===== */
.marquee { overflow: hidden; background: var(--brand); padding: 14px 0; white-space: nowrap; transition: background 0.5s; }
.marquee-track { display: inline-flex; animation: marquee 30s linear infinite; }
.marquee-track span { font-family: var(--serif-en); font-size: 14px; color: rgba(255,255,255,0.7); letter-spacing: 3px; padding: 0 16px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== WORKS — CAROUSEL ===== */
.works { padding: 100px 60px 80px; overflow: hidden; transition: background 0.5s; }
.works-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.works-header h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); font-weight: 400; }
.works-header-right { display: flex; align-items: center; gap: 20px; }
.works-counter { font-family: var(--serif-en); font-size: 18px; color: var(--light); letter-spacing: 2px; }
.works-nav { display: flex; gap: 10px; }
.works-nav-btn {
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); color: var(--dark);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.works-nav-btn:hover { 
  background: var(--brand); 
  color: #fff; 
  box-shadow: 0 4px 12px rgba(92,74,58,0.3);
  transform: scale(1.05);
}
.works-nav-btn:active { transform: scale(0.95); }
.works-nav-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.works-viewport { overflow: hidden; }
.works-track {
  display: flex; gap: 28px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* --- effect: classic (default) --- */
.works-track[data-effect="classic"] .works-card {
  min-width: calc((100% - 56px) / 3);
  transition: none;
}

/* --- effect: fade --- */
.works-track[data-effect="fade"] {
  transition: transform 0.8s ease;
}
.works-track[data-effect="fade"] .works-card {
  min-width: calc((100% - 56px) / 3);
  transition: opacity 0.8s ease, transform 0.8s ease;
  opacity: 1;
}
.works-track[data-effect="fade"] .works-card.out-left {
  opacity: 0.3; transform: scale(0.95);
}
.works-track[data-effect="fade"] .works-card.out-right {
  opacity: 0.3; transform: scale(0.95);
}

/* --- effect: cinematic --- */
.works-track[data-effect="cinematic"] {
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  perspective: 1200px;
}
.works-track[data-effect="cinematic"] .works-card {
  min-width: calc((100% - 56px) / 3);
  transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
}
.works-track[data-effect="cinematic"] .works-card.out-left {
  opacity: 0.35; filter: blur(2px); transform: scale(0.86) rotateY(6deg);
}
.works-track[data-effect="cinematic"] .works-card.out-right {
  opacity: 0.35; filter: blur(2px); transform: scale(0.86) rotateY(-6deg);
}
.works-track[data-effect="cinematic"] .works-card.near-left {
  opacity: 0.7; filter: blur(0.5px); transform: scale(0.93) rotateY(3deg);
}
.works-track[data-effect="cinematic"] .works-card.near-right {
  opacity: 0.7; filter: blur(0.5px); transform: scale(0.93) rotateY(-3deg);
}

/* --- effect: stack --- */
.works-track[data-effect="stack"] {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.works-track[data-effect="stack"] .works-card {
  min-width: calc((100% - 56px) / 3);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.works-track[data-effect="stack"] .works-card.out-left {
  opacity: 0; transform: translateX(-30px) scale(0.9);
}
.works-track[data-effect="stack"] .works-card.out-right {
  opacity: 0; transform: translateX(30px) scale(0.9);
}
.works-track[data-effect="stack"] .works-card.near-left {
  opacity: 0.5; transform: scale(0.95);
}
.works-track[data-effect="stack"] .works-card.near-right {
  opacity: 0.5; transform: scale(0.95);
}

.works-card-inner {
  position: relative; overflow: hidden; border-radius: 12px;
  aspect-ratio: 3/4; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.works-card:hover .works-card-inner { 
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}
.works-card-inner img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.works-card:hover .works-card-inner img { transform: scale(1.06); }
.works-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  opacity: 0; transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.works-card:hover .works-card-overlay { opacity: 1; }
.works-card-overlay h4 {
  font-family: var(--serif); font-size: 20px; color: #fff;
  letter-spacing: 2px; font-weight: 400; margin-bottom: 4px;
  transform: translateY(16px); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.works-card:hover .works-card-overlay h4 { transform: translateY(0); }
.works-card-overlay span {
  font-size: 12px; color: rgba(255,255,255,0.75); letter-spacing: 1px;
  transform: translateY(16px); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}
.works-card:hover .works-card-overlay span { transform: translateY(0); }
.works-card-name {
  font-size: 13px; color: var(--light); margin-top: 16px; letter-spacing: 1px;
  transition: color 0.3s ease;
}
.works-card:hover .works-card-name { color: var(--brand); }

.works-footer {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; margin-top: 40px;
}
.works-slider-wrap {
  flex: 1; max-width: 400px; position: relative; padding: 10px 0; cursor: pointer;
}
.works-slider-track {
  width: 100%; height: 2px; background: transparent; border-radius: 2px;
  position: relative; transition: background 0.5s;
}
.works-slider-fill {
  height: 100%; background: var(--brand); border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 0%;
}
.works-slider-thumb {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand); border: 2px solid var(--bg);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.2s;
  left: 0%;
}
.works-slider-thumb:hover { transform: translate(-50%, -50%) scale(1.3); }

/* ===== REVEAL ===== */
.reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 0; transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.95); }
.reveal.vis, .reveal-left.vis, .reveal-right.vis, .reveal-scale.vis { opacity: 1; transform: none; }
.parallax-wrap { overflow: hidden; }

/* 交错动画延迟 */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 1rem;
}

/* 响应式字体大小 */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    body {
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    body {
        line-height: 1.8;
    }
}

/* 动画类 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 导航栏 */
header {
    background-color: rgba(247, 246, 243, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

header.scrolled {
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(0.8rem, 2vw, 1.5rem) clamp(1rem, 3vw, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    position: relative;
}

.logo {
    font-family: var(--serif);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: var(--brand);
    letter-spacing: clamp(2px, 0.3vw, 4px);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 44px;
    min-height: 44px;
    width: 85px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    width: clamp(28px, 4vw, 36px);
    height: clamp(28px, 4vw, 36px);
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: absolute;
    top: clamp(0.6rem, 2vw, 1.5rem);
    right: clamp(0.8rem, 2vw, 2rem);
    z-index: 1001;
    flex-shrink: 0;
}

.menu-toggle svg {
    width: clamp(14px, 2.5vw, 20px);
    height: clamp(14px, 2.5vw, 20px);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-toggle.active {
    color: var(--brand);
}

body.dark-mode .menu-toggle {
    color: var(--brand);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1.2rem, 2.5vw, 2.8rem);
    padding: 0;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-item {
    margin: 0;
    min-width: auto;
    text-align: center;
    white-space: nowrap;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 0.5rem 0.25rem;
    min-height: 44px;
    line-height: 1.4;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--brand);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 英雄区域 */
.hero {
    padding: 4rem 2rem;
    background-color: var(--bg);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.hero-content h1 {
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--brand);
    letter-spacing: 4px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background-color: var(--brand);
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border: 1px solid var(--brand);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: var(--brand);
}

/* Hero Images - 高级扁平化设计 */
.hero-images {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2rem 0;
}

.hero-images::-webkit-scrollbar {
    display: none;
}

/* 滚动导航 - 极致扁平化设计 */
.scroll-nav {
    position: relative;
    width: 200px;
    height: 2px;
    margin: 2rem auto 0;
    cursor: pointer;
}

.scroll-nav-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(138, 138, 138, 0.2) 10%,
        rgba(138, 138, 138, 0.2) 90%,
        transparent 100%
    );
    transform: translateY(-50%);
}

body.dark-mode .scroll-nav-line {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(176, 176, 176, 0.2) 10%,
        rgba(176, 176, 176, 0.2) 90%,
        transparent 100%
    );
}

.scroll-nav-handle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--brand);
    transform: translateY(-50%);
    transition: left 0.1s linear;
}

.scroll-nav:hover .scroll-nav-handle {
    height: 3px;
}

/* 左右箭头提示 - 极简 */
.scroll-nav::before,
.scroll-nav::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.scroll-nav::before {
    left: -20px;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-right: 4px solid var(--light);
    transform: translateY(-50%);
}

.scroll-nav::after {
    right: -20px;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 4px solid var(--light);
    transform: translateY(-50%);
}

.scroll-nav:hover::before,
.scroll-nav:hover::after {
    opacity: 0.4;
}

.image-grid {
    display: flex;
    gap: 16px;
    width: max-content;
    max-width: none;
    margin: 0 auto;
    padding: 0 2rem;
}

.image-item {
    flex: 0 0 auto;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    width: calc((100% - 64px) / 5);
    max-width: 260px;
    min-width: 180px;
    background: var(--bg);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.image-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(92, 74, 58, 0) 0%, rgba(92, 74, 58, 0.03) 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    opacity: 0;
}

.image-item:hover::before {
    opacity: 1;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.image-item:hover img {
    transform: scale(1.08);
}

.image-info {
    padding: 0.75rem 0.5rem;
    text-align: center;
}

.image-title {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.image-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--light);
    line-height: 1.4;
}

/* 品牌愿景 */
.brand-vision {
    padding: 8rem 2rem;
    background-color: var(--bg-alt);
    text-align: center;
}

.brand-vision h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: var(--dark);
    letter-spacing: 2px;
}

.brand-vision p {
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--light);
    font-weight: 300;
    line-height: 1.8;
}

/* 材质展示 */
.material-showcase {
    padding: 8rem 2rem;
    background-color: var(--bg);
}

.material-showcase h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--dark);
    letter-spacing: 2px;
}

.material-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.material-item {
    padding: 4rem 3rem;
    background-color: var(--bg);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.06);
}

.material-item:hover {
    background-color: var(--bg-alt);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.material-item h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: 1px;
}

.material-item p {
    color: var(--light);
    font-weight: 300;
    line-height: 1.7;
}

/* 智能场景 */
.smart-scenarios {
    padding: 8rem 2rem;
    background-color: var(--bg-alt);
}

.smart-scenarios h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--dark);
    letter-spacing: 2px;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.scenario-item {
    padding: 4rem 3rem;
    background-color: var(--bg);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.06);
}

.scenario-item:hover {
    background-color: var(--bg);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.scenario-item h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: 1px;
}

.scenario-item p {
    color: var(--light);
    font-weight: 300;
    line-height: 1.7;
}

/* 技术总览 */
.tech-overview {
    padding: 8rem 2rem;
    background-color: var(--bg);
}

.tech-overview h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--dark);
    letter-spacing: 2px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.tech-item {
    padding: 4rem 3rem;
    background-color: var(--bg);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.06);
}

.tech-item:hover {
    background-color: var(--bg-alt);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.tech-item h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: 1px;
}

.tech-item p {
    color: var(--light);
    font-weight: 300;
    line-height: 1.7;
}

/* 权威文章 */
.authority-article {
    padding: 8rem 2rem;
    background-color: var(--bg-alt);
}

.authority-article h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark);
    letter-spacing: 2px;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--bg);
    padding: 4rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.article-content p {
    margin-bottom: 1.8rem;
    color: var(--light);
    font-weight: 300;
    line-height: 1.8;
}

.article-content ul {
    margin-bottom: 1.8rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    color: var(--light);
    font-weight: 300;
    line-height: 1.7;
}

.article-content strong {
    font-weight: 500;
    color: var(--dark);
}

/* 产品中心 */
.products {
    padding: 8rem 2rem;
    background-color: var(--bg);
}

.products h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--dark);
    letter-spacing: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-item {
    background-color: var(--bg);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.06);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    color: var(--dark);
    letter-spacing: 1px;
}

.product-info p {
    color: var(--light);
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
}



/* 关于我们 */
.about {
    padding: 8rem 2rem;
    background-color: var(--bg-alt);
}

.about h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--dark);
    letter-spacing: 2px;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg);
    padding: 4rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.about-content h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: 1px;
}

.about-content p {
    margin-bottom: 1.8rem;
    color: var(--light);
    font-weight: 300;
    line-height: 1.8;
}

/* 知识库 */
.knowledge {
    padding: 8rem 2rem;
    background-color: var(--bg);
}

.knowledge h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--dark);
    letter-spacing: 2px;
}

.knowledge-content {
    max-width: 1000px;
    margin: 0 auto;
}

.knowledge-content h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: 1px;
}

.knowledge-content p {
    margin-bottom: 1.8rem;
    color: var(--light);
    font-weight: 300;
    line-height: 1.8;
}

.knowledge-content ul {
    margin-bottom: 1.8rem;
    padding-left: 2rem;
}

.knowledge-content li {
    margin-bottom: 0.8rem;
    color: var(--light);
    font-weight: 300;
    line-height: 1.7;
}

/* 材质标准 */
.standards {
    padding: 8rem 2rem;
    background-color: var(--bg-alt);
}

.standards h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--dark);
    letter-spacing: 2px;
}

.standards-content {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg);
    padding: 4rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.standards-content h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: 1px;
}

.standards-content p {
    margin-bottom: 1.8rem;
    color: var(--light);
    font-weight: 300;
    line-height: 1.8;
}

.standards-content ul {
    margin-bottom: 1.8rem;
    padding-left: 2rem;
}

.standards-content li {
    margin-bottom: 0.8rem;
    color: var(--light);
    font-weight: 300;
    line-height: 1.7;
}

/* 文章栏目 */
.articles {
    padding: 8rem 2rem;
    background-color: var(--bg);
}

.articles h2 {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--dark);
    letter-spacing: 2px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.article-card {
    background-color: var(--bg);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.06);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.article-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover img {
    transform: scale(1.05);
}

.article-info {
    padding: 2rem;
}

.article-info h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    color: var(--dark);
    letter-spacing: 1px;
}

.article-info p {
    color: var(--light);
    margin-bottom: 1rem;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
}

.article-date {
    font-size: 0.85rem;
    color: var(--light);
}

/* 页脚 */
footer {
    background-color: var(--bg-alt);
    color: var(--dark);
    padding: 5rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: 1px;
}

.footer-section p {
    margin-bottom: 0.8rem;
    color: var(--light);
    font-weight: 300;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--light);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--brand);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--brand);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
    cursor: pointer;
    padding: 0.5rem;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.social-link-item:hover {
    color: var(--brand);
}

.social-icon {
    font-size: 1.2rem;
    width: 44px;
    height: 44px;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.social-link-item:hover .social-icon {
    background: var(--brand);
    transform: translateY(-3px);
}

.social-link-item .social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon-wechat path {
    fill: currentColor;
}

.social-icon-xiaohongshu path {
    fill: currentColor;
}

.social-icon-douyin path {
    fill: currentColor;
}

.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.qr-modal.active {
    display: flex;
}

.qr-modal-content {
    background: var(--bg);
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

.qr-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light);
    background: none;
    border: none;
}

.qr-modal-close:hover {
    color: var(--dark);
}

.qr-modal-title {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: 1px;
}

.qr-image {
    width: 200px;
    height: 200px;
    background: var(--bg-alt);
    border: 1px solid var(--light);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
}

.qr-tip {
    font-size: 0.9rem;
    color: var(--light);
    font-weight: 300;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-bottom p {
    color: var(--light);
    font-weight: 300;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .image-item {
        width: calc((100% - 48px) / 4);
        max-width: 220px;
    }
    
    .image-grid {
        gap: 12px;
    }
    
    .material-grid,
    .scenario-grid,
    .tech-grid,
    .product-grid,
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Works section responsive */
    .works {
        padding: 60px 20px 40px;
    }
    
    .works-track[data-effect="cinematic"] .works-card {
        min-width: calc((100% - 16px) / 2);
    }
}

@media (max-width: 768px) {
    /* 基础样式调整 */
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Works section responsive */
    .works {
        padding: 40px 16px 30px;
    }
    
    .works-track[data-effect="cinematic"] .works-card {
        min-width: 100%;
    }
    
    .works-viewport {
        padding: 0 8px;
    }
    
    .works-footer {
        gap: 16px;
        margin-top: 30px;
    }
    
    .works-slider-wrap {
        max-width: 200px;
    }
    
    .works-nav-btn {
        width: 44px;
        height: 44px;
        min-height: 44px;
        min-width: 44px;
    }
    
    .works-nav-btn svg {
        width: 16px;
        height: 16px;
    }
    
    /* 导航栏响应式设计 */
    header {
        padding: 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: rgba(247, 246, 243, 0.95);
        backdrop-filter: blur(12px);
    }
    
    nav {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        position: relative;
        padding: clamp(0.8rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
        min-height: 60px;
    }
    
    .logo {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        letter-spacing: clamp(2px, 0.3vw, 3px);
        margin-bottom: 0;
        flex: 1;
        min-width: 0;
        width: auto;
    }
    
    .toggle-container {
        position: static;
        margin-left: auto;
        gap: clamp(0.4rem, 1vw, 0.6rem);
        display: flex;
        align-items: center;
        order: 2;
        width: auto;
        justify-content: flex-end;
    }
    
    .theme-toggle,
    .lang-toggle {
        width: 44px;
        height: 44px;
        min-height: 44px;
        min-width: 44px;
        font-size: clamp(0.75rem, 1.5vw, 0.85rem);
        line-height: 44px;
        flex-shrink: 0;
    }
    
    .theme-toggle svg {
        width: clamp(12px, 2.5vw, 15px);
        height: clamp(12px, 2.5vw, 15px);
    }
    
    .menu-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        min-height: 44px;
        min-width: 44px;
        position: static;
        margin-left: clamp(0.3rem, 1vw, 0.5rem);
        order: 3;
        align-items: center;
        justify-content: center;
    }
    
    .menu-toggle svg {
        width: clamp(14px, 2.5vw, 18px);
        height: clamp(14px, 2.5vw, 18px);
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        padding: 80px 2rem 2rem;
        background-color: var(--bg);
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        order: 4;
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateX(0);
    }
    
    .nav-item {
        margin: 0;
        padding: clamp(1rem, 3vw, 1.5rem) 0;
        min-width: auto;
    }
    
    .nav-link {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
        padding: clamp(0.4rem, 1vw, 0.5rem) 0;
        display: block;
        line-height: 1.4;
        text-align: center;
    }
    
    /* 英雄区域响应式 */
    .hero {
        height: 60vh;
        max-height: 500px;
        padding: 2rem 1rem;
    }
    
    .hero-content h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        line-height: 1.6;
        padding: 0 1rem;
    }
    
    /* 网格布局响应式 */
    .material-grid,
    .scenario-grid,
    .tech-grid,
    .product-grid,
    .article-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 内容区域响应式 */
    .brand-vision,
    .material-showcase,
    .smart-scenarios,
    .tech-overview,
    .authority-article,
    .products,
    .about,
    .knowledge,
    .standards,
    .articles {
        padding: 4rem 1rem;
    }
    
    /* 标题响应式 */
    h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
        line-height: 1.2;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    h3 {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    h4 {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }
    
    /* 段落响应式 */
    p {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    /* 列表响应式 */
    ul, ol {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        line-height: 1.7;
        margin-bottom: 1.5rem;
        padding-left: 1.5rem;
    }
    
    li {
        margin-bottom: 0.8rem;
    }
    
    /* 文章内容响应式 */
    .article-content,
    .about-content,
    .standards-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    /* 移动端横向滚动图片展示 */
    .hero-images {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 1rem;
    }
    
    .hero-images::-webkit-scrollbar {
        display: none;
    }
    
    .image-grid {
        display: flex;
        gap: 8px;
        padding: 4px;
        background: transparent;
        width: max-content;
        max-width: none;
    }
    
    .image-item {
        width: calc((100% - 32px) / 3);
        max-width: 200px;
        min-width: 150px;
    }
    
    .image-title {
        font-size: 0.75rem;
    }
    
    /* 页脚响应式 */
    footer {
        padding: 3rem 1rem 2rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p,
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    /* 二维码弹窗响应式 */
    .qr-modal-content {
        padding: 1.5rem;
        max-width: 320px;
    }
    
    .qr-image {
        width: 180px;
        height: 180px;
    }
    
    /* 自定义光标在移动端隐藏 */
    .cursor {
        display: none;
    }
    
    /* 加载动画响应式 */
    .loader-text {
        font-size: clamp(24px, 8vw, 48px);
        letter-spacing: 8px;
    }
}
