/* ============================================
   泰勒士 THALES - 深色科技风 + 工业橙 v2
   深浅协调 · 科技感强化 · 全响应式
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Brand from LOGO: red T · blue C arc · blue dot */
  --orange-primary: #C94A2B;
  --orange-light: #E87A5F;
  --orange-glow: rgba(201,74,43,0.35);
  --orange-tint: rgba(201,74,43,0.10);
  --blue-primary: #2E3B7E;
  --blue-light: #4A5AA8;
  --blue-glow: rgba(46,59,126,0.40);
  --blue-tint: rgba(46,59,126,0.12);

  /* Dark surfaces — pure black-grey, high contrast */
  --bg-deep: #0A0A0A;        /* page base — near black */
  --bg-primary: #131313;     /* main bg */
  --bg-secondary: #1C1C1C;   /* card / section */
  --bg-card: #1F1F1F;        /* raised card */
  --bg-elevated: #2A2A2A;    /* hover / modal */

  /* Light accents — for contrast moments */
  --bg-light: #F4F6FF;
  --bg-light-card: #FFFFFF;
  --text-on-light: #0D1539;

  /* Text */
  --text-primary: #F0F2F8;
  --text-secondary: #A8B0D6;
  --text-muted: #7E88B0;
  --text-accent: #E87A5F;

  /* Borders */
  --border-subtle: rgba(255,255,255,0.07);
  --border-default: rgba(255,255,255,0.12);
  --border-hover: rgba(255,255,255,0.22);
  --border-bright: rgba(255,255,255,0.30);

  /* Spacing */
  --container-max: 1280px;
  --section-pad: 90px 24px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-med: 0.35s var(--ease-out);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--orange-light); }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* --- Utility --- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mono { font-family: var(--font-mono); letter-spacing: 0.5px; }

/* ============================================
   AMBIENT BACKGROUND — tech HUD
   ============================================ */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
  pointer-events: none;
}

.bg-glow {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
}
.bg-glow::before,
.bg-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
}
.bg-glow::before {
  width: 720px; height: 720px;
  background: var(--blue-glow);
  top: -260px; right: -180px;
  opacity: 0.55;
  animation: glowFloat 18s ease-in-out infinite;
}
.bg-glow::after {
  width: 580px; height: 580px;
  background: var(--orange-glow);
  bottom: -200px; left: -160px;
  opacity: 0.5;
  animation: glowFloat 22s ease-in-out infinite reverse;
}
@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.08); }
}

/* Scanline overlay — full-page subtle horizontal lines */
.bg-scanline {
  position: fixed; inset: 0; z-index: -1;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(255,255,255,0.012) 3px,
    rgba(255,255,255,0.012) 4px
  );
  pointer-events: none;
}

/* ============================================
   NAVIGATION — transparent logo integration
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  height: 76px;
  display: flex; align-items: center;
  background: rgba(31,31,31,0.92);   /* grey, matches metric cards */
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-med), box-shadow var(--transition-med);
}
.navbar.scrolled {
  background: rgba(31,31,31,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--container-max); margin: 0 auto;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text-primary);
}
.nav-logo img {
  height: 42px; width: 42px;       /* transparent BG — blends into nav */
  object-fit: contain;
  /* Subtle glow on hover */
  transition: filter var(--transition-fast);
}
.nav-logo:hover img { filter: drop-shadow(0 0 12px var(--orange-glow)); }
.nav-logo-text {
  font-size: 18px; font-weight: 700; letter-spacing: 1px;
  display: flex; flex-direction: column; line-height: 1.1;
}
.nav-logo-text small {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  color: var(--text-muted); letter-spacing: 2px;
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0; width: 0;
  height: 2px; background: var(--orange-primary);
  transition: width var(--transition-med);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text-primary); }
.nav-links a.active::after { width: 100%; background: var(--orange-primary); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

/* Mobile-only extra (lang switch + quote button) — hidden on desktop, shown in drawer */
.nav-links .mobile-extra { display: none; }

.lang-switch {
  font-size: 13px; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.5px;
  cursor: pointer;
}
.lang-switch a { color: var(--text-muted); padding: 0 4px; }
.lang-switch a.active-lang { color: var(--orange-primary); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  transition: all var(--transition-med);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--orange-primary); color: #fff;
  box-shadow: 0 4px 18px var(--orange-glow);
}
.btn-primary:hover {
  background: var(--orange-light);
  color: #fff; transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(201,74,43,0.5);
}
.btn-outline {
  border: 1px solid var(--border-default);
  color: var(--text-primary); background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--orange-primary);
  color: var(--orange-light);
  background: var(--orange-tint);
}
.btn-ghost { color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  width: 24px; height: 2px; background: var(--text-primary);
  border-radius: 2px; transition: all var(--transition-med);
}

/* ============================================
   HERO WITH SLIDER
   ============================================ */
.hero {
  min-height: 600px;
  padding-top: 76px;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 524px;       /* 600 - 76 nav */
}

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }

.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--bg-image);
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,21,57,0.92) 0%, rgba(13,21,57,0.65) 50%, rgba(13,21,57,0.85) 100%);
  z-index: 1;
}

.hero-slide-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 24px;
}

/* "Real photo" variant — keeps the underlying image bright;
   text gets colored frames so it stays readable. */
.hero-slide--real::after {
  background: linear-gradient(95deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.15) 55%, rgba(10,10,10,0) 100%);
}
.hero-slide--real .hero-slide-text {
  background: rgba(201,74,43,0.92);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  display: inline-block;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  margin: 0 0 16px 0;
}
.hero-slide--real .hero-slide-text .highlight {
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-slide--real .hero-slide-desc {
  background: rgba(13,13,13,0.78);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: inline-block;
  max-width: 560px;
  margin: 0 0 24px 0;
}
.hero-slide--real .hero-stat {
  background: rgba(13,13,13,0.78);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--orange-primary);
}
.hero-slide--real .hero-stat-num {
  background: linear-gradient(135deg, var(--orange-light), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-slide--real .hero-stat-label { color: rgba(255,255,255,0.85); }
.hero-slide--real .hero-stat-suffix { color: #fff; }

.hero-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-slide-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  background: var(--orange-tint);
  color: var(--orange-primary);
  border: 1px solid rgba(201,74,43,0.25);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}
.hero-slide-tag::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--orange-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-slide h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-slide h1 .highlight {
  background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-slide-desc {
  font-size: 17px; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 32px;
  max-width: 560px;
}
.hero-slide-stats {
  display: flex; gap: 32px; margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex; flex-direction: column; gap: 2px;
}
.hero-stat-num {
  font-size: 32px; font-weight: 800;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, var(--text-primary), var(--orange-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}
.hero-stat-label {
  font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.hero-stat-suffix { color: var(--orange-light); font-size: 18px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slide indicators */
.hero-dots {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
  width: 32px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.2);
  cursor: pointer; transition: all var(--transition-med);
}
.hero-dot.active {
  background: var(--orange-primary);
  width: 56px;
}

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition-med);
  z-index: 10;
}
.hero-arrow:hover { background: var(--orange-tint); border-color: var(--orange-primary); color: var(--orange-light); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* Slide preview decorative element */
.hero-slide-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 360px;
}
.slide-decor {
  position: absolute;
  border: 1px solid rgba(201,74,43,0.3);
  border-radius: var(--radius-md);
  background: rgba(201,74,43,0.05);
  backdrop-filter: blur(8px);
  padding: 20px 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange-light);
}
.slide-decor.d1 { top: 8%; left: 5%; }
.slide-decor.d2 { top: 30%; right: 0; color: var(--text-secondary); }
.slide-decor.d3 { bottom: 12%; left: 12%; }
.slide-decor .label { color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.slide-decor .value { font-size: 22px; font-weight: 700; color: var(--text-primary); }

/* ============================================
   METRICS / STATS ROW
   ============================================ */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 0;              /* no overlap — clean separation from hero */
  padding-top: 40px;
  position: relative; z-index: 5;
}
.metric-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.metric-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange-primary), transparent);
  opacity: 0.6;
  transition: opacity var(--transition-med);
}
.metric-card::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,74,43,0.08), transparent);
  transition: left 0.6s ease;
}
.metric-card:hover { border-color: var(--border-bright); transform: translateY(-4px); box-shadow: 0 14px 44px rgba(0,0,0,0.3); }
.metric-card:hover::before { opacity: 1; }
.metric-card:hover::after { left: 100%; }
.metric-icon {
  width: 48px; height: 48px; margin: 0 auto 14px;
  border-radius: var(--radius-md);
  background: var(--orange-tint);
  border: 1px solid rgba(201,74,43,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.metric-value {
  font-size: 38px; font-weight: 800;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, var(--text-primary), var(--orange-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}
.metric-label {
  font-size: 13px; color: var(--text-muted); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 1px;
}

/* ============================================
   PRODUCT CATEGORY GRID
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-cat-card {
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  min-height: 180px;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none; color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
/* Product image as card background */
.product-cat-card .cat-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.4;
  transition: opacity var(--transition-med), transform var(--transition-med);
}
.product-cat-card:hover .cat-bg {
  opacity: 0.65;
  transform: scale(1.06);
}
/* Dark gradient overlay for readability */
.product-cat-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201,74,43,0.15), transparent 60%),
    linear-gradient(180deg, rgba(13,13,13,0.15) 0%, rgba(13,13,13,0.75) 100%);
  opacity: 1;
  transition: opacity var(--transition-med);
  z-index: 1;
}
.product-cat-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-med);
  z-index: 2;
}
.product-cat-card:hover {
  border-color: var(--orange-primary);
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.4), 0 0 40px var(--orange-glow);
}
.product-cat-card:hover::before { opacity: 1; }
.product-cat-card:hover::after { opacity: 1; }

.cat-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--orange-tint), var(--blue-tint));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 26px;
  border: 1px solid var(--border-default);
  position: relative; z-index: 2;
  backdrop-filter: blur(6px);
}
.cat-name {
  font-size: 19px; font-weight: 700; margin-bottom: 8px;
  position: relative; z-index: 2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.cat-count {
  font-size: 13px; color: var(--text-secondary);
  font-family: var(--font-mono);
  position: relative; z-index: 2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
.cat-arrow {
  position: absolute; top: 24px; right: 24px;
  color: var(--text-primary);
  font-size: 18px;
  transition: all var(--transition-med);
  z-index: 2;
}
.product-cat-card:hover .cat-arrow {
  color: var(--orange-primary);
  transform: translateX(6px);
}

/* ============================================
   SOLUTIONS / FEATURES
   ============================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.solution-card {
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--orange-primary), var(--blue-primary));
  opacity: 0; transition: opacity var(--transition-med);
}
.solution-card:hover { border-color: var(--border-bright); background: var(--bg-elevated); }
.solution-card:hover::before { opacity: 1; }
.sol-num {
  font-size: 56px; font-weight: 900;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, var(--orange-primary), var(--blue-primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 18px;
}
.sol-title {
  font-size: 19px; font-weight: 700; margin-bottom: 10px;
}
.sol-desc {
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}

/* ============================================
   DOWNLOAD BAR
   ============================================ */
.download-bar {
  background: linear-gradient(135deg, rgba(201,74,43,0.18) 0%, rgba(46,59,126,0.18) 100%);
  border: 1px solid rgba(201,74,43,0.25);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.download-bar::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--orange-glow), transparent 70%);
  filter: blur(80px);
  opacity: 0.6;
}
.download-bar h3 {
  font-size: 22px; font-weight: 700;
  position: relative;
}
.download-bar p {
  color: var(--text-secondary); font-size: 14px; margin-top: 6px;
  position: relative;
}
.download-bar .btn { position: relative; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background:
    radial-gradient(circle at 15% 50%, rgba(201,74,43,0.25), transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(46,59,126,0.25), transparent 50%),
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800; margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  color: var(--text-secondary); font-size: 16px;
  margin-bottom: 32px; position: relative;
}
.cta-banner .btn { position: relative; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, var(--bg-deep), #08102A);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 24px 32px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.footer-brand p {
  color: var(--text-muted); font-size: 14px;
  margin-top: 16px; line-height: 1.7; max-width: 280px;
}
.footer-col h4 {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 20px; color: var(--text-primary);
  font-family: var(--font-mono);
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text-muted);
  padding: 5px 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.footer-col a:hover { color: var(--orange-primary); transform: translateX(4px); }

.footer-bottom {
  max-width: var(--container-max);
  margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ============================================
   PRODUCT LIST PAGE
   ============================================ */
.page-header {
  padding: 130px 24px 48px;
  position: relative;
}
.page-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.page-header p {
  color: var(--text-secondary); font-size: 16px; max-width: 560px;
}

.filter-bar {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-label {
  font-size: 12px; color: var(--text-muted); font-weight: 600;
  white-space: nowrap;
  font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 1px;
}
.filter-select {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  color: var(--text-primary);
  font-size: 14px; font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast);
  cursor: pointer;
}
.filter-select:focus { border-color: var(--orange-primary); }
.search-input {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 14px 9px 36px;
  color: var(--text-primary);
  font-size: 14px; font-family: inherit;
  outline: none; width: 240px;
  transition: border-color var(--transition-fast);
}
.search-input:focus { border-color: var(--orange-primary); }
.search-wrapper { position: relative; }
.search-wrapper::before {
  content: '⌕'; position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%); color: var(--text-muted); font-size: 16px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-med);
  cursor: pointer;
  text-decoration: none; color: inherit;
}
.product-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.3);
}
.prod-img {
  aspect-ratio: 4/3;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.prod-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(201,74,43,0.08) 100%);
}
.prod-body { padding: 20px; }
.prod-tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--orange-primary);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.prod-name {
  font-size: 17px; font-weight: 700; margin-bottom: 10px;
  line-height: 1.35;
}
.prod-specs {
  font-size: 12px; color: var(--text-muted);
  display: flex; gap: 10px; flex-wrap: wrap;
}
.prod-spec-item {
  display: flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.prod-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: space-between;
}
.prod-price {
  font-size: 14px; font-weight: 700; color: var(--orange-primary);
  font-family: var(--font-mono);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px 0;
}
.detail-gallery { position: sticky; top: 110px; }
.detail-main-img {
  aspect-ratio: 1/1;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; color: var(--text-muted);
  margin-bottom: 16px;
}
.detail-thumbs { display: flex; gap: 10px; }
.detail-thumb {
  width: 72px; height: 72px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--text-muted);
}
.detail-thumb:hover, .detail-thumb.active { border-color: var(--orange-primary); }

.detail-info h1 {
  font-size: 32px; font-weight: 800; margin-bottom: 8px;
}
.detail-meta {
  display: flex; gap: 12px; margin-bottom: 24px;
  flex-wrap: wrap;
}
.detail-badge {
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
  background: var(--orange-tint);
  color: var(--orange-primary);
  border: 1px solid rgba(201,74,43,0.25);
  font-family: var(--font-mono);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.detail-desc {
  color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 32px; font-size: 15px;
}

.spec-table {
  width: 100%; border-collapse: collapse;
  margin-bottom: 32px;
}
.spec-table th, .spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}
.spec-table th {
  color: var(--text-muted); font-weight: 600;
  width: 140px;
  font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 1px;
  font-size: 12px;
}
.spec-table td { color: var(--text-primary); font-family: var(--font-mono); }

.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.detail-tabs {
  margin-top: 48px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
}
.tab-nav {
  display: flex; gap: 0; border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}
.tab-btn {
  padding: 12px 24px;
  font-size: 14px; font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  transition: all var(--transition-fast);
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--orange-primary); border-bottom-color: var(--orange-primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.download-list { display: grid; gap: 12px; }
.download-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none; color: inherit;
}
.download-item:hover {
  border-color: var(--orange-primary);
  background: rgba(201,74,43,0.04);
}
.dl-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--orange-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.dl-info { flex: 1; }
.dl-name { font-size: 14px; font-weight: 600; }
.dl-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; font-family: var(--font-mono); }
.dl-btn {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  background: var(--bg-secondary); color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}
.dl-btn:hover {
  background: var(--orange-primary); color: #fff; border-color: var(--orange-primary);
}

/* ============================================
   SMART SELECTOR WIZARD
   ============================================ */
.wizard-container { max-width: 720px; margin: 0 auto; }
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.wizard-progress {
  display: flex; gap: 8px; margin-bottom: 32px;
}
.progress-dot {
  flex: 1; height: 3px; border-radius: 2px;
  background: var(--border-default);
  transition: background var(--transition-med);
}
.progress-dot.done { background: var(--orange-primary); }
.progress-dot.current { background: var(--orange-light); }

.wizard-question {
  font-size: 22px; font-weight: 700;
  margin-bottom: 24px;
}
.wizard-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.wizard-option {
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}
.wizard-option:hover {
  border-color: var(--orange-primary);
  background: rgba(201,74,43,0.05);
}
.wizard-option.selected {
  border-color: var(--orange-primary);
  background: rgba(201,74,43,0.1);
  color: var(--orange-light);
}
.wizard-nav {
  display: flex; justify-content: space-between;
  margin-top: 32px;
}

/* ============================================
   CONTACT / INQUIRY FORM
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 6px;
  font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 1px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px; font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 3px var(--orange-tint);
}
.form-textarea { resize: vertical; min-height: 120px; }

.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--orange-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
  border: 1px solid rgba(201,74,43,0.2);
}
.contact-label { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 1px; }
.contact-value { font-size: 15px; font-weight: 600; margin-top: 2px; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero { padding: 130px 24px 64px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.about-image::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201,74,43,0.15), transparent 60%);
}
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--orange-primary), var(--blue-primary));
  opacity: 0.5;
}
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item::before {
  content: '';
  position: absolute; left: -28px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange-primary);
  border: 3px solid var(--bg-deep);
  box-shadow: 0 0 0 2px var(--orange-tint);
}
.timeline-year {
  font-size: 14px; font-weight: 700; color: var(--orange-primary);
  font-family: var(--font-mono);
  letter-spacing: 1px;
}
.timeline-text {
  font-size: 14px; color: var(--text-secondary); margin-top: 4px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cert-card {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  font-size: 14px; color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  padding: 12px;
}
.cert-card:hover { border-color: var(--orange-primary); transform: scale(1.04); }

/* ============================================
   NEWS / BLOG
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-med);
  text-decoration: none; color: inherit;
}
.news-card:hover { border-color: var(--border-bright); transform: translateY(-4px); }
.news-img {
  aspect-ratio: 16/9;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: var(--text-muted);
}
.news-body { padding: 24px; }
.news-date {
  font-size: 12px; color: var(--orange-primary); font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--font-mono); letter-spacing: 1px;
  text-transform: uppercase;
}
.news-title {
  font-size: 17px; font-weight: 700; margin-bottom: 8px;
  line-height: 1.4;
}
.news-excerpt {
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--section-pad);
  position: relative;
}
.section-header {
  text-align: center; max-width: 640px; margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange-primary);
  margin-bottom: 12px;
  font-family: var(--font-mono);
  padding: 4px 12px;
  background: var(--orange-tint);
  border: 1px solid rgba(201,74,43,0.2);
  border-radius: 100px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-content-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-slide-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-slide-visual { margin: 0 auto; }
  .hero-slide-stats { justify-content: center; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-list { grid-template-columns: repeat(2, 1fr); }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .download-bar { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px 20px; }

  /* Compact mobile navbar: logo image only, hamburger only */
  .nav-actions { display: none; }
  .nav-logo-text { display: none; }
  .nav-logo img { height: 38px; width: 38px; }
  .navbar { height: 64px; padding: 0 18px; }

  /* Compact floating menu — anchored to hamburger, top-right */
  .nav-links {
    display: none;
    position: fixed;
    top: 66px;               /* hugs navbar bottom (64px) */
    right: 18px;             /* aligns with hamburger (navbar padding 18px) */
    left: auto;
    width: min(280px, calc(100vw - 36px));
    height: auto;
    max-height: calc(100dvh - 90px);
    background: rgba(31,31,31,0.98);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    flex-direction: column;
    padding: 8px;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 48px rgba(0,0,0,0.65);
    z-index: 1500;            /* above navbar (1000) and hero slides */
    transform-origin: top right;
    animation: menuDrop 0.22s var(--ease-out);
  }
  /* little pointer triangle connecting to hamburger */
  .nav-links::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 26px;
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(31,31,31,0.98);
    z-index: -1;
  }
  .nav-links.open { display: flex !important; }
  .nav-links a {
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px; color: var(--text-primary);
  }
  .nav-links a:not(:last-of-type) { border-bottom: 1px solid var(--border-subtle); }
  .nav-links a:hover, .nav-links a.active { color: var(--orange-primary); background: var(--orange-tint); }
  .nav-links .mobile-extra {
    display: flex; flex-direction: column; gap: 8px;
    margin-top: 8px; padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
  }
  .nav-links .mobile-extra .lang-switch { padding: 6px 14px; }
  .nav-links .mobile-extra .btn-primary { width: 100%; justify-content: center; padding: 12px; }

  .menu-toggle {
    display: flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px;
    padding: 10px;
    border-radius: var(--radius-sm);
  }
  .menu-toggle:hover { background: rgba(255,255,255,0.06); }

  /* Hero on mobile — shorter */
  .hero { min-height: 560px; padding-top: 64px; }
  .hero-slider { min-height: 496px; }
  .hero-slide-inner { padding: 32px 20px; }
  .hero-slide-visual { display: none; }
  .hero-slide h1 { font-size: 30px; }
  .hero-arrow { display: none; }

  .product-grid { grid-template-columns: 1fr; }
  .product-list { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr 1fr; margin-top: 0; padding-top: 24px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-input { width: 100%; }
  .wizard-options { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slide-stats { gap: 14px; }
}

@media (max-width: 480px) {
  .metrics-row { grid-template-columns: 1fr; margin-top: 0; padding-top: 16px; }
  .slide-decor { display: none; }
  .hero { min-height: 480px; }
  .hero-slider { min-height: 416px; }
  .hero-slide h1 { font-size: 26px; }
  .hero-stat-num { font-size: 26px; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes menuDrop {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.animate-in { animation: fadeInUp 0.6s var(--ease-out) both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Hero slide enter animation */
.hero-slide.active .animate-in {
  animation: fadeInUp 0.8s var(--ease-out) both;
}
