/* Generated by Trae Work */
/* 佛山市晶固胶粘剂有限公司 - 页面样式 */

/* ===== 首页 ===== */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1a56db 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 42px;
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-placeholder {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
}

/* Stats Bar */
.stats-bar {
  background: white;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

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

.stat-item {
  padding: 20px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item h3 {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 700;
}

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

/* Product Categories */
.categories-section {
  padding: 80px 0;
  background: var(--bg-light);
}

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

.category-card {
  background: var(--bg);
  border-radius: 14px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  border: 1px solid var(--border);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  border-color: var(--primary-light);
}

.category-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: white;
  font-size: 28px;
}

.category-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.category-card p {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.category-card .link {
  color: var(--primary);
  font-weight: 500;
  font-size: 13px;
}

/* About Preview */
.about-preview {
  padding: 80px 0;
  background: white;
}

.about-preview .container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
}

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

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e0e7ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--primary);
}

.about-content h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 15px;
}

/* TDS Section */
.tds-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.tds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Shop Links (旗舰店) */
.shop-links {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.shop-links-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.shop-links-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.shop-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  border: 1px solid var(--border);
  background: var(--bg);
}

.shop-link--tmall {
  color: #c81623;
}

.shop-link--tmall:hover {
  background: #c81623;
  color: white;
  border-color: #c81623;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200,22,35,0.2);
}

.shop-link--jd {
  color: #e1251b;
}

.shop-link--jd:hover {
  background: #e1251b;
  color: white;
  border-color: #e1251b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(225,37,27,0.2);
}

.shop-link__icon {
  font-size: 22px;
}

.shop-link__arrow {
  font-size: 14px;
  opacity: 0.6;
  transition: transform 0.3s;
}

.shop-link:hover .shop-link__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* Contact CTA */
.contact-cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #1e3a5f 0%, #1a56db 100%);
  color: white;
}

.contact-cta .section-title h2 {
  color: white;
}

.contact-cta .section-title p {
  color: rgba(255,255,255,0.8);
}

.contact-cta .section-title .line {
  background: white;
}

.contact-cta-info {
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  font-size: 16px;
}

.contact-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-cta .btn-outline {
  color: white;
  border-color: rgba(255,255,255,0.6);
}

.contact-cta .btn-outline:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

/* ===== 首页响应式 ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-image {
    display: none;
  }

  .hero-buttons {
    justify-content: center;
  }

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

  .about-preview .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 0;
  }

  .hero-content h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .stats-bar {
    padding: 30px 0;
  }

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

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 16px;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .stat-item h3 {
    font-size: 28px;
  }

  .stat-item p {
    font-size: 13px;
  }

  .categories-section {
    padding: 50px 0;
  }

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

  .category-card {
    padding: 20px 12px;
  }

  .category-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
    border-radius: 12px;
  }

  .category-card h3 {
    font-size: 14px;
  }

  .category-card p {
    font-size: 11px;
  }

  .about-preview {
    padding: 50px 0;
  }

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

  .about-content p {
    font-size: 14px;
  }

  .tds-section {
    padding: 50px 0;
  }

  .contact-cta {
    padding: 50px 0;
  }

  .contact-cta-info {
    font-size: 14px;
  }

  .shop-links-grid {
    flex-direction: column;
  }

  .shop-link {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 22px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

/* ===== 产品分类页 ===== */
.category-section {
  padding: 60px 0;
}

.category-intro {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.category-intro-image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e0e7ff, #dbeafe);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--primary);
  overflow: hidden;
}

.category-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.category-intro-content h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.category-intro-content p {
  color: var(--text-light);
  line-height: 1.8;
}

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

.product-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid var(--border);
}

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

.product-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary-light);
}

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

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

.product-card-body .model {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-card-body .btn {
  width: 100%;
  padding: 10px;
  font-size: 14px;
}

/* ===== 产品详情页 ===== */
.product-detail-section {
  padding: 60px 0;
}

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

.product-detail-image {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  color: var(--primary);
  border: 1px solid var(--border);
}

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

.product-detail-info .model {
  font-size: 16px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.product-detail-info .description {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.specs-table th,
.specs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.specs-table th {
  background: var(--bg-light);
  font-weight: 600;
  width: 30%;
}

.features-list,
.applications-list {
  list-style: none;
  margin-bottom: 24px;
}

.features-list li,
.applications-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.applications-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.detail-section-title {
  font-size: 18px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* ===== 关于我们 ===== */
.about-section {
  padding: 60px 0;
}

.about-content-block {
  max-width: 800px;
  margin: 0 auto;
}

.about-content-block h2 {
  font-size: 24px;
  margin: 32px 0 16px;
  color: var(--primary);
}

.about-content-block p {
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 16px;
}

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

.value-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

.value-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.value-card h3 {
  margin-bottom: 8px;
}

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

/* ===== 成功案例 ===== */
.cases-section {
  padding: 60px 0;
}

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

.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg);
}

.case-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #e0e7ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary);
}

.case-card-body {
  padding: 24px;
}

.case-card-body h3 {
  margin-bottom: 8px;
}

.case-card-body .industry {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

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

/* ===== 资质证书 ===== */
.certificates-section {
  padding: 60px 0;
}

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

.certificate-item {
  text-align: center;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.certificate-item .cert-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.certificate-item h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

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

/* ===== 新闻 ===== */
.news-section {
  padding: 60px 0;
}

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

.news-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}

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

.news-item-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e0e7ff, #dbeafe);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
  overflow: hidden;
}

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

.news-detail-image {
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.news-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.news-item-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.news-item-content .date {
  font-size: 13px;
  color: var(--text-lighter);
  margin-bottom: 8px;
}

.news-item-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.news-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.news-detail h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.news-detail .meta {
  color: var(--text-lighter);
  font-size: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.news-detail .content {
  line-height: 1.8;
  color: var(--text-light);
}

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

/* ===== 联系我们 ===== */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-item h4 {
  margin-bottom: 4px;
}

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

.contact-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--primary-light);
  border: 1px solid var(--border);
  margin-top: 24px;
}

/* ===== 在线留言 ===== */
.message-section {
  padding: 60px 0;
}

.message-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.message-form-wrapper {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
}

.message-form-wrapper h2 {
  margin-bottom: 24px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

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

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

  .about-preview .container {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .news-item-image {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 28px;
  }

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

  .stat-item h3 {
    font-size: 28px;
  }

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

  .products-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

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

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

  .category-intro {
    padding: 24px;
  }

  .contact-info-item {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===== 技术资料 ===== */
.tech-docs-section {
  padding: 60px 0;
}

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

.tech-doc-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tech-doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.tech-doc-card__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  overflow: hidden;
  flex-shrink: 0;
}

.tech-doc-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-doc-card__body h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--text);
}

.tech-doc-card__body .model {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.tech-doc-card__body .category {
  font-size: 12px;
  color: var(--text-lighter);
  margin-bottom: 12px;
}

.tech-doc-card__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
}

.tech-doc-card__actions .btn {
  padding: 8px 18px;
  font-size: 13px;
}

.tech-doc-card__no-tds {
  font-size: 12px;
  color: var(--text-lighter);
}

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

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