:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --secondary: #0ea5e9;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

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

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

/* Top bar */
.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-left {
  font-weight: 500;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-right a {
  color: #e0f2fe;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-right a:hover {
  color: #fff;
}

.topbar svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Header */
.header {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.logo-r {
  font-size: 12px;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
}

.logo-divider {
  color: var(--text-light);
  margin: 0 6px;
  font-weight: 400;
}

.logo-sub {
  font-size: 14px;
  color: var(--text-light);
}

/* Nav */
.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--text);
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: #f0fdfa;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--text);
}

/* Banner */
.banner {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: var(--bg-light);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

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

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.85) 0%, rgba(13, 148, 136, 0.4) 60%, transparent 100%);
  display: flex;
  align-items: center;
}

.banner-content {
  color: #fff;
  max-width: 600px;
}

.banner-content h2 {
  font-size: 42px;
  margin: 0 0 16px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  animation: fadeInUp 0.8s ease forwards;
}

.banner-content p {
  font-size: 18px;
  margin: 0 0 28px;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

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

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
  border: 2px solid transparent;
}

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

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

/* Sections */
.section {
  padding: 72px 0;
}

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

.section-title h2 {
  font-size: 32px;
  margin: 0 0 12px;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

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

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

.company-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.company-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f0fdfa;
  color: var(--primary);
  border: 1px solid #ccfbf1;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s, background 0.2s;
}

.company-tag:hover {
  transform: translateY(-2px);
  background: #e0f8f5;
}

.company-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  margin: 0 0 16px;
  color: var(--text-light);
  text-align: justify;
}

.about-text .highlight {
  color: var(--primary);
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

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

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px -4px rgba(0,0,0,0.12);
}

.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-light);
}

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

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

.product-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .product-zoom {
  opacity: 1;
}

.product-zoom svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

.product-info {
  padding: 18px;
}

.product-info h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--text);
}

.product-info p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.product-phone svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Fields */
.fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.field-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  border-top: 3px solid var(--primary);
}

.field-card:hover {
  transform: translateY(-4px);
}

.field-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  background: #f0fdfa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.field-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--primary);
}

.field-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

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

/* FAQ */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 18px;
  margin: 0;
  color: var(--text-light);
  line-height: 1.7;
}

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

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: #f0fdfa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.contact-card-text h4 {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.contact-card-text p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.contact-card-text a {
  color: var(--text);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--text);
}

.contact-intro {
  margin: 0 0 24px;
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: #f0fdfa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.contact-text h4 {
  margin: 0 0 4px;
  font-size: 15px;
}

.contact-text p {
  margin: 0;
  color: var(--text-light);
  font-size: 15px;
}

.contact-text a {
  color: var(--primary);
}

.contact-service {
  margin: 28px 0;
  padding: 20px;
  background: #f8fafc;
  border-radius: var(--radius);
}

.contact-service h4 {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--text);
}

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

.contact-service li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-light);
}

.contact-service li svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
  flex-shrink: 0;
}

.qr-code {
  text-align: center;
  margin-top: 24px;
}

.qr-code img {
  width: 160px;
  height: 160px;
  border-radius: var(--radius);
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.qr-code p {
  margin: 10px 0 0;
  color: var(--text-light);
  font-size: 14px;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--text);
}

.contact-form-card > p {
  margin: 0 0 24px;
  color: var(--text-light);
  font-size: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

.contact-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
  background: var(--bg-light);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* Douyin */
.douyin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.douyin-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.douyin-card img {
  width: 160px;
  height: 160px;
  border-radius: var(--radius);
  margin: 0 auto 12px;
  object-fit: cover;
}

.douyin-card h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

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

/* Footer */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 56px 0 24px;
}

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

.footer-brand h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 20px;
}

.footer-brand p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-links h4 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 16px;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-cities {
  margin-bottom: 40px;
  padding-top: 30px;
  border-top: 1px solid #1e293b;
}

.footer-cities h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 16px;
}

.city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.city-links a {
  color: #94a3b8;
  font-size: 14px;
}

.city-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Page banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}

.page-banner h1 {
  margin: 0 0 12px;
  font-size: 36px;
}

.page-banner p {
  margin: 0;
  opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-light);
  padding: 14px 0;
  font-size: 14px;
  color: var(--text-light);
}

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

/* Content page */
.page-content {
  padding: 60px 0;
}

.text-content {
  max-width: 900px;
  margin: 0 auto;
}

.text-content p {
  margin: 0 0 18px;
  color: var(--text-light);
  line-height: 1.8;
  text-align: justify;
}

.text-content h3 {
  margin: 32px 0 16px;
  color: var(--text);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,0.2);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .banner {
    height: 420px;
  }

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

@media (max-width: 768px) {
  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .topbar-left {
    display: none;
  }

  .header .container {
    height: 70px;
  }

  .logo-title {
    font-size: 18px;
  }

  .logo-sub {
    font-size: 12px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow);
  }

  .nav.active {
    display: flex;
  }

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

  .banner {
    height: 360px;
  }

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

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

  .section {
    padding: 48px 0;
  }

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

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

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }

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

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

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

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

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

  .contact-form-card,
  .contact-info {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 40px;
  }

  .logo-title {
    font-size: 16px;
  }

  .logo-sub {
    font-size: 11px;
  }

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