/* ==========================================================================
   GCE Technology — New Energy Foreign-Trade Design System (Blue Tech)
   Light theme, blue + teal accents. Styles the EXISTING page classes.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --brand: #2563EB;
  --brand-dark: #1D4ED8;
  --brand-light: #3B82F6;
  --brand-50: #EFF6FF;
  --brand-100: #DBEAFE;
  --teal: #0D9488;
  --teal-light: #14B8A6;
  --teal-50: #F0FDFA;

  --bg: #F7FAFC;
  --bg-alt: #EEF4FB;
  --surface: #FFFFFF;
  --surface-2: #F1F6FC;
  --ink: #0F172A;
  --ink-2: #1E293B;
  --muted: #5B6B82;
  --muted-2: #8AA0B8;
  --line: #E2EAF3;
  --line-strong: #CFDDEC;

  --ok: #16A34A;
  --wa: #25D366;

  --grad-brand: linear-gradient(135deg, #2563EB 0%, #3B82F6 50%, #1D4ED8 100%);
  --grad-hero: linear-gradient(135deg, #0B2A6B 0%, #10357F 45%, #0E8C86 100%);
  --grad-teal: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%);

  --font-head: "Space Grotesk", "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;

  --maxw: 1220px;
  --header-h: 72px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 2px 10px rgba(15,35,80,.06);
  --shadow: 0 10px 30px rgba(15,35,80,.08);
  --shadow-lg: 0 22px 60px rgba(15,35,80,.12);
  --shadow-brand: 0 14px 34px rgba(37,99,235,.28);

  /* Legacy aliases (old gcebms theme vars mapped to the new blue-tech system,
     so inline styles carried over from the previous templates still resolve) */
  --color-gold: var(--brand);
  --color-blue-accent: var(--brand);
  --color-teal-accent: var(--teal);
  --color-text-secondary: var(--muted);
  --color-text-muted: var(--muted-2);
  --color-bg-card: var(--surface-2);
  --color-border-card: var(--line);
  --radius-md: 12px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--bg); line-height: 1.7; font-size: 16px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
section { position: relative; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.text-center { text-align: center; }
.mb-5 { margin-bottom: 46px; }
.mt-4 { margin-top: 36px; }

/* Buttons (shared by markup + JS) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; padding: 13px 26px;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: .18s; white-space: nowrap; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(37,99,235,.36); }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand-100); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-50); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-block { width: 100%; }

/* Section heads (shared classes) */
.section-label { display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
  background: var(--brand-50); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.section-title { font-size: clamp(26px, 3.4vw, 40px); }
.section-subtitle { color: var(--muted); font-size: 17px; }
.section-dark .section-title { color: #fff; }
.section-dark .section-label { background: rgba(255,255,255,.14); color: #BFE3FF; }
.section-dark .section-subtitle { color: rgba(255,255,255,.8); }
.section-dark { background: var(--grad-hero); }

/* ---------- Top announcement bar ---------- */
.topbar { background: var(--grad-hero); color: #fff; font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 12px; }
.topbar a { color: #fff; opacity: .92; }
.topbar .tb-left { display: flex; gap: 18px; align-items: center; }
.topbar .tb-right { display: flex; gap: 16px; align-items: center; }

/* ---------- Header / Nav (shared classes) ---------- */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.scrolled { box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: flex; align-items: center; }
.logo-img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { position: relative; padding: 10px 15px; font-size: 15px; font-weight: 600; color: var(--ink-2);
  border-radius: 10px; transition: .15s; }
.nav-link:hover, .nav-link.active { color: var(--brand); background: var(--brand-50); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switcher { position: relative; display: flex; align-items: center; }
.lang-current { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 600;
  color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; }
.globe-icon { width: 16px; height: 16px; color: var(--brand); }
.lang-dropdown { position: absolute; top: 110%; right: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 130px; display: none; flex-direction: column; z-index: 30; }
.lang-switcher.open .lang-dropdown { display: flex; }
.lang-dropdown a { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.lang-dropdown a:hover, .lang-dropdown a.active { background: var(--brand-50); color: var(--brand); }
.mobile-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.mobile-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: .2s; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(11,23,48,.4); z-index: 990; display: none; }
.nav-backdrop.active { display: block; }

/* ---------- Hero ---------- */
.hero-banner { background: var(--grad-hero); color: #fff; position: relative; overflow: hidden; padding: 82px 0 92px; }
.hero-banner::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 18% 22%, rgba(59,130,246,.35), transparent 42%),
              radial-gradient(circle at 85% 75%, rgba(20,184,166,.32), transparent 46%); opacity: .9; }
.hero-banner .container { position: relative; z-index: 2; }
.badge { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  color: #fff; padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero-banner .title { font-size: clamp(34px, 4.6vw, 56px); color: #fff; margin-bottom: 18px; letter-spacing: -.02em; max-width: 760px; }
.hero-banner .title .highlight { background: linear-gradient(90deg, #7DD3FC, #5EEAD4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-banner .subtitle { font-size: 18px; color: rgba(255,255,255,.85); max-width: 600px; margin-bottom: 30px; }
.hero-banner .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7);
  font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero-scroll-mouse { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.5); border-radius: 12px; position: relative; }
.hero-scroll-mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 6px; border-radius: 2px; background: #fff; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0%{opacity:0;top:6px} 40%{opacity:1} 100%{opacity:0;top:16px} }

/* Hero product glass card (right column) */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg);
  padding: 26px; backdrop-filter: blur(10px); box-shadow: 0 30px 70px rgba(0,0,0,.3); max-width: 460px; }
.hero-card .hc-tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7DD3FC; }
.hero-card .hc-img { border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.08); aspect-ratio: 4/3; margin-top: 12px; }
.hero-card .hc-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card h4 { color: #fff; font-size: 20px; margin: 16px 0 4px; }
.hero-card .hc-sub { color: rgba(255,255,255,.7); font-size: 14px; }
.hero-card .hc-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.hero-card .hc-specs div { background: rgba(255,255,255,.08); border-radius: 10px; padding: 10px 12px; }
.hero-card .hc-specs span { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); }
.hero-card .hc-specs b { color: #fff; font-size: 15px; font-family: var(--font-head); }

/* ---------- Banner carousel ---------- */
.banner-slides-wrap { position: relative; }
.banner-slider { position: relative; min-height: 440px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; display: flex; flex-direction: column; justify-content: center; padding: 60px; }
.banner-slide.active { opacity: 1; }
.banner-slide .banner-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.banner-slide > * { position: relative; z-index: 2; }
.banner-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,42,107,.78), rgba(14,140,134,.35)); z-index: 1; }
.bannerStatic { display: none; }

/* ---------- Hero background video ---------- */
.hero-banner.has-video #bannerBackgrounds { display: none; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-video-overlay { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(11,42,107,.74), rgba(13,148,136,.24)),
    linear-gradient(0deg, rgba(7,16,38,.55), rgba(7,16,38,.12)); }
.hero-banner.has-video #particles-canvas { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-banner.has-video #bannerSlider,
.hero-banner.has-video #bannerStatic,
.hero-banner.has-video .banner-dots,
.hero-banner.has-video .banner-arrow,
.hero-banner.has-video .banner-progress,
.hero-banner.has-video .hero-scroll { position: relative; z-index: 3; }
.banner-dots { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.banner-dot { width: 11px; height: 11px; border-radius: 50%; border: none; background: var(--line-strong); cursor: pointer; transition: .2s; }
.banner-dot.active { background: var(--brand); width: 30px; border-radius: 999px; }
.banner-progress { display: none; }
.banner-arrow { display: none; }

/* ---------- Trust strip (new) ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust .container { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: space-between; }
.trust .t-label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.trust .logos { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.trust .logos span { font-family: var(--font-head); font-weight: 700; color: var(--muted-2); font-size: 18px; opacity: .8; }

/* ---------- Stats ---------- */
.stats-section { background: var(--grad-brand); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 50px 0; }
.stat-item { text-align: center; }
.stat-number { display: block; font-family: var(--font-head); font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1; }
.stat-label { font-size: 14px; opacity: .88; }

/* ---------- Products ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink-2); background: #fff;
  border: 1px solid var(--line); padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: .18s; }
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }

.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .5s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column; }
.product-card.visible, .product-card.fade-in { opacity: 1; transform: none; }
.product-card:hover { box-shadow: var(--shadow-lg); border-color: var(--brand-100); transform: translateY(-4px); }
.product-card-image { position: relative; aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-badge { position: absolute; top: 14px; left: 14px; background: var(--grad-teal); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.placeholder-icon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted-2); font-size: 13px; }
.placeholder-icon svg { width: 38px; height: 38px; }
.product-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card-series { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.product-card-title { font-size: 19px; margin-bottom: 4px; }
.product-card-model { font-size: 13.5px; color: var(--muted); font-family: var(--font-head); margin-bottom: 16px; }
.product-card-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Solutions ---------- */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px;
  box-shadow: var(--shadow-sm); transition: .25s; position: relative; overflow: hidden; }
.solution-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.solution-card:hover::before { transform: scaleX(1); }
.solution-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; font-size: 28px; }
.solution-icon-img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; margin-bottom: 18px; }
.solution-title { font-size: 20px; }
.solution-desc { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.solution-tech { display: flex; gap: 8px; flex-wrap: wrap; }
.tech-tag { font-size: 12px; font-weight: 600; color: var(--brand); background: var(--brand-50); padding: 4px 10px; border-radius: 999px; }
.section-dark .solution-card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.section-dark .solution-title { color: #fff; }
.section-dark .solution-desc { color: rgba(255,255,255,.8); }
.section-dark .solution-icon { background: rgba(255,255,255,.14); color: #7DD3FC; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: .25s; }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--shadow-brand); font-size: 24px; }
.feature-title { font-size: 17.5px; }
.feature-desc { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Certifications ---------- */
.certs-grid { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.cert-card { width: 200px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; transition: .25s; }
.cert-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.cert-icon { font-size: 34px; margin-bottom: 10px; }
.cert-name { font-size: 17px; }
.cert-desc { color: var(--muted); font-size: 13.5px; margin: 0; }
.section-dark .cert-card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.section-dark .cert-name { color: #fff; }
.section-dark .cert-desc { color: rgba(255,255,255,.8); }

/* ---------- Global / Globe ---------- */
.globe-section { background: var(--grad-brand-soft, linear-gradient(135deg, #EFF6FF, #F0FDFA)); }
.globe-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.globe-visual { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); }
.globe-svg { width: 100%; height: auto; }
.globe-content .section-label, .globe-content .section-title, .globe-content p { text-align: left; }
.globe-markets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.market-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; font-weight: 600; }
.market-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); flex: none; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s; display: block; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-image { aspect-ratio: 16/9; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-size: 40px; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 20px 22px 24px; }
.news-card-date { font-size: 12.5px; color: var(--muted-2); font-weight: 600; }
.news-card-title { font-size: 18px; margin: 8px 0 8px; }
.news-card-excerpt { color: var(--muted); font-size: 14px; }
.product-card-link { color: var(--brand); font-weight: 600; font-family: var(--font-head); font-size: 14px; }

/* ---------- FAQ (new) ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); }
.faq-q .pm { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; transition: transform .2s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); margin: 0; }

/* ---------- CTA ---------- */
.cta-band { background: var(--grad-hero); color: #fff; text-align: center; border-radius: var(--radius-xl); margin: 0 auto; max-width: var(--maxw); }
.cta-band .container { padding: 60px 22px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { color: rgba(255,255,255,.85); font-size: 17px; max-width: 600px; margin: 0 auto 26px; }
.cta-band .cta-flex { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer (shared classes) ---------- */
.footer { background: #0B1730; color: #C7D3E6; margin-top: 70px; }
.footer .container { } /* keep */
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.footer-brand .logo-img { filter: none; height: 40px; margin-bottom: 14px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer p.desc, .footer-brand p { color: #97A7C2; font-size: 14.5px; max-width: 320px; }
.footer-title { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .03em; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: #C7D3E6; font-size: 14.5px; transition: color .15s; }
.footer-links li a:hover { color: #fff; }
.footer-contact li, .footer-contact p { color: #C7D3E6; font-size: 14.5px; }
.footer-contact strong { color: #fff; }
.footer-newsletter p { color: #97A7C2; font-size: 14px; }
.footer-newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.footer-newsletter-form input { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font-size: 14px; }
.footer-newsletter-form button { background: var(--grad-brand); color: #fff; border: none; border-radius: 10px; padding: 0 18px; font-weight: 600; cursor: pointer; font-family: var(--font-head); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #8FA0BE; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: .2s; }
.footer-social a:hover { background: var(--brand); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad-hero); color: #fff; padding: 22px 0 18px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(20,184,166,.3), transparent 45%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumb { font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.page-hero .crumb a { color: rgba(255,255,255,.85); }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 6px; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 15px; max-width: 620px; }
.page-hero-title { color: #fff; font-size: clamp(26px, 3.5vw, 40px); line-height: 1.1; margin-bottom: 6px; font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; }
.page-hero-subtitle { color: rgba(255,255,255,.82); font-size: 15px; max-width: 620px; line-height: 1.45; margin-bottom: 0; }
.section-tight { padding-top: 28px !important; padding-bottom: 36px !important; }
@media (max-width: 768px) {
  .page-hero { padding: 22px 0 18px; }
  .page-hero-title, .page-hero h1 { font-size: clamp(22px, 7vw, 30px); }
  .section-tight { padding-top: 22px !important; padding-bottom: 28px !important; }
}
/* light-theme body flag (set by template switcher for arctic-light / cloud-white etc.) */
.gce-light-theme { color-scheme: light; }

/* ---------- Contact page ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.form-card, .info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-card h2, .info-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-card .sub, .info-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--ink-2); }
.field label .req { color: #E5484D; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fff; transition: .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.field textarea { min-height: 120px; resize: vertical; }
.form-feedback { padding: 12px 16px; border-radius: 12px; font-size: 14.5px; margin-bottom: 16px; display: none; }
.form-feedback.success { display: block; background: #ECFDF3; color: #067647; border: 1px solid #ABEFC6; }
.form-feedback.error { display: block; background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }
.info-card { background: var(--grad-hero); color: #fff; box-shadow: var(--shadow-lg); }
.info-card h2, .info-card .sub { color: #fff; }
.info-card .sub { opacity: .82; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.16); }
.info-row:first-of-type { border-top: none; }
.info-row .i-ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; }
.info-row .i-ic svg { width: 22px; height: 22px; color: #7DD3FC; }
.info-row .i-tx b { display: block; font-family: var(--font-head); font-size: 15px; }
.info-row .i-tx span, .info-row .i-tx a { font-size: 14.5px; color: rgba(255,255,255,.85); word-break: break-all; }
.info-row .i-tx a:hover { color: #fff; text-decoration: underline; }
.wa-banner { margin-top: 20px; display: flex; align-items: center; gap: 14px; background: var(--wa); color: #fff; border-radius: 14px; padding: 14px 18px; font-family: var(--font-head); font-weight: 700; font-size: 16px; box-shadow: 0 12px 28px rgba(37,211,102,.4); transition: transform .18s; }
.wa-banner:hover { transform: translateY(-2px); }
.wa-banner svg { width: 26px; height: 26px; flex: none; }

/* ---------- About timeline ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--brand-100); }
.tl-item { position: relative; padding: 0 0 30px; }
.tl-item::before { content: ""; position: absolute; left: -25px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.tl-item .yr { font-family: var(--font-head); font-weight: 700; color: var(--brand); font-size: 16px; }
.tl-item h4 { font-size: 17px; margin: 4px 0 4px; }
.tl-item p { color: var(--muted); font-size: 14.5px; margin: 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

/* ---------- Product detail modal ---------- */
#productDetail { position: fixed; inset: 0; background: rgba(11,23,48,.6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px; }
#productDetail .modal-box { background: #fff; border-radius: var(--radius-lg); max-width: 720px; width: 100%; max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg); padding: 34px; position: relative; }
#productDetail .modal-close { position: absolute; top: 16px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 20px; color: var(--muted); }
#productDetail h2 { font-size: 26px; padding-right: 40px; }
#productDetail #modalProductDesc { color: var(--muted); margin-bottom: 18px; }
#modalProductTable { width: 100%; border-collapse: collapse; }
#modalProductTable td { padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
#modalProductTable td:first-child { color: var(--muted); width: 42%; font-family: var(--font-head); font-weight: 600; }
.product-detail { display: none; }

/* ---------- WhatsApp floating button ---------- */
#wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 1500; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .2s; }
#wa-float:hover { transform: scale(1.08); }
#wa-float svg { width: 32px; height: 32px; }
#wa-float .wa-tip { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s; }
#wa-float:hover .wa-tip { opacity: 1; }

/* ---------- Chat widget (gce-chat-toggle from chat-widget.js) ---------- */
.gce-chat-toggle { position: fixed; right: 22px; bottom: 96px; z-index: 1500; width: 58px; height: 58px; border-radius: 50%;
  border: none; cursor: pointer; background: var(--grad-brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-brand); transition: transform .2s; }
.gce-chat-toggle:hover { transform: scale(1.08); }
.gce-chat-toggle svg { width: 28px; height: 28px; }
.gce-chat-panel { position: fixed; right: 22px; bottom: 168px; z-index: 1600; width: 340px; max-width: calc(100vw - 44px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; display: none; flex-direction: column; }
.gce-chat-panel.open { display: flex; }
.gce-chat-head { background: var(--grad-brand); color: #fff; padding: 16px 18px; font-family: var(--font-head); font-weight: 700; }
.gce-chat-body { padding: 16px; font-size: 14px; color: var(--muted); max-height: 220px; overflow: auto; }
.gce-chat-body .bubble { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.gce-chat-input { display: flex; border-top: 1px solid var(--line); }
.gce-chat-input input { flex: 1; border: none; padding: 12px 14px; font-size: 14px; outline: none; }
.gce-chat-input button { border: none; background: var(--brand); color: #fff; padding: 0 18px; cursor: pointer; font-family: var(--font-head); font-weight: 600; }

/* ---------- Reveal animation ---------- */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.fade-in.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .5s; }
.stagger > *.visible { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 22px; bottom: 170px; z-index: 1400; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--brand); cursor: pointer; font-size: 20px; box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: .2s; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* ---------- Theme switcher (recolor to brand) ---------- */
#gceThemeBtn { background: var(--brand) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .globe-container, .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .products-grid, .solutions-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav, .nav-right .lang-switcher { display: none; }
  .mobile-toggle { display: flex; }
  .nav.open { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: #fff; padding: 80px 20px 20px; gap: 4px; box-shadow: var(--shadow-lg); z-index: 995; }
  .nav.open .nav-link { width: 100%; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .products-grid, .solutions-grid, .news-grid, .features-grid, .stats-grid, .footer-grid, .globe-markets { grid-template-columns: 1fr; }
  .topbar .tb-left .hide-sm { display: none; }
  .banner-slider { min-height: 320px; }
  .hero-banner .title { font-size: 32px; }
  .banner-slide { padding: 36px 28px; }
}

/* ============================================================
   INNER-PAGE SUPPORT (pages use these classes; homepage CSS above
   did not cover them — added for the new-energy foreign-trade rebuild)
   ============================================================ */

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--line); }
.breadcrumbs .container { display: flex; align-items: center; gap: 10px; padding: 14px 22px; font-size: 14px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .separator { color: var(--muted-2); }
.breadcrumbs span:last-child { color: var(--ink-2); font-weight: 600; }
.footer-copyright { color: #8FA0BE; }

/* ---------- Slide-in reveal (contact page) ---------- */
.slide-in-left, .slide-in-right { opacity: 0; transition: opacity .6s ease, transform .6s ease; }
.slide-in-left { transform: translateX(-26px); }
.slide-in-right { transform: translateX(26px); }
.slide-in-left.visible, .slide-in-right.visible { opacity: 1; transform: none; }

/* ---------- Product filter bar (products.html) ---------- */
.product-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }

/* ---------- Product detail MODAL (products.html & index.html) ---------- */
.product-detail-overlay { position: fixed; inset: 0; background: rgba(11,23,48,.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px; }
.product-detail-modal { position: relative; background: #fff; border-radius: var(--radius-lg);
  max-width: 680px; width: 100%; max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg); padding: 34px; }
.product-detail-close { position: absolute; top: 16px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 22px; line-height: 1; color: var(--muted); }
.product-detail-close:hover { color: var(--brand); border-color: var(--brand); }
.product-detail-header h3 { font-size: 24px; padding-right: 40px; margin-bottom: 0; }
.product-detail-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.product-detail-table th { text-align: left; background: var(--surface-2); font-family: var(--font-head);
  font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; }
.product-detail-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.product-detail-table td:first-child { color: var(--muted); width: 42%; font-family: var(--font-head); font-weight: 600; }

/* ---------- Section alt (used by product-detail related block) ---------- */
.section-alt { background: var(--bg-alt); }

/* ---------- Article detail (news-detail.html) ---------- */
.article-detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.article-hero { width: 100%; height: auto; max-height: 440px; object-fit: cover; display: block; }
.article-meta { padding: 20px 38px 0; font-family: var(--font-head); font-size: 13.5px; font-weight: 600; color: var(--brand); letter-spacing: .03em; }
.article-content { padding: 14px 38px 8px; color: var(--ink-2); font-size: 16px; line-height: 1.85; }
.article-content h2, .article-content h3 { color: var(--ink); margin: 1.4em 0 .5em; line-height: 1.25; }
.article-content p { margin: 0 0 1.1em; }
.article-content img { max-width: 100%; border-radius: 12px; margin: 1.2em 0; height: auto; }
.article-content figure { margin: 1.4em 0; text-align: center; }
.article-content figure img { margin: 0; display: inline-block; }
.article-content figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.article-content ul, .article-content ol { padding-left: 1.5em; margin: 0 0 1.1em; }
.article-content a { color: var(--brand); text-decoration: underline; }
