@charset "UTF-8";
/* =============================================
   SolutionMall Engineering Enclosure
   Unified Design System — v6 (Template Aligned)
   ============================================= */

/* ── Local Fonts ── */
@import url('../fonts/inter.css');

/* ── Design Tokens ── */
:root {
  /* Brand Colors */
  --primary:        #0d2147;
  --primary-mid:    #1a3a6e;
  --primary-light:  #2a5298;
  --accent:         #0ea5e9;
  --accent-2:       #06b6d4;
  --accent-hover:   #0284c7;

  /* Neutral Palette */
  --white:          #ffffff;
  --bg:             #f7fafc;
  --surface:        rgba(255,255,255,0.92);
  --surface-solid:  #ffffff;
  --line:           rgba(148,163,184,0.24);
  --text:           #0f172a;
  --text-soft:      #475569;
  --text-muted:     #94a3b8;

  /* Status */
  --success:        #10b981;
  --warning:        #f59e0b;
  --danger:         #ef4444;

  /* Gradients */
  --grad-hero:      linear-gradient(135deg, rgba(13,33,71,0.93) 0%, rgba(26,58,110,0.87) 50%, rgba(14,165,233,0.72) 100%);
  --grad-dark:      linear-gradient(135deg, #0d2147 0%, #1a3a6e 50%, #1e3a8a 100%);
  --grad-accent:    linear-gradient(135deg, var(--accent), var(--accent-2));

  /* Shadows */
  --shadow-sm:      0 2px 8px rgba(15,23,42,0.08);
  --shadow-md:      0 4px 20px rgba(15,23,42,0.12);
  --shadow-lg:      0 8px 40px rgba(15,23,42,0.18);
  --shadow-xl:      0 18px 50px rgba(15,23,42,0.22);

  /* Radii */
  --r-sm:    6px;
  --r-md:    12px;
  --r-lg:    20px;
  --r-xl:    28px;
  --r-full:  999px;

  /* Layout */
  --container:      1320px;
  --header-h:       80px;
  --transition:     240ms cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; object-fit: cover; }
ul { list-style: none; }

/* ── Container ── */
.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* ══════════════════════════════════════════════
   HEADER — Template-aligned pill nav
══════════════════════════════════════════════ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  padding-top: 14px;
  transition: padding var(--transition);
}
.site-header.scrolled { padding-top: 8px; }

.header-bar {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  border-radius: var(--r-full);
  padding: 12px 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: all var(--transition);
}
.site-header.scrolled .header-bar {
  background: rgba(255,255,255,0.97);
  border-color: #dbe7f4;
  color: var(--text);
  box-shadow: 0 12px 32px rgba(15,23,42,0.10);
}

/* Logo */
.brand {
  width: 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.brand-logo {
  height: 34px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
/* On dark/transparent header, show white logo (header only) */
.site-header:not(.scrolled) .brand-logo {
  filter: brightness(0) invert(1);
}
/* On white scrolled header, show blue logo */
.site-header.scrolled .brand-logo {
  filter: none;
}
/* Footer logo - always show blue (footer has white background) */
.site-footer .brand-logo,
.footer-logo-link .brand-logo {
  filter: none !important;
}
.brand-url {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.site-header.scrolled .brand-url { color: var(--text-soft); }
.brand:hover .brand-url { color: var(--accent); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  overflow: hidden;
  justify-content: center;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 11px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  color: inherit;
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  background: rgba(14,165,233,0.15);
  color: #0ea5e9;
}
.site-header.scrolled .nav-link {
  color: var(--text);
}
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link[aria-current="page"] {
  background: rgba(14,165,233,0.10);
  color: #0369a1;
}

/* Header Tools */
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

/* Partner CRM Button */
.btn-crm {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  color: inherit;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-crm:hover {
  background: rgba(255,255,255,0.26);
}
.site-header.scrolled .btn-crm {
  background: #fff;
  border-color: #dbe7f4;
  color: var(--text);
}
.site-header.scrolled .btn-crm:hover {
  background: #eff6ff;
  color: #0369a1;
}

/* Browse Products Button in header */
.btn-browse-nav {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 800;
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(14,165,233,0.30);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-browse-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(14,165,233,0.40);
}

/* Language Dropdown */
.lang-wrap { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.14);
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.lang-btn:hover { background: rgba(255,255,255,0.24); }
.site-header.scrolled .lang-btn {
  background: #fff;
  border-color: #dbe7f4;
  color: var(--text);
}
.lang-btn-arrow {
  font-size: 10px;
  transition: transform var(--transition);
}
.lang-wrap[data-open="true"] .lang-btn-arrow { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  padding: 8px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid #dbe7f4;
  box-shadow: 0 22px 50px rgba(15,23,42,0.18);
  display: none;
  z-index: 99999;
  pointer-events: auto;
}
.lang-wrap[data-open="true"] .lang-menu { display: block; }
.lang-option {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition);
}
.lang-option:hover { background: #eff6ff; color: #0369a1; }
.lang-option.active { background: #dbeafe; color: #1d4ed8; font-weight: 700; }

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: inherit;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ══════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════ */
.hero-section {
  min-height: 72vh;
  max-height: 820px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--grad-dark);
  color: #fff;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 48px 0 40px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.hero-title .highlight {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 56ch;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--r-full);
  background: var(--grad-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(14,165,233,0.38);
  transition: all var(--transition);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(14,165,233,0.50);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.36);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.22);
}
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 8px;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.hero-visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}
.hero-visual img { width: 100%; height: 100%; }

/* ══════════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════════ */
.section {
  padding: 80px 0;
}
.section-alt { background: var(--bg); }
.section-dark {
  background: var(--grad-dark);
  color: #fff;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: rgba(14,165,233,0.10);
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-dark .section-eyebrow {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.section-dark .section-desc { color: rgba(255,255,255,0.72); }

/* ══════════════════════════════════════════════
   OVERVIEW SECTION
══════════════════════════════════════════════ */
.overview-section { background: var(--surface-solid); }
.subsection-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-mid);
  margin-bottom: 20px;
}
.coverage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.coverage-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}
.coverage-card:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}
.coverage-icon { font-size: 18px; }
.core-value-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.value-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bfdbfe;
}
.value-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg,#dbeafe,#e0f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.value-icon { font-size: 22px; }
.value-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--text-soft); line-height: 1.6; }
.risk-section { margin-top: 8px; }
.risk-table-wrap { overflow-x: auto; border-radius: var(--r-lg); }
.risk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.risk-table th {
  background: var(--primary-mid);
  color: #fff;
  padding: 12px 20px;
  text-align: left;
  font-weight: 700;
}
.risk-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}
.risk-table tr:nth-child(even) td { background: #f8fafc; }
.risk-table tr:hover td { background: #eff6ff; }

/* ══════════════════════════════════════════════
   PRODUCT CATEGORIES
══════════════════════════════════════════════ */
.categories-section { background: var(--bg); }
.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.cat-tab {
  padding: 10px 22px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-soft);
}
.cat-tab.active,
.cat-tab:hover {
  background: var(--primary-mid);
  border-color: var(--primary-mid);
  color: #fff;
}
.cat-panel { display: none; }
.cat-panel.active { display: block; }
.func-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.func-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.func-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bfdbfe;
}
.func-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.func-card-num {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: var(--grad-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.func-card-title { font-size: 15px; font-weight: 700; }
.func-card-role { font-size: 12px; color: var(--text-soft); margin-top: 2px; }
.func-items { display: grid; gap: 10px; }
.func-item {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: var(--r-md);
  transition: background var(--transition);
}
.func-item:hover { background: #eff6ff; }
.func-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}
.func-item-name { font-size: 13px; font-weight: 600; }
.func-item-desc { font-size: 12px; color: var(--text-soft); margin-top: 2px; }

/* ══════════════════════════════════════════════
   APPLICATION SCENARIOS
══════════════════════════════════════════════ */
.scenarios-section { background: var(--surface-solid); }
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.scenario-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
}
.scenario-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #bfdbfe;
}
.scenario-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.scenario-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.scenario-card:hover .scenario-img { transform: scale(1.06); }
.scenario-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,33,71,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.scenario-card:hover .scenario-img-overlay { opacity: 1; }
.scenario-view-btn {
  padding: 10px 22px;
  border-radius: var(--r-full);
  background: var(--grad-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.scenario-content { padding: 20px 22px; }
.scenario-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(14,165,233,0.10);
  color: #0369a1;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.scenario-content h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.scenario-content p { font-size: 13px; color: var(--text-soft); line-height: 1.6; margin-bottom: 12px; }
.scenario-products { display: flex; flex-wrap: wrap; gap: 6px; }

/* ══════════════════════════════════════════════
   SCENARIO ACCORDION CARDS
══════════════════════════════════════════════ */
.accordion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.scenario-expand-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
  opacity: 0;
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border-top: 0px solid #bfdbfe;
}
.scenario-card.expanded .scenario-expand-panel {
  max-height: 300px;
  opacity: 1;
  border-top: 2px solid #bfdbfe;
}
.scenario-card.expanded {
  border-color: #3b82f6;
  box-shadow: 0 8px 32px rgba(59,130,246,0.18);
  transform: translateY(-4px);
}
.scenario-expand-inner {
  padding: 20px 22px;
}
.scenario-expand-desc {
  font-size: 14px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 16px;
}
.scenario-expand-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.scenario-expand-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(14,165,233,0.25);
}
.scenario-expand-btn:hover {
  background: linear-gradient(135deg, #0284c7, #0891b2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14,165,233,0.35);
}
.scenario-expand-close {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.scenario-expand-close:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
}
@media (max-width: 900px) {
  .accordion-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .accordion-grid { grid-template-columns: 1fr; }
}

.product-tag {
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
}

/* ══════════════════════════════════════════════
   SOLUTIONS
══════════════════════════════════════════════ */
.solutions-section { background: var(--bg); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.solution-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  color: var(--text);
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bfdbfe;
}
.solution-num {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--grad-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}
.solution-card h4 { font-size: 14px; font-weight: 700; line-height: 1.4; }
.solution-card p { font-size: 13px; color: var(--text-soft); line-height: 1.6; flex: 1; }
.solution-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}
.solution-card:hover .solution-link { color: var(--accent-hover); }

/* ══════════════════════════════════════════════
   INTEGRATED SECTIONS (Selection Guide, Safety, Calc)
══════════════════════════════════════════════ */
.integrated-section { background: var(--surface-solid); }
.integrated-section:nth-of-type(even) { background: var(--bg); }

/* Force visibility for all reveal elements inside integrated sections */
.integrated-section .reveal,
.integrated-section .step-item,
.integrated-section .mistake-card,
.integrated-section .risk-ov-card,
.integrated-section .layer-item,
.integrated-section .eco-card,
.integrated-section .quality-tab-content,
.integrated-section .calc-panel {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  animation: none !important;
}

/* ══════════════════════════════════════════════
   INSIGHTS SECTION
══════════════════════════════════════════════ */
.insights-section { background: var(--bg); }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.insight-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.insight-icon { font-size: 28px; margin-bottom: 14px; }
.insight-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.insight-card p { font-size: 13.5px; color: var(--text-soft); line-height: 1.6; }
.comparison-table { margin-top: 12px; font-size: 13px; }
.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.comp-row.comp-header { font-weight: 700; color: var(--primary-mid); }
.comp-row span:first-child { color: var(--danger); }
.comp-row span:last-child { color: var(--success); }
.comp-row.comp-header span { color: inherit; }

/* ══════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════ */
.cta-section {
  background: var(--grad-dark);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-content { max-width: 640px; margin: 0 auto; }
.cta-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 32px;
  border-radius: var(--r-full);
  background: var(--grad-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(14,165,233,0.38);
  transition: all var(--transition);
}
.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(14,165,233,0.50);
}
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 32px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.36);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: all var(--transition);
}
.btn-cta-secondary:hover { background: rgba(255,255,255,0.22); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  background: var(--surface-solid);
  border-top: 1px solid var(--line);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 240px;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { height: 40px; width: auto; object-fit: contain; }
.footer-tagline { font-size: 13px; color: var(--text-soft); line-height: 1.5; }
.footer-url {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  transition: color var(--transition);
}
.footer-url:hover { color: var(--accent-hover); }

/* Social Icons */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0369a1;
  transition: all var(--transition);
}
.social-icon:hover {
  background: var(--primary-mid);
  border-color: var(--primary-mid);
  color: #fff;
  transform: translateY(-2px);
}
.social-icon svg { width: 16px; height: 16px; fill: currentColor; }

.footer-links-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-links-col ul { display: grid; gap: 10px; }
.footer-links-col a {
  font-size: 13px;
  color: var(--text-soft);
  transition: color var(--transition);
}
.footer-links-col a:hover { color: var(--accent); }

.footer-contact-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-soft);
}
.footer-contact-item a {
  color: var(--text-soft);
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--accent); }
.contact-icon { font-size: 16px; flex-shrink: 0; }
.footer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.btn-footer-browse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--r-full);
  background: var(--grad-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition);
}
.btn-footer-browse:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-footer-demand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--r-full);
  background: var(--bg);
  border: 1.5px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition);
}
.btn-footer-demand:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.footer-legal a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,33,71,0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-content {
  background: var(--surface-solid);
  border-radius: var(--r-xl);
  padding: 36px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  border: none;
  background: var(--bg);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.modal-close:hover { background: #fee2e2; color: var(--danger); }

/* ══════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--grad-accent);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all var(--transition);
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1280px) {
  .solutions-grid { grid-template-columns: repeat(3,1fr); }
  .core-value-grid { grid-template-columns: repeat(2,1fr); }
  .insights-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .func-grid { grid-template-columns: repeat(2,1fr); }
  .scenarios-grid { grid-template-columns: repeat(2,1fr); }
  .solutions-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; flex-direction: column; }
  .header-bar { grid-template-columns: 220px 1fr auto; }
}
@media (max-width: 768px) {
  :root { --header-h: 70px; }
  .section { padding: 56px 0; }
  .func-grid { grid-template-columns: 1fr; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
  .header-bar { grid-template-columns: 1fr auto; }
  .brand { min-width: unset; }
  .brand-logo { height: 30px; }
}
@media (max-width: 480px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .core-value-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .cat-tabs { flex-direction: column; align-items: stretch; }
}

/* FOOTER EXTENDED STYLES */
.footer-main { display: grid; grid-template-columns: 280px 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo-link { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.footer-logo-svg { height: 36px; width: auto; }
.footer-brand-url { font-size: 12px; color: var(--accent); font-weight: 600; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-soft); text-decoration: none; transition: color var(--transition); }
.footer-contact-item:hover { color: var(--accent); }
.footer-social { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.footer-nav-group { display: flex; flex-direction: column; }
.footer-nav-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-bottom: 16px; }
.footer-nav-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav-list a { font-size: 13px; color: var(--text-soft); text-decoration: none; transition: color var(--transition); }
.footer-nav-list a:hover { color: var(--accent); }
.footer-bottom-left { font-size: 13px; color: var(--text-muted); }
.footer-bottom-right { display: flex; gap: 12px; align-items: center; }
.footer-browse-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: var(--r-full); background: var(--grad-accent); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; transition: all var(--transition); }
.footer-browse-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.footer-demand-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 18px; border-radius: var(--r-full); background: transparent; border: 1.5px solid var(--line); color: var(--text); font-size: 13px; font-weight: 700; text-decoration: none; transition: all var(--transition); }
.footer-demand-btn:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 1024px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-main { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* Footer logo always white */
.footer-logo-svg {
  filter: brightness(0) invert(1);
}
