/* =====================================================
   WOWTIGER International Website — Design System
   ===================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --dark:        #0A1F1A;   /* green-tinted ink (was navy) */
  --navy:        #0D2A22;
  --blue:        #007A5A;   /* deep green — replaces old blue accent */
  --blue-light:  #00A87C;
  --green:       #00C893;
  --green-dk:    #00A87C;
  --green-deep:  #007A5A;
  --hero-ink:    #0A1F1A;
  --light:       #F0F5F2;
  --white:       #FFFFFF;
  --text:        #1A2332;
  --muted:       #64748B;
  --border:      #E2E8F0;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.14);
  --radius:      8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --transition:  all .3s cubic-bezier(.4,0,.2,1);
  --max-w:       1240px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ---- Container ---- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
.section-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; display: block; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 580px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius); font-size: .95rem; font-weight: 600; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--green); color: var(--dark); }
.btn-primary:hover { background: var(--green-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,200,147,.3); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-light); transform: translateY(-2px); }
.btn-outline { border: 2px solid rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-outline-dark { border: 2px solid var(--border); color: var(--text); }
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 9px 20px; font-size: .88rem; }
.btn svg { width: 18px; height: 18px; }

/* ---- Navbar ---- */
#navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: transparent; transition: var(--transition); }
#navbar.scrolled { background: var(--dark); box-shadow: 0 2px 20px rgba(0,0,0,.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
/* Keep logo/cta vertically centered while the menu list itself stretches full height */
.nav-logo img { height: 36px; width: auto; }
.nav-logo .logo-text { font-size: 1.5rem; font-weight: 900; color: var(--white); letter-spacing: .04em; }
.nav-logo .logo-text span { color: var(--green); }
/* Stretch items to full navbar height so hover never dies in the vertical gap
   between the short link box and the mega/dropdown panel below. */
.nav-menu { display: flex; align-items: stretch; align-self: stretch; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 6px; font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.85); transition: color .2s, background .2s; height: 100%; }
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.1); }
.nav-link svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-item:hover .nav-link svg,
.nav-item.is-open .nav-link svg { transform: rotate(180deg); }
/* Dropdown: no gap (top:100%), invisible bridge via padding-top keeps hit-area continuous */
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  padding-top: 0;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  padding: 8px 0; z-index: 1100;
}
.nav-item:hover > .dropdown,
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 20px; font-size: .88rem; color: var(--text); transition: background .15s, color .15s; border-left: 3px solid transparent; }
.dropdown a:hover { background: var(--light); color: var(--blue); border-left-color: var(--green); }
.nav-cta { margin-left: 12px; }
/* ---- Language switcher ---- */
.lang-switch { position: relative; margin-left: 8px; }
.lang-switch-btn { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 6px; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.85); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); cursor: pointer; transition: var(--transition); }
.lang-switch-btn:hover { color: var(--white); background: rgba(255,255,255,.16); }
.lang-switch-btn svg:last-child { transition: transform .25s; }
.lang-switch.open .lang-switch-btn svg:last-child { transform: rotate(180deg); }
.lang-dropdown { position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: var(--transition); padding: 6px 0; z-index: 1100; }
.lang-switch:hover .lang-dropdown, .lang-switch.open .lang-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lang-dropdown a { display: block; padding: 9px 18px; font-size: .86rem; color: var(--text); transition: var(--transition); border-left: 3px solid transparent; }
.lang-dropdown a:hover { background: var(--light); color: var(--blue); border-left-color: var(--green); }
.lang-dropdown a.active { color: var(--blue); font-weight: 700; border-left-color: var(--green); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ---- Top utility bar (global) ---- */
.topbar { background: var(--hero-ink); border-bottom: 1px solid rgba(255,255,255,.06); position: fixed; top: 0; left: 0; width: 100%; z-index: 1001; height: 38px; display: flex; align-items: center; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.topbar-left { font-size: .76rem; color: rgba(255,255,255,.5); letter-spacing: .06em; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-link { font-size: .78rem; color: rgba(255,255,255,.65); transition: color .2s; }
.topbar-link:hover { color: var(--green); }
.topbar-sep { width: 1px; height: 12px; background: rgba(255,255,255,.15); }
.topbar-search-btn { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255,255,255,.65); background: transparent; border: none; cursor: pointer; font-family: inherit; transition: color .2s; }
.topbar-search-btn:hover { color: var(--green); }

/* ---- Search overlay ---- */
.search-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(6,18,14,.55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-box { max-width: 680px; margin: 10vh auto 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(-16px); transition: transform .25s; }
.search-overlay.open .search-box { transform: translateY(0); }
.search-input-wrap { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.search-input-wrap svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.search-input-wrap input { flex: 1; border: none; outline: none; font-size: 1.1rem; font-family: inherit; color: var(--text); background: transparent; }
.search-input-wrap button { font-size: 1.6rem; color: var(--muted); background: none; border: none; cursor: pointer; line-height: 1; }
.search-input-wrap button:hover { color: var(--dark); }
.search-results { max-height: 56vh; overflow-y: auto; padding: 10px; }
.search-hint { padding: 24px; text-align: center; color: var(--muted); font-size: .9rem; }
.search-result { display: block; padding: 14px 18px; border-radius: var(--radius); transition: background .15s; }
.search-result:hover, .search-result.active { background: var(--light); }
.search-result-t { font-size: .98rem; font-weight: 700; color: var(--dark); }
.search-result-t mark { background: rgba(0,200,147,.25); color: inherit; padding: 0 2px; border-radius: 2px; }
.search-result-d { font-size: .82rem; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.topbar .lang-switch-btn { padding: 4px 10px; font-size: .78rem; background: transparent; border-color: rgba(255,255,255,.18); }
.topbar .lang-dropdown a:hover { background: var(--light); color: var(--green-deep); border-left-color: var(--green); }
.topbar .lang-dropdown a.active { color: var(--green-deep); border-left-color: var(--green); }

/* ---- Navbar sits below topbar; white on scroll (global) ---- */
#navbar { top: 38px; }
.nav-logo { display: inline-flex; align-items: center; }
/* Height only — never set display on `.nav-logo img`, it beats
   `.nav-logo-dark { display:none }` on specificity and shows both logos. */
.nav-logo img { height: 32px; width: auto; }
.nav-logo .nav-logo-white { display: block; }
.nav-logo .nav-logo-dark  { display: none; }
#navbar.solid { background: var(--white); box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 6px 24px rgba(0,0,0,.06); }
#navbar.solid .nav-logo .nav-logo-white { display: none; }
#navbar.solid .nav-logo .nav-logo-dark  { display: block; }
#navbar.solid .nav-link { color: var(--text); }
#navbar.solid .nav-link:hover, #navbar.solid .nav-link.active { color: var(--green-deep); background: rgba(0,168,124,.08); }
#navbar.solid .nav-hamburger span { background: var(--text); }
@media (max-width: 900px) { .topbar { display: none; } #navbar { top: 0; } }

/* ---- Mega-menu (Products) ----
   Item is position:static so the panel can span full navbar width
   (positioned against #navbar). Full-height stretch on .nav-item above
   keeps :hover alive while the cursor travels down into the panel.
   .is-open class is toggled by JS with a close-delay as belt-and-suspenders. */
.nav-item-mega { position: static; }
.mega {
  position: absolute; top: 100%; left: 0; width: 100%;
  background: var(--white);
  box-shadow: 0 20px 48px rgba(0,0,0,.14);
  border-top: 1px solid var(--border);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 1050;
}
/* Tiny upward bridge so the first pixel under the navbar still counts as "over mega" */
.mega::before {
  content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.nav-item-mega:hover > .mega,
.nav-item-mega.is-open > .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.mega-inner { max-width: var(--max-w); margin: 0 auto; padding: 32px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mega-card { display: block; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; background: var(--white); }
.mega-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.mega-card-img { background: var(--light); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; padding: 18px; }
.mega-card-img img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform .4s; pointer-events: none; }
.mega-card:hover .mega-card-img img { transform: scale(1.06); }
.mega-card-t { font-size: .98rem; font-weight: 700; color: var(--dark); padding: 14px 16px 4px; }
.mega-card-d { font-size: .8rem; color: var(--muted); line-height: 1.5; padding: 0 16px 16px; }
.mega-foot { border-top: 1px solid var(--border); background: var(--light); display: flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 24px; font-size: .88rem; color: var(--muted); }
.mega-foot-link { color: var(--green-deep); font-weight: 700; }
.mega-foot-link:hover { text-decoration: underline; }
@media (max-width: 1100px) { .mega-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .mega { display: none; } }

/* ---- Hero ---- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,.88) 0%, rgba(10,22,40,.6) 60%, rgba(10,22,40,.3) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,200,147,.15); border: 1px solid rgba(0,200,147,.35); color: var(--green); font-size: .8rem; font-weight: 600; letter-spacing: .08em; padding: 6px 14px; border-radius: 20px; margin-bottom: 28px; }
.hero-badge span { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 { color: var(--white); margin-bottom: 20px; font-weight: 900; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,.75); margin-bottom: 36px; max-width: 560px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.5); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent); animation: scrollLine 2s infinite; }

/* ---- Stats Bar ---- */
.stats-bar { background: var(--dark); padding: 0; }
.stats-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.08); }
.stat-item { padding: 32px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-num span { color: var(--green); }
.stat-label { font-size: .82rem; color: rgba(255,255,255,.45); margin-top: 6px; letter-spacing: .05em; }

/* ---- Section ---- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--dark); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(255,255,255,.55); }
.section-light { background: var(--light); }

/* ---- Cards ---- */
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); overflow: hidden; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--light); padding: 24px; }
.card-body { padding: 24px; }
.card-tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 8px; }
.card-title { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.card-text { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--blue); margin-top: 16px; transition: var(--transition); }
.card-link:hover { color: var(--green); gap: 10px; }

/* ---- Products Grid ---- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; margin-top: 52px; }
.product-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--blue); }
.product-card-img { background: var(--light); display: flex; align-items: center; justify-content: center; padding: 32px; aspect-ratio: 1; }
.product-card-img img { max-height: 200px; object-fit: contain; transition: transform .4s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 24px; border-top: 1px solid var(--border); }
.product-card-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: 6px; }
.product-card-title { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.product-card-desc { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.product-card-specs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.spec-pill { background: var(--light); border-radius: 20px; padding: 4px 12px; font-size: .78rem; font-weight: 600; color: var(--text); }

/* ---- Features / Icon List ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px; margin-top: 52px; }
.feature-item { display: flex; flex-direction: column; gap: 14px; }
.feature-icon { width: 52px; height: 52px; background: rgba(0,200,147,.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 26px; height: 26px; color: var(--green); }
.feature-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); }
.feature-text { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ---- Global Map Section ---- */
.global-section { background: var(--dark); padding: 96px 0; overflow: hidden; }
.global-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.global-offices { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.office-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: rgba(255,255,255,.05); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); transition: var(--transition); }
.office-item:hover { background: rgba(255,255,255,.08); border-color: rgba(0,200,147,.3); }
.office-flag { font-size: 1.6rem; line-height: 1; }
.office-country { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green); }
.office-name { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: 2px; }
.world-map-wrap { position: relative; }
.world-map-wrap img { width: 100%; filter: brightness(.7) saturate(.4) hue-rotate(200deg); }

/* ---- News ---- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; margin-top: 52px; }
.news-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column; }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-card-meta { display: flex; align-items: center; gap: 12px; font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.news-card-tag { background: rgba(0,200,147,.12); color: var(--green-dk); font-weight: 700; padding: 2px 10px; border-radius: 20px; }
.news-card-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); line-height: 1.4; flex: 1; }
.news-card-title:hover { color: var(--blue); }

/* ---- Page Header ---- */
.page-header { background: var(--dark); padding: 140px 0 80px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,200,147,.12) 0%, transparent 65%); }
.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p { color: rgba(255,255,255,.6); font-size: 1.1rem; max-width: 560px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.55); transition: color .2s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb-sep { opacity: .4; }

/* ---- CTA Banner ---- */
.cta-banner { background: linear-gradient(135deg, var(--blue) 0%, var(--dark) 100%); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; position: relative; }
.cta-banner p { color: rgba(255,255,255,.65); font-size: 1.1rem; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; position: relative; }
.cta-banner .btn { position: relative; }

/* ---- Footer ---- */
footer { background: #050D1A; color: rgba(255,255,255,.6); }
.footer-top { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: 36px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
.footer-brand .logo-text { font-size: 1.6rem; font-weight: 900; color: var(--white); letter-spacing: .04em; }
.footer-brand .logo-text span { color: var(--green); }
.footer-brand p { margin-top: 16px; font-size: .9rem; line-height: 1.7; max-width: 300px; }
.footer-tagline { color: var(--green); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 20px; }
.footer-col h4 { color: var(--white); font-size: .9rem; font-weight: 700; margin-bottom: 20px; letter-spacing: .03em; }
.footer-col a { display: block; font-size: .88rem; color: rgba(255,255,255,.5); padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--green); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .88rem; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; font-size: .82rem; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 36px; height: 36px; background: rgba(255,255,255,.07); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-socials a:hover { background: var(--green); color: var(--dark); }
.footer-socials svg { width: 16px; height: 16px; }
.cert-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.cert-badge { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: 6px 14px; font-size: .75rem; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: .05em; }

/* ---- Animations ---- */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* ---- Spec Table ---- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th { background: var(--dark); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 600; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: var(--light); }
.spec-table td:first-child { color: var(--muted); font-weight: 500; }

/* ---- Product Detail ---- */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.product-image-main { background: var(--light); border-radius: var(--radius-lg); padding: 48px; text-align: center; }
.product-image-main img { max-height: 380px; object-fit: contain; margin: 0 auto; }
.product-thumbnails { display: flex; gap: 10px; margin-top: 16px; }
.product-thumb { width: 72px; height: 72px; background: var(--white); border-radius: var(--radius); padding: 8px; border: 2px solid var(--border); cursor: pointer; transition: var(--transition); }
.product-thumb:hover, .product-thumb.active { border-color: var(--green); }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { font-size: 2rem; margin-bottom: 12px; }
.product-info .product-tagline { font-size: 1.05rem; color: var(--muted); margin-bottom: 28px; }
.product-highlights { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.product-highlight { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text); }
.product-highlight::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; flex-shrink: 0; }

/* ---- Solution Cards ---- */
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.solution-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 320px; display: flex; align-items: flex-end; }
.solution-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.solution-card:hover .solution-card-bg { transform: scale(1.04); }
.solution-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,.9) 30%, transparent 100%); }
.solution-card-body { position: relative; z-index: 2; padding: 32px; }
.solution-card-icon { width: 44px; height: 44px; background: rgba(0,200,147,.2); border: 1px solid rgba(0,200,147,.4); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.solution-card-icon svg { width: 22px; height: 22px; color: var(--green); }
.solution-card h3 { color: var(--white); margin-bottom: 8px; }
.solution-card p { color: rgba(255,255,255,.65); font-size: .88rem; }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(to bottom, var(--green), var(--blue)); }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before { content: ''; position: absolute; left: -26px; top: 4px; width: 12px; height: 12px; background: var(--green); border-radius: 50%; border: 2px solid var(--dark); box-shadow: 0 0 0 4px rgba(0,200,147,.2); }
.timeline-year { font-size: .8rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.timeline-content h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.timeline-content p { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ---- Form ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-label span { color: var(--green); }
.form-control { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .95rem; font-family: var(--font); color: var(--text); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,88,168,.12); }
.form-control::placeholder { color: #BEC8D2; }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; cursor: pointer; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .global-layout { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  h1 { font-size: 2rem; }
}
/* ---- Utility ---- */
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.flex { display: flex; } .flex-center { justify-content: center; align-items: center; }
.gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 768px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.tag-green { background: rgba(0,200,147,.12); color: var(--green-dk); }
.tag-blue { background: rgba(24,88,168,.1); color: var(--blue); }
.partner-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; padding: 20px 24px; background: rgba(255,255,255,.05); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); }
.partner-label { font-size: .78rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.partner-name { font-size: .9rem; font-weight: 700; color: var(--white); }
.partner-nasdaq { font-size: .75rem; color: var(--green); border: 1px solid rgba(0,200,147,.3); padding: 2px 8px; border-radius: 4px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* =====================================================
   VISUAL ENGINEERING UPGRADE — motion, compare, lightbox
   ===================================================== */

/* ---- Scroll progress bar ---- */
.wt-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--green-deep), var(--green));
  z-index: 3000; pointer-events: none;
  box-shadow: 0 0 8px rgba(0,200,147,.55);
  transition: width .08s linear;
}

/* ---- Glass nav on scroll ---- */
#navbar.solid {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 28px rgba(0,0,0,.06);
}

/* ---- Reveal animation system ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(.94); }
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: .24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: .32s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: .4s; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: .48s; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: .56s; }

/* ---- Button sheen ---- */
.btn { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .6s ease;
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(120%); }

/* ---- Card polish ---- */
.product-card, .card, .news-card, .mega-card {
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s cubic-bezier(.16,1,.3,1), border-color .3s;
}
.product-card:hover, .card:hover, .news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgba(10,31,26,.12);
}
.product-card-img { position: relative; overflow: hidden; }
.product-card-img img { transition: transform .6s cubic-bezier(.16,1,.3,1); cursor: zoom-in; }
.product-card:hover .product-card-img img { transform: scale(1.07); }

/* ---- Product compare checkbox ---- */
.pc-compare {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 5px 12px 5px 8px; font-size: .74rem; font-weight: 700;
  color: var(--muted); cursor: pointer; user-select: none;
  transition: all .25s; box-shadow: var(--shadow-sm);
}
.pc-compare:hover { border-color: var(--green); color: var(--green-deep); }
.pc-compare.is-on { background: var(--green); border-color: var(--green); color: var(--hero-ink); }
.pc-compare input { position: absolute; opacity: 0; pointer-events: none; }
.pc-compare-box {
  width: 14px; height: 14px; border-radius: 3px;
  border: 1.5px solid currentColor; display: inline-flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.pc-compare.is-on .pc-compare-box { background: var(--hero-ink); border-color: var(--hero-ink); color: var(--green); }
.pc-compare-box svg { width: 10px; height: 10px; opacity: 0; transition: opacity .15s; }
.pc-compare.is-on .pc-compare-box svg { opacity: 1; }
.product-card { position: relative; }
.product-card.is-compared { border-color: var(--green); box-shadow: 0 0 0 2px rgba(0,200,147,.25); }

/* ---- Compare tray (bottom dock) ---- */
.cmp-tray {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
  background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -12px 40px rgba(0,0,0,.1);
  transform: translateY(110%); transition: transform .4s cubic-bezier(.16,1,.3,1);
  padding: 14px 0;
}
.cmp-tray.open { transform: translateY(0); }
.cmp-tray-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cmp-tray-label { font-size: .82rem; font-weight: 800; color: var(--hero-ink); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.cmp-tray-slots { display: flex; gap: 10px; flex: 1; min-width: 0; overflow-x: auto; }
.cmp-slot {
  display: flex; align-items: center; gap: 10px;
  min-width: 140px; max-width: 200px; padding: 8px 12px;
  background: var(--light); border: 1px solid var(--border); border-radius: 10px;
  position: relative;
}
.cmp-slot img { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: 6px; }
.cmp-slot-t { font-size: .82rem; font-weight: 700; color: var(--hero-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.cmp-slot-x {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--hero-ink); color: #fff;
  font-size: 11px; line-height: 18px; text-align: center; cursor: pointer;
  border: none; font-family: inherit;
}
.cmp-slot-empty {
  min-width: 140px; height: 52px; border: 1.5px dashed var(--border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: .78rem; color: var(--muted);
}
.cmp-tray-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }

/* ---- Compare modal ---- */
.cmp-modal {
  position: fixed; inset: 0; z-index: 2100;
  background: rgba(6,18,14,.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cmp-modal.open { opacity: 1; pointer-events: auto; }
.cmp-modal-box {
  background: #fff; border-radius: 16px; width: min(1100px, 100%);
  max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.98); transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.cmp-modal.open .cmp-modal-box { transform: none; }
.cmp-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 1;
}
.cmp-modal-head h3 { font-size: 1.15rem; font-weight: 800; color: var(--hero-ink); }
.cmp-modal-x {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; font-size: 1.3rem; color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.cmp-modal-x:hover { background: var(--light); color: var(--hero-ink); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.cmp-table th, .cmp-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.cmp-table thead th { background: var(--light); font-weight: 800; color: var(--hero-ink); position: sticky; top: 65px; z-index: 1; }
.cmp-table thead th:first-child, .cmp-table td:first-child { color: var(--muted); font-weight: 600; width: 160px; background: #fafcfb; position: sticky; left: 0; }
.cmp-table .cmp-prod-img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 8px; background: #fff; border-radius: 8px; border: 1px solid var(--border); padding: 6px; }
.cmp-table .cmp-prod-name { font-size: 1rem; font-weight: 800; color: var(--hero-ink); }
.cmp-table tbody tr:hover td { background: rgba(0,200,147,.04); }
.cmp-diff td { background: rgba(0,200,147,.06); }

/* ---- Lightbox ---- */
.wt-lightbox {
  position: fixed; inset: 0; z-index: 2200;
  background: rgba(6,18,14,.88); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 32px; opacity: 0; pointer-events: none; transition: opacity .3s; cursor: zoom-out;
}
.wt-lightbox.open { opacity: 1; pointer-events: auto; }
.wt-lightbox img {
  max-width: min(920px, 92vw); max-height: 86vh; object-fit: contain;
  background: #fff; border-radius: 12px; padding: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
  transform: scale(.92); transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.wt-lightbox.open img { transform: scale(1); }
.wt-lightbox-x {
  position: absolute; top: 24px; right: 24px; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.wt-lightbox-x:hover { background: rgba(255,255,255,.22); }

/* ---- Smooth link underline ---- */
.card-link, .mega-foot-link, .h-news-item h4 {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%; background-repeat: no-repeat;
  background-size: 0 1.5px; transition: background-size .35s cubic-bezier(.16,1,.3,1), color .2s;
}
.card-link:hover, .mega-foot-link:hover { background-size: 100% 1.5px; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .fade-up, .btn-primary::after, .product-card, .card, .news-card, .mega-card,
  .cmp-tray, .cmp-modal, .cmp-modal-box, .wt-lightbox, .wt-lightbox img,
  .h-hero-slide, .product-card-img img {
    transition: none !important; animation: none !important;
  }
  .reveal, .fade-up { opacity: 1; transform: none; }
}

/* ---- Mobile Navigation Drawer & Overlay ---- */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 998;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.nav-drawer {
  position: fixed; top: 0; right: -320px; width: 320px; max-width: 85vw; height: 100vh;
  background: var(--white); box-shadow: -4px 0 24px rgba(0,0,0,0.2); z-index: 999;
  transition: right 0.35s cubic-bezier(0.16,1,0.3,1); overflow-y: auto; padding: 80px 24px 40px;
}
.nav-drawer.open { right: 0; }
body.nav-open { overflow: hidden; }
.nav-drawer .nav-menu { display: flex; flex-direction: column; gap: 8px; }
.nav-drawer .nav-item { width: 100%; }
.nav-drawer .nav-link { display: block; padding: 12px 16px; color: var(--text); border-radius: 8px; }
.nav-drawer .nav-link:hover { background: var(--light); color: var(--green-deep); }
.nav-drawer .dropdown, .nav-drawer .mega { position: static; opacity: 1; visibility: visible; pointer-events: auto;
  box-shadow: none; border: 0; padding: 8px 0 8px 24px; background: transparent; }
.nav-drawer .dropdown a, .nav-drawer .mega a { padding: 8px 12px; font-size: 0.9rem; }
@media (min-width: 901px) { .nav-drawer, .nav-overlay { display: none !important; } }
