/* ============================================
   Zeccn Solar - Premium Stylesheet
   ============================================ */

/* ---------- Variables & Reset ---------- */
:root {
  --primary: #1E9BDC;
  --primary-dark: #0D6EAD;
  --primary-light: #4FC3F7;
  --accent: #FFB300;
  --accent-light: #FFCA28;
  --dark: #0A1628;
  --dark-2: #0D2640;
  --text: #2d3436;
  --text-light: #636e72;
  --bg: #ffffff;
  --bg-alt: #F0F7FC;
  --bg-dark: #0B1A2E;
  --border: #D6EAF8;
  --shadow: 0 4px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* Keep the established desktop width, then scale proportionally on wide displays. */
  --max-width: clamp(1200px, 75vw, 2400px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 36px;
  font-size: 0.95rem; font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 8px 32px rgba(30, 155, 220, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(30, 155, 220, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}
.btn-light {
  background: rgba(255,255,255,0.15);
  color: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-light:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

/* ---------- Section Common ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }
#solutions { scroll-margin-top: 80px; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
}
.section-dark .section-title { color: #fff; }
.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-desc { margin: 0 auto; }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
  background: transparent;
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Google Translate language selector */
.language-switcher {
  position: relative;
  margin-left: auto;
  z-index: 110;
}

/* Hide Google's own gadget and branding; the custom control below drives it. */
#google_translate_element,
#google_translate_element *,
.goog-te-gadget,
.goog-te-gadget * {
  display: none !important;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 92px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid #e3edf6;
  border-radius: 8px;
  background: #fff;
  color: #10213a;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(16, 33, 58, .08);
}

.language-toggle:hover {
  border-color: #28a8e8;
}

.language-flag {
  display: inline-block;
  position: relative;
  overflow: hidden;
  width: 25px;
  height: 17px;
  flex: 0 0 25px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(16, 33, 58, .12);
  background: #d9e4ee;
}

.language-option-flag {
  display: inline-block;
  position: relative;
  overflow: hidden;
  width: 25px;
  height: 17px;
  flex: 0 0 25px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(16, 33, 58, .12);
}

/* CSS flags: avoids relying on operating-system emoji support. */
[data-flag="us"] { background: #fff url('../images/flags/us.svg') center/cover no-repeat; }
[data-flag="us"]::before { display: none; }
[data-flag="cn"] { background: #de2910 url('../images/flags/cn.svg') center/cover no-repeat; }
[data-flag="tw"] { background: #de2910 url('../images/flags/cn.svg') center/cover no-repeat; }
[data-flag="es"] { background: linear-gradient(#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%); }
[data-flag="fr"] { background: linear-gradient(90deg,#002654 0 33%,#fff 33% 66%,#ed2939 66%); }
[data-flag="de"] { background: linear-gradient(#000 0 33%,#dd0000 33% 66%,#ffce00 66%); }
[data-flag="it"] { background: linear-gradient(90deg,#009246 0 33%,#fff 33% 66%,#ce2b37 66%); }
[data-flag="pt"] { background: linear-gradient(90deg,#006600 0 40%,#ff0000 40%); }
[data-flag="ru"] { background: linear-gradient(#fff 0 33%,#0039a6 33% 66%,#d52b1e 66%); }
[data-flag="jp"] { background: radial-gradient(circle at center,#bc002d 0 29%,transparent 30%), #fff; }
[data-flag="kr"] { background: radial-gradient(circle at 50% 45%,#cd2e3a 0 22%,#0047a0 23% 36%,transparent 37%), #fff; }
[data-flag="ar"] { background: linear-gradient(#007a3d 0 33%,#fff 33% 66%,#000 66%); }
[data-flag="nl"] { background: linear-gradient(#ae1c28 0 33%,#fff 33% 66%,#21468b 66%); }
[data-flag="pl"] { background: linear-gradient(#fff 0 50%,#dc143c 50%); }
[data-flag="tr"] { background: radial-gradient(circle at 42% 50%,#fff 0 19%,transparent 20%), #e30a17; }
[data-flag="vn"] { background: radial-gradient(circle at center,#ff0 0 15%,transparent 16%), #da251d; }
[data-flag="id"] { background: linear-gradient(#ce1126 0 50%,#fff 50%); }
[data-flag="in"] { background: linear-gradient(#ff9933 0 33%,#fff 33% 66%,#138808 66%); }
[data-flag="th"] { background: linear-gradient(#a51931 0 16%,#fff 16% 32%,#2d2a4a 32% 68%,#fff 68% 84%,#a51931 84%); }
[data-flag="my"] { background: linear-gradient(#cc0001 0 14%,#fff 14% 28%,#cc0001 28% 42%,#fff 42% 56%,#cc0001 56% 70%,#fff 70% 84%,#cc0001 84%); }
[data-flag="ua"] { background: linear-gradient(#0057b7 0 50%,#ffd700 50%); }
[data-flag="cz"] { background: linear-gradient(145deg,#11457e 0 50%,transparent 51%), linear-gradient(#fff 0 50%,#d7141a 50%); }
[data-flag="se"] { background: linear-gradient(90deg,#006aa7 0 28%,#fecc00 28% 40%,#006aa7 40% 100%); }
[data-flag="no"] { background: linear-gradient(90deg,#ef2b2d 0 28%,#fff 28% 36%,#002868 36% 50%,#fff 50% 58%,#ef2b2d 58%); }
[data-flag="dk"] { background: linear-gradient(90deg,#c60c30 0 30%,#fff 30% 42%,#c60c30 42%); }
[data-flag="fi"] { background: linear-gradient(90deg,#fff 0 30%,#003580 30% 44%,#fff 44%); }
[data-flag="gr"] { background: repeating-linear-gradient(#0d5eaf 0 12%,#fff 12% 24%); }
[data-flag="il"] { background: linear-gradient(#fff 0 20%,#0038b8 20% 28%,#fff 28% 72%,#0038b8 72% 80%,#fff 80%); }
[data-flag="ro"] { background: linear-gradient(90deg,#002b7f 0 33%,#fcd116 33% 66%,#ce1126 66%); }
[data-flag="hu"] { background: linear-gradient(#ce2939 0 33%,#fff 33% 66%,#477050 66%); }
[data-flag="bg"] { background: linear-gradient(#fff 0 33%,#00966e 33% 66%,#d62612 66%); }

.language-code {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.language-arrow {
  /* Draw the chevron instead of relying on the font glyph baseline. */
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  font-size: 0;
  line-height: 0;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform .2s ease, margin-top .2s ease;
}

.language-switcher.open .language-arrow {
  margin-top: 4px;
  transform: rotate(225deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  display: none;
  width: 250px;
  max-height: 330px;
  overflow-y: auto;
  padding: 7px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(16, 33, 58, .2);
}

.language-switcher.open .language-menu {
  display: block;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #31465e;
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.language-option:hover {
  background: #eef8fe;
  color: #1599dc;
}

/* Google injects a top banner; keep this site's fixed header position stable. */
body > .skiptranslate,
.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

@media (max-width: 768px) {
  .language-switcher {
    margin-left: auto;
    margin-right: 14px;
  }

  .language-toggle {
    min-width: 52px;
    height: 38px;
    padding: 0 9px;
  }

  .language-code {
    display: none;
  }

  .language-menu {
    width: min(250px, calc(100vw - 24px));
  }
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.5rem; font-weight: 800;
  color: #fff;
  transition: var(--transition);
}
.header.scrolled .logo { color: var(--dark); }
.logo img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}
.header.scrolled .nav a { color: var(--text); }
.nav a:hover,
.nav a.active { color: #fff; }
.header.scrolled .nav a:hover,
.header.scrolled .nav a.active { color: var(--primary); }
.nav a::after {
  content: '';
  position: absolute; bottom: 2px; left: 18px; right: 18px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }
.nav a:not(:last-child)::before {
  content: '|';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  color: currentColor;
  font-weight: 600;
  pointer-events: none;
}

/* Language Switcher */

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  cursor: pointer;
  border: none; background: none;
  flex-direction: column; gap: 5px;
  padding: 8px;
}
.mobile-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .mobile-toggle span { background: var(--dark); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,26,46,0.92) 0%,
    rgba(11,26,46,0.7) 50%,
    rgba(30,155,220,0.3) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 720px;
  padding: 120px 0 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}
.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--primary-dark);
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item { text-align: center; color: #fff; }
.stat-item .number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Solutions ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.solution-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.solution-card-img {
  height: 260px;
  overflow: hidden;
}
.solution-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.solution-card:hover .solution-card-img img { transform: scale(1.08); }
.solution-card-body {
  padding: 30px;
}
.solution-card-body .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  margin-bottom: 18px;
  font-size: 1.3rem;
  box-shadow: 0 6px 20px rgba(30, 155, 220, 0.25);
  color: #fff;
  position: relative;
}
.solution-card-body .icon::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.2);
}
.solution-card-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}
.solution-card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}
.solution-card-body .link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}
.solution-card-body .link svg { transition: var(--transition); }
.solution-card:hover .link svg { transform: translateX(4px); }

/* ---------- Products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  height: 220px;
  padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body { padding: 20px 20px 28px; }
.product-card-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.product-card-body .spec {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  padding: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}
.feature-card .icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #81D4FA, #0277BD);
  border-radius: 16px;
  margin-bottom: 20px;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(30, 155, 220, 0.25);
  position: relative;
}
.feature-card .icon::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.18);
}
.feature-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.news-card-img {
  height: 200px;
  overflow: hidden;
}
.news-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.news-card:hover .news-card-img img { transform: scale(1.08); }
.news-card-body {
  padding: 24px;
}
.news-card-body .date {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.news-card-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}
.news-card-body .read-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.85rem;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: #E6F0F8;
  padding: 60px 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.newsletter-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1A3654;
  margin-bottom: 8px;
}
.newsletter-text p {
  color: #4A5F78;
  font-size: 0.95rem;
}
.newsletter-form {
  display: flex; gap: 12px;
  flex-shrink: 0;
}
.newsletter-form input {
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid #D0D5DD;
  background: #fff;
  color: #1A3654;
  font-size: 0.95rem;
  min-width: 280px;
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: #9CA3AF; }
.newsletter-form input:focus { outline: none; border-color: var(--primary); background: #fff; }
.newsletter-form button {
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}
.newsletter-form button:hover { background: var(--accent-light); transform: scale(1.02); }

/* ---------- Footer ---------- */
.footer {
  background: #F2F7FB;
  color: #4A5F78;
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid #E5E7EB;
}
.footer-brand .logo-footer {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.footer-brand .logo-footer img { height: 36px; }
.footer-brand .logo-footer span {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1A3654;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #4A5F78;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #E5E7EB;
  color: #4A5F78;
  transition: var(--transition);
  font-size: 0.9rem;
}
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(30, 155, 220, 0.3);
}

.footer h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #1A3654;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer ul li { margin-bottom: 12px; }
.footer ul li a {
  font-size: 0.88rem;
  color: #4A5F78;
  transition: var(--transition);
}
.footer ul li a:hover { color: var(--primary); padding-left: 4px; }

.footer-bottom {
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.85rem;
  color: #8A9BB5;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--bg-dark);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.3;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,26,46,0.95) 0%, rgba(11,26,46,0.8) 100%);
  z-index: 1;
}
.page-hero-content {
  position: relative; z-index: 2;
  text-align: center;
}
.page-hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}
.page-hero-content .breadcrumb {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}
.page-hero-content .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero-content .breadcrumb a:hover { color: var(--accent); }
.page-hero-content .breadcrumb span { color: var(--accent); }

/* ---------- About Page ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-intro-img {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.about-intro-img img {
  width: 100%; height: 450px;
  object-fit: cover;
}
.about-intro-img::after {
  content: '';
  position: absolute; bottom: -20px; right: -20px;
  width: 200px; height: 200px;
  border: 4px solid var(--accent);
  border-radius: var(--radius);
  z-index: -1;
}
.about-intro-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--dark);
}
.about-intro-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.value-card {
  text-align: center;
  padding: 40px 30px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card .icon {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(30, 155, 220, 0.22);
  position: relative;
}
.value-card .icon::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
}
.value-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}
.value-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---------- Video Grid ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.video-lightbox-trigger {
  position: relative;
  cursor: zoom-in;
}
.video-lightbox-trigger:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.video-lightbox {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-lightbox.is-open { display: flex; }
.video-lightbox-backdrop { position: absolute; inset: 0; background: rgba(3, 10, 20, .88); }
.video-lightbox-dialog { position: relative; z-index: 1; width: min(1100px, 100%); max-height: 100%; }
.video-lightbox-player { display: block; width: 100%; max-height: calc(100vh - 110px); background: #000; border-radius: 12px; }
.video-lightbox-close {
  position: absolute;
  z-index: 2;
  top: -14px;
  right: -14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
}
body.video-lightbox-open { overflow: hidden; }
.video-card-title {
  display: inline-block;
  padding: 8px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50px;
  letter-spacing: 2px;
  box-shadow: 0 4px 16px rgba(30, 155, 220, 0.3);
  margin-top: 16px;
}
.video-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.video-col .video-card {
  width: 100%;
}
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card-body {
  padding: 24px;
}
.video-card-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.video-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---------- Product Page ---------- */
.product-categories {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.product-categories button,
.product-categories a {
  padding: 10px 28px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
  text-decoration: none;
}
.product-categories button:hover,
.product-categories button.active,
.product-categories a:hover,
.product-categories a.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}
.contact-info > p {
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.8;
}
.contact-item {
  display: flex; gap: 16px;
  margin-bottom: 24px;
}
.contact-item .icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #E8F4FD, #D6EAF8);
  border-radius: 12px;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(30, 155, 220, 0.1);
}
.contact-item h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.contact-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-form { background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.contact-form > p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: var(--transition);
  background: var(--bg-alt);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.form-group textarea { height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- News Page ---------- */
.news-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 60px;
}
.news-featured-img { height: 400px; overflow: hidden; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.news-featured:hover .news-featured-img img { transform: scale(1.05); }
.news-featured-body { padding: 40px; }
.news-featured-body .featured-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 14px;
}
.news-featured-body .date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.news-featured-body h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dark);
}
.news-featured-body p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.icon img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}
.feature-card .icon img {
  width: 1.8rem;
  height: 1.8rem;
}
.solution-card-body .icon img {
  filter: brightness(0) invert(1);
  width: 1.4rem;
  height: 1.4rem;
}
.contact-item .icon img {
  width: 1.2rem;
  height: 1.2rem;
  filter: none;
}
.value-card .icon img {
  filter: brightness(0) invert(1);
  width: 1.8rem;
  height: 1.8rem;
}
.footer-social a img {
  display: block;
  width: 1rem;
  height: 1rem;
  filter: brightness(0.6);
  transition: filter 0.35s ease;
  margin: 0 auto;
}
.footer-social a:hover img {
  filter: brightness(0) invert(1);
}
.footer-social .social-tiktok img {
  transform: translateX(-4px);
}
.news-card-body .date img.icon-calendar,
.news-featured-body .date img.icon-calendar {
  width: 0.85rem;
  height: 0.85rem;
  vertical-align: middle;
  margin-right: 4px;
  display: inline;
}
.news-card-body .date i {
  margin-right: 4px;
  font-size: 0.8rem;
  vertical-align: middle;
}
.news-featured-body .date i {
  margin-right: 4px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .section-title { font-size: 2rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }

  .nav {
    position: fixed; top: 80px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav a {
    color: var(--text) !important;
    padding: 14px 18px;
    width: 100%;
    border-radius: 8px;
  }
  .nav a:hover,
  .nav a.active { background: var(--bg-alt); color: var(--primary) !important; }
  .nav a::before { display: none; }
  .nav a::after { display: none; }

  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  /* Keep the mobile hero content inside the viewport when it becomes taller
     than one screen. The desktop centering rule can otherwise clip the top. */
  .hero {
    min-height: auto;
    align-items: flex-start;
  }
  .hero-content {
    width: 100%;
    max-width: none;
    padding: 112px 0 72px;
  }
  .hero-badge {
    max-width: 100%;
    margin-bottom: 20px;
    padding: 7px 16px;
    font-size: 0.78rem;
  }
  .hero h1 {
    font-size: clamp(1.95rem, 8.5vw, 2.4rem);
    line-height: 1.12;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
  }
  .hero p {
    max-width: none;
    line-height: 1.65;
    margin-bottom: 28px;
  }
  .hero-actions {
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn { min-height: 56px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stat-value { font-size: 1.6rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .news-grid { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { min-width: unset; width: 100%; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .about-intro-img img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .about-intro-img::after { display: none; }
  .about-intro-text { min-width: 0; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-img { height: 240px; }
  .news-featured-body { padding: 24px; }
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .page-hero { padding: 130px 0 60px; }
  .page-hero-content h1 { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item .number { font-size: 2rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(30, 155, 220, 0.4);
  transition: all 0.35s ease;
  cursor: pointer;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(30, 155, 220, 0.5);
}
.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  display: block;
}
.whatsapp-btn .tooltip {
  position: absolute;
  right: 64px;
  background: #fff;
  color: #333;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.whatsapp-btn:hover .tooltip {
  opacity: 1;
}

/* ============================================
   Premium Enhancements - 大气升级
   ============================================ */

/* --- Section Dividers (SVG Wave) --- */
.section-divider-top {
  position: relative;
  margin-top: -1px;
}
.section-divider-top::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: inherit;
  clip-path: url(#wave-divider);
  z-index: 2;
  pointer-events: none;
}
.section-divider-bottom {
  position: relative;
  margin-bottom: -1px;
}
.section-divider-bottom::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: inherit;
  clip-path: url(#wave-divider-bottom);
  z-index: 2;
  pointer-events: none;
}

/* --- Staggered Scroll Animations --- */
.stagger-1 { transition-delay: 0s !important; }
.stagger-2 { transition-delay: 0.1s !important; }
.stagger-3 { transition-delay: 0.2s !important; }
.stagger-4 { transition-delay: 0.3s !important; }
.stagger-5 { transition-delay: 0.4s !important; }
.stagger-6 { transition-delay: 0.5s !important; }
.stagger-7 { transition-delay: 0.6s !important; }
.stagger-8 { transition-delay: 0.7s !important; }

/* --- Hero Parallax --- */
.hero-parallax {
  transform: translateZ(0);
  will-change: transform;
}

/* --- Gradient Text on Section Titles --- */
.section-title.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Image Hover Overlay --- */
.img-overlay {
  position: relative;
  overflow: hidden;
}
.img-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,155,220,0.8), rgba(79,195,247,0.4));
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}
.img-overlay:hover::after {
  opacity: 1;
}
.img-overlay .overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.img-overlay:hover .overlay-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.img-overlay .overlay-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
  z-index: 1001;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(30,155,220,0.4);
}

/* --- Grain Texture for Dark Sections --- */
.grain-overlay {
  position: relative;
}
.grain-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
}

/* --- Stats Number Glow --- */
.stat-item .number {
  text-shadow: 0 0 30px rgba(255, 179, 0, 0.15);
}

/* --- Card Hover Border Glow --- */
.solution-card::before,
.news-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--primary), transparent, var(--primary-light));
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  pointer-events: none;
}
.solution-card,
.news-card {
  position: relative;
}
.solution-card:hover::before,
.news-card:hover::before {
  opacity: 0.5;
}

/* --- Enhanced Button Effects --- */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.btn:hover::after {
  opacity: 1;
}

/* --- Hero Badge Enhancement --- */
.hero-badge {
  position: relative;
  overflow: hidden;
}
.hero-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255,179,0,0.1), transparent, rgba(255,179,0,0.1), transparent);
  animation: badge-rotate 6s linear infinite;
  pointer-events: none;
}
@keyframes badge-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Hero Title Letter Spacing Animation --- */
.hero h1 {
  animation: hero-title-in 1s ease-out;
}
@keyframes hero-title-in {
  0% { opacity: 0; transform: translateY(40px); letter-spacing: -2px; }
  100% { opacity: 1; transform: translateY(0); letter-spacing: normal; }
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Dynamic Effects
   ============================================ */

/* --- Mouse Cursor Glow --- */
.cursor-glow {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,155,220,0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}
.cursor-glow.visible {
  opacity: 1;
}

/* --- 3D Card Tilt Container --- */
.tilt-card {
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

/* --- Floating Particles --- */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(79,195,247,0.3);
  animation: particle-float linear infinite;
}
.hero-particle:nth-child(1) { left: 10%; width: 4px; height: 4px; animation-duration: 8s; animation-delay: 0s; }
.hero-particle:nth-child(2) { left: 25%; width: 8px; height: 8px; animation-duration: 12s; animation-delay: 1s; background: rgba(255,179,0,0.15); }
.hero-particle:nth-child(3) { left: 40%; width: 5px; height: 5px; animation-duration: 10s; animation-delay: 2s; }
.hero-particle:nth-child(4) { left: 55%; width: 7px; height: 7px; animation-duration: 14s; animation-delay: 0.5s; background: rgba(79,195,247,0.2); }
.hero-particle:nth-child(5) { left: 70%; width: 3px; height: 3px; animation-duration: 9s; animation-delay: 3s; }
.hero-particle:nth-child(6) { left: 85%; width: 6px; height: 6px; animation-duration: 11s; animation-delay: 1.5s; background: rgba(255,179,0,0.1); }
.hero-particle:nth-child(7) { left: 50%; width: 4px; height: 4px; animation-duration: 7s; animation-delay: 4s; }
.hero-particle:nth-child(8) { left: 15%; width: 5px; height: 5px; animation-duration: 13s; animation-delay: 2.5s; }
.hero-particle:nth-child(9) { left: 65%; width: 3px; height: 3px; animation-duration: 8s; animation-delay: 0.8s; }
.hero-particle:nth-child(10) { left: 92%; width: 6px; height: 6px; animation-duration: 11s; animation-delay: 1.2s; background: rgba(79,195,247,0.15); }

@keyframes particle-float {
  0% { bottom: -20px; opacity: 0; transform: scale(0.5); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { bottom: 100%; opacity: 0; transform: scale(1.2); }
}

/* --- Text Reveal Animation --- */
.reveal-text {
  overflow: hidden;
  position: relative;
}
.reveal-text::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  animation: reveal-slide 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes reveal-slide {
  0% { left: 0; right: 100%; }
  50% { left: 0; right: 0; }
  100% { left: 100%; right: 0; }
}

/* --- Click Ripple Effect --- */
.ripple-container {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(30,155,220,0.25);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* --- Shimmer Loading Effect for Stats --- */
.number.shimmer {
  background: linear-gradient(90deg, var(--accent) 25%, #ffe082 50%, var(--accent) 75%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-move 2s ease-in-out infinite;
}
@keyframes shimmer-move {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Animated Hero Gradient Overlay --- */
.hero-overlay {
  animation: hero-gradient-shift 8s ease-in-out infinite alternate;
}
@keyframes hero-gradient-shift {
  0% { background: linear-gradient(135deg, rgba(11,26,46,0.92) 0%, rgba(11,26,46,0.7) 50%, rgba(30,155,220,0.25) 100%); }
  50% { background: linear-gradient(135deg, rgba(11,26,46,0.90) 0%, rgba(11,26,46,0.65) 50%, rgba(30,155,220,0.35) 100%); }
  100% { background: linear-gradient(135deg, rgba(11,26,46,0.88) 0%, rgba(11,26,46,0.6) 50%, rgba(79,195,247,0.25) 100%); }
}

/* --- Counter Number Pulse on Complete --- */
.number.pulse-complete {
  animation: number-pulse 0.6s ease-out;
}
@keyframes number-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* --- Floating Gradient Orbs --- */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.gradient-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(30,155,220,0.08);
  top: -100px;
  right: -100px;
  animation: orb-float 12s ease-in-out infinite alternate;
}
.gradient-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(79,195,247,0.06);
  bottom: -80px;
  left: -80px;
  animation: orb-float 10s ease-in-out infinite alternate-reverse;
}
@keyframes orb-float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 30px); }
}

/* --- Image Zoom Reveal on Scroll --- */
.img-reveal {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-reveal.hidden {
  clip-path: inset(0 100% 0 0);
}
.img-reveal-vertical {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-reveal-vertical.hidden {
  clip-path: inset(0 0 100% 0);
}

/* --- Scale-in Animation --- */
.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Slide-in from Left/Right --- */
.slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Border Dash Animation for Cards --- */
.solution-card,
.feature-card,
.product-card,
.news-card {
  background-clip: padding-box;
}
.solution-card::after,
.news-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 17px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary), transparent, var(--primary-light)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: -1;
}
.solution-card:hover::after,
.news-card:hover::after {
  opacity: 0.8;
}

/* ============================================
   More Dynamic Effects
   ============================================ */

/* --- Pulse Ring Around Primary Buttons --- */
.btn-primary {
  position: relative;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 54px;
  border: 2px solid var(--primary-light);
  opacity: 0;
  animation: pulse-ring 2.5s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}
.btn-primary:hover::before {
  animation-duration: 0.8s;
}

/* --- Icon Subtle Pulse --- */
.icon img {
  animation: icon-float 4s ease-in-out infinite;
}
.feature-card:nth-child(1) .icon img { animation-delay: 0s; }
.feature-card:nth-child(2) .icon img { animation-delay: 0.4s; }
.feature-card:nth-child(3) .icon img { animation-delay: 0.8s; }
.feature-card:nth-child(4) .icon img { animation-delay: 1.2s; }
.feature-card:nth-child(5) .icon img { animation-delay: 1.6s; }
.feature-card:nth-child(6) .icon img { animation-delay: 2s; }
@keyframes icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* --- Glowing Pulse on Feature Icons Container --- */
.feature-card .icon {
  animation: icon-glow-pulse 3s ease-in-out infinite;
}
.feature-card:nth-child(1) .icon { animation-delay: 0s; }
.feature-card:nth-child(2) .icon { animation-delay: 0.5s; }
.feature-card:nth-child(3) .icon { animation-delay: 1s; }
.feature-card:nth-child(4) .icon { animation-delay: 1.5s; }
.feature-card:nth-child(5) .icon { animation-delay: 2s; }
.feature-card:nth-child(6) .icon { animation-delay: 2.5s; }
@keyframes icon-glow-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(30, 155, 220, 0.2); }
  50% { box-shadow: 0 8px 32px rgba(30, 155, 220, 0.4); }
}

/* --- Progress Bar Under Stats --- */
.stat-item {
  position: relative;
}
.stat-progress {
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px;
  margin-top: 12px;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-progress.filled {
  width: 100%;
}

/* --- Tech Grid Pattern on Dark Sections --- */
.grain-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: 
    linear-gradient(rgba(79,195,247,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,195,247,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* --- Image Shimmer Sweep on Hover --- */
.solution-card-img {
  position: relative;
  overflow: hidden;
}
.solution-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0s;
  pointer-events: none;
}
.solution-card:hover .solution-card-img::before {
  transform: translateX(100%);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Hero Auto-Rotating Text --- */
.hero-rotating-text {
  display: inline-block;
  position: relative;
  min-width: 200px;
  text-align: left;
}
.hero-rotating-text .rotating-item {
  display: inline-block;
  position: absolute;
  left: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-rotating-text .rotating-item.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

/* --- Nav Link Elastic Underline --- */
.nav a::after {
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- Expand From Center for Section Titles --- */
.section-title.expand-in {
  opacity: 0;
  transform: scaleX(0.7) scaleY(0.8);
  transform-origin: center;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.section-title.expand-in.visible {
  opacity: 1;
  transform: scaleX(1) scaleY(1);
}

/* --- Hero Gradient Text Animation --- */
.hero h1 .highlight {
  background-size: 200% 200%;
  animation: gradient-shift 4s ease-in-out infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- Section Entrance Zoom Effect --- */
.section-header.zoom-in .section-label {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease 0.1s;
}
.section-header.zoom-in .section-title {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}
.section-header.zoom-in .section-desc {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s ease 0.35s;
}
.section-header.zoom-in.visible .section-label,
.section-header.zoom-in.visible .section-title,
.section-header.zoom-in.visible .section-desc {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- Bounce-In Animation --- */
.bounce-in {
  opacity: 0;
  transform: scale(0.6) translateY(30px);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bounce-in.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* --- Nav Magnetic Hover Text --- */
.nav a {
  transition: color 0.3s ease, padding 0.2s ease;
}

/* ============================================
   Extra Dynamic Effects
   ============================================ */

/* --- Spotlight Mouse Follower on Dark Section --- */
.features-grid {
  position: relative;
  z-index: 1;
}
.features-grid::before {
  content: '';
  position: fixed;
  pointer-events: none;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,155,220,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.dark-spotlight .features-grid::before {
  opacity: 1;
}

/* --- Rolling Number Effect --- */
.number.rolling span {
  display: inline-block;
  animation: roll-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes roll-in {
  0% { transform: translateY(-20px) rotateX(90deg); opacity: 0; }
  100% { transform: translateY(0) rotateX(0); opacity: 1; }
}

/* --- Floating Geometric Shapes --- */
.floating-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
}
.floating-shape-1 {
  width: 80px;
  height: 80px;
  border: 2px solid var(--primary-light);
  border-radius: 16px;
  top: 15%;
  left: 5%;
  animation: shape-float-1 15s ease-in-out infinite;
}
.floating-shape-2 {
  width: 50px;
  height: 50px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  top: 60%;
  right: 8%;
  animation: shape-float-2 12s ease-in-out infinite;
}
.floating-shape-3 {
  width: 100px;
  height: 100px;
  border: 2px solid rgba(79,195,247,0.3);
  border-radius: 8px;
  transform: rotate(45deg);
  bottom: 20%;
  left: 60%;
  animation: shape-float-3 18s ease-in-out infinite;
}
.floating-shape-4 {
  width: 40px;
  height: 40px;
  background: rgba(255,179,0,0.08);
  border-radius: 50%;
  top: 30%;
  right: 25%;
  animation: shape-float-1 10s ease-in-out infinite reverse;
}
@keyframes shape-float-1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(20px, -30px) rotate(5deg); }
  66% { transform: translate(-15px, 20px) rotate(-5deg); }
}
@keyframes shape-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, -20px) scale(1.1); }
}
@keyframes shape-float-3 {
  0%, 100% { transform: translate(0, 0) rotate(45deg); }
  50% { transform: translate(15px, -25px) rotate(55deg); }
}

/* --- Glow Line Scroll Indicator --- */
.glow-line {
  position: fixed;
  left: 0;
  width: 4px;
  height: 100px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light), transparent);
  border-radius: 4px;
  filter: blur(3px);
  z-index: 999;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

/* --- Card Mouse Spotlight Effect --- */
.solution-card {
  position: relative;
  overflow: hidden;
}
.solution-card .card-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(79,195,247,0.08), transparent 60%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.solution-card:hover .card-spotlight {
  opacity: 1;
}

/* --- Text Scramble Hover Effect --- */
.scramble-text {
  cursor: default;
  transition: color 0.3s ease;
}

/* --- Hero Floating Shapes Container --- */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* --- Card Stack Shadow Effect --- */
.solution-card,
.news-card,
.product-card,
.feature-card {
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.solution-card:hover,
.news-card:hover {
  box-shadow: 0 25px 60px rgba(30,155,220,0.15);
}

/* --- Feature Card Hover Border --- */
.feature-card {
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light), transparent, var(--primary));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  animation: border-rotate 3s linear infinite;
}
.feature-card:hover::before {
  opacity: 0.6;
}
@keyframes border-rotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Light-bg section override (section-dark on #F0F7FC) --- */
.section-dark[style*="F0F7FC"] .section-label { color: var(--primary); }
.section-dark[style*="F0F7FC"] .section-title { color: var(--dark); }
.section-dark[style*="F0F7FC"] .section-desc { color: var(--text-light); }
.section-dark[style*="F0F7FC"] .feature-card {
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.section-dark[style*="F0F7FC"] .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(30, 155, 220, 0.12);
}
.section-dark[style*="F0F7FC"] .feature-card h4 { color: var(--dark); }
.section-dark[style*="F0F7FC"] .feature-card p { color: var(--text-light); }
.section-dark[style*="F0F7FC"] .feature-card::before { display: none; }
.section-dark[style*="F0F7FC"] .feature-card .icon::after { border-color: rgba(0,0,0,0.06); }
.section-dark[style*="F0F7FC"] .feature-card .icon img {
  filter: brightness(0) invert(1);
}

/* --- Product Card Hover Lift with Glow --- */
.product-card {
  position: relative;
}
.product-card::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 10%;
  right: 10%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(30,155,220,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}
.product-card:hover::after {
  opacity: 1;
}

/* --- Section Reveal Line --- */
.section-reveal-line {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), transparent);
  margin: 0 auto 30px;
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-reveal-line.revealed {
  width: 120px;
}

/* --- Staggered Text Reveal --- */
.reveal-chars {
  display: inline-block;
  opacity: 0;
  transform: translateY(15px);
  animation: char-reveal 0.4s ease forwards;
}
@keyframes char-reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Button Hover Expand --- */
.btn:hover {
  letter-spacing: 1.5px;
}
.btn {
  transition: all 0.35s ease, letter-spacing 0.4s ease;
}

/* --- Nav Link Glow on Hover --- */
.nav a:hover {
  text-shadow: 0 0 20px rgba(30,155,220,0.3);
}
.header.scrolled .nav a:hover {
  text-shadow: 0 0 20px rgba(30,155,220,0.15);
}

/* ============================================
   New Dynamic Effects
   ============================================ */

/* --- 1. Magnetic Button Effect --- */
.btn-magnetic {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  will-change: transform;
}

/* --- 2. Paragraph Line-by-Line Reveal --- */
.reveal-line {
  display: block;
  overflow: hidden;
  line-height: 1.8;
}
.reveal-line .line-inner {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-line.visible .line-inner {
  opacity: 1;
  transform: translateY(0);
}
.reveal-line:nth-child(1) .line-inner { transition-delay: 0s; }
.reveal-line:nth-child(2) .line-inner { transition-delay: 0.12s; }
.reveal-line:nth-child(3) .line-inner { transition-delay: 0.24s; }
.reveal-line:nth-child(4) .line-inner { transition-delay: 0.36s; }
.reveal-line:nth-child(5) .line-inner { transition-delay: 0.48s; }
.reveal-line:nth-child(6) .line-inner { transition-delay: 0.6s; }
.reveal-line:nth-child(7) .line-inner { transition-delay: 0.72s; }
.reveal-line:nth-child(8) .line-inner { transition-delay: 0.84s; }

/* --- 3. Stardust Background --- */
.stardust-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* --- 4. Page Load Fade-in --- */
.page-fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.page-fade-in.loaded {
  opacity: 1;
}

/* ============================================
   Pagination Styles - PbootCMS Compatible
   ============================================ */
/* 分页容器 */
.page-numbar,
.pagination,
.page-list {
  display: inline-flex !important;
  gap: 10px !important;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* 分页链接按钮 */
.page-numbar a,
.page-num,
.page-index a,
.page-pre a,
.page-next a,
.page-last a,
.pagination a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px !important;
  margin: 0 4px !important;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* 悬停效果 */
.page-numbar a:hover,
.page-num:hover,
.page-index a:hover,
.page-pre a:hover,
.page-next a:hover,
.page-last a:hover,
.pagination a:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
  background: #f0f9ff;
}

/* 当前页高亮 */
.page-num-current,
.page-numbar a.active,
.pagination .active {
  background: #0ea5e9 !important;
  color: #fff !important;
  border-color: #0ea5e9 !important;
}

/* 省略号 */
.page-numbar .page-num:not(a),
.page-numbar span.page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  margin: 0 4px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: transparent;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.95rem;
}

/* 禁用状态 */
.page-numbar a.disabled,
.page-index a.disabled,
.page-pre a.disabled,
.page-next a.disabled,
.page-last a.disabled,
.pagination a.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   Proportional wide-screen scaling
   ============================================
   1600px is the original visual baseline (16px root font size).
   Above it, rem-based type and spacing scale with the viewport; the
   fixed-pixel layout pieces below use their matching vw values as well.
*/
@media (min-width: 1601px) {
  html { font-size: clamp(16px, 1vw, 32px); }

  .container,
  .header-inner { padding-left: 1.5vw; padding-right: 1.5vw; }
  .header-inner { height: 5vw; }
  .logo { gap: 0.75vw; }
  .logo img { height: 2.625vw; }
  .nav { gap: 0.5vw; }
  .nav a { padding: 0.5vw 1.125vw; }

  .language-selector { min-width: 5.75vw; height: 2.625vw; padding: 0 0.8125vw; }
  .language-selector .flag-icon,
  .language-option .flag-icon { width: 1.5625vw; height: 1.0625vw; }
  .language-dropdown { width: 15.625vw; max-height: 20.625vw; padding: 0.4375vw; }
  .language-option { gap: 0.6875vw; padding: 0.625vw 0.75vw; }

  .btn { gap: 0.625vw; padding: 0.875vw 2.25vw; }
  .section { padding: 6.25vw 0; }
  .stats-section { padding: 3.125vw 0; }
  .footer { padding-top: 5vw; }
  .footer-bottom { padding: 1.5vw 0; }

  .product-card-img { height: 13.75vw; }
  .product-card-body { padding: 1.25vw 1.25vw 1.75vw; }
  .feature-card { padding: 2.25vw; }
  .news-card-img { height: 12.5vw; }
  .news-card-body { padding: 1.5vw; }
  .newsletter { padding: 3.75vw 0; }
  .newsletter-form input { padding: 0.875vw 1.25vw; }
  .newsletter-form .btn { padding: 0.875vw 2vw; }

  .page-hero { padding: 10vw 0 5vw; }
  .about-image { height: 28.125vw; }
  .about-image .experience-badge { width: 12.5vw; height: 12.5vw; }
  .contact-card { padding: 2.5vw 1.875vw; }
  .contact-icon { width: 4.5vw; height: 4.5vw; }
  .contact-form { padding: 2.5vw; }
  .form-group input,
  .form-group textarea { padding: 0.875vw 1.125vw; }
  .form-group textarea { height: 8.75vw; }
  .news-featured-img { height: 25vw; }
  .news-featured-body { padding: 2.5vw; }

  .page-numbar a,
  .page-num,
  .page-index a,
  .page-pre a,
  .page-next a,
  .page-last a,
  .pagination a,
  .page-numbar .page-num:not(a),
  .page-numbar span.page-num { min-width: 2.75vw; height: 2.75vw; padding: 0 0.875vw !important; margin: 0 0.25vw !important; }
}
