/* ============================================================
   HUOTIAN — v19 Industrial Anchor Design System
   90% neutral + 10% blue · JetBrains Mono
   1px border · zero radius · zero shadow
   Swiper Hero Carousel · GSAP scroll animations
   ============================================================ */

/* ===== 1. CSS Variables & Legacy Aliases ===== */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0B0C0A;
  --surface: #111210;
  --line: #1C1D1A;
  --text: #D4D4D0;
  --dim: #6B6C68;
  --blue: #3B82F6;
  --blue-dim: #2563EB;
  --blue-glow: rgba(59,130,246,0.15);
  --blue-glow-strong: rgba(59,130,246,0.35);
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --gap: 1px;
  --space: 1.5;
  --nav-h: 64px;
  --section-pad: 7rem;
  /* Legacy aliases — backward compat */
  --primary: #111210;
  --primary-dark: #0B0C0A;
  --primary-light: #1C1D1A;
  --secondary: #3B82F6;
  --secondary-light: #60A5FA;
  --accent: #3B82F6;
  --accent-light: #60A5FA;
  --accent-glow: rgba(59,130,246,0.12);
  --white: #D4D4D0;
  --gray-50: #0B0C0A;
  --gray-100: #111210;
  --gray-200: #1C1D1A;
  --gray-300: #2A2B28;
  --gray-500: #6B6C68;
  --gray-700: #9A9A94;
  --gray-900: #D4D4D0;
  --text-light: #6B6C68;
  --border: #1C1D1A;
  --font: 'JetBrains Mono', monospace;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
  --radius: 0px;
  --radius-lg: 0px;
  --radius-xl: 0px;
}

/* Text utilities */
.text-blue { color: var(--blue); }

/* ===== 2. Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--mono); font-size: 14px; line-height: 1.7; color: var(--text); background: var(--bg); font-variant-numeric: tabular-nums; padding-top: var(--nav-h); overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: opacity 0.2s ease; }
a:hover { opacity: 0.7; color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: var(--mono); cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: var(--mono); font-size: 13px; color: var(--text); background: var(--bg); border: 1px solid var(--line); padding: 10px 12px; outline: none; transition: border-color 0.2s ease; width: 100%; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); }
::selection { background: var(--blue); color: var(--bg); }

/* ===== 3. Typography ===== */
h1, h2, h3, h4, h5, h6 { font-family: var(--mono); font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 0.95rem; }
h6 { font-size: 0.85rem; }
p { color: var(--dim); line-height: 1.8; }
.eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }

/* ===== 4. Container ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; padding: 0 24px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 0; }
.link-more { font-size: 13px; color: var(--blue); white-space: nowrap; transition: opacity 0.2s ease; }
.link-more:hover { opacity: 0.7; }

/* ===== 5. Navigation — v19 ===== */
.header { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); background: rgba(11,12,10,0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 1000; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.header .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.header .logo:hover { opacity: 1; }
.header .logo-img { height: 48px; width: auto; display: block; }
.header .logo-text { color: var(--text); font-size: 14px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); flex-shrink: 0; text-decoration: none; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links li a { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); transition: color 0.2s ease; padding: 0; border-bottom: none; }
.nav-links li a:hover, .nav-links li a.active { color: var(--blue); border-bottom: none; }
.nav-cta a { display: inline-flex; align-items: center; padding: 5px 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--line); color: var(--text); margin-left: 8px; transition: border-color 0.2s ease, color 0.2s ease; white-space: nowrap; background: transparent; }
.nav-cta a:hover { border-color: var(--blue); color: var(--blue); opacity: 1; }
.lang-wrap { position: relative; margin-left: 8px; }
.lang-toggle { display: flex; align-items: center; padding: 6px 10px; font-size: 12px; font-weight: 600; color: var(--text); border: 1px solid var(--line); transition: color 0.2s ease, border-color 0.2s ease; cursor: pointer; background: transparent; font-family: var(--mono); }
.lang-toggle:hover { color: var(--text); border-color: var(--dim); }
.lang-dropdown { display: none; position: absolute; top: 100%; right: 0; margin-top: 4px; background: var(--surface); border: 1px solid var(--line); min-width: 140px; z-index: 100; max-height: 360px; overflow-y: auto; }
.lang-wrap.open .lang-dropdown { display: block; }
.lang-dropdown a { display: block; padding: 8px 14px; font-size: 12px; color: var(--dim); transition: color 0.15s ease, background 0.15s ease; text-decoration: none; }
.lang-dropdown a:hover { color: var(--text); background: var(--bg); }
.lang-dropdown a.active { color: var(--blue); }
.nav-toggle { display: none; padding: 4px; color: var(--text); z-index: 10; cursor: pointer; }
.nav-toggle svg { display: block; }
.nav-toggle .hamburger-top, .nav-toggle .hamburger-mid, .nav-toggle .hamburger-bot { transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open .hamburger-top { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open .hamburger-mid { opacity: 0; }
.nav-toggle.open .hamburger-bot { transform: translateY(-6px) rotate(-45deg); }

/* ===== 6. Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; border: 1px solid transparent; cursor: pointer; transition: all 0.2s ease; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--blue); color: var(--bg); border-color: var(--blue); }
.btn-primary:hover { opacity: 0.85; color: var(--bg); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 8px 18px; font-size: 12px; }

/* ===== 7. Hero Carousel — v19 Swiper ===== */
.hero-carousel { position: relative; width: 100%; height: 100vh; overflow: hidden; }
.hero-carousel::after { content: ''; position: absolute; top: 0; left: 0; width: clamp(400px, 42vw, 680px); height: 100%; background: linear-gradient(to right, rgba(11,12,10,0.82) 0%, rgba(59,130,246,0.15) 55%, transparent 100%); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); pointer-events: none; z-index: 5; }
.swiper-hero { width: 100%; height: 100%; }
.swiper-hero .swiper-slide { position: relative; overflow: hidden; }
.swiper-hero .swiper-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease-out; }
.swiper-hero .swiper-slide-active img { transform: scale(1.05); }
.swiper-hero .swiper-slide::after { content: ''; position: absolute; inset: 0; background: rgba(11,12,10,0.15); pointer-events: none; z-index: 1; }
.hero-content { position: absolute; bottom: 12vh; left: 6vw; z-index: 10; max-width: 480px; text-align: left; }
.hero-content-inner { position: relative; z-index: 1; padding: 32px 24px; }
.hero-content-inner .hero-label { font-size: 11px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.hero-content-inner h1 { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; line-height: 1; margin-bottom: 1.25rem; letter-spacing: -0.03em; color: var(--text); }
.hero-content-inner h1 em { font-style: normal; color: var(--blue); }
.hero-content-inner p { font-size: clamp(0.9rem, 1.2vw, 1.05rem); color: var(--text); line-height: 1.8; margin-bottom: 2rem; max-width: 500px; opacity: 0.9; }
.hero-btns { display: flex; gap: 1rem; }
.hero-btns .btn-primary { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 10px 20px; background: var(--blue); color: #000; border: none; cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em; transition: opacity 0.2s; border-radius: 6px; }
.hero-btns .btn-primary:hover { opacity: 0.85; }
.hero-btns .btn-outline { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 10px 20px; background: transparent; color: var(--text); border: 1px solid var(--line); cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em; transition: border-color 0.2s, color 0.2s; border-radius: 6px; }
.hero-btns .btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.hero-controls { display: none; }
.hero-counter { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: 0.05em; font-variant-numeric: tabular-nums; }
.hero-btn { width: 36px; height: 36px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); color: var(--text); font-size: 14px; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.hero-btn:hover { border-color: var(--blue); color: var(--blue); }
.hero-progress { position: absolute; bottom: 0; left: 0; right: 0; z-index: 10; height: 2px; background: var(--line); }
.hero-progress .hero-progress-fill { height: 100%; background: var(--blue); width: 25%; transition: width 0.6s ease; }
.scroll-indicator { position: absolute; bottom: 6vh; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-indicator span { font-size: 8px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--dim); }
.scroll-indicator .scroll-line { width: 1px; height: 32px; background: linear-gradient(to bottom, var(--dim), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* Legacy Hero Slider Dots */
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 8px; height: 8px; border: 1px solid rgba(255,255,255,0.5); background: transparent; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; padding: 0; }
.hero-dot.active { background: var(--blue); border-color: var(--blue); }
.hero-dot:hover { border-color: var(--blue); }

/* Legacy Hero (non-carousel pages) */
.hero { position: relative; width: 100%; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; filter: grayscale(40%) contrast(1.1); }
.hero-bg::after { content: ''; position: absolute; top: 0; left: 15%; width: 1px; height: 60%; background: linear-gradient(to bottom, var(--blue), transparent); opacity: 0.3; }
.hero-bg::before { content: ''; position: absolute; top: 0; right: 22%; width: 1px; height: 45%; background: linear-gradient(to bottom, var(--dim), transparent); opacity: 0.2; }
.hero-particles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-particles span { position: absolute; border-radius: 50%; background: var(--blue); opacity: 0; animation: fog-float 8s ease-in-out infinite; }
.hero-particles span:nth-child(1) { width: 3px; height: 3px; left: 10%; top: 20%; animation-delay: 0s; animation-duration: 9s; }
.hero-particles span:nth-child(2) { width: 2px; height: 2px; left: 25%; top: 60%; animation-delay: 1.5s; animation-duration: 7s; }
.hero-particles span:nth-child(3) { width: 4px; height: 4px; left: 50%; top: 35%; animation-delay: 3s; animation-duration: 11s; }
.hero-particles span:nth-child(4) { width: 2px; height: 2px; left: 70%; top: 70%; animation-delay: 0.5s; animation-duration: 8s; }
.hero-particles span:nth-child(5) { width: 3px; height: 3px; left: 85%; top: 25%; animation-delay: 2s; animation-duration: 10s; }
.hero-particles span:nth-child(6) { width: 2px; height: 2px; left: 40%; top: 80%; animation-delay: 4s; animation-duration: 7.5s; }
@keyframes fog-float { 0% { opacity: 0; transform: translateY(0) scale(1); } 20% { opacity: 0.4; } 50% { opacity: 0.15; transform: translateY(-40px) scale(1.5); } 80% { opacity: 0.3; } 100% { opacity: 0; transform: translateY(-80px) scale(1); } }
.hero-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); border: 1px solid var(--blue); padding: 6px 16px; margin-bottom: 32px; }
.hero-title { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 700; line-height: 1.1; margin-bottom: 24px; color: var(--text); }
.hero-sub { font-size: 15px; color: var(--dim); line-height: 1.7; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.hero-readout { display: flex; justify-content: center; gap: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.hr-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hr-val { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: 0.02em; }
.hr-lbl { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

/* ===== 8. Section Common — v19 ===== */
.section { padding: var(--section-pad) 6vw; border-top: 1px solid var(--line); max-width: 1400px; margin: 0 auto; }
.section-label { font-size: 10px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.75rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 3rem; letter-spacing: -0.02em; }
.section-center { text-align: center; }
.section-center .section-label { text-align: center; }
.section-center .section-title { text-align: center; }
.section-center .cat-grid { text-align: left; }
.section-center .trust-grid { text-align: left; }
.section-center .blog-grid { text-align: left; }
.section-desc { color: var(--dim); max-width: 600px; margin-bottom: 3rem; font-size: clamp(0.9rem, 1.2vw, 1rem); line-height: 1.8; }
section:not(.hero-carousel section) { padding: 80px 0; }

/* ===== 9. Product Categories Grid — v19 ===== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.cat-grid > div, .cat-grid > a { padding: 0; border: 1px solid var(--line); margin-left: -1px; margin-top: -1px; transition: border-color 0.3s ease; background: var(--surface); }
.cat-grid > div:hover, .cat-grid > a:hover { border-color: var(--blue); z-index: 1; position: relative; }
.cat-number { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; color: var(--blue); letter-spacing: -0.03em; line-height: 1; margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.cat-grid h3 { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 700; margin-bottom: 0.75rem; color: var(--text); }
.cat-grid p { font-size: clamp(0.8rem, 1vw, 0.9rem); color: var(--dim); line-height: 1.8; margin-bottom: 1.5rem; }
.cat-grid a { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); }

/* Legacy cat-card */
.cat-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s ease; overflow: hidden; }
.cat-card:hover { border-color: var(--blue); }
.cat-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--bg); position: relative; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cat-card:hover .cat-img img { transform: scale(1.03); }
.cat-number-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--blue); color: #000; font-size: 16px; font-weight: 800; z-index: 2; }
.cat-info { padding: 24px; }
.cat-info h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text); text-transform: uppercase; letter-spacing: 0.05em; }
.cat-info p { font-size: 13px; color: var(--dim); line-height: 1.6; }

/* ===== 10. Trust / Stats Grid — v19 ===== */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-grid > div { padding: 2.5rem; border: 1px solid var(--line); margin-left: -1px; margin-top: -1px; transition: border-color 0.3s ease; text-align: center; background: var(--surface); }
.trust-grid > div:hover { border-color: var(--blue); z-index: 1; position: relative; }
.trust-number { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--blue); letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.75rem; font-variant-numeric: tabular-nums; }
.trust-grid h4 { font-size: clamp(0.9rem, 1.2vw, 1rem); font-weight: 600; margin-bottom: 0.5rem; color: var(--text); }
.trust-grid p { font-size: clamp(0.75rem, 0.9vw, 0.85rem); color: var(--dim); line-height: 1.6; }

/* Legacy trust-cell */
.trust-cell { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 24px; background: var(--surface); border: 1px solid var(--line); gap: 8px; transition: border-color 0.2s ease; }
.trust-cell:hover { border-color: var(--blue); }
.trust-icon { font-size: 28px; margin-bottom: 4px; }
.trust-cell strong { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--text); letter-spacing: -0.02em; line-height: 1; }
.trust-cell span:last-child { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

/* Stats section (legacy) */
.stats-section { padding: 60px 0; border-top: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); max-width: 800px; margin: 0 auto; padding: 0 24px; }
.stat-cell { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 16px; background: var(--surface); border: 1px solid var(--line); }
.stat-num { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--blue); letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.stat-lbl { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

/* ===== 11. Blog Grid — v19 ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.blog-card { padding: 2rem; border: 1px solid var(--line); margin-left: -1px; margin-top: -1px; transition: border-color 0.3s ease; cursor: pointer; text-decoration: none; display: block; background: var(--surface); }
.blog-card:hover { border-color: var(--blue); z-index: 1; position: relative; }
.blog-thumb { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--surface); margin-bottom: 1.5rem; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.03); }
.blog-tag { font-size: 9px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.75rem; display: block; }
.blog-card h3 { font-size: clamp(0.85rem, 1.1vw, 1rem); font-weight: 600; margin-bottom: 0.75rem; line-height: 1.5; color: var(--text); }
.blog-card p { font-size: clamp(0.75rem, 0.9vw, 0.85rem); color: var(--dim); line-height: 1.7; margin-bottom: 1rem; }
.blog-meta { font-size: 9px; color: var(--dim); letter-spacing: 0.05em; display: block; }

/* Legacy blog-info */
.blog-info { padding: 20px; }
.blog-info h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.blog-info p { font-size: 13px; color: var(--dim); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-info .blog-meta { font-size: 11px; color: var(--dim); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; }

/* Home blog (legacy) */
.home-blog-section { padding: 80px 0; border-top: 1px solid var(--line); }
.home-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

/* ===== 12. Product Showcase (home) ===== */
.prod-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.prod-showcase > div { padding: 2.5rem; border: 1px solid var(--line); margin-left: -1px; margin-top: -1px; transition: border-color 0.3s ease; background: var(--surface); }
.prod-showcase > div:hover { border-color: var(--blue); z-index: 1; position: relative; }
.prod-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s ease; overflow: hidden; }
.prod-card:hover { border-color: var(--blue); }
.prod-img { width: 100%; aspect-ratio: 1/1; overflow: hidden; background: var(--bg); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.prod-card:hover .prod-img img { transform: scale(1.03); }
.prod-info { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-info h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.prod-info p { font-size: 12px; color: var(--dim); line-height: 1.5; }
.prod-code { font-size: 10px; font-weight: 500; color: var(--blue); letter-spacing: 0.05em; margin-top: auto; }

/* ===== 13. Scenes / Industries ===== */
.scenes-section { padding: 80px 0; border-top: 1px solid var(--line); }
.scenes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.scene-card { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.scene-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.scene-card:hover img { transform: scale(1.05); }
.scene-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,12,10,0.85) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.scene-overlay h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.scene-overlay p { font-size: 11px; color: var(--dim); }

/* ===== 14. Process Section ===== */
.process-section { padding: 80px 0; border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.process-step { display: flex; flex-direction: column; padding: 32px 24px; background: var(--surface); border: 1px solid var(--line); }
.process-num { font-size: 28px; font-weight: 800; color: var(--blue); margin-bottom: 12px; letter-spacing: -0.02em; line-height: 1; }
.process-step h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 12px; color: var(--dim); line-height: 1.6; }

/* ===== 15. CTA Section — v19 ===== */
.cta-section { position: relative; padding: var(--section-pad) 6vw; text-align: center; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 500px; height: 500px; background: radial-gradient(circle, var(--blue-glow) 0%, transparent 60%); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.cta-section p { font-size: clamp(0.9rem, 1.2vw, 1rem); color: var(--dim); margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section .cta-btns { display: flex; gap: 1rem; justify-content: center; }

/* ===== 16. Footer — v19 ===== */
.footer { border-top: 1px solid var(--line); padding: 4rem 6vw 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand .nav-logo { margin-bottom: 0; }
.footer-brand p { font-size: 12px; color: var(--text); line-height: 1.8; margin-top: 1rem; max-width: 240px; }
.footer-col h5 { font-size: 10px; color: var(--blue); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.25rem; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.625rem;font-size: 12px;color: var(--text); }
.footer-col a { font-size: 11px; color: var(--text); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: var(--text); border-top: 1px solid var(--line); padding-top: 1.5rem; }
.footer-social { display: flex; align-items: center; gap: 12px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--dim); border: 1px solid var(--line); transition: all 0.2s ease; }
.footer-social a:hover { color: var(--blue); border-color: var(--blue); }
.footer-social a svg { width: 18px; height: 18px; }

/* Footer logo */
.footer .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer .logo .logo-img { height: 36px; width: auto; }
.footer .logo .logo-text { color: var(--text); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.4; max-width: 200px; }
.footer .logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--blue); color: #000; font-size: 13px; font-weight: 800; }

/* Legacy footer */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 40px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-about p { font-size: 13px; line-height: 1.7; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--dim); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom-legacy { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11px; color: var(--dim); }

/* ===== 17. About Page ===== */
.about-section { padding: 80px 0; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; color: var(--dim); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 60px; }
.about-stats .stat-cell { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 16px; background: var(--surface); border: 1px solid var(--line); }
.about-stats .stat-cell strong { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--text); line-height: 1; }
.about-stats .stat-cell span { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin-top: 8px; }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); margin-top: 60px; }
.about-features > div { padding: 32px 24px; background: var(--surface); border: 1px solid var(--line); }
.about-features h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.about-features p { font-size: 13px; color: var(--dim); line-height: 1.7; }

/* ===== 18. Contact Page ===== */
.contact-section { padding: 80px 0; border-top: 1px solid var(--line); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { margin-bottom: 24px; }
.contact-info p { font-size: 14px; line-height: 1.8; margin-bottom: 32px; color: var(--dim); }
.contact-detail { margin-bottom: 20px; }
.contact-detail h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.contact-detail p { font-size: 14px; color: var(--text); margin-bottom: 4px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; background: var(--surface); padding: 32px; border: 1px solid var(--line); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); }
.form-group input, .form-group textarea, .form-group select { font-family: var(--mono); font-size: 13px; color: var(--text); background: var(--bg); border: 1px solid var(--line); padding: 10px 12px; outline: none; transition: border-color 0.2s ease; width: 100%; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== 19. Products Listing Page ===== */
.products-page { padding: 80px 0; border-top: 1px solid var(--line); }
.products-page h1 { margin-bottom: 32px; }
.product-filters { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.product-filters button { padding: 6px 16px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); background: none; border: 1px solid transparent; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.product-filters button:hover { color: var(--text); border-color: var(--line); }
.product-filters button.active { color: var(--blue); border-color: var(--blue); }
.product-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.product-table thead th { text-align: left; padding: 12px 16px; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); background: var(--surface); }
.product-table tbody td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 12px; }
.product-table tbody tr:hover td { background: var(--surface); }

/* ===== 20. Product Detail Page ===== */
.product-detail { padding: 80px 0; border-top: 1px solid var(--line); }
.product-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.product-gallery { background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.product-gallery img { width: 100%; height: auto; object-fit: cover; }
.product-info { display: flex; flex-direction: column; gap: 16px; }
.product-info h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.product-code { font-size: 11px; font-weight: 600; color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; }
.product-desc { font-size: 14px; line-height: 1.8; color: var(--dim); }
.product-price { display: flex; align-items: baseline; gap: 8px; }
.product-price .current { font-size: 24px; font-weight: 700; }
.product-price .original { font-size: 14px; color: var(--dim); text-decoration: line-through; }
.product-specs { margin-top: 40px; }
.product-specs h2 { margin-bottom: 24px; }
.product-specs table { width: 100%; border-collapse: collapse; }
.product-specs table tr { border-bottom: 1px solid var(--line); }
.product-specs table td { padding: 12px 16px; font-size: 13px; }
.product-specs table td:first-child { font-weight: 600; color: var(--dim); width: 200px; }
.product-specs table td:last-child { color: var(--text); }

/* ===== 21. Blog Pages ===== */
.blog-hero { padding: 80px 0 40px; border-bottom: 1px solid var(--line); }
.blog-hero h1 { margin-bottom: 12px; }
.blog-hero p { font-size: 14px; color: var(--dim); max-width: 600px; }

/* Blog category tabs */
.blog-cat-wrapper { margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.blog-cat-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-cat-tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); background: transparent; border: 1px solid var(--line); cursor: pointer; transition: all 0.2s ease; }
.blog-cat-tab:hover { color: var(--text); border-color: var(--blue); }
.blog-cat-tab.active { color: var(--blue); border-color: var(--blue); background: rgba(59,130,246,0.08); }
.blog-cat-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; font-size: 9px; font-weight: 700; color: var(--dim); background: var(--surface); border: 1px solid var(--line); }
.blog-cat-tab.active .blog-cat-count { color: var(--blue); border-color: var(--blue); background: rgba(59,130,246,0.12); }
.blog-list-item .blog-l-cat { display: inline-block; font-size: 9px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.blog-article { padding: 60px 0; }
.blog-article .article-header { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.blog-article .article-header h1 { margin-bottom: 12px; }
.blog-article .article-meta { font-size: 11px; color: var(--dim); }
.blog-article .article-body { max-width: 720px; font-size: 14px; line-height: 1.9; color: var(--text); }
.blog-article .article-body h2 { font-size: 1.3rem; margin: 32px 0 16px; }
.blog-article .article-body h3 { font-size: 1.1rem; margin: 24px 0 12px; }
.blog-article .article-body p { margin-bottom: 16px; color: var(--text); }
.blog-article .article-body ul, .blog-article .article-body ol { margin-bottom: 16px; padding-left: 24px; }
.blog-article .article-body ul { list-style: disc; }
.blog-article .article-body ol { list-style: decimal; }
.blog-article .article-body li { margin-bottom: 8px; color: var(--text); }
.blog-article .article-body img { margin: 24px 0; border: 1px solid var(--line); }
.blog-sidebar { padding: 32px; background: var(--surface); border: 1px solid var(--line); }
.blog-sidebar h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.blog-sidebar ul li { margin-bottom: 12px; }
.blog-sidebar ul li a { font-size: 13px; color: var(--dim); transition: color 0.2s; }
.blog-sidebar ul li a:hover { color: var(--text); }

/* ===== 22. Legal Pages (Privacy & Terms) ===== */
.legal-page { padding: 80px 0; border-top: 1px solid var(--line); }
.legal-page h1 { margin-bottom: 12px; }
.legal-page .legal-date { font-size: 11px; color: var(--dim); margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-page .legal-body { max-width: 720px; font-size: 14px; line-height: 1.9; }
.legal-page .legal-body h2 { font-size: 1.2rem; margin: 32px 0 16px; }
.legal-page .legal-body h3 { font-size: 1rem; margin: 24px 0 12px; }
.legal-page .legal-body p { margin-bottom: 16px; color: var(--text); }
.legal-page .legal-body ul { margin-bottom: 16px; padding-left: 24px; list-style: disc; }
.legal-page .legal-body ul li { margin-bottom: 8px; color: var(--text); }

/* ===== 23. Page Banner (inner pages) ===== */
.page-banner { padding: 80px 6vw 60px; border-bottom: 1px solid var(--line); text-align: center; }
.page-banner h1 { margin-bottom: 12px; }
.page-banner p { font-size: 14px; color: var(--dim); max-width: 600px; margin: 0 auto; }

/* ===== 24. Subpage Components (added for v19) ===== */

/* Back link */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--dim); transition: color 0.2s; margin-bottom: 16px; text-decoration: none; }
.back-link:hover { color: var(--blue); }
.back-link::before { content: '←'; }

/* Breadcrumb detail */
.detail-breadcrumb { font-size: 11px; color: var(--dim); letter-spacing: 0.05em; margin-bottom: 8px; }

/* Product listing grid (for /products page) */
.product-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.product-list-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.3s ease; overflow: hidden; }
.product-list-card:hover { border-color: var(--blue); z-index: 1; position: relative; }
.product-list-card .prod-img { width: 100%; aspect-ratio: 1/1; overflow: hidden; background: var(--bg); }
.product-list-card .prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-list-card:hover .prod-img img { transform: scale(1.03); }
.product-list-card .prod-info { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-list-card .prod-info h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.product-list-card .prod-info p { font-size: 12px; color: var(--dim); line-height: 1.5; }
.product-list-card .prod-info .prod-code { font-size: 10px; font-weight: 500; color: var(--blue); letter-spacing: 0.05em; margin-top: auto; }

/* Capacity badge */
.capacity-badge { display: inline-flex; align-items: center; padding: 2px 10px; font-size: 10px; font-weight: 600; letter-spacing: 0.05em; border: 1px solid var(--blue); color: var(--blue); background: transparent; }

/* Detail feature/app cards */
.detail-features ul, .detail-apps ul { list-style: none; padding: 0; }
.detail-features li, .detail-apps li { padding: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 8px; font-size: 13px; color: var(--text); border-left: 3px solid var(--blue); padding-left: 20px; }
.detail-features li::before, .detail-apps li::before { content: '▸ '; color: var(--blue); }

/* Specs table on product detail */
.specs-table-wrap { overflow-x: auto; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table td { padding: 12px 16px; font-size: 13px; }
.specs-table .specs-label { font-weight: 600; color: var(--dim); width: 220px; }
.specs-table .specs-value { color: var(--text); }

/* Hero-specific sections (cert, packaging, shipping) */
.hero-section-alt { padding: 60px 6vw; border-top: 1px solid var(--line); }
.hero-section-alt h2 { margin-bottom: 24px; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.cert-badge { display: flex; align-items: center; gap: 10px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); }
.cert-icon { color: var(--blue); font-size: 16px; }
.cert-text { font-size: 13px; color: var(--text); }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.pkg-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.pkg-option { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.pkg-detail { font-size: 13px; color: var(--dim); line-height: 1.7; }
.shipping-note p { font-size: 13px; color: var(--dim); line-height: 1.8; margin-bottom: 16px; }
.shipping-note ul { list-style: disc; padding-left: 20px; }
.shipping-note ul li { font-size: 13px; color: var(--dim); margin-bottom: 8px; }

/* FAQ accordion */
.product-faq { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.product-faq details { border-bottom: 1px solid var(--line); }
.product-faq summary { padding: 16px 20px; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; transition: color 0.2s; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.product-faq summary::-webkit-details-marker { display: none; }
.product-faq summary::after { content: '+'; color: var(--blue); font-size: 18px; font-weight: 700; transition: transform 0.2s; }
.product-faq details[open] summary::after { content: '−'; }
.product-faq summary:hover { color: var(--blue); }
.product-faq details p { padding: 0 20px 16px; font-size: 13px; color: var(--dim); line-height: 1.8; }

/* Comparison table */
.compare-table-wrap { overflow-x: auto; margin-top: 24px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.compare-table thead th { text-align: left; padding: 14px 16px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; color: var(--dim); border-bottom: 1px solid var(--line); background: var(--surface); text-transform: uppercase; }
.compare-table tbody td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text); }
.compare-table .compare-label { font-weight: 600; color: var(--dim); width: 160px; }
.compare-table .compare-current { background: rgba(59,130,246,0.05); }
.compare-table .compare-product-name { font-weight: 700; color: var(--text); }
.compare-table .compare-product-short { font-weight: 400; font-size: 10px; color: var(--dim); text-transform: none; }
.compare-row-highlight { background: rgba(59,130,246,0.03); }
.compare-legend { margin-top: 12px; font-size: 11px; color: var(--dim); display: flex; gap: 16px; }
.compare-legend-item { display: flex; align-items: center; gap: 6px; }
.compare-legend-current::before { content: ''; display: inline-block; width: 12px; height: 12px; background: rgba(59,130,246,0.05); border: 1px solid var(--blue); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--gap); margin-top: 32px; }
.testimonial-card { padding: 32px; background: var(--surface); border: 1px solid var(--line); }
.testimonial-stars { color: var(--blue); font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-body { font-size: 14px; color: var(--dim); line-height: 1.8; font-style: italic; margin-bottom: 16px; }
.testimonial-author { font-size: 12px; color: var(--dim); display: flex; flex-direction: column; gap: 2px; }
.testimonial-author strong { color: var(--text); }
.testimonial-project { font-size: 11px; color: var(--blue); }

/* Blog list page (text-based) */
.blog-list { display: flex; flex-direction: column; gap: 0; }
.blog-list-item { display: block; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left 0.2s; }
.blog-list-item:hover { padding-left: 8px; }
.blog-list-item .blog-l-meta { display: flex; gap: 12px; font-size: 11px; color: var(--dim); margin-bottom: 8px; }
.blog-list-item h2 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; margin-bottom: 8px; transition: color 0.2s; color: var(--text); }
.blog-list-item:hover h2 { color: var(--blue); }
.blog-list-item p { font-size: 13px; color: var(--dim); line-height: 1.7; margin-bottom: 12px; }
.blog-list-item .blog-l-footer { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.blog-list-item .blog-l-read { color: var(--blue); }

/* Empty state */
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state p { font-size: 14px; color: var(--dim); }

/* Geo TL;DR */
.geo-tldr-card { display: flex; align-items: flex-start; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--blue); }
.geo-tldr-badge { flex-shrink: 0; display: inline-flex; align-items: center; padding: 2px 10px; font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--blue); color: var(--blue); }
.geo-tldr-text { font-size: 13px; color: var(--dim); line-height: 1.8; }

/* Geo Key Takeaways */
.geo-takeaways-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--gap); margin-top: 32px; }
.geo-takeaway-item { padding: 20px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--dim); line-height: 1.7; position: relative; padding-left: 36px; }
.geo-takeaway-item::before { content: '◆'; position: absolute; left: 16px; top: 20px; color: var(--blue); font-size: 10px; }

/* Section spacing */
.section-inner { padding: 80px 6vw; border-top: 1px solid var(--line); }
.section-inner:first-child { border-top: none; }

/* ===== 25. Animations & Utilities ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity 0.6s ease; }
.fade-in.visible { opacity: 1; }
.divider { width: 100%; height: 1px; background: var(--line); margin: 0; }
.tag { display: inline-flex; align-items: center; padding: 2px 10px; font-size: 9px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--line); color: var(--dim); }
.tag-blue { border-color: var(--blue); color: var(--blue); }
.flex-row { display: flex; align-items: center; gap: 16px; }
.flex-col { display: flex; flex-direction: column; gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-xs { gap: 4px; } .gap-sm { gap: 8px; } .gap-md { gap: 16px; } .gap-lg { gap: 24px; } .gap-xl { gap: 32px; }
.text-center { text-align: center; }
.text-dim { color: var(--dim); }
.text-blue { color: var(--blue); }
.text-sm { font-size: 12px; }
.text-xs { font-size: 10px; }
.text-uppercase { text-transform: uppercase; }
.letter-wide { letter-spacing: 0.08em; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.border { border: 1px solid var(--line); }
.border-top { border-top: 1px solid var(--line); }
.border-bottom { border-bottom: 1px solid var(--line); }
.p-sm { padding: 16px; } .p-md { padding: 24px; } .p-lg { padding: 32px; }
.py-lg { padding-top: 40px; padding-bottom: 40px; }
.mt-sm { margin-top: 8px; } .mt-md { margin-top: 16px; } .mt-lg { margin-top: 24px; } .mt-xl { margin-top: 40px; }
.mb-sm { margin-bottom: 8px; } .mb-md { margin-bottom: 16px; } .mb-lg { margin-bottom: 24px; } .mb-xl { margin-bottom: 40px; }


/* ===== 26. Responsive — 1024px (Tablet Landscape) ===== */
@media (max-width: 1024px) {
  :root { --nav-h: 80px; }
  .header .logo .logo-img { height: 48px; }
  .header .logo .logo-text { font-size: 14px; }
  .nav-links { gap: 1rem; }
  .nav-links ul { gap: 1.5rem; }
  .nav-links ul li a { font-size: 11px; }
  .hero-carousel { height: 80vh; }
  .hero-content { bottom: 8vh; left: 4vw; max-width: 520px; }
  .hero-content-inner { padding: 28px 32px; }
  .hero-content-inner h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-list-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-features { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .product-header { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery { max-height: 500px; }
  .product-gallery img { height: 500px; object-fit: cover; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .geo-takeaways-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 27. Responsive — 768px (Tablet Portrait) ===== */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Typography scale down */
  h1 { font-size: clamp(1.6rem, 7vw, 2.5rem); }
  h2 { font-size: clamp(1.2rem, 5vw, 1.7rem); }
  h3 { font-size: clamp(1rem, 4vw, 1.2rem); }

  /* Section spacing */
  .section { padding: 3.5rem 5vw; }
  .section-inner { padding: 3.5rem 5vw; }
  .hero-section-alt { padding: 40px 5vw; }
  .page-banner { padding: 60px 5vw 40px; }
  .blog-hero { padding: 60px 5vw 30px; }
  .blog-article { padding: 40px 5vw; }
  .legal-page { padding: 60px 5vw; }
  .products-page { padding: 60px 5vw; }
  .product-detail { padding: 60px 5vw; }
  .about-section { padding: 60px 5vw; }
  .contact-section { padding: 60px 5vw; }

  /* ===== Header / Nav Mobile ===== */
  .header .logo .logo-img { height: 28px; }
  .header .logo .logo-text { font-size: 11px; letter-spacing: 0.06em; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none !important;
    position: fixed !important;
    top: var(--nav-h) !important;
    left: 0 !important;
    right: 0 !important;
    height: calc(100vh - var(--nav-h)) !important;
    background: var(--bg) !important;
    border-bottom: 1px solid var(--line) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
    gap: 0 !important;
    z-index: 9999 !important;
    overflow: visible !important;
  }
  .nav-links.open { display: flex !important; }
  .nav-links ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 8px 0;
  }
  .nav-links ul li a {
    display: block;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    transition: background 0.15s, color 0.15s;
  }
  .nav-links ul li a:hover,
  .nav-links ul li a:active {
    background: var(--surface);
    color: var(--blue);
    opacity: 1;
  }
  .nav-links .nav-cta {
    margin: 16px 24px 0;
    margin-left: 24px;
  }
  .nav-links .nav-cta a {
    display: block;
    text-align: center;
    padding: 12px 20px;
    font-size: 13px;
    border-bottom: none;
  }
  .lang-wrap {
    margin: 16px 24px 24px;
    position: relative;
  }
  .lang-toggle {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 13px;
  }
  .lang-dropdown {
    width: 100%;
    position: static;
    margin-top: 4px;
    max-height: 240px;
    overflow-y: auto;
  }
  .lang-dropdown a {
    padding: 10px 16px;
    font-size: 13px;
  }

  /* ===== Hero Mobile ===== */
  .hero-carousel { height: 85vh; min-height: 500px; }
  .hero-carousel::after {
    width: 100%;
    background: linear-gradient(
      to top,
      rgba(11,12,10,0.88) 0%,
      rgba(11,12,10,0.6) 40%,
      rgba(59,130,246,0.08) 70%,
      transparent 100%
    );
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .hero-content {
    bottom: 12vh;
    left: 5vw;
    right: 5vw;
    max-width: none;
  }
  .hero-content-inner {
    padding: 24px;
  }
  .hero-content-inner h1 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    line-height: 1.15;
  }
  .hero-content-inner p {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
    line-height: 1.6;
  }
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 13px;
  }
  .hero-controls { display: none; }
  .hero-progress { bottom: 0; top: auto; }
  .scroll-indicator { display: none; }

  /* ===== Categories Mobile ===== */
  .cat-grid { grid-template-columns: 1fr; gap: 2px; }
  .cat-card { padding: 20px; }
  .cat-card .cat-num { font-size: 11px; }
  .cat-card h3 { font-size: 16px; margin-bottom: 4px; }
  .cat-card p { font-size: 12px; line-height: 1.6; }

  /* ===== Trust Numbers Mobile ===== */
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .trust-cell { padding: 24px 16px; text-align: center; }
  .trust-number { font-size: clamp(1.4rem, 6vw, 2rem); }
  .trust-label { font-size: 10px; letter-spacing: 0.12em; }

  /* ===== Blog Cards Mobile ===== */
  .blog-grid { grid-template-columns: 1fr; gap: 2px; }
  .blog-card { padding: 20px; }
  .blog-card .blog-date { font-size: 10px; }
  .blog-card h3 { font-size: 15px; line-height: 1.4; margin-bottom: 8px; }
  .blog-card p { font-size: 12px; line-height: 1.6; }
  .blog-card .blog-link { font-size: 11px; }

  /* ===== CTA Section Mobile ===== */
  .cta-section { padding: 3rem 5vw; }
  .cta-section h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .cta-section p { font-size: 0.9rem; }
  .cta-section .cta-btns { flex-direction: column; gap: 10px; }
  .cta-section .cta-btns .btn { width: 100%; }

  /* ===== Footer Mobile ===== */
  .footer { padding: 3rem 5vw 1.5rem; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand { align-items: flex-start; }
  .footer-brand p { max-width: none; font-size: 12px; }
  .footer-col h5 { margin-bottom: 0.75rem; }
  .footer-col li { margin-bottom: 0.5rem; }
  .footer-col a { font-size: 12px; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 10px;
  }
  .footer .logo .logo-img { height: 28px; }
  .footer .logo .logo-text { font-size: 11px; }

  /* ===== Product Listing Mobile ===== */
  .product-list-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .product-list-card .prod-img { aspect-ratio: 1/1; }
  .product-list-card .prod-info { padding: 12px; gap: 4px; }
  .product-list-card .prod-info h3 { font-size: 11px; }
  .product-list-card .prod-info p { font-size: 10px; line-height: 1.4; }
  .product-list-card .prod-info .prod-code { font-size: 9px; }
  .product-filters { gap: 6px; padding-bottom: 12px; margin-bottom: 24px; }
  .product-filters button { padding: 6px 12px; font-size: 10px; }

  /* ===== Product Detail Mobile ===== */
  .product-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .product-gallery { max-height: 320px; }
  .product-gallery img { height: 320px; object-fit: cover; }
  .product-info { gap: 12px; }
  .product-info h1 { font-size: 1.5rem; }
  .capacity-badge { font-size: 10px; padding: 2px 8px; }
  .product-specs { margin-top: 24px; }
  .product-specs table td { padding: 10px 12px; font-size: 12px; }
  .product-specs table td:first-child { width: 120px; }
  .specs-table td { padding: 10px 12px; font-size: 12px; }
  .specs-table .specs-label { width: 120px; }
  .detail-features li,
  .detail-apps li { padding: 12px 12px 12px 16px; font-size: 12px; }
  .cert-grid { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .compare-table-wrap { margin: 16px -5vw; padding: 0 5vw; }
  .compare-table { font-size: 11px; }
  .compare-table thead th { padding: 10px 12px; font-size: 10px; }
  .compare-table tbody td { padding: 10px 12px; font-size: 11px; }
  .compare-table .compare-label { width: 100px; }
  .product-faq summary { padding: 14px 16px; font-size: 13px; }
  .product-faq details p { padding: 0 16px 14px; font-size: 12px; }
  .geo-tldr-card { flex-direction: column; gap: 12px; padding: 20px; }
  .geo-takeaways-grid { grid-template-columns: 1fr; }
  .geo-takeaway-item { padding: 16px 16px 16px 32px; font-size: 12px; }

  /* ===== Blog Article Mobile ===== */
  .blog-article .article-body { font-size: 13px; line-height: 1.8; }
  .blog-article .article-body h2 { font-size: 1.15rem; margin: 24px 0 12px; }
  .blog-article .article-body h3 { font-size: 1rem; margin: 20px 0 10px; }
  .blog-article .article-body p { margin-bottom: 14px; }
  .blog-article .article-body ul,
  .blog-article .article-body ol { padding-left: 20px; }
  .blog-article .article-body li { margin-bottom: 6px; }
  .blog-article .article-body img { margin: 16px 0; }
  .blog-article .article-meta { font-size: 10px; flex-wrap: wrap; gap: 8px; }
  .blog-list-item { padding: 24px 0; }
  .blog-list-item h2 { font-size: 1.1rem; }
  .blog-list-item p { font-size: 12px; }

  /* ===== About Page Mobile ===== */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-text h2 { margin-bottom: 16px; }
  .about-text p { font-size: 13px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 32px; }
  .about-stats .stat-cell { padding: 20px 12px; }
  .about-stats .stat-cell strong { font-size: 1.2rem; }
  .about-stats .stat-cell span { font-size: 9px; letter-spacing: 0.06em; }
  .about-features { grid-template-columns: 1fr; gap: 2px; margin-top: 32px; }
  .about-features > div { padding: 20px; }
  .about-features h3 { font-size: 13px; }
  .about-features p { font-size: 12px; }

  /* ===== Contact Page Mobile ===== */
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-info h2 { margin-bottom: 16px; }
  .contact-info p { font-size: 13px; margin-bottom: 24px; }
  .contact-detail h4 { font-size: 10px; }
  .contact-detail p { font-size: 13px; }
  .contact-form { padding: 20px; }
  .form-group label { font-size: 10px; }
  .form-group input,
  .form-group textarea,
  .form-group select { padding: 12px; font-size: 14px; }

  /* ===== Legal Pages Mobile ===== */
  .legal-page .legal-body { font-size: 13px; line-height: 1.8; }
  .legal-page .legal-body h2 { font-size: 1.1rem; }
  .legal-page .legal-body h3 { font-size: 0.95rem; }

  /* ===== Blog Sidebar Mobile ===== */
  .blog-sidebar { padding: 20px; }
  .blog-sidebar h3 { font-size: 11px; }
  .blog-sidebar ul li a { font-size: 12px; }
}

/* ===== 28. Responsive — 480px (Small Phone) ===== */
@media (max-width: 480px) {
  :root { --nav-h: 56px; }

  body { font-size: 13px; }
  h1 { font-size: clamp(1.4rem, 8vw, 2rem); }
  h2 { font-size: clamp(1.1rem, 5vw, 1.5rem); }

  /* Header compact */
  .header .logo .logo-img { height: 22px; }
  .header .logo .logo-text { font-size: 10px; }
  .header .logo { gap: 6px; }

  /* Hero */
  .hero-carousel { height: 80vh; min-height: 440px; }
  .hero-content { bottom: 10vh; left: 4vw; right: 4vw; }
  .hero-content-inner { padding: 20px; }
  .hero-content-inner h1 { font-size: clamp(1.5rem, 9vw, 2.2rem); }
  .hero-content-inner p { font-size: 0.85rem; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { padding: 12px 16px; font-size: 12px; }

  /* Trust */
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-cell { padding: 20px 12px; }
  .trust-number { font-size: 1.3rem; }
  .trust-label { font-size: 9px; }

  /* Products */
  .product-list-grid { grid-template-columns: 1fr; }
  .product-list-card .prod-img { aspect-ratio: 16/10; }
  .product-list-card .prod-info { padding: 16px; }
  .product-list-card .prod-info h3 { font-size: 12px; }

  /* Product detail */
  .product-gallery { max-height: 260px; }
  .product-gallery img { height: 260px; }
  .product-info h1 { font-size: 1.3rem; }
  .specs-table .specs-label { width: 100px; font-size: 11px; }
  .specs-table .specs-value { font-size: 11px; }

  /* About */
  .about-stats { grid-template-columns: 1fr; }
  .about-stats .stat-cell { flex-direction: row; gap: 12px; text-align: left; padding: 16px; }
  .about-stats .stat-cell strong { font-size: 1.1rem; }
  .about-stats .stat-cell span { margin-top: 0; }

  /* Contact */
  .contact-form { padding: 16px; }

  /* Footer */
  .footer { padding: 2rem 5vw 1rem; }
  .footer-grid { gap: 1.5rem; }
}

/* ===== 29. Touch-friendly overrides ===== */
@media (hover: none) and (pointer: coarse) {
  /* Larger tap targets */
  .nav-links ul li a { min-height: 44px; display: flex; align-items: center; }
  .lang-toggle { min-height: 44px; }
  .product-filters button { min-height: 40px; padding: 8px 16px; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 36px; }
  .product-faq summary { min-height: 48px; }
  .blog-list-item { min-height: 44px; }
  .footer-col a { min-height: 36px; display: inline-flex; align-items: center; }

  /* Disable hover effects on touch */
  a:hover { opacity: 1; }
  .product-list-card:hover .prod-img img { transform: none; }
  .product-list-card:hover { border-color: var(--line); z-index: auto; position: static; }
}

/* ===== 30. Safe area (notch devices) ===== */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
  .nav-links { padding-bottom: env(safe-area-inset-bottom); }
}
