/* ============================================================
   EcoLite-EXP — Industrial Explosion-Proof Lighting
   css/style.css
   ============================================================ */

/* ECO-46 AWWWARDS Design System — Eco-EXP */
:root {
  /* Brand tokens */
  --hazard-black: #0A0A0A;
  --instrument-gray: #1C1F26;
  --amber-alert: #FFB300;
  --blueprint-blue: #1A3A5C;

  /* System aliases */
  --primary: var(--hazard-black);
  --secondary: var(--instrument-gray);
  --accent: var(--amber-alert);
  --accent-alt: #D32F2F;
  --industrial: #546E7A;
  --light: #F5F5F0;
  --white: #FFFFFF;
  --text-primary: #FFFFFF;
  --text-body: #B8C5CE;
  --cert-badge: var(--amber-alert);

  /* Typography */
  --font-display: 'IBM Plex Sans Condensed', 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'IBM Plex Mono', 'JetBrains Mono', 'Fira Code', monospace;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Shape */
  --radius-card: 4px;
  --radius-btn: 4px;

  /* Elevation */
  --shadow-dark: 0 4px 32px rgba(0,0,0,0.6);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--primary);
  line-height: 1.6;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
.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; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-amber { background: var(--accent); color: var(--primary); }
.btn-amber:hover {
  background: #ffc107;
  transform: scale(1.03);
  box-shadow: 0 0 28px rgba(255, 179, 0, 0.55), 0 4px 20px rgba(255, 179, 0, 0.3);
}
.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: white;
}
.btn-ghost:hover { background: white; color: var(--primary); }
.btn-amber-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 10px 20px;
  font-size: 13px;
}
.btn-amber-outline:hover { background: var(--accent); color: var(--primary); }
.btn-full { width: 100%; justify-content: center; }
.btn-large { padding: 16px 48px; font-size: 17px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  border-bottom: 1px solid rgba(255,179,0,0.15);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.5); }
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 70px;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-main { color: white; }
.logo-exp { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover,
.nav-links a.active { color: white; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

/* Mobile Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,20,22,0.98);
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
body.nav-open .nav-overlay { display: flex; }
.nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}
.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.nav-mobile-links a {
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-mobile-links .btn {
  font-size: 15px;
  padding: 13px 32px;
}

/* ============================================================
   SECTION LABELS & TITLES
   ============================================================ */
.section-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}
.section-sub {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 760px;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 140px 24px 80px;
  text-align: center;
  background: var(--primary);
  border-bottom: 1px solid rgba(255,179,0,0.1);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  color: white;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.1;
}
.page-hero p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-body);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   HERO (home page)
   ============================================================ */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://images.unsplash.com/photo-1642285709726-f9eb035b034b?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(180,100,0,0.28) 0%, transparent 65%),
    linear-gradient(160deg, rgba(18,10,0,0.92) 0%, rgba(50,30,0,0.72) 45%, rgba(20,12,0,0.55) 100%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 120px 24px 80px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(255,179,0,0.3);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 28px;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 72px;
  color: white;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.0;
  margin-bottom: 20px;
  text-shadow: 0 0 60px rgba(255, 179, 0, 0.38), 0 2px 4px rgba(0,0,0,0.5);
}
.hero-subheadline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-body {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   CERTIFICATION TRUST BAR
   ============================================================ */
.cert-trust-bar {
  background: var(--secondary);
  padding: 40px 24px;
  border-bottom: 1px solid rgba(255,179,0,0.1);
}
.cert-trust-bar .bar-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 24px;
}
.cert-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  list-style: none;
}
.cert-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--accent);
  background: var(--primary);
  color: white;
  padding: 12px 16px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.cert-badge-item i {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================================================
   VALUE PROPS
   ============================================================ */
.value-props {
  background: var(--primary);
  padding: 80px 24px;
}
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.value-card {
  background: var(--secondary);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-card);
  padding: 32px 28px;
}
.value-card-icon {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1;
}
.value-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.value-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ============================================================
   INDUSTRIES GRID (home page)
   ============================================================ */
.industries-section {
  background: var(--secondary);
  padding: 80px 24px;
}
.industries-section .section-header {
  max-width: 1280px;
  margin: 0 auto 48px;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto 40px;
}
.industry-card {
  background: var(--primary);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.industry-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.industry-card-icon {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 1;
}
.industry-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.industry-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}
.industries-cta {
  max-width: 1280px;
  margin: 0 auto;
}
.industries-cta a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.industries-cta a:hover { color: #ffc107; }

/* ============================================================
   TECHNICAL FEATURE SECTION (home)
   ============================================================ */
.tech-features {
  background: var(--secondary);
  padding: 80px 24px;
}
.tech-features .container {
  max-width: 1280px;
}
.tech-features-header {
  margin-bottom: 48px;
}
.tech-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.tech-feature-block {
  position: relative;
  padding-top: 16px;
  overflow: hidden;
}
.tech-feature-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 96px;
  color: rgba(255,179,0,0.07);
  line-height: 1;
  letter-spacing: -0.02em;
  position: absolute;
  top: -8px;
  left: -8px;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.tech-feature-block > *:not(.tech-feature-number) {
  position: relative;
  z-index: 1;
}
.tech-feature-block h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  border-top: 2px solid var(--accent);
  padding-top: 16px;
}
.tech-feature-block p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ============================================================
   TRUST QUOTE
   ============================================================ */
.trust-quote-section {
  background: var(--primary);
  padding: 64px 24px;
}
.trust-quote {
  background: var(--secondary);
  border-left: 4px solid var(--accent);
  padding: 32px 40px;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  max-width: 900px;
  margin: 0 auto;
}
.trust-quote p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}
.trust-quote cite {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-style: normal;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--primary);
  border-top: 2px solid var(--accent);
  padding: 80px 24px;
  text-align: center;
}
.cta-banner .container { max-width: 800px; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.cta-banner p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.products-content {
  padding: 64px 24px 80px;
}
.category-block { margin-bottom: 64px; }
.category-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,179,0,0.15);
}
.category-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.category-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--industrial);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--secondary);
  border-radius: var(--radius-card);
  overflow: hidden;
  border-left: 3px solid transparent;
  transition: border-left-color 0.2s, transform 0.2s;
}
.product-card:hover {
  border-left-color: var(--accent);
  transform: translateY(-2px);
}
.product-img {
  height: 140px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255,179,0,0.4);
}
.product-info { padding: 20px; }
.product-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: white;
  margin-bottom: 12px;
  line-height: 1.3;
}
.cert-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.cert-mini {
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
  display: inline-block;
}
.product-specs {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}
.product-specs code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-body);
  background: none;
}

/* Filter Bar */
.filter-section {
  background: var(--secondary);
  padding: 0 24px;
  border-bottom: 1px solid rgba(255,179,0,0.1);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
  max-width: 1280px;
  margin: 0 auto;
}
.filter-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid rgba(255,179,0,0.35);
  background: transparent;
  color: var(--text-body);
}
.filter-btn:hover { border-color: var(--accent); color: white; }
.filter-btn.active {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

/* ============================================================
   CERTIFICATIONS PAGE
   ============================================================ */
.cert-section {
  padding: 64px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cert-section:nth-child(even) { background: var(--secondary); }
.cert-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}
.cert-icon-large {
  font-size: 52px;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}
.cert-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.cert-badge-display {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cert-badge-tag {
  display: inline-block;
  background: rgba(255,179,0,0.12);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
}
.cert-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.cert-col h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,179,0,0.2);
}
.cert-col p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
}
.cert-apps {
  margin-top: 32px;
}
.cert-apps h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cert-apps ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.cert-apps ul li {
  background: rgba(255,179,0,0.08);
  border: 1px solid rgba(255,179,0,0.2);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 2px;
}
.cert-methods {
  margin-top: 24px;
}
.cert-methods h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.cert-methods ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cert-methods ul li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-body);
  padding-left: 16px;
  position: relative;
}
.cert-methods ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}
.cert-cta {
  background: var(--primary);
  padding: 80px 24px;
  text-align: center;
  border-top: 2px solid var(--accent);
}
.cert-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.cert-cta p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Tech Spec Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 14px;
  margin-top: 24px;
}
.spec-table th {
  text-align: left;
  padding: 10px 16px;
  background: rgba(255,179,0,0.1);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,179,0,0.2);
}
.spec-table td {
  padding: 10px 16px;
  color: var(--text-body);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { color: white; font-weight: 400; }

/* ============================================================
   INDUSTRIES PAGE
   ============================================================ */
.industry-section {
  padding: 72px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.industry-section:nth-child(odd) { background: var(--primary); }
.industry-section:nth-child(even) { background: var(--secondary); }
.industry-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}
.industry-icon {
  font-size: 52px;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}
.industry-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.industry-sub {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--industrial);
  margin-top: 6px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.industry-body p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 900px;
  margin-bottom: 28px;
}
.applications-block h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.app-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.app-list li {
  background: rgba(255,179,0,0.08);
  border: 1px solid rgba(255,179,0,0.2);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 2px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 80px 24px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  max-width: 1280px;
  margin: 0 auto;
}
.contact-form-wrap h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.contact-form-wrap .lead {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-body);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--secondary);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 15px;
  color: white;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23546E7A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group select option { background: var(--secondary); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--industrial); }
.form-success {
  text-align: center;
  padding: 48px 24px;
  background: var(--secondary);
  border: 1px solid var(--accent);
  border-radius: 4px;
}
.success-icon {
  font-size: 56px;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1;
}
.form-success h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: white;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-success p { color: var(--text-body); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }

/* Contact sidebar */
.contact-info-wrap { padding-top: 0; }
.contact-info-header {
  background: var(--secondary);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-bottom: 24px;
  border-top: 3px solid var(--accent);
}
.contact-info-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail i {
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.contact-detail-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}
.contact-detail-text a {
  color: white;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-detail-text a:hover { color: var(--accent); }
.contact-detail-text span {
  display: block;
  font-size: 12px;
  color: var(--industrial);
  margin-top: 2px;
}
.trust-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trust-card {
  background: var(--secondary);
  border-radius: var(--radius-card);
  padding: 20px;
  border-left: 3px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-card i {
  font-size: 28px;
  color: var(--accent);
  flex-shrink: 0;
}
.trust-card-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111113;
  border-top: 1px solid rgba(255,179,0,0.15);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: white;
  display: block;
  margin-bottom: 12px;
}
.footer-logo .amber { color: var(--accent); }
.footer-brand p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 8px;
}
.parent-link { font-size: 13px !important; }
.parent-link a { color: var(--accent); }
.site-footer nav h3,
.site-footer nav h4,
.footer-contact h3,
.footer-contact h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer nav a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer nav a:hover { color: white; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact a:not(.btn) {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-body);
  transition: color 0.2s;
}
.footer-contact a:not(.btn):hover { color: white; }
.footer-contact p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--industrial);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--industrial);
}
.footer-bottom a { color: var(--text-body); transition: color 0.2s; }
.footer-bottom a:hover { color: white; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1279px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-headline { font-size: 56px; }
}

@media (max-width: 1023px) {
  .value-props-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-container > .btn { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .cert-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero h1 { font-size: 36px; }
  .section-title { font-size: 28px; }
  .hero-headline { font-size: 40px; }
  .hero-subheadline { font-size: 22px; }
  .hero-bg-icon { font-size: 180px; }
  .value-props-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .tech-features-grid { grid-template-columns: 1fr; }
  .cta-banner h2 { font-size: 28px; }
  .cert-header { flex-direction: column; gap: 12px; }
  .industry-header { flex-direction: column; gap: 12px; }
  .trust-quote { padding: 24px 20px; }
  .trust-quote p { font-size: 16px; }
}

/* ---------------------------------------------------------
   Performance
   --------------------------------------------------------- */
.cert-trust-bar,
.value-props,
.industries-section,
.tech-features,
.trust-quote-section,
.cta-banner {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* ---------------------------------------------------------
   Ember Canvas — hero background
   --------------------------------------------------------- */
.home-hero {
  position: relative;
  overflow: hidden;
}

#ember-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
  opacity: 0.6;
}

.home-hero .hero-content {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------
   Glitch animation on hero headline
   --------------------------------------------------------- */
@keyframes glitch-1 {
  0%, 94%, 100% { clip-path: none; transform: none; }
  95% { clip-path: inset(20% 0 60% 0); transform: translateX(-4px); }
  96% { clip-path: inset(50% 0 20% 0); transform: translateX(4px); }
  97% { clip-path: inset(70% 0 5% 0);  transform: translateX(-2px); }
  98% { clip-path: none; transform: none; }
}

.glitch {
  position: relative;
  animation: glitch-1 7s infinite;
}

/* ---------------------------------------------------------
   Scroll Reveal
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   Hero entrance animation
   --------------------------------------------------------- */
.hero-content {
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  animation: heroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both 0.1s;
}

/* ---------------------------------------------------------
   Industry card entrance stagger
   --------------------------------------------------------- */
.industries-grid.in-view .industry-card:nth-child(1) { transition-delay: 0s; }
.industries-grid.in-view .industry-card:nth-child(2) { transition-delay: 0.08s; }
.industries-grid.in-view .industry-card:nth-child(3) { transition-delay: 0.16s; }
.industries-grid.in-view .industry-card:nth-child(4) { transition-delay: 0.24s; }
.industries-grid.in-view .industry-card:nth-child(5) { transition-delay: 0.32s; }
.industries-grid.in-view .industry-card:nth-child(6) { transition-delay: 0.40s; }

/* Value card stagger */
.value-props.in-view .value-card:nth-child(1) { transition-delay: 0s; }
.value-props.in-view .value-card:nth-child(2) { transition-delay: 0.1s; }
.value-props.in-view .value-card:nth-child(3) { transition-delay: 0.2s; }

/* ============================================================
   Hazard Classification Finder
   ============================================================ */
.hazard-finder {
  padding: 100px 0;
  background: #0c0a06;
  position: relative;
  overflow: hidden;
}
.hazard-finder::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,160,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hazard-finder .section-title { color: white; }
.hazard-finder .section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFA000;
  margin-bottom: 12px;
  display: block;
}
.hazard-finder .section-header p { color: rgba(255,255,255,0.55); font-size: 16px; margin-top: 12px; }

.finder-flow {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.finder-step { margin-bottom: 36px; }
.finder-step-num {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFA000;
  margin-bottom: 16px;
  display: block;
}
.finder-options { display: flex; flex-direction: column; gap: 10px; }
.finder-option {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.finder-option:hover {
  border-color: rgba(255,160,0,0.3);
  background: rgba(255,160,0,0.04);
}
.finder-option.selected {
  border-color: #FFA000;
  background: rgba(255,160,0,0.07);
  box-shadow: 0 0 0 1px #FFA000;
}
.finder-option-icon { font-size: 20px; margin-top: 2px; flex-shrink: 0; }
.finder-option-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: white;
  line-height: 1.3;
  margin-bottom: 4px;
}
.finder-option-sub { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.4; }

.finder-result {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,160,0,0.12);
  border-radius: 16px;
  padding: 40px;
  position: sticky;
  top: 100px;
  transition: opacity 0.4s;
}
.finder-result.empty { opacity: 0.35; }
.finder-result-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}
.finder-class-badge {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #FFA000;
  margin-bottom: 4px;
  display: block;
}
.finder-class-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
  font-family: 'Roboto Mono', monospace;
}
.finder-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 16px;
}
.finder-spec-row:last-of-type { border-bottom: none; }
.finder-spec-key { font-size: 12px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.08em; flex-shrink: 0; }
.finder-spec-val { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 15px; color: white; text-align: right; }
.finder-spec-val.amber { color: #FFA000; }
.finder-warning {
  background: rgba(255,160,0,0.07);
  border: 1px solid rgba(255,160,0,0.18);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-top: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.finder-warning-icon { color: #FFA000; font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.finder-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.finder-placeholder { text-align: center; padding: 40px 0; }
.finder-placeholder p { color: rgba(255,255,255,0.35); font-size: 15px; line-height: 1.6; }
.finder-cta { margin-top: 28px; }

/* EXP FAQ */
.exp-faq {
  padding: 100px 0;
  background: #100d08;
}
.exp-faq .section-title { color: white; }
.exp-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.exp-faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}
.exp-faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 24px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
  transition: background 0.2s;
}
.exp-faq-q:hover { background: rgba(255,160,0,0.03); }
.exp-faq-q h3 { font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 500; color: white; line-height: 1.4; flex: 1; }
.exp-faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFA000;
  font-size: 18px;
  transition: all 0.3s ease;
  margin-top: 2px;
}
.exp-faq-item.open .exp-faq-icon { background: #FFA000; color: #0c0a06; transform: rotate(45deg); }
.exp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.4s ease;
  padding: 0 24px;
}
.exp-faq-item.open .exp-faq-a { max-height: 400px; padding: 0 24px 24px; }
.exp-faq-a p { font-size: 15px; color: rgba(255,255,255,0.45); line-height: 1.75; }
@media (max-width: 767px) {
  .finder-flow { grid-template-columns: 1fr; }
  .finder-result { position: static; }
  .exp-faq-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Phase 2 — Blueprint Background
   ============================================================ */
.blueprint-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blueprint-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: blueprintDrift 28s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes blueprintDrift {
  0%   { transform: translate(0, 0) scale(1.0); }
  33%  { transform: translate(-18px, 12px) scale(1.02); }
  66%  { transform: translate(14px, -8px) scale(1.01); }
  100% { transform: translate(-6px, 16px) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .blueprint-svg { animation: none; }
}

/* ============================================================
   Phase 2 — CRT Scanline Overlay
   ============================================================ */
.crt-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.12) 3px,
    rgba(0, 0, 0, 0.12) 4px
  );
  animation: crtFlicker 0.12s steps(1, end) infinite;
}

@keyframes crtFlicker {
  0%,  89%, 100% { opacity: 0.45; }
  90%            { opacity: 0.38; }
  92%            { opacity: 0.52; }
  95%            { opacity: 0.42; }
}

@media (prefers-reduced-motion: reduce) {
  .crt-overlay { animation: none; opacity: 0.3; }
}

/* ============================================================
   Phase 2 — Terminal Window
   ============================================================ */
.terminal-window {
  display: inline-block;
  background: rgba(8, 6, 2, 0.82);
  border: 1px solid rgba(255, 179, 0, 0.22);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  margin: 28px 0 36px;
  min-width: 480px;
  max-width: 100%;
  box-shadow:
    0 0 0 1px rgba(255,179,0,0.08),
    0 8px 40px rgba(0,0,0,0.6),
    inset 0 0 80px rgba(255,120,0,0.03);
  backdrop-filter: blur(4px);
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,179,0,0.06);
  border-bottom: 1px solid rgba(255,179,0,0.14);
  border-radius: 6px 6px 0 0;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.terminal-dot--red    { background: #FF5F57; }
.terminal-dot--yellow { background: #FEBC2E; }
.terminal-dot--green  { background: #28C840; }

.terminal-title {
  margin-left: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,179,0,0.45);
  text-transform: uppercase;
  flex: 1;
  text-align: center;
}

.terminal-body {
  padding: 16px 20px 18px;
}

.terminal-prompt-line {
  color: rgba(255,179,0,0.5);
  margin-bottom: 10px;
  font-size: 12px;
}

.terminal-prompt {
  color: var(--accent);
  font-weight: 700;
}

.terminal-cmd {
  color: rgba(255,255,255,0.7);
}

.terminal-output {
  color: rgba(0, 230, 118, 0.85);
  white-space: pre;
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  min-height: 1.7em;
  word-break: break-word;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: rgba(0, 230, 118, 0.75);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursorBlink 1s steps(1, end) infinite;
}

@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ============================================================
   Certification Detail Modals — Phase 3
   ============================================================ */
.cert-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid #FFB300;
  color: #FFB300;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.cert-detail-btn:hover,
.cert-detail-btn:focus-visible {
  background: rgba(255, 179, 0, 0.12);
  outline: none;
}

.cert-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.cert-modal-backdrop[hidden] {
  display: none;
}

.cert-modal-panel {
  background: #12151C;
  border: 1px solid rgba(255, 179, 0, 0.3);
  border-radius: 6px;
  padding: 40px 36px 32px;
  max-width: 560px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.cert-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: border-color 0.2s, color 0.2s;
}

.cert-modal-close:hover {
  border-color: #FFB300;
  color: #FFB300;
}

.cert-modal-icon {
  font-size: 36px;
  color: #FFB300;
  margin-bottom: 12px;
}

.cert-modal-title {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.cert-modal-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

.cert-modal-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cert-modal-key {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 2px;
}

.cert-modal-val {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.cert-modal-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 480px) {
  .cert-modal-panel { padding: 32px 20px 24px; }
  .cert-modal-row   { grid-template-columns: 1fr; gap: 4px; }
}

/* Hero layout adjustments for Phase 2 */
.home-hero .hero-content {
  max-width: 780px;
  z-index: 3;
}

.home-hero .hero-headline {
  font-size: clamp(56px, 7vw, 88px);
  text-shadow: 0 0 80px rgba(255,179,0,0.3), 0 2px 8px rgba(0,0,0,0.6);
}

@media (max-width: 767px) {
  .terminal-window { min-width: 0; width: 100%; }
  .terminal-output { font-size: 11px; }
  .home-hero .hero-headline { font-size: 48px; }
}

/* ── Certification Compliance Matrix (ECO-49) ───────────── */
.cert-matrix-section {
  padding: 80px 0;
  background: var(--secondary);
}
.cert-matrix-section .section-header { margin-bottom: 28px; }
.cert-matrix-section p { color: var(--text-body); margin-top: 8px; font-size: 14px; }

.cert-matrix-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,179,0,0.04);
  border: 1px solid rgba(255,179,0,0.14);
  border-radius: var(--radius-card);
  padding: 12px 16px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}
.cert-matrix-search-wrap:focus-within { border-color: rgba(255,179,0,0.35); }
.cert-search-icon { color: var(--accent); font-size: 18px; flex-shrink: 0; }
#cert-search {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-mono);
  outline: none;
  flex: 1;
}
#cert-search::placeholder { color: rgba(255,255,255,0.22); }

.cert-table-wrap { overflow-x: auto; }
.cert-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
}
.cert-table th {
  padding: 10px 14px;
  text-align: center;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,179,0,0.18);
  background: rgba(255,179,0,0.04);
  white-space: nowrap;
}
.cert-table th:first-child { text-align: left; }
.cert-row {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: opacity 0.2s;
}
.cert-row:hover { background: rgba(255,255,255,0.025); }
.cert-row td {
  padding: 12px 14px;
  vertical-align: middle;
}
.cert-row td:first-child {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.cert-product-name {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
  margin-top: 2px;
}
.cert-cell {
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  padding: 8px 6px;
  transition: background 0.15s;
}
.cert-cell:hover   { background: rgba(255,255,255,0.05); }
.cert-cell:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 9px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  pointer-events: none;
  white-space: nowrap;
}
.cert-badge.pass { background: rgba(0,200,83,0.14); color: #00C853; border: 1px solid rgba(0,200,83,0.22); }
.cert-badge.fail { background: rgba(211,47,47,0.10); color: #EF5350; border: 1px solid rgba(211,47,47,0.18); }

.cert-detail-panel {
  margin-top: 20px;
  background: rgba(255,179,0,0.04);
  border: 1px solid rgba(255,179,0,0.18);
  border-radius: var(--radius-card);
  padding: 28px;
  position: relative;
}
.cert-detail-panel[hidden] { display: none; }
.cert-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  gap: 16px;
}
.cert-detail-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.cert-detail-close {
  background: rgba(255,255,255,0.07);
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 16px;
  line-height: 1;
  padding: 6px 11px;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.cert-detail-close:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.dp-result {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 4px 14px;
  border-radius: 3px;
}
.dp-result.pass { background: rgba(0,200,83,0.14); color: #00C853; }
.dp-result.fail { background: rgba(211,47,47,0.10); color: #EF5350; }
.dp-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.dp-spec-item {
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  padding: 10px 14px;
}
.dp-spec-key {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.dp-spec-val { color: var(--white); font-size: 14px; }
.dp-certs-row { font-size: 12px; color: rgba(255,255,255,0.45); margin-bottom: 14px; line-height: 1.6; }
.dp-certs-label { color: var(--accent); font-weight: 700; margin-right: 6px; }

/* ---------------------------------------------------------
   EXP Product Spec Drawer
   --------------------------------------------------------- */
.exp-spec-backdrop {
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(4px);
  z-index: 900; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.exp-spec-backdrop.open { opacity: 1; pointer-events: auto; }

.exp-spec-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(500px, 100vw);
  background: var(--secondary);
  border-left: 1px solid rgba(255, 179, 0, 0.2);
  z-index: 910;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.exp-spec-drawer.open { transform: translateX(0); }

.exp-sd-head {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px;
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.exp-sd-cat {
  display: block; font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 6px;
}
.exp-sd-title {
  font-family: var(--font-display); font-size: 20px;
  font-weight: 700; color: #fff; margin: 0; line-height: 1.2;
}
.exp-sd-close {
  flex-shrink: 0; width: 36px; height: 36px;
  border-radius: 6px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.6);
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 18px;
  transition: background 0.2s, color 0.2s;
}
.exp-sd-close:hover { background: rgba(255,179,0,0.12); color: var(--accent); }

.exp-sd-body {
  flex: 1; overflow-y: auto; padding: 24px 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,179,0,0.25) transparent;
}

.exp-sd-nec-banner {
  background: rgba(255, 179, 0, 0.08);
  border: 1px solid rgba(255, 179, 0, 0.2);
  border-left: 4px solid var(--accent);
  border-radius: 6px; padding: 12px 16px;
  margin-bottom: 22px;
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,0.75); line-height: 1.6;
}
.exp-sd-nec-banner strong { color: var(--accent); display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

.exp-sd-table {
  width: 100%; border-collapse: collapse;
  margin-bottom: 20px; font-size: 13px;
}
.exp-sd-table tr { border-bottom: 1px solid rgba(255,255,255,0.05); }
.exp-sd-table tr:last-child { border-bottom: none; }
.exp-sd-table td { padding: 10px 0; vertical-align: top; line-height: 1.5; }
.exp-sd-table td:first-child {
  color: rgba(255,255,255,0.4); font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  width: 38%; padding-right: 12px;
}
.exp-sd-table td:last-child { color: rgba(255,255,255,0.88); font-weight: 500; }

.exp-sd-certs { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-sd-cert {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px;
  background: rgba(255,179,0,0.08);
  border: 1px solid rgba(255,179,0,0.22);
  border-radius: 4px; font-size: 11px;
  font-family: var(--font-mono); color: #FFD54F;
}
.exp-sd-cert i { font-size: 12px; color: var(--accent); }

.exp-sd-foot {
  padding: 18px 28px 26px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(10,10,10,0.4);
}
.exp-sd-cta { width: 100%; text-align: center; padding: 13px; font-size: 15px; margin-bottom: 10px; }
.exp-sd-note { font-size: 11px; color: rgba(255,255,255,0.3); text-align: center; margin: 0; font-family: var(--font-mono); }

.product-card { cursor: pointer; }
.product-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
