:root {
  --primary: #1a73e8;
  --primary-dark: #0d47a1;
  --primary-light: #4a90e2;
  --accent: #ff6b35;
  --accent-dark: #e55a2b;
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-light: #888;
  --bg-white: #fff;
  --bg-light: #f5f7fa;
  --bg-dark: #1a1a2e;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --font-stack: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container-width: 1200px;
  --header-height: 72px;
}

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

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

body {
  font-family: var(--font-stack);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

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

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.98);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  gap: 8px;
}

.logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  padding: 8px 18px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(26,115,232,0.06);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-primary);
  font-size: 14px;
  border-radius: 0;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(26,115,232,0.06);
  color: var(--primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 0;
  padding: 8px 0;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
  transition: var(--transition);
  color: var(--text-primary);
}

.search-box.active input {
  width: 200px;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--bg-light);
}

.search-box .search-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 18px;
  border-radius: 50%;
  transition: var(--transition);
}

.search-box .search-btn:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
  background: rgba(26,115,232,0.06);
}

.banner {
  position: relative;
  height: 600px;
  margin-top: var(--header-height);
  overflow: hidden;
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  padding: 0 20px;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide:nth-child(1) {
  background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 50%, #4a90e2 100%);
}

.banner-slide:nth-child(2) {
  background: linear-gradient(135deg, #0a3d91 0%, #1565c0 50%, #42a5f5 100%);
}

.banner-slide:nth-child(3) {
  background: linear-gradient(135deg, #0d47a1 0%, #1976d2 50%, #64b5f6 100%);
}

.banner-content {
  text-align: center;
  color: #fff;
  max-width: 700px;
  z-index: 2;
}

.banner-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.banner-content p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.8;
}

.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.banner-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.banner-dots .dot.active {
  background: #fff;
  transform: scale(1.2);
}

.banner-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}

.banner-arrows .arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  pointer-events: all;
  backdrop-filter: blur(4px);
}

.banner-arrows .arrow:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.6);
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-secondary);
}

.section-title .title-line {
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.card-body h3 a {
  color: inherit;
}

.card-body h3 a:hover {
  color: var(--primary);
}

.card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.news-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.news-featured:hover {
  box-shadow: var(--shadow-md);
}

.news-featured .featured-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.news-featured .featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-featured:hover .featured-img img {
  transform: scale(1.05);
}

.news-featured .featured-body {
  padding: 24px;
}

.news-featured .featured-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-featured .featured-body h3 a {
  color: var(--text-primary);
}

.news-featured .featured-body h3 a:hover {
  color: var(--primary);
}

.news-featured .featured-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  background: var(--bg-white);
}

.news-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

.news-item .news-thumb {
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.news-item .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item .news-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item .news-info h4 a {
  color: var(--text-primary);
}

.news-item .news-info h4 a:hover {
  color: var(--primary);
}

.news-item .news-info p {
  font-size: 13px;
  color: var(--text-light);
}

.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  color: #fff;
}

.stat-item .stat-number {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 16px;
  opacity: 0.85;
}

.cta-section {
  background: var(--bg-light);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cta-section p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.breadcrumb {
  padding: 16px 0;
  margin-top: var(--header-height);
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.breadcrumb-list li a {
  color: var(--text-secondary);
}

.breadcrumb-list li a:hover {
  color: var(--primary);
}

.breadcrumb-list li.active {
  color: var(--primary);
  font-weight: 500;
}

.breadcrumb-list li + li::before {
  content: "›";
  color: var(--text-light);
  margin-right: 0;
}

.page-content {
  padding: 40px 0 80px;
}

.page-with-sidebar {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  align-self: start;
}

.sidebar-widget {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-bottom: 20px;
}

.sidebar-widget .widget-title {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.sidebar-widget .widget-body {
  padding: 16px 20px;
}

.category-list li {
  border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  color: var(--text-primary);
  font-size: 14px;
}

.category-list li a:hover {
  color: var(--primary);
}

.category-list li a .count {
  font-size: 12px;
  color: var(--text-light);
  background: var(--bg-light);
  padding: 2px 8px;
  border-radius: 10px;
}

.category-list li a.active {
  color: var(--primary);
  font-weight: 600;
}

.product-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(26,115,232,0.04);
}

.pagination .active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination .disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.product-detail .product-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.product-detail .product-gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.product-detail .product-info h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-detail .product-info .product-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 30px;
  line-height: 1.8;
  font-size: 15px;
  color: var(--text-secondary);
}

.product-content h2,
.product-content h3 {
  color: var(--text-primary);
  margin: 24px 0 12px;
}

.news-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-card .card-img {
  height: 200px;
}

.news-card .card-body {
  padding: 20px;
}

.news-card .card-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.news-card .card-body h3 a {
  color: var(--text-primary);
}

.news-card .card-body h3 a:hover {
  color: var(--primary);
}

.news-card .card-body .summary {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.news-card .card-body .meta {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 16px;
}

.article-detail {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  color: var(--text-light);
}

.article-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.article-body p {
  margin-bottom: 16px;
}

.article-body h2,
.article-body h3 {
  color: var(--text-primary);
  margin: 28px 0 14px;
}

.article-body img {
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.comments-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.comments-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.comment-list {
  margin-bottom: 30px;
}

.comment-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.comment-item .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}

.comment-item .comment-body .comment-author {
  font-weight: 600;
  margin-bottom: 4px;
}

.comment-item .comment-body .comment-date {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.comment-item .comment-body .comment-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.comment-form {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.comment-form h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hot-articles li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.hot-articles li:last-child {
  border-bottom: none;
}

.hot-articles li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-primary);
}

.hot-articles li a:hover {
  color: var(--primary);
}

.hot-articles li a .rank {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-light);
  flex-shrink: 0;
}

.hot-articles li:nth-child(1) a .rank {
  background: var(--accent);
  color: #fff;
}

.hot-articles li:nth-child(2) a .rank {
  background: var(--primary);
  color: #fff;
}

.hot-articles li:nth-child(3) a .rank {
  background: var(--primary-light);
  color: #fff;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-light);
  border-radius: 20px;
  transition: var(--transition);
}

.tag-cloud a:hover {
  background: var(--primary);
  color: #fff;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  line-height: 1.5;
}

.badge-primary {
  background: rgba(26,115,232,0.1);
  color: var(--primary);
}

.badge-accent {
  background: rgba(255,107,53,0.1);
  color: var(--accent);
}

.badge-success {
  background: rgba(76,175,80,0.1);
  color: #4caf50;
}

.about-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  margin-top: var(--header-height);
}

.about-banner h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-banner p {
  font-size: 18px;
  opacity: 0.85;
}

.about-intro {
  padding: 80px 0;
}

.about-intro .intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro .intro-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-intro .intro-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-intro .intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-intro .intro-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.culture-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.culture-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.culture-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.culture-card .culture-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #fff;
}

.culture-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.culture-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.team-section {
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card .team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--primary-light);
}

.team-card .team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-card .team-role {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 8px;
}

.team-card p {
  font-size: 13px;
  color: var(--text-light);
}

.timeline-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding: 20px 0;
  display: flex;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item .timeline-content {
  width: 45%;
  background: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.timeline-item .timeline-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-item .timeline-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.timeline-item .timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-light);
  transform: translateX(-50%);
  z-index: 2;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.contact-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.contact-card .contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: #fff;
}

.contact-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border-color);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.map-placeholder {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-stack);
  color: var(--text-primary);
  transition: var(--transition);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e53935;
}

.form-group .error-msg {
  font-size: 12px;
  color: #e53935;
  margin-top: 4px;
  display: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-stack);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.5;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,115,232,0.3);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(26,115,232,0.04);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 16px;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-col .footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col .footer-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact li .icon {
  color: var(--primary-light);
  font-size: 16px;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 50%, #4a90e2 100%);
  padding: 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.auth-card .auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-card .auth-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.auth-card .auth-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-card .auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-card .auth-footer a {
  color: var(--primary);
  font-weight: 500;
}

.user-center {
  padding: 40px 0 80px;
  margin-top: var(--header-height);
}

.user-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 30px;
  color: #fff;
  margin-bottom: 30px;
}

.user-card .user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  flex-shrink: 0;
}

.user-card .user-info h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.user-card .user-info p {
  font-size: 14px;
  opacity: 0.8;
}

.user-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.user-section {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
}

.user-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.my-comments .comment-item {
  padding: 12px 0;
}

.my-comments .comment-item .comment-body .comment-text {
  font-size: 13px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

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

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

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

  .page-with-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .nav-menu,
  .header-right .search-box,
  .header-right .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .banner {
    height: 400px;
  }

  .banner-content h2 {
    font-size: 26px;
  }

  .banner-content p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .banner-arrows {
    display: none;
  }

  .section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-list-grid {
    grid-template-columns: 1fr;
  }

  .news-section {
    grid-template-columns: 1fr;
  }

  .news-card-list {
    grid-template-columns: 1fr;
  }

  .culture-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-cards {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-intro .intro-content {
    grid-template-columns: 1fr;
  }

  .about-banner h1 {
    font-size: 26px;
  }

  .user-sections {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 50px;
  }

  .timeline-item .timeline-content {
    width: 100%;
  }

  .timeline-item .timeline-dot {
    left: 20px;
  }

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

  .stat-item .stat-number {
    font-size: 36px;
  }

  .auth-card {
    padding: 30px 24px;
  }
}

@media (max-width: 480px) {
  .banner {
    height: 320px;
  }

  .banner-content h2 {
    font-size: 22px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.cad-banner {
  background: linear-gradient(135deg, #0a2a5e 0%, #0d47a1 50%, #1565c0 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
  margin-top: var(--header-height);
}

.cad-banner h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cad-banner p {
  font-size: 18px;
  opacity: 0.85;
}

.cad-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.cad-tool-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}

.cad-tool-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.cad-tool-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.cad-tool-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.cad-tool-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.cad-tool-footer {
  margin-top: auto;
}

.cad-project-entry {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 30px;
}

.cad-project-entry-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cad-project-entry-icon {
  font-size: 40px;
}

.cad-project-entry-text {
  flex: 1;
}

.cad-project-entry-text h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.cad-project-entry-text p {
  font-size: 14px;
  color: var(--text-secondary);
}

.cad-editor-layout {
  margin-top: var(--header-height);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-height));
}

.cad-editor-toolbar {
  background: #f0f0f0;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.toolbar-label {
  font-size: 12px;
  color: var(--text-light);
  margin-right: 4px;
  font-weight: 500;
}

.toolbar-btn {
  padding: 6px 12px;
  font-size: 13px;
  font-family: var(--font-stack);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-primary);
}

.toolbar-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.toolbar-btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.toolbar-divider {
  width: 1px;
  height: 24px;
  background: var(--border-color);
  margin: 0 8px;
}

.cad-editor-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.cad-editor-layer-panel {
  width: 220px;
  background: var(--bg-white);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.cad-editor-property-panel {
  width: 240px;
  background: var(--bg-white);
  border-left: 1px solid var(--border-color);
  flex-shrink: 0;
  overflow-y: auto;
}

.panel-header {
  padding: 12px 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.panel-add-btn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.panel-add-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.panel-body {
  padding: 12px;
  flex: 1;
  overflow-y: auto;
}

.layer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
}

.layer-item:hover {
  background: var(--bg-light);
}

.layer-item.active {
  background: rgba(26,115,232,0.08);
  color: var(--primary);
  font-weight: 500;
}

.layer-visibility {
  font-size: 14px;
  cursor: pointer;
}

.layer-name {
  flex: 1;
}

.property-group {
  margin-bottom: 14px;
}

.property-group label {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 4px;
  font-weight: 500;
}

.property-group input,
.property-group select {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: var(--font-stack);
  color: var(--text-primary);
  background: var(--bg-white);
}

.property-group input:focus,
.property-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(26,115,232,0.1);
}

.cad-editor-canvas {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cad-canvas-placeholder {
  text-align: center;
  color: var(--text-light);
}

.cad-canvas-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.cad-canvas-placeholder p {
  font-size: 16px;
}

.cad-editor-statusbar {
  background: #f0f0f0;
  border-top: 1px solid var(--border-color);
  padding: 4px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.statusbar-left,
.statusbar-center,
.statusbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cad-viewer-layout {
  margin-top: var(--header-height);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-height));
}

.cad-viewer-toolbar {
  background: #f0f0f0;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.cad-viewer-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.cad-viewer-canvas {
  flex: 1;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-color);
}

.cad-viewer-placeholder {
  text-align: center;
  color: var(--text-light);
  padding: 40px;
}

.cad-viewer-placeholder-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.cad-viewer-placeholder p {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.cad-viewer-placeholder span {
  font-size: 13px;
  color: var(--text-light);
}

.cad-viewer-info-panel {
  width: 280px;
  background: var(--bg-white);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
}

.info-item label {
  color: var(--text-light);
  font-weight: 500;
}

.info-item span {
  color: var(--text-primary);
}

.info-item .text-light {
  color: var(--text-light);
}

.info-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 20px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.info-empty {
  text-align: center;
  padding: 20px;
  color: var(--text-light);
  font-size: 13px;
}

.cad-convert-area {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
  margin-bottom: 30px;
}

.cad-convert-upload {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 50px;
  text-align: center;
  margin-bottom: 30px;
  transition: var(--transition);
  cursor: pointer;
}

.cad-convert-upload:hover {
  border-color: var(--primary);
  background: rgba(26,115,232,0.02);
}

.cad-convert-upload-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.cad-convert-upload p {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cad-convert-upload span {
  font-size: 13px;
  color: var(--text-light);
}

.cad-convert-options {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.convert-option {
  flex: 1;
}

.convert-option label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.convert-format-display {
  padding: 10px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  min-height: 42px;
  display: flex;
  align-items: center;
}

.convert-format-display .text-light {
  color: var(--text-light);
}

.convert-arrow {
  font-size: 24px;
  color: var(--primary);
  font-weight: 700;
  padding-bottom: 8px;
}

.convert-action {
  padding-bottom: 0;
}

.cad-convert-history {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
}

.cad-convert-history h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.convert-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.convert-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.convert-history-item:hover {
  background: rgba(26,115,232,0.04);
}

.history-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.history-filename {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.history-format {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
}

.history-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-light);
}

.convert-history-empty {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
}

.convert-history-empty span {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
}

.convert-history-empty p {
  font-size: 14px;
}

.cad-project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.cad-project-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.cad-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cad-project-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.cad-project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.cad-project-card-body {
  padding: 24px;
}

.cad-project-card-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.cad-project-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.cad-project-card-footer {
  padding: 12px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cad-project-empty {
  text-align: center;
  padding: 80px 20px;
}

.cad-project-empty-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.cad-project-empty h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.cad-project-empty p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .cad-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cad-convert-options {
    flex-wrap: wrap;
  }

  .convert-option {
    min-width: 200px;
  }
}

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

  .cad-project-grid {
    grid-template-columns: 1fr;
  }

  .cad-banner h1 {
    font-size: 26px;
  }

  .cad-banner p {
    font-size: 15px;
  }

  .cad-project-entry-inner {
    flex-direction: column;
    text-align: center;
  }

  .cad-convert-area {
    padding: 24px;
  }

  .cad-convert-options {
    flex-direction: column;
    align-items: stretch;
  }

  .convert-arrow {
    text-align: center;
    padding: 0;
  }

  .cad-editor-layer-panel,
  .cad-editor-property-panel {
    display: none;
  }

  .cad-viewer-info-panel {
    display: none;
  }
}

.resource-search-bar {
    margin-bottom: 30px;
}

.resource-search-form {
    display: flex;
    gap: 12px;
    max-width: 600px;
}

.resource-search-form input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: var(--font-stack);
    color: var(--text-primary);
    transition: var(--transition);
}

.resource-search-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.resource-card-icon {
    padding: 20px 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.resource-type-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.resource-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 8px;
}

.resource-detail-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.resource-detail-icon {
    flex-shrink: 0;
}

.resource-file-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.resource-detail-info h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.resource-detail-info .resource-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.resource-info-table {
    margin-bottom: 24px;
}

.resource-info-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.resource-info-table td {
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.resource-info-table td.label {
    background: var(--bg-light);
    color: var(--text-secondary);
    font-weight: 500;
    width: 100px;
}

.resource-info-table tr:last-child td {
    border-bottom: none;
}

.resource-download-action {
    margin-bottom: 30px;
}

.resource-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 30px;
    line-height: 1.8;
    font-size: 15px;
    color: var(--text-secondary);
}

.resource-content h2 {
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.resource-content p {
    margin-bottom: 16px;
}

.related-resources {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-resource-item {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.related-resource-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-resource-item a {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 6px 0;
}

.related-resource-item a:hover {
    color: var(--primary);
}

.related-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
}

.forum-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.forum-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.forum-tab {
    padding: 6px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-light);
    border-radius: 20px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.forum-tab:hover {
    color: var(--primary);
    background: rgba(26,115,232,0.08);
}

.forum-tab.active {
    background: var(--primary);
    color: #fff;
}

.forum-sort-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.forum-sort {
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.forum-sort:hover {
    color: var(--primary);
}

.forum-sort.active {
    color: var(--primary);
    font-weight: 600;
}

.topic-list {
    display: flex;
    flex-direction: column;
}

.topic-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.topic-item:hover {
    background: rgba(26,115,232,0.02);
}

.topic-avatar .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}

.topic-content {
    flex: 1;
    min-width: 0;
}

.topic-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.topic-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.topic-title:hover {
    color: var(--primary);
}

.topic-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
}

.topic-author {
    color: var(--primary);
    font-weight: 500;
}

.topic-detail {
    margin-bottom: 40px;
}

.topic-detail-header {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.topic-detail-header h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.topic-detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-light);
}

.topic-author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topic-author-info .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.topic-author-name {
    color: var(--primary);
    font-weight: 500;
}

.topic-detail-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-secondary);
}

.topic-detail-body p {
    margin-bottom: 16px;
}

.replies-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.replies-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.reply-list {
    margin-bottom: 30px;
}

.reply-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.reply-avatar .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}

.reply-body {
    flex: 1;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.reply-author {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.reply-floor {
    font-size: 12px;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 10px;
}

.reply-time {
    font-size: 13px;
    color: var(--text-light);
}

.reply-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.reply-form {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.reply-form h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.forum-create {
    max-width: 800px;
    margin: 0 auto;
}

.forum-create-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 30px;
}

.forum-create-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.user-card-sidebar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 24px;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.user-card-sidebar .user-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 12px;
}

.user-card-sidebar .user-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.user-card-sidebar .user-info p {
    font-size: 13px;
    opacity: 0.8;
}

.user-nav-list li {
    border-bottom: 1px solid var(--border-color);
}

.user-nav-list li:last-child {
    border-bottom: none;
}

.user-nav-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.user-nav-list li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.user-nav-list li a.active {
    color: var(--primary);
    font-weight: 600;
}

.user-nav-list li a.logout-link {
    color: #e53935;
}

.user-nav-list li a.logout-link:hover {
    color: #c62828;
}

.user-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.user-tab {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-family: var(--font-stack);
}

.user-tab:hover {
    color: var(--primary);
}

.user-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.user-tab-content .topic-item {
    padding: 12px 0;
}

.my-comments-list .comment-item {
    padding: 12px 0;
}

.comment-source {
    display: block;
    font-size: 13px;
    color: var(--primary);
    margin-top: 6px;
}

.comment-source:hover {
    text-decoration: underline;
}

.profile-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 30px;
}

.profile-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.avatar-upload {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-preview {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.form-error-alert {
    background: rgba(229,57,53,0.08);
    color: #e53935;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid rgba(229,57,53,0.2);
}

.messages-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 30px;
}

.messages-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.message-list {
    margin-bottom: 20px;
}

.message-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
    transition: var(--transition);
}

.message-item:hover {
    box-shadow: var(--shadow-sm);
}

.message-item.unread {
    background: rgba(26,115,232,0.04);
    border-color: var(--primary-light);
}

.message-avatar .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}

.message-body {
    flex: 1;
}

.message-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.message-sender {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.message-time {
    font-size: 13px;
    color: var(--text-light);
}

.message-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 15px;
    color: var(--text-light);
}

.empty-state a {
    color: var(--primary);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .resource-grid {
        grid-template-columns: 1fr;
    }

    .resource-detail-header {
        flex-direction: column;
        gap: 20px;
    }

    .forum-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .forum-category-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .forum-tab {
        white-space: nowrap;
    }

    .topic-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .topic-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .resource-search-form {
        max-width: 100%;
    }

    .resource-info-table td {
        display: block;
        width: 100%;
    }

    .resource-info-table tr {
        display: flex;
        flex-wrap: wrap;
    }
}
