/* ========== CSS Variables & Reset ========== */
:root {
  --primary-color: #ff0d71;
  --primary-dark: #c40058;
  --primary-light: #ff5c9e;
  --secondary-color: #ed8936;
  --text-dark: #1a202c;
  --text-gray: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --bg-light: #f7fafc;
  --bg-gray: #edf2f7;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 100%;
  margin: 0 auto;
}

.section {
  padding: 40px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 3rem;
}

/* ========== Animations ========== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== Buttons ========== */
.btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  display: inline-block;
}

.btn-primary {
  background: white;
  color: #ff0d71;
  border: 2px solid #ff0d71;
}

.btn-primary:hover {
  background: #ff0d71;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

.btn-secondary-dark {
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  color: #ff0d71;
  border: 2px solid white;
  display: inline-block;
}

.btn-secondary-dark:hover {
  background: #ff0d71;
  color: white;
}

/* ========== Navbar ========== */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.nav-logo img {
  height: 25px;
  width: auto;
}

.nav-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* ========== Page Content ========== */
.page-content {
  padding-top: 70px;
  min-height: 100vh;
}

/* ========== Hero Banner (subpages) ========== */
.hero-banner {
  height: 400px;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-banner-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.hero-banner h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease;
}

.hero-banner p {
  font-size: 1.25rem;
  opacity: 0.95;
  animation: fadeInUp 0.6s ease 0.2s both;
}

/* ========== Footer ========== */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 100px 0 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
  padding-left: 60px;
}

.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: 25px;
  color: var(--primary-light);
}

.footer-section p {
  margin-bottom: 10px;
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.8;
}

/* ========== Chat Widget ========== */
.chat-widget {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 340px;
  height: 450px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: scaleIn 0.3s ease;
}

.chat-widget.hidden {
  display: none;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #ff0d71;
  color: white;
}

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

.chat-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
}

.chat-title {
  font-size: 1rem;
  font-weight: 600;
}

.chat-status {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.95;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #48bb78;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.chat-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.chat-content {
  flex: 1;
  overflow: hidden;
}

.chat-content iframe {
  width: 100%;
  height: 100%;
}

.chat-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #ff0d71;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(44, 122, 123, 0.4);
  transition: all 0.3s ease;
  z-index: 9998;
}

.chat-float-btn.hidden {
  display: none;
}

.chat-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(44, 122, 123, 0.5);
}

.chat-float-btn svg {
  width: 28px;
  height: 28px;
}

/* ========== Home Page ========== */
.home-page {
  min-height: auto;
  padding: 0;
  margin: 0;
}

.home-page * {
  max-width: none;
}

.hero-section {
  min-height: 800px;
  display: block;
  position: relative;
  overflow: hidden;
  padding-top: 0;
  width: 100%;
}

.hero-background {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-image: url('../imgs/4.jpg');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  padding: 20px;
}

.mobile-hero-image {
  display: none;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stats-section {
  background: #ff0d71;
  padding: 10px 0;
}

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

.stat-item {
  color: white;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.95;
}

.about-intro {
  background: #f7fafc;
  padding: 30px 0;
}

.home-about-intro-content {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.about-intro-content {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
}

.about-intro-text {
  text-align: left;
  margin-top: 30px;
}

.about-intro-text p {
  color: #4a5568;
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.1rem;
}

.features-section {
  background: white;
  padding: 80px 0;
}

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

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #ff0d71;
}

.feature-card p {
  color: #4a5568;
  line-height: 1.6;
}

.products-preview {
  background: #f7fafc;
  padding: 80px 0;
}

.products-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-preview-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.product-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.product-preview-image {
  overflow: hidden;
}

.product-preview-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

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

.product-preview-info {
  padding: 20px;
}

.product-preview-info h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #ff0d71;
}

.product-preview-info p {
  color: #4a5568;
}

.products-preview-cta {
  text-align: center;
  margin-top: 40px;
}

.cta-section {
  background: #ff0d71;
  color: white;
  padding: 80px 0;
}

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

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 30px;
}

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

/* ========== Products Page ========== */
.products-page {
  min-height: 100vh;
}

.products-page .hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1602143407151-7111542de6e8?w=1200&h=400&fit=crop') center/cover;
  opacity: 0.2;
}

.products-filter {
  background: #f7fafc;
}

.filter-tabs {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 12px 28px;
  border: 2px solid #ff0d71;
  border-radius: 50px;
  background: transparent;
  color: #ff0d71;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: #ff0d71;
  color: white;
}

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

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease both;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #e2e8f0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

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

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

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

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #ff0d71;
}

.product-info p {
  color: #4a5568;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  padding: 4px 12px;
  background: #e6fffa;
  color: #ff0d71;
  border-radius: 20px;
  font-size: 0.8rem;
}

.products-materials {
  background: white;
}

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

.material-card {
  background: #f7fafc;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.material-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.material-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.material-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: #ff0d71;
}

.material-card p {
  color: #4a5568;
  font-size: 0.9rem;
}

.products-process {
  background: #f7fafc;
}

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

.process-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.process-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.process-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: #ff0d71;
}

.process-card p {
  color: #4a5568;
  font-size: 0.9rem;
}

.products-applications {
  background: white;
}

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

.application-card {
  border-radius: 16px;
  overflow: hidden;
  background: #f7fafc;
  transition: all 0.3s ease;
}

.application-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.application-image {
  height: 150px;
  overflow: hidden;
}

.application-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.application-card:hover .application-image img {
  transform: scale(1.1);
}

.application-content {
  padding: 20px;
  text-align: center;
}

.application-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.application-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: #ff0d71;
}

.application-card p {
  color: #4a5568;
  font-size: 0.9rem;
}

.products-quality {
  background: #f7fafc;
}

.quality-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 0 50px;
}

.quality-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ff0d71;
}

.quality-text p {
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 20px;
}

.quality-list {
  list-style: none;
}

.quality-list li {
  padding: 10px 0;
  font-size: 1rem;
  color: #ff0d71;
  font-weight: 500;
}

.quality-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.products-oem {
  background: white;
}

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

.oem-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.oem-item {
  text-align: center;
  padding: 20px;
  background: #f7fafc;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.oem-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.oem-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.oem-item h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #ff0d71;
}

.oem-item p {
  color: #4a5568;
  font-size: 0.85rem;
}

.oem-desc {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, #ff0d71 0%, #c40058 100%);
  border-radius: 16px;
  color: white;
}

.oem-desc p {
  font-size: 1.125rem;
  line-height: 1.8;
}

.products-comparison {
  background: #f7fafc;
}

.comparison-table {
  overflow-x: auto;
  max-width: 100%;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
  background: #ff0d71;
  color: white;
  font-weight: 600;
}

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

.comparison-table tr:hover td {
  background: #f7fafc;
}

.products-cta {
  background: #ff0d71;
  color: white;
}

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

.products-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.products-cta p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 30px;
}

/* ========== About Page ========== */
.about-page {
  min-height: 100vh;
}

.about-page .hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1200&h=400&fit=crop') center/cover;
  opacity: 0.15;
}

.about-page .about-intro {
  background: white;
}

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

.about-intro-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.about-intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-intro-content h2 {
  font-size: 2rem;
  color: #ff0d71;
  margin-bottom: 10px;
}

.about-intro-subtitle {
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 25px;
}

.about-stats {
  background: #ff0d71;
  color: white;
}

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

.stat-card {
  padding: 20px;
}

.about-history {
  background: #f7fafc;
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #ff0d71;
}

.timeline-item {
  position: relative;
  padding: 20px 0;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  padding-right: 40px;
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: 40px;
  margin-left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #ff0d71;
  border-radius: 50%;
  top: 25px;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-year {
  display: inline-block;
  background: #ff0d71;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #ff0d71;
}

.timeline-content p {
  color: #4a5568;
}

.about-team {
  background: white;
}

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

.team-card {
  background: #f7fafc;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.team-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.team-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: #ff0d71;
}

.team-card p {
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-certificates {
  background: #f7fafc;
}

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

.certificate-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.certificate-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.certificate-card span {
  font-size: 1rem;
  color: #ff0d71;
  font-weight: 500;
}

.about-culture {
  background: white;
}

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

.culture-text h2 {
  font-size: 2rem;
  color: #ff0d71;
  margin-bottom: 30px;
}

.culture-item {
  margin-bottom: 25px;
}

.culture-item h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: #ff0d71;
}

.culture-item p {
  color: #4a5568;
  line-height: 1.6;
}

.culture-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.about-partners {
  background: #f7fafc;
}

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

.partner-logo {
  background: white;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ff0d71;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-cta {
  background: #ff0d71;
  color: white;
}

.about-cta .cta-content {
  text-align: center;
}

.about-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.about-cta p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 30px;
}

/* ========== Contact Page ========== */
.contact-page {
  min-height: 100vh;
}

.contact-page .hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1200&h=400&fit=crop') center/cover;
  opacity: 0.15;
}

.contact-info-section {
  background: white;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.contact-card {
  background: #f7fafc;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 1.125rem;
  margin-bottom: 15px;
  color: #ff0d71;
}

.contact-card p {
  color: #4a5568;
  margin-bottom: 5px;
  line-height: 1.6;
}

.contact-map-section {
  background: #f7fafc;
}

.contact-map {
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-faq {
  background: white;
}

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

.faq-item {
  background: #f7fafc;
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  font-size: 1.125rem;
  margin-bottom: 15px;
  color: #ff0d71;
}

.faq-item p {
  color: #4a5568;
  line-height: 1.7;
}

.contact-cta {
  background: linear-gradient(135deg, #ff0d71 0%, #c40058 100%);
  color: white;
}

.contact-cta .cta-content {
  text-align: center;
}

.contact-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-cta p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 10px;
}

.cta-phone {
  font-size: 1.5rem !important;
  font-weight: 600;
  margin-top: 20px !important;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .oem-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stats .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: var(--transition);
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .nav-toggle {
    display: flex;
  }
  .hero-section {
    min-height: 100vh;
    height: 100vh;
    padding-top: 0;
  }
  .mobile-hero-image {
    display: block;
  }
  .mobile-hero-image img {
    width: 100%;
    height: auto;
  }
  .hero-background {
    background-image: url('../imgs/phone_home_2.jpg');
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat;
    height: calc(100vh - 70px);
    top: 70px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .products-preview-grid {
    grid-template-columns: 1fr;
  }
  .cta-content h2 {
    font-size: 1.75rem;
  }
  .cta-content p {
    font-size: 1rem;
  }
  .section {
    padding: 50px 0;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-left: 0;
  }
  .footer-section {
    text-align: center;
  }
  .footer-section h3 {
    text-align: center;
  }
  .footer-section p {
    text-align: center;
  }
  .hero-banner {
    height: 300px;
  }
  .hero-banner h1 {
    font-size: 2rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .materials-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .applications-grid {
    grid-template-columns: 1fr;
  }
  .quality-content {
    grid-template-columns: 1fr;
  }
  .oem-features {
    grid-template-columns: 1fr;
  }
  .filter-tabs {
    gap: 10px;
  }
  .filter-tab {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .comparison-table {
    font-size: 0.9rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 12px;
  }
  .about-intro-grid {
    grid-template-columns: 1fr;
  }
  .about-stats .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }
  .timeline-dot {
    left: 12px !important;
    right: auto !important;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .certificates-grid {
    grid-template-columns: 1fr;
  }
  .culture-content {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .contact-map {
    height: 350px;
  }
  .contact-cta h2 {
    font-size: 1.75rem;
  }
  .contact-cta p {
    font-size: 1rem;
  }
  .cta-phone {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 480px) {
  .chat-widget {
    width: calc(100vw - 40px);
    height: calc(100vh - 120px);
    bottom: 10px;
    right: 10px;
    left: 10px;
    width: auto;
  }
  .chat-float-btn {
    bottom: 15px;
    right: 15px;
  }
}
