/* ========================================
   MAIN CSS — All Module Styles
   ======================================== */

/* ===== Module 1: Top Bar ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-height);
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 12px;
  z-index: 1001;
  transition: transform var(--transition-normal);
}
.top-bar.hidden {
  transform: translateY(-100%);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.top-bar-left svg {
  width: 14px;
  height: 14px;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-right .lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  position: relative;
}
.top-bar-right .lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-white);
  color: var(--color-dark);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  padding: 4px 0;
  min-width: 100px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all var(--transition-fast);
  z-index: 10;
}
.top-bar-right .lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.top-bar-right .lang-dropdown li {
  padding: 6px 16px;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.top-bar-right .lang-dropdown li:hover {
  background: var(--color-bg-light);
}
.top-bar-right .hotline {
  display: flex;
  align-items: center;
  gap: 4px;
}
.top-bar-right .hotline svg {
  width: 14px;
  height: 14px;
}
.top-bar-right .app-download {
  position: relative;
  cursor: pointer;
}
.top-bar-right .app-download svg {
  width: 14px;
  height: 14px;
}
.top-bar-right .app-qrcode {
  position: absolute;
  top: 100%;
  right: 0;
  width: 130px;
  padding: 12px;
  background: var(--color-white);
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all var(--transition-fast);
  z-index: 10;
  text-align: center;
}
.top-bar-right .app-download:hover .app-qrcode {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.top-bar-right .app-qrcode .qr-placeholder {
  width: 80px;
  height: 80px;
  margin: 0 auto 8px;
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--color-gray-light);
}
.top-bar-right .app-qrcode span {
  font-size: 11px;
  color: var(--color-gray);
}

/* ===== Module 2: Main Nav ===== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}
.main-header.scrolled {
  background: var(--color-white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.main-header .container {
  display: flex;
  align-items: center;
  height: 100%;
}
.main-header .logo {
  flex-shrink: 0;
  margin-right: 40px;
}
.main-header .logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}
.main-header .logo svg {
  height: 32px;
}
.main-header .logo .logo-text {
  font-family: var(--font-cn);
  font-weight: 700;
}
.main-header.scrolled .logo .logo-text {
  color: var(--color-primary);
}

.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > ul > li {
  position: static;
}
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-white);
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}
.main-header.scrolled .main-nav > ul > li > a {
  color: var(--color-dark);
}
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: width var(--transition-fast);
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a.active::after {
  width: 60%;
}
.main-nav > ul > li > a:hover,
.main-header.scrolled .main-nav > ul > li > a:hover {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-actions .search-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  color: var(--color-white);
  font-size: 13px;
  transition: border-color var(--transition-fast);
}
.main-header.scrolled .header-actions .search-btn {
  border-color: var(--color-border);
  color: var(--color-gray);
}
.header-actions .search-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.header-actions .search-btn svg {
  width: 16px;
  height: 16px;
}

.header-actions .search-btn-prominent {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}
.main-header.scrolled .header-actions .search-btn-prominent {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
.header-actions .search-btn-prominent:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--transition-material),
              transform 0.25s var(--transition-material),
              visibility 0.25s;
  z-index: 999;
}
.main-nav > ul > li:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-menu-inner {
  display: flex;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px;
  gap: 40px;
}
.mega-menu-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 160px;
  border-right: 1px solid var(--color-border);
  padding-right: 24px;
}
.mega-menu-tab {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--color-gray);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border-left: 3px solid transparent;
}
.mega-menu-tab:hover,
.mega-menu-tab.active {
  color: var(--color-primary);
  background: var(--color-red-light);
  border-left-color: var(--color-primary);
}
.mega-menu-content {
  flex: 1;
  position: relative;
  min-height: 200px;
}
.mega-menu-panel {
  display: none;
  gap: 24px;
  flex-wrap: wrap;
}
.mega-menu-panel.active {
  display: flex;
}
.mega-menu-card {
  width: calc(33.33% - 16px);
  min-width: 180px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: all var(--transition-fast);
}
.mega-menu-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.mega-menu-card .card-icon {
  width: 40px;
  height: 40px;
  background: var(--color-red-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--color-primary);
}
.mega-menu-card .card-icon svg {
  width: 22px;
  height: 22px;
}
.mega-menu-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.mega-menu-card p {
  font-size: 13px;
  color: var(--color-gray);
  line-height: 1.5;
}
.mega-menu-panel.animating .mega-menu-card {
  animation: fadeSlideIn 0.2s both;
}
.mega-menu-panel.animating .mega-menu-card:nth-child(1) { animation-delay: 0s; }
.mega-menu-panel.animating .mega-menu-card:nth-child(2) { animation-delay: 0.05s; }
.mega-menu-panel.animating .mega-menu-card:nth-child(3) { animation-delay: 0.1s; }

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

/* ===== Module 3: Hero Banner ===== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-height));
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s var(--transition-material),
              transform 0.6s var(--transition-material);
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-slide.leaving {
  opacity: 0;
  transform: scale(1.03);
  z-index: 2;
}
.hero-slide.active.entering {
  opacity: 0;
  transform: scale(1.03);
}
.hero-slide.active.entered {
  opacity: 1;
  transform: scale(1);
}
.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide .img-placeholder {
  width: 100%;
  height: 100%;
  border: none;
}
.hero-slide .img-placeholder span {
  font-size: 18px;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, transparent 60%);
  z-index: 1;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin-bottom: 16px;
  max-width: 600px;
  line-height: 1.2;
}
.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  margin-bottom: 28px;
  max-width: 520px;
  line-height: 1.6;
}
.hero-content .btn-primary {
  font-size: 16px;
  padding: 14px 36px;
}

/* Banner Controls */
.banner-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  pointer-events: none;
}
.banner-arrow {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  opacity: 0;
}
.banner-arrow:hover {
  background: rgba(255,255,255,0.4);
}
.banner-arrow-prev { float: left; }
.banner-arrow-next { float: right; }
.hero-banner:hover .banner-arrow {
  opacity: 1;
}

.banner-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  align-items: center;
}
.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: width 0.3s, background var(--transition-fast);
}
.banner-dot.active {
  width: 24px;
  background: var(--color-white);
}

.banner-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.1s linear;
}

/* ===== Module 4: Quick Actions ===== */
.quick-actions {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 5;
}
.quick-actions-inner {
  display: flex;
  align-items: stretch;
  position: relative;
}
.quick-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.quick-tab {
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gray);
  cursor: pointer;
  transition: color var(--transition-fast);
  white-space: nowrap;
  position: relative;
  background: none;
  border: none;
}
.quick-tab:hover {
  color: var(--color-primary);
}
.quick-tab.active {
  color: var(--color-primary);
}
.quick-tab-slider {
  position: absolute;
  bottom: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px 2px 0 0;
  transition: transform 0.3s var(--transition-material), width 0.3s var(--transition-material);
}
.quick-panels {
  padding: 24px 0;
}
.quick-panel {
  display: none;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.quick-panel.active {
  display: flex;
}
.quick-panel .input-field {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  font-size: 15px;
}
.quick-panel .btn-primary {
  padding: 12px 28px;
  font-size: 15px;
}

/* ===== Module 5: Core Services ===== */
.core-services {
  padding: 80px 0;
  background: var(--color-bg-light);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s var(--transition-material),
              box-shadow 0.25s var(--transition-material);
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-primary);
  transition: width 0.3s;
}
.service-card:hover::after {
  width: 100%;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card .card-img {
  height: 200px;
  overflow: hidden;
}
.service-card .card-img .img-placeholder {
  height: 100%;
  transition: transform 0.25s var(--transition-material);
}
.service-card:hover .card-img .img-placeholder {
  transform: scale(1.05);
}
.service-card .card-img .img-placeholder span {
  font-size: 13px;
}
.service-card .card-body {
  padding: 20px;
}
.service-card .card-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-card .card-body p {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.service-card .card-body .btn-ghost {
  font-size: 14px;
}

/* ===== Module 6: Industry Solutions ===== */
.industry-solutions {
  padding: 80px 0;
}
.industry-layout {
  display: flex;
  gap: 48px;
}
.industry-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 160px;
  flex-shrink: 0;
}
.industry-tab {
  padding: 14px 20px;
  font-size: 15px;
  color: var(--color-gray);
  cursor: pointer;
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
  background: none;
  text-align: left;
  font-weight: 500;
}
.industry-tab:hover,
.industry-tab.active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  background: var(--color-red-light);
}
.industry-display {
  flex: 1;
  position: relative;
  min-height: 340px;
  overflow: hidden;
}
.industry-panel {
  display: none;
  gap: 32px;
  align-items: center;
}
.industry-panel.active {
  display: flex;
}
.industry-panel .industry-image {
  flex: 1;
  min-width: 300px;
}
.industry-panel .industry-image .img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}
.industry-panel .industry-info {
  flex: 1;
}
.industry-panel .industry-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.industry-panel .industry-info p {
  font-size: 15px;
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}
.industry-panel.animating-out {
  animation: industryOut 0.15s ease-in both;
}
.industry-panel.animating-in {
  animation: industryIn 0.3s 0.15s both;
}
@keyframes industryOut {
  to { opacity: 0; transform: translateX(-10px); }
}
@keyframes industryIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== Module 7: Data Counter ===== */
.data-counter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1A1A1A 0%, #2A0A0A 100%);
  color: var(--color-white);
}
.data-counter-section .section-header {
  margin-bottom: 48px;
}
.data-counter-section .section-header p {
  color: rgba(255,255,255,0.6);
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.counter-item {
  padding: 24px;
}
.counter-number-wrapper {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 8px;
}
.counter-number {
  display: inline;
}
.counter-suffix {
  display: inline;
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}
.counter-item .counter-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

/* ===== Module 8: News ===== */
.news-section {
  padding: 80px 0;
  background: var(--color-white);
}
.news-ticker {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 13px;
  padding: 8px 0;
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 4px;
}
.news-ticker-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.news-ticker .ticker-label {
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 2px;
  font-weight: 600;
  flex-shrink: 0;
}
.news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.news-list h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background var(--transition-fast);
  position: relative;
}
.news-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--color-primary);
  transition: width var(--transition-fast);
}
.news-item:hover::before {
  width: 3px;
}
.news-item:hover {
  background: var(--color-red-light);
}
.news-item .news-date {
  font-size: 13px;
  color: var(--color-gray-light);
  flex-shrink: 0;
  font-family: var(--font-en);
}
.news-item .news-title {
  font-size: 14px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-grid-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.news-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}
.news-card:hover {
  box-shadow: var(--shadow-sm);
}
.news-card .img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
}
.news-card .news-card-body {
  padding: 16px;
}
.news-card .news-card-body h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .news-card-body p {
  font-size: 13px;
  color: var(--color-gray);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Module 9: Brand Advantages ===== */
.brand-advantages {
  padding: 80px 0;
  background: var(--color-bg-light);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--color-white);
  border-radius: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.advantage-card .advantage-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.advantage-card .advantage-icon svg {
  width: 28px;
  height: 28px;
}
.advantage-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.advantage-card p {
  font-size: 14px;
  color: var(--color-gray);
  line-height: 1.6;
}

/* ===== Module 10: Partner Logos ===== */
.partner-logos {
  padding: 60px 0;
  overflow: hidden;
}
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
}
.marquee-item {
  width: 120px;
  height: 60px;
  background: var(--color-border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--color-gray-light);
  flex-shrink: 0;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--transition-material), visibility 0.25s;
}
.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: var(--color-white);
  border-radius: 12px;
  max-width: 560px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s var(--transition-material);
}
.modal-overlay.show .modal-content {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  transition: background var(--transition-fast), color var(--transition-fast);
  z-index: 1;
}
.modal-close:hover {
  background: var(--color-bg-light);
  color: var(--color-dark);
}
.modal-loading,
.modal-error {
  padding: 48px 24px;
  text-align: center;
  font-size: 15px;
  color: var(--color-gray);
}
.modal-error {
  color: var(--color-primary);
}
.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}
.modal-status {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-blue);
}
.modal-status.delivered {
  color: #52c41a;
}
.modal-tracking-number {
  font-size: 13px;
  color: var(--color-gray);
  font-family: var(--font-en);
}
.modal-timeline {
  padding: 24px;
}
.tl-row {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 24px;
}
.tl-row:last-child {
  padding-bottom: 0;
}
.tl-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-border);
  margin-top: 3px;
  position: relative;
  z-index: 1;
}
.tl-dot.collect { background: var(--color-blue); }
.tl-dot.depart { background: var(--color-gray); }
.tl-dot.transit { background: var(--color-gray); }
.tl-dot.delivering { background: #faad14; }
.tl-dot.signed { background: #52c41a; }
.tl-row.active .tl-dot {
  box-shadow: 0 0 0 4px rgba(226,35,26,0.15);
  background: var(--color-primary);
}
.tl-line {
  position: absolute;
  left: 5.5px;
  top: 16px;
  width: 1px;
  height: calc(100% - 10px);
  background: var(--color-border);
}
.tl-row:last-child .tl-line {
  display: none;
}
.tl-info {
  flex: 1;
}
.tl-location {
  font-size: 15px;
  color: var(--color-dark);
  line-height: 1.5;
}
.tl-time {
  font-size: 13px;
  color: var(--color-gray-light);
  font-family: var(--font-en);
  margin-top: 4px;
}

/* ===== Module 11: Footer ===== */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.footer-top-accent {
  height: 4px;
  background: var(--color-primary);
}
.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  transition: color var(--transition-fast);
}
.footer-col ul li a:hover {
  color: var(--color-primary);
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .copyright {
  font-size: 13px;
}
.footer-bottom .footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-fast);
}
.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
.footer-social a svg {
  width: 16px;
  height: 16px;
}
.footer-qr-section {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}
.footer-qr-item {
  text-align: center;
}
.footer-qr-item .qr-placeholder {
  width: 80px;
  height: 80px;
  background: var(--color-border);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--color-gray-light);
}
.footer-qr-item span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-layout {
    flex-direction: column;
  }
  .industry-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    min-width: 0;
  }
  .industry-tab {
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 12px 16px;
  }
  .industry-tab:hover,
  .industry-tab.active {
    border-left-color: transparent;
    border-bottom-color: var(--color-primary);
  }
  .industry-panel.active {
    flex-direction: column;
  }
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .main-header {
    height: 56px;
  }
  .main-header .container {
    gap: 8px;
  }
  .logo a {
    gap: 4px;
  }
  .logo .logo-text {
    font-size: 18px;
  }

  .main-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 998;
    overflow-y: auto;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }
  .main-nav > ul {
    flex-direction: column;
    width: 100%;
  }
  .main-nav > ul > li > a {
    color: var(--color-dark);
    padding: 16px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--color-border);
  }
  .mega-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .main-nav > ul > li:hover .mega-menu {
    display: block;
  }
  .mega-menu-inner {
    flex-direction: column;
    padding: 12px 0;
    gap: 12px;
  }
  .mega-menu-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    padding-right: 0;
    gap: 4px;
  }
  .mega-menu-tab {
    padding: 6px 12px;
    font-size: 13px;
  }
  .mega-menu-card {
    width: 100%;
    padding: 12px;
  }
  .mega-menu-card .card-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
  }
  .mega-menu-card .card-icon svg {
    width: 18px;
    height: 18px;
  }
  .mega-menu-card h4 {
    font-size: 14px;
  }
  .mega-menu-card p {
    font-size: 12px;
  }

  .header-actions .search-btn span {
    display: none;
  }
  .header-actions .search-btn {
    border: none;
    padding: 8px;
  }
  .header-actions .search-btn-prominent {
    padding: 8px 12px;
  }

  .hamburger {
    display: flex;
    padding: 8px;
  }

  .hero-banner {
    height: 280px;
    margin-top: calc(-1 * 56px);
  }
  .hero-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  }
  .hero-content {
    top: auto;
    bottom: 40px;
    transform: none;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 22px;
    max-width: 100%;
  }
  .hero-content p {
    font-size: 13px;
    margin-bottom: 0;
    max-width: 100%;
  }
  .banner-dots {
    bottom: 12px;
  }
  .banner-dot {
    width: 6px;
    height: 6px;
  }
  .banner-dot.active {
    width: 18px;
  }
  .banner-controls {
    display: none;
  }

  .quick-actions {
    padding: 12px 0;
  }
  .quick-actions-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .quick-panel {
    flex-direction: column;
    gap: 10px;
  }
  .quick-panel .input-field {
    min-width: 0;
    width: 100%;
  }
  .quick-panel .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .tracking-result {
    margin-top: 12px;
  }

  .core-services {
    padding: 40px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card .card-img {
    height: 180px;
  }
  .service-card .card-body {
    padding: 16px;
  }
  .service-card .card-body h3 {
    font-size: 16px;
  }
  .service-card .card-body p {
    font-size: 13px;
  }

  .industry-layout {
    flex-direction: column;
  }
  .industry-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .industry-tab {
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 10px 14px;
    font-size: 14px;
    flex-shrink: 0;
  }
  .industry-tab:hover,
  .industry-tab.active {
    border-left-color: transparent;
    border-bottom-color: var(--color-primary);
  }
  .industry-panel.active {
    flex-direction: column;
  }
  .industry-panel .industry-image {
    min-width: 0;
    width: 100%;
  }
  .industry-panel .industry-info h3 {
    font-size: 20px;
  }

  .data-counter-section {
    padding: 48px 0;
  }
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .counter-number-wrapper {
    font-size: 32px;
  }
  .counter-item {
    padding: 16px;
  }
  .counter-item .counter-label {
    font-size: 13px;
  }

  .news-section {
    padding: 40px 0;
  }
  .news-ticker {
    font-size: 12px;
    padding: 6px 0;
    margin-bottom: 24px;
  }
  .news-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .news-grid-right {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-item {
    padding: 12px 8px;
  }
  .news-item .news-title {
    font-size: 13px;
  }
  .news-card .news-card-body h4 {
    font-size: 13px;
  }

  .brand-advantages {
    padding: 40px 0;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .advantage-card {
    padding: 24px 16px;
  }
  .advantage-card .advantage-icon {
    width: 48px;
    height: 48px;
  }
  .advantage-card .advantage-icon svg {
    width: 22px;
    height: 22px;
  }
  .advantage-card h3 {
    font-size: 15px;
  }
  .advantage-card p {
    font-size: 13px;
  }

  .partner-logos {
    padding: 32px 0;
  }
  .marquee-item {
    width: 100px;
    height: 50px;
    font-size: 11px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 24px;
  }
  .footer-col h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .footer-col ul li {
    margin-bottom: 8px;
  }
  .footer-col ul li a {
    font-size: 13px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }
  .footer-bottom .copyright {
    font-size: 12px;
  }

  .section-header {
    margin-bottom: 28px;
  }
  .section-header h2 {
    font-size: 22px;
  }
  .section-header p {
    font-size: 14px;
  }

  .modal-content {
    width: 94%;
    max-height: 85vh;
    border-radius: 8px;
  }
  .modal-header {
    padding: 16px;
  }
  .modal-timeline {
    padding: 16px;
  }
  .tl-location {
    font-size: 14px;
  }
  .tl-time {
    font-size: 12px;
  }
  .modal-status {
    font-size: 16px;
  }

  .hamburger {
    display: flex;
  }
}
