/* 优化后的CSS - 压缩和重组 */
:root {
  --color-primary: #f59e0b;
  --color-primary-dark: #d97706;
  --color-secondary: #1f2937;
  --color-secondary-dark: #111827;
  --color-white: #fff;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-blue-500: #3b82f6;
  --color-green-500: #10b981;
  --color-amber-500: #f59e0b;
  --color-red-500: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-none: 0 0 #0000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  line-height: 1.5;
  color: var(--color-white);
  background-color: var(--color-gray-900);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hidden {
  display: none !important;
}

/* 语言选择器 */
.language-selector {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  gap: .5rem;
  background-color: rgba(31, 41, 55, 0.5);
  padding: .25rem;
  border-radius: .5rem;
  backdrop-filter: blur(4px);
}

.lang-btn {
  background: 0 0;
  border: none;
  color: var(--color-gray-400);
  padding: .25rem .5rem;
  border-radius: .25rem;
  cursor: pointer;
  font-size: .75rem;
  transition: all .3s ease;
}

.lang-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* 页面加载动画 */
.loader-bar {
  width: 200px;
  height: 4px;
  background-color: var(--color-gray-800);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.loader-progress {
  height: 100%;
  width: 0;
  background-color: var(--color-primary);
  border-radius: 2px;
  animation: progress 2s ease-out forwards;
}

.loader-text {
  color: var(--color-gray-400);
  font-size: 1rem;
}

@keyframes progress {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

/* 导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all .3s ease;
  padding: 1rem 0;
}

.header.scrolled {
  background-color: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(10px);
  padding: .5rem 0;
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 50px;
  height: 50px;
  margin-right: 1rem;
}

.logo-text h1 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.logo-text p {
  font-size: .75rem;
  color: var(--color-gray-400);
}

.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--color-white);
  font-weight: 500;
  transition: color .3s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.mobile-menu-btn {
  display: block;
  background: 0 0;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--color-gray-900);
  z-index: 99;
  transition: right .3s ease;
  padding-top: 5rem;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 500;
  transition: color .3s ease;
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1.25rem;
  border-radius: .375rem;
  font-weight: 500;
  transition: all .3s ease;
  cursor: pointer;
  border: none;
  font-size: .875rem;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-dark);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-full {
  width: 100%;
}

.btn-hover-effect {
  position: relative;
  overflow: hidden;
}

.btn-hover-effect::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .5s, height .5s;
}

.btn-hover-effect:hover::after {
  width: 300%;
  height: 300%;
}

/* 英雄区域 */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-gradient.amber {
  background: linear-gradient(to right, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.4));
}

.hero-gradient.blue {
  background: linear-gradient(to right, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.4));
}

.hero-gradient.green {
  background: linear-gradient(to right, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.4));
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  padding-top: 30vh;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  margin-right: .5rem;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-gray-200);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .75rem;
  z-index: 3;
}

.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all .3s ease;
}

.slide-dot.active {
  background-color: var(--color-primary);
  width: 24px;
  border-radius: 6px;
}

.slide-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: none;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: .5rem;
  transition: background-color .3s ease;
}

.slide-toggle:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* 服务区域 */
.services {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.bg-effect {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  z-index: -1;
}

.bg-effect-top-right {
  top: -300px;
  right: -300px;
  background-color: var(--color-primary);
}

.bg-effect-bottom-left {
  bottom: -300px;
  left: -300px;
  background-color: var(--color-primary);
}

.bg-effect-top-right.blue {
  background-color: var(--color-blue-500);
}

.bg-effect-bottom-left.blue {
  background-color: var(--color-blue-500);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  padding: .25rem .75rem;
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--color-primary);
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.blue-badge {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--color-blue-500);
}

.eco-badge {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-green-500);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-gray-400);
  max-width: 800px;
  margin: 0 auto;
}

.service-process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  border-radius: .5rem;
  transition: all .3s ease;
  cursor: pointer;
}

.process-step:hover {
  background-color: rgba(31, 41, 55, 0.3);
}

.process-step.active {
  background-color: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-gray-800);
  color: var(--color-gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: all .3s ease;
}

.process-step.active .step-icon {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.step-description {
  font-size: .875rem;
  color: var(--color-gray-400);
}

.process-video {
  position: relative;
  border-radius: .75rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--color-gray-800);
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-content {
  text-align: center;
  padding: 1.5rem;
}

.play-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  cursor: pointer;
  transition: transform .3s ease;
}

.play-button:hover {
  transform: scale(1.1);
}

.video-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.video-description {
  font-size: .875rem;
  color: var(--color-gray-400);
}

.eco-section {
  background-color: rgba(31, 41, 55, 0.5);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(4px);
  border: 1px solid var(--color-gray-800);
}

.eco-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.eco-stat {
  background-color: rgba(31, 41, 55, 0.5);
  border-radius: .75rem;
  padding: 1.5rem;
  border: 1px solid var(--color-gray-700);
  backdrop-filter: blur(4px);
  text-align: center;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-green-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.stat-label {
  font-size: .875rem;
  color: var(--color-gray-400);
}

.eco-cta {
  text-align: center;
}

.eco-btn {
  border-color: rgba(16, 185, 129, 0.5);
  color: var(--color-green-500);
}

.eco-btn:hover {
  background-color: rgba(16, 185, 129, 0.1);
}

/* 产品展示区 */
.products {
  padding: 5rem 0;
  position: relative;
}

.gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 128px;
  background: linear-gradient(to bottom, var(--color-gray-900), transparent);
  z-index: -1;
}

.product-tabs {
  margin-bottom: 2rem;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: .5rem 1rem;
  border-radius: 9999px;
  background-color: var(--color-gray-800);
  color: var(--color-gray-300);
  border: none;
  cursor: pointer;
  transition: all .3s ease;
}

.tab-btn:hover {
  background-color: var(--color-gray-700);
}

.tab-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.product-card {
  background-color: rgba(31, 41, 55, 0.5);
  border-radius: .75rem;
  overflow: hidden;
  border: 1px solid var(--color-gray-700);
  transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
  transform: translateY(-.5rem);
  box-shadow: var(--shadow-xl);
}

.product-image {
  position: relative;
  height: 240px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .25rem .75rem;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  font-size: .75rem;
  color: var(--color-white);
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-features {
  margin-bottom: 1.5rem;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: .5rem;
  font-size: .875rem;
  color: var(--color-gray-400);
}

.feature-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  margin-right: .5rem;
}

.product-actions {
  display: flex;
  gap: .5rem;
}

.products-cta {
  text-align: center;
}

/* 3D预览区 */
.preview-3d {
  padding: 5rem 0;
  background-color: rgba(31, 41, 55, 0.3);
}

.preview-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.viewer-3d-container {
  position: relative;
}

.viewer-3d {
  height: 500px;
  background-color: var(--color-gray-800);
  border-radius: .75rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-gray-700);
}

.viewer-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-400);
}

.placeholder-content {
  text-align: center;
}

.placeholder-content i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

#3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.viewer-controls {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: .5rem;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.control-info {
  text-align: center;
  margin-bottom: .5rem;
}

.control-info p {
  font-size: .75rem;
  color: var(--color-gray-300);
}

.control-buttons {
  display: flex;
  gap: .5rem;
  justify-content: center;
}

.preview-controls {
  background-color: rgba(31, 41, 55, 0.5);
  border-radius: .75rem;
  padding: 1.5rem;
  border: 1px solid var(--color-gray-700);
}

.control-group {
  margin-bottom: 1.5rem;
}

.control-group:last-child {
  margin-bottom: 0;
}

.control-group label {
  display: block;
  font-weight: 500;
  margin-bottom: .5rem;
  color: var(--color-gray-300);
}

.control-group select {
  width: 100%;
  padding: .75rem;
  border-radius: .375rem;
  border: 1px solid var(--color-gray-600);
  background-color: var(--color-gray-700);
  color: var(--color-white);
}

.color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem;
}

.color-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
}

.color-option.active {
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.finish-options {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .5rem;
}

.finish-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.finish-option input {
  margin-right: .5rem;
}

.size-inputs {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
}

.size-inputs input {
  flex: 1;
  padding: .5rem;
  border-radius: .375rem;
  border: 1px solid var(--color-gray-600);
  background-color: var(--color-gray-700);
  color: var(--color-white);
}

.control-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1.5rem;
}

/* 定制服务区 */
.custom-service {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.custom-content {
  margin-bottom: 4rem;
}

.custom-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.custom-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: rgba(31, 41, 55, 0.5);
  border-radius: .75rem;
  padding: 1.5rem;
  border: 1px solid var(--color-gray-700);
}

.custom-feature .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.custom-feature .feature-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.custom-feature .feature-content p {
  font-size: .875rem;
  color: var(--color-gray-400);
}

.custom-process {
  background-color: rgba(31, 41, 55, 0.5);
  border-radius: .75rem;
  padding: 2rem;
  border: 1px solid var(--color-gray-700);
}

.custom-process h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

.process-timeline {
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-gray-600);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.timeline-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.timeline-content p {
  font-size: .875rem;
  color: var(--color-gray-400);
}

.custom-cta {
  background-color: rgba(31, 41, 55, 0.5);
  border-radius: .75rem;
  padding: 2rem;
  border: 1px solid var(--color-gray-700);
  text-align: center;
}

.cta-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1rem;
  color: var(--color-gray-400);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* 关于我们 */
.about {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  position: relative;
  z-index: 10;
}

.about-description {
  font-size: 1.125rem;
  color: var(--color-gray-400);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--color-blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature .feature-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.about-feature .feature-content p {
  font-size: .875rem;
  color: var(--color-gray-400);
}

.about-images {
  position: relative;
}

.main-image {
  border-radius: .75rem;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: auto;
}

.secondary-image {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 60%;
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: none;
}

.secondary-image img {
  width: 100%;
  height: auto;
}

/* 联系我们 */
.contact {
  padding: 5rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info {
  background-color: rgba(31, 41, 55, 0.5);
  border-radius: .75rem;
  padding: 2rem;
  border: 1px solid var(--color-gray-700);
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.method-content p {
  font-size: .875rem;
  color: var(--color-gray-300);
  white-space: pre-line;
}

.method-content a {
  color: var(--color-primary);
  transition: color .3s ease;
}

.method-content a:hover {
  color: var(--color-primary-dark);
}

.contact-form {
  background-color: rgba(31, 41, 55, 0.5);
  border-radius: .75rem;
  padding: 2rem;
  border: 1px solid var(--color-gray-700);
}

.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: .5rem;
  color: var(--color-gray-300);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .75rem;
  border-radius: .375rem;
  border: 1px solid var(--color-gray-600);
  background-color: var(--color-gray-700);
  color: var(--color-white);
  font-size: .875rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* 页脚 */
.footer {
  background-color: var(--color-gray-900);
  border-top: 1px solid var(--color-gray-800);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  margin-right: .75rem;
}

.footer-logo .logo-text h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .25rem;
}

.footer-logo .logo-text p {
  font-size: .75rem;
  color: var(--color-gray-400);
}

.footer-description {
  font-size: .875rem;
  color: var(--color-gray-400);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

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

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-gray-800);
  color: var(--color-gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}

.social-link:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-links a {
  color: var(--color-gray-400);
  font-size: .875rem;
  transition: color .3s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  color: var(--color-gray-400);
}

.contact-item i {
  color: var(--color-primary);
  margin-top: .125rem;
  flex-shrink: 0;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.footer-bottom {
  border-top: 1px solid var(--color-gray-800);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-bottom p {
  font-size: .875rem;
  color: var(--color-gray-500);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-legal a {
  font-size: .875rem;
  color: var(--color-gray-500);
  transition: color .3s ease;
}

.footer-legal a:hover {
  color: var(--color-primary);
}

/* 3D模型弹窗 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.modal-content {
  background-color: var(--color-gray-800);
  border-radius: .75rem;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid var(--color-gray-700);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-gray-700);
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: var(--color-gray-400);
  cursor: pointer;
  padding: .5rem;
  transition: color .3s ease;
}

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

.modal-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.modal-viewer {
  height: 400px;
  background-color: var(--color-gray-900);
  border-radius: .5rem;
  position: relative;
  overflow: hidden;
}

#modal-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.modal-info {
  text-align: center;
}

.modal-info h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.modal-info p {
  color: var(--color-gray-400);
  margin-bottom: 1.5rem;
}

.modal-actions {
  display: flex;
  justify-content: center;
}

/* 1688工厂店链接按钮 */
.factory-link {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1000;
}

.factory-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: .5rem;
  box-shadow: var(--shadow-lg);
  transition: all .3s ease;
  font-weight: 500;
}

.factory-btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.factory-btn i {
  font-size: 1.25rem;
}

/* 动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn .5s ease-out forwards;
}

.fade-in-delay-1 {
  animation-delay: .2s;
  opacity: 0;
}

.fade-in-delay-2 {
  animation-delay: .4s;
  opacity: 0;
}

/* 纸张纹理效果 */
.paper-texture {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

/* 纸张折角效果 */
.paper-fold {
  position: relative;
  overflow: hidden;
}

.paper-fold::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent rgba(245, 158, 11, 0.3) transparent transparent;
  transition: all .3s ease;
  z-index: 1;
}

.paper-fold:hover::before {
  border-width: 0 30px 30px 0;
  border-color: transparent rgba(245, 158, 11, 0.5) transparent transparent;
}

/* 响应式设计 */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  .custom-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-buttons {
    flex-direction: row;
  }
  .modal-body {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 768px) {
  .main-nav {
    display: block;
  }
  .mobile-menu-btn {
    display: none;
  }
  .service-process {
    grid-template-columns: 1fr 1fr;
  }
  .preview-container {
    grid-template-columns: 2fr 1fr;
  }
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
  .secondary-image {
    display: block;
  }
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .eco-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
  .custom-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-800);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}