/* ==========================================================================
   AHSAN ASSOCIATES - WORLD-CLASS ENTERPRISE DESIGN SYSTEM
   Premier Independent Fire Safety, Risk Engineering & RCA Consultancy
   Inspired by: Apple, Arup, McKinsey, Jensen Hughes, WSP & Bloomberg Terminal
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Architectural Tokens & Alternating Section Palette
   -------------------------------------------------------------------------- */
:root {
  /* Softer Neutral Palette (Arup, WSP, Deloitte, McKinsey Refinement) */
  --slate-950: #0f172a;
  --slate-900: #1d2939; /* Primary Text & Slate Accent - Never Pure Black */
  --slate-800: #344054;
  --slate-700: #475467; /* Secondary & Body Text */
  --slate-600: #475467;
  --slate-500: #667085; /* Muted Text */
  --slate-400: #98a2b3;
  --slate-300: #d0d5dd;
  --slate-200: #e4e7ec; /* Soft 1px Card & Section Borders */
  --slate-100: #f2f4f7;
  --slate-50:  #f8fafc; /* Preferred Soft Neutral Background */

  /* Reserved Primary Accent (Restrained Use for CTAs & Critical Indicators) */
  --accent-orange: #ea580c;
  --accent-hover:  #c2410c;
  --accent-light:  #fff7ed;
  --accent-border: #ffedd5;
  --accent-glow:   transparent;

  /* Alternating Section Background Palette (Editorial Rhythm) */
  --bg-pure-white: #ffffff;
  --bg-light-gray: #f8fafc;
  --bg-warm-gray:  #f5f7fa;
  --bg-dark-navy:  #1d2939;
  --bg-dark-cta:   #101828;

  /* Explicit ACI™ Compliance Rating Tier Colors (Softened) */
  --tier1-bg:      #f0fdf4;
  --tier1-border:  #bbf7d0;
  --tier1-color:   #166534;
  --tier1-accent:  #16a34a;

  --tier2-bg:      #f0f9ff;
  --tier2-border:  #bae6fd;
  --tier2-color:   #075985;
  --tier2-accent:  #0284c7;

  --tier3-bg:      #fefce8;
  --tier3-border:  #fef08a;
  --tier3-color:   #854d0e;
  --tier3-accent:  #ca8a04;

  --tier4-bg:      #fff7ed;
  --tier4-border:  #ffedd5;
  --tier4-color:   #9a3412;
  --tier4-accent:  #ea580c;

  --tier5-bg:      #fef2f2;
  --tier5-border:  #fecaca;
  --tier5-color:   #991b1b;
  --tier5-accent:  #dc2626;

  /* Legacy aliases */
  --aci-green:       #16a34a;
  --aci-lightgreen:  #0284c7;
  --aci-yellow:      #ca8a04;
  --aci-orange:      #ea580c;
  --aci-red:         #dc2626;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Restrained Soft Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(16, 24, 40, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(16, 24, 40, 0.06), 0 1px 2px 0 rgba(16, 24, 40, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 12px 24px -4px rgba(16, 24, 40, 0.08);
  --shadow-glow: none;

  /* Elegant Border Radiuses */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Smooth Restrained Transitions */
  --transition: all 0.25s ease-in-out;
}

/* --------------------------------------------------------------------------
   2. Reset & Restrained Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg-pure-white);
  color: var(--slate-700); /* #475467 */
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900); /* #1D2939 */
  font-weight: 600; /* Restrained heading weight */
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p { margin-bottom: 0; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; }

/* --------------------------------------------------------------------------
   3. Alternating Section Utility Classes & Whitespace Flow
   -------------------------------------------------------------------------- */
.section-white { background-color: var(--bg-pure-white); }
.section-light-gray { background-color: var(--bg-light-gray); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.section-warm-gray { background-color: var(--bg-warm-gray); }
.section-dark-navy { background-color: var(--bg-dark-navy); color: #ffffff; border-top: 1px solid var(--slate-800); }
.section-dark-cta { background-color: var(--bg-dark-cta); color: #ffffff; position: relative; overflow: hidden; }

.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 56px 0;
  min-height: 66vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}

.badge-orange { background-color: var(--accent-light); color: var(--accent-orange); border-color: var(--accent-border); }
.badge-navy { background-color: rgba(255, 255, 255, 0.08); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: blur(6px); }

.section-header { margin-bottom: 34px; }
.section-header.text-center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-header .badge { margin-bottom: 12px; }

.section-title { font-size: 1.95rem; font-weight: 600; margin-bottom: 12px; color: inherit; line-height: 1.25; }
.section-dark-navy .section-title, .section-dark-cta .section-title { color: #ffffff; }

.section-subtitle { font-size: 0.98rem; color: var(--slate-700); line-height: 1.68; max-width: 680px; font-weight: 400; }
.section-dark-navy .section-subtitle, .section-dark-cta .section-subtitle { color: var(--slate-300); }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   4. Executive Buttons & Restrained Interactive Polish
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary { background-color: var(--slate-900); color: #ffffff; box-shadow: none; }
.btn-primary:hover { background-color: #101828; transform: translateY(-1px); }

.btn-accent { background-color: var(--accent-orange); color: #ffffff; box-shadow: none; }
.btn-accent:hover { background-color: var(--accent-hover); transform: translateY(-1px); }

.btn-outline-white { background-color: rgba(255, 255, 255, 0.06); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(4px); }
.btn-outline-white:hover { background-color: rgba(255, 255, 255, 0.12); border-color: #ffffff; transform: translateY(-1px); }

.btn-outline { background-color: #ffffff; color: var(--slate-900); border: 1px solid var(--slate-200); font-weight: 500; }
.btn-outline:hover { background-color: var(--slate-50); border-color: var(--slate-300); color: var(--slate-900); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; white-space: nowrap; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* --------------------------------------------------------------------------
   5. Slim Executive Header & Top Bar
   -------------------------------------------------------------------------- */
.top-bar { background-color: var(--bg-pure-white); border-bottom: 1px solid var(--slate-200); padding: 8px 0; font-size: 0.8rem; color: var(--slate-600); overflow-x: auto; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; white-space: nowrap; gap: 20px; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.top-bar-left span, .top-bar-right span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.top-bar i { color: var(--accent-orange); font-size: 0.88rem; }

.header { position: sticky; top: 0; z-index: 1000; background-color: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--slate-200); height: 76px; display: flex; align-items: center; }
.header-container { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; flex-wrap: nowrap; }

.brand-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.brand-logo img { height: 44px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; display: block !important; }
.brand-text { display: flex; flex-direction: column; justify-content: center; white-space: nowrap; }
.brand-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--slate-900); line-height: 1.15; letter-spacing: -0.015em; }
.brand-tagline { font-size: 0.68rem; font-weight: 600; color: var(--slate-500); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; }

.nav-menu { list-style: none; display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; white-space: nowrap; flex-shrink: 0; }
.nav-menu li { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav-link { font-size: 0.88rem; font-weight: 500; color: var(--slate-700); padding: 6px 0; position: relative; transition: var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--slate-900); }
.nav-link.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background-color: var(--accent-orange); }

/* --------------------------------------------------------------------------
   6. HERO SECTION (Understated Executive Presentation)
   -------------------------------------------------------------------------- */
.hero-enterprise {
  position: relative;
  min-height: 66vh;
  display: flex;
  align-items: center;
  padding: 64px 0;
  background-color: var(--slate-900);
  color: #ffffff;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(29, 41, 57, 0.88) 55%, rgba(29, 41, 57, 0.55) 100%),
              url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  z-index: 1;
  transform: scale(1.01);
  transition: transform 12s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-enterprise:hover .hero-bg-image { transform: scale(1.03); }
.hero-enterprise .container { position: relative; z-index: 2; }

.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 54px; align-items: center; }

.hero-title {
  font-size: 2.6rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.22;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-title span { color: #ffffff; border-bottom: 2px solid var(--accent-orange); }
.hero-desc { font-size: 1.05rem; color: var(--slate-300); line-height: 1.68; margin-bottom: 28px; max-width: 580px; font-weight: 400; }

.hero-benefits-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 22px; }
.benefit-point { display: flex; flex-direction: column; gap: 4px; }
.benefit-point i { color: var(--accent-orange); font-size: 1rem; }
.benefit-point span { font-size: 0.84rem; font-weight: 500; color: var(--slate-200); line-height: 1.4; }

.hero-btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Dashboard Panel */
.hero-dashboard-preview {
  background: rgba(29, 41, 57, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.hero-dashboard-preview:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.25); }

.dash-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 18px; }
.dash-title { font-size: 0.88rem; font-weight: 600; color: #ffffff; display: flex; align-items: center; gap: 8px; }
.dash-title i { color: var(--accent-orange); }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background-color: var(--tier1-accent); display: inline-block; box-shadow: 0 0 8px var(--tier1-accent); animation: pulse 2.5s infinite; }
@keyframes pulse { 0% { transform: scale(0.95); opacity: 0.75; } 50% { transform: scale(1.2); opacity: 1; } 100% { transform: scale(0.95); opacity: 0.75; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.dash-gauge-box { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-md); padding: 22px; text-align: center; margin-bottom: 18px; }
.gauge-lbl { font-size: 0.74rem; font-weight: 600; text-transform: uppercase; color: var(--slate-400); letter-spacing: 0.05em; margin-bottom: 6px; }
.gauge-score { font-family: var(--font-heading); font-size: 3.2rem; font-weight: 700; color: #ffffff; line-height: 1; margin-bottom: 6px; }
.gauge-score span { font-size: 1.5rem; color: var(--tier1-accent); }

.meter-wrapper { margin-top: 14px; }
.gradient-meter { height: 6px; border-radius: var(--radius-full); background: linear-gradient(to right, var(--tier1-accent), var(--tier2-accent), var(--tier3-accent), var(--tier4-accent), var(--tier5-accent)); position: relative; }
.meter-dot { position: absolute; top: -4px; left: 96%; width: 14px; height: 14px; background-color: #ffffff; border: 2px solid var(--slate-900); border-radius: 50%; transform: translateX(-50%); }

.dash-metrics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dash-m-box { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: var(--radius-sm); padding: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }
.dash-m-box span:first-child { color: var(--slate-300); font-weight: 400; }
.dash-m-box span:last-child { font-weight: 600; color: var(--tier1-accent); }

/* --------------------------------------------------------------------------
   7. CLIENT TRUST SECTION (Restrained Corporate Cards)
   -------------------------------------------------------------------------- */
.trust-showcase-section { background: var(--bg-light-gray); padding: 36px 0; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.trust-flex-header { text-align: center; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; color: var(--slate-500); letter-spacing: 0.06em; margin-bottom: 18px; }
.trust-glass-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.glass-card-std { background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 14px 10px; text-align: center; font-weight: 600; font-size: 0.82rem; color: var(--slate-900); box-shadow: var(--shadow-xs); transition: var(--transition); }
.glass-card-std:hover { border-color: var(--slate-300); color: var(--slate-900); transform: translateY(-1px); }

/* --------------------------------------------------------------------------
   8. FACILITY RISK ESTIMATOR WIZARD
   -------------------------------------------------------------------------- */
.estimator-section { background-color: var(--bg-warm-gray); padding: 56px 0; min-height: 66vh; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--slate-200); }

.estimator-meta-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 940px;
  margin: 0 auto 28px auto;
}

.estimator-meta-box {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
  font-size: 0.82rem;
}
.estimator-meta-box span:first-child { color: var(--slate-600); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.estimator-meta-box span:last-child { font-weight: 600; color: var(--slate-900); }

.wizard-card-wrapper { background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; max-width: 940px; margin: 0 auto; width: 100%; }

.wizard-header-bar { background: var(--slate-900); color: #ffffff; padding: 18px 28px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--slate-800); }
.wizard-header-bar h4 { font-size: 1.05rem; font-weight: 600; color: #ffffff; display: flex; align-items: center; gap: 10px; margin-bottom: 0; }
.wizard-header-bar h4 i { color: var(--accent-orange); }
.wizard-header-bar .step-badge-group { display: flex; align-items: center; gap: 12px; }
.wizard-header-bar .engine-status { font-size: 0.72rem; background: rgba(255, 255, 255, 0.08); color: var(--slate-300); border: 1px solid rgba(255, 255, 255, 0.15); padding: 4px 10px; border-radius: var(--radius-full); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.wizard-header-bar span#wizard-step-label { font-size: 0.84rem; font-weight: 500; color: #ffffff; }

.wizard-progress-track { height: 4px; background: var(--slate-200); width: 100%; position: relative; overflow: hidden; }
.wizard-progress-fill { height: 100%; background: var(--accent-orange); width: 12.5%; transition: width 0.4s ease; }

.wizard-body { padding: 32px 36px; min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; }
.wizard-step-card { animation: fadeIn 0.3s ease; }
.wizard-step-title { font-size: 1.3rem; font-weight: 600; color: var(--slate-900); margin-bottom: 6px; letter-spacing: -0.015em; }
.wizard-step-sub { font-size: 0.92rem; color: var(--slate-600); margin-bottom: 22px; line-height: 1.6; }

.wizard-options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.wizard-options-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.wizard-options-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.wizard-option-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: #ffffff;
  cursor: pointer;
  transition: var(--transition);
}

.wizard-option-label input { accent-color: var(--accent-orange); width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; cursor: pointer; }
.opt-text { display: flex; flex-direction: column; gap: 3px; }
.opt-text strong { font-size: 0.88rem; font-weight: 600; color: var(--slate-900); display: flex; align-items: center; gap: 8px; }
.opt-text small { font-size: 0.76rem; color: var(--slate-500); font-weight: 400; line-height: 1.35; }

.wizard-option-label:hover { border-color: var(--slate-300); background: var(--slate-50); }
.wizard-option-label:has(input:checked) { border-color: var(--accent-orange); background: var(--accent-light); }
.wizard-option-label:has(input:checked) .opt-text strong { color: var(--slate-900); }

.wizard-footer-bar { padding: 18px 36px; background: var(--slate-50); border-top: 1px solid var(--slate-200); display: flex; justify-content: space-between; align-items: center; }

/* Wizard Result Panel */
.result-panel { display: none; animation: fadeIn 0.35s ease; }
.result-header-row { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; background: var(--slate-900); color: #ffffff; border-radius: var(--radius-md); padding: 28px; margin-bottom: 24px; align-items: center; }
.result-pct-display { font-family: var(--font-heading); font-size: 3.2rem; font-weight: 700; color: #ffffff; line-height: 1; margin-bottom: 6px; }
.result-rec-section { background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 24px; }
.result-rec-section h5 { font-size: 0.98rem; color: var(--slate-900); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-weight: 600; }

/* --------------------------------------------------------------------------
   9. CORPORATE RISK GOVERNANCE
   -------------------------------------------------------------------------- */
.urgency-section {
  background-color: #ffffff;
  color: var(--slate-900);
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  min-height: 66vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.urgency-glow { display: none; }
.urgency-grid { display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.urgency-headline h2 { font-size: 2rem; font-weight: 600; color: var(--slate-900); margin-bottom: 14px; line-height: 1.22; letter-spacing: -0.015em; }
.urgency-headline p { color: var(--slate-700); font-size: 0.96rem; line-height: 1.68; margin-bottom: 20px; font-weight: 400; }

.urgency-cards-matrix { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.urgency-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.urgency-box:hover { transform: translateY(-2px); background: #ffffff; border-color: var(--slate-300); box-shadow: var(--shadow-sm); }

.u-num { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--slate-900); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; letter-spacing: -0.015em; }
.u-num i { font-size: 1.15rem; color: var(--slate-500); transition: var(--transition); }
.urgency-box:hover .u-num i { color: var(--accent-orange); }
.u-title { font-size: 0.92rem; font-weight: 600; color: var(--slate-900); margin-bottom: 6px; }
.u-desc { font-size: 0.84rem; color: var(--slate-700); line-height: 1.6; }

/* --------------------------------------------------------------------------
   10. ACI™ TERMINAL SHOWCASE
   -------------------------------------------------------------------------- */
.aci-terminal-section { background-color: var(--bg-pure-white); padding: 56px 0; min-height: 66vh; display: flex; flex-direction: column; justify-content: center; }
.bloomberg-terminal { background: var(--slate-900); color: #ffffff; border: 1px solid var(--slate-800); border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; padding: 28px; }

.terminal-top-row { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 32px; margin-bottom: 28px; align-items: start; }
.trend-chart-box { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-sm); padding: 20px; }
.trend-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 0.82rem; font-weight: 500; }
.trend-bar-row:last-child { margin-bottom: 0; }
.t-lbl { width: 80px; color: var(--slate-400); text-align: right; }
.t-track { flex-grow: 1; height: 12px; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius-full); overflow: hidden; position: relative; }
.t-fill { height: 100%; border-radius: var(--radius-full); transition: width 1s ease; }
.t-val { width: 45px; font-weight: 600; color: #ffffff; }

/* Interactive Risk Heatmap Matrix */
.matrix-container { margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.risk-matrix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.matrix-cell {
  padding: 12px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.78rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.matrix-cell.red { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border-color: rgba(239, 68, 68, 0.3); }
.matrix-cell.orange { background: rgba(249, 115, 22, 0.15); color: #fdba74; border-color: rgba(249, 115, 22, 0.3); }
.matrix-cell.yellow { background: rgba(234, 179, 8, 0.15); color: #fde047; border-color: rgba(234, 179, 8, 0.3); }
.matrix-cell.green { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border-color: rgba(16, 185, 129, 0.3); }

.matrix-cell:hover, .matrix-cell.active-cell { border-color: #ffffff; transform: scale(1.02); }

.matrix-output-box { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-sm); padding: 22px; min-height: 110px; display: flex; align-items: center; }

/* --------------------------------------------------------------------------
   11. 7-STEP ENGINEERING METHODOLOGY
   -------------------------------------------------------------------------- */
.methodology-section { background: var(--bg-light-gray); padding: 56px 0; min-height: 66vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.workflow-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; position: relative; margin-top: 28px; }

.workflow-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--slate-900);
  border-radius: var(--radius-xs);
  padding: 18px 12px;
  position: relative;
  transition: var(--transition);
}

.workflow-card:hover { transform: translateY(-2px); border-top-color: var(--accent-orange); box-shadow: var(--shadow-sm); }

.w-num { width: 28px; height: 28px; border-radius: 50%; background: var(--slate-900); color: #ffffff; font-weight: 700; font-size: 0.75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; transition: var(--transition); }
.workflow-card:hover .w-num { background: var(--accent-orange); }

.w-title { font-size: 0.88rem; font-weight: 700; color: var(--slate-900); margin-bottom: 6px; line-height: 1.25; }
.w-desc { font-size: 0.75rem; color: var(--slate-600); line-height: 1.45; }

/* --------------------------------------------------------------------------
   12. ENTERPRISE CASE STUDIES (Storytelling Profiles with Metrics)
   -------------------------------------------------------------------------- */
.case-studies-section { background: var(--bg-pure-white); padding: 56px 0; min-height: 66vh; display: flex; flex-direction: column; justify-content: center; }
.case-study-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.case-study-card { background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-xs); transition: var(--transition); display: flex; flex-direction: column; }
.case-study-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--slate-300); }

.cs-image-wrap { position: relative; height: 180px; overflow: hidden; }
.cs-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-study-card:hover .cs-image-wrap img { transform: scale(1.03); }

.cs-tag-badge { position: absolute; top: 14px; left: 14px; background: var(--slate-900); color: #ffffff; padding: 4px 10px; border-radius: var(--radius-xs); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.cs-body { padding: 26px; display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; }
.cs-client { font-size: 1.2rem; font-weight: 600; color: var(--slate-900); margin-bottom: 4px; }
.cs-sector { font-size: 0.76rem; font-weight: 600; color: var(--slate-500); margin-bottom: 18px; display: block; text-transform: uppercase; letter-spacing: 0.04em; }

.cs-stages-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.cs-stage-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; font-size: 0.84rem; border-bottom: 1px solid var(--slate-100); padding-bottom: 10px; }
.cs-stage-row:last-child { border-bottom: none; }
.cs-stage-lbl { font-weight: 600; color: var(--slate-900); display: flex; align-items: center; gap: 6px; }
.cs-stage-lbl i { color: var(--accent-orange); font-size: 0.85rem; }
.cs-stage-val { color: var(--slate-700); line-height: 1.5; font-weight: 400; }

.cs-metric-bar { background: var(--tier1-bg); border: 1px solid var(--tier1-border); border-radius: var(--radius-sm); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; }
.metric-txt { font-size: 0.8rem; font-weight: 600; color: var(--tier1-color); }
.metric-num { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--tier1-accent); }

/* --------------------------------------------------------------------------
   13. ASYMMETRICAL MASONRY INDUSTRIES GALLERY (Editorial Restraint Showcase)
   -------------------------------------------------------------------------- */
.industries-showcase-section { background: var(--bg-warm-gray); color: var(--slate-900); padding: 56px 0; min-height: 66vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.masonry-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 175px; gap: 14px; }

.masonry-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--slate-200); cursor: pointer; background: #ffffff; }
.masonry-item.col-2 { grid-column: span 2; }
.masonry-item.row-2 { grid-row: span 2; height: 364px; }

.masonry-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.6s ease; z-index: 1; }
.masonry-item::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(29, 41, 57, 0.92) 15%, rgba(29, 41, 57, 0.35) 65%, rgba(29, 41, 57, 0.05) 100%); z-index: 2; transition: var(--transition); }
.masonry-item:hover .masonry-bg { transform: scale(1.04); }
.masonry-item:hover::after { background: linear-gradient(to top, rgba(29, 41, 57, 0.96) 25%, rgba(234, 88, 12, 0.2) 100%); }

.masonry-content { position: absolute; bottom: 18px; left: 18px; right: 18px; z-index: 3; transition: var(--transition); }
.masonry-content i { font-size: 1.3rem; color: var(--accent-orange); margin-bottom: 8px; display: block; }
.masonry-content h4 { font-size: 1.1rem; font-weight: 600; color: #ffffff; margin-bottom: 4px; }
.masonry-content p { font-size: 0.8rem; color: var(--slate-300); line-height: 1.5; opacity: 0; max-height: 0; overflow: hidden; transition: var(--transition); font-weight: 400; }
.masonry-item:hover .masonry-content p { opacity: 1; max-height: 80px; margin-top: 6px; }

/* --------------------------------------------------------------------------
   14. EXECUTIVE TESTIMONIALS & WHY US BLOCKS
   -------------------------------------------------------------------------- */
.testimonials-section { background: var(--bg-warm-gray); padding: 56px 0; min-height: 66vh; display: flex; flex-direction: column; justify-content: center; }
.testimonials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.testimonial-panel { background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 28px; position: relative; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-xs); transition: var(--transition); }
.testimonial-panel:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--slate-300); }

.quote-icon-top { font-size: 1.6rem; color: var(--slate-400); opacity: 0.3; margin-bottom: 14px; }
.quote-text { font-size: 0.9rem; color: var(--slate-700); line-height: 1.68; font-style: normal; margin-bottom: 22px; font-weight: 400; }
.author-info { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--slate-100); padding-top: 16px; }
.author-meta h5 { font-size: 0.88rem; font-weight: 600; color: var(--slate-900); margin-bottom: 2px; }
.author-meta span { font-size: 0.76rem; color: var(--slate-600); font-weight: 500; display: block; }
.author-meta small { font-size: 0.75rem; color: var(--slate-500); }

.testim-badge { background: var(--tier1-bg); color: var(--tier1-color); border: 1px solid var(--tier1-border); padding: 3px 8px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 600; white-space: nowrap; }

/* Why Us Visual Blocks */
.why-visual-section { background: var(--bg-pure-white); padding: 56px 0; min-height: 66vh; display: flex; flex-direction: column; justify-content: center; }
.why-blocks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-visual-box { border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 30px; background: #ffffff; transition: var(--transition); box-shadow: var(--shadow-xs); }
.why-visual-box:hover { background: #ffffff; box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: var(--slate-300); }
.why-visual-box i { font-size: 1.6rem; color: var(--slate-700); margin-bottom: 16px; display: block; transition: var(--transition); }
.why-visual-box:hover i { color: var(--accent-orange); }
.why-visual-box h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: var(--slate-900); }
.why-visual-box p { font-size: 0.88rem; color: var(--slate-700); line-height: 1.62; font-weight: 400; }

/* --------------------------------------------------------------------------
   15. BOARDROOM-STYLE EXECUTIVE CLOSE
   -------------------------------------------------------------------------- */
.boardroom-close-section {
  background-color: var(--slate-900);
  color: #ffffff;
  padding: 64px 0;
  min-height: 66vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--slate-800);
  position: relative;
  text-align: center;
}

.boardroom-close-section h2 { font-size: 2.3rem; font-weight: 600; color: #ffffff; margin-bottom: 16px; line-height: 1.22; }
.boardroom-close-section p { font-size: 1.05rem; color: var(--slate-300); max-width: 650px; margin: 0 auto 34px auto; line-height: 1.68; font-weight: 400; }
.boardroom-ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

.trust-underneath { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 28px; display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; font-size: 0.82rem; color: var(--slate-400); font-weight: 400; }
.trust-underneath span { display: flex; align-items: center; gap: 8px; }
.trust-underneath i { color: var(--accent-orange); font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   16. INNER PAGE BANNER & EXISTING MODULAR CLASSES
   -------------------------------------------------------------------------- */
.page-banner { background-color: var(--bg-pure-white); border-bottom: 1px solid var(--slate-200); padding: 48px 0; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.785rem; color: var(--slate-500); font-weight: 400; margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--accent-orange); }
.page-banner-title { font-size: 2rem; font-weight: 600; color: var(--slate-900); margin-bottom: 10px; }
.page-banner-sub { font-size: 1rem; color: var(--slate-700); max-width: 680px; line-height: 1.68; font-weight: 400; }

.hub-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.hub-sidebar { background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 8px; position: sticky; top: 88px; box-shadow: var(--shadow-xs); }
.hub-tab { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 14px; text-align: left; font-size: 0.88rem; font-weight: 500; color: var(--slate-700); background: transparent; border-radius: var(--radius-xs); cursor: pointer; transition: var(--transition); }
.hub-tab:hover { background-color: var(--slate-50); color: var(--slate-900); }
.hub-tab.active { background-color: var(--slate-900); color: #ffffff; font-weight: 600; }
.hub-tab.active i { color: var(--accent-orange); }
.hub-panel { display: none; }
.hub-panel.active { display: block; animation: fadeIn 0.2s ease forwards; }

.service-box { background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 26px; transition: var(--transition); display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-xs); }
.service-box:hover { border-color: var(--slate-300); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.service-icon { width: 38px; height: 38px; border-radius: var(--radius-xs); background: var(--slate-100); color: var(--slate-700); display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 14px; }
.service-box h4 { font-size: 1.05rem; color: var(--slate-900); margin-bottom: 8px; font-weight: 600; }
.service-box p { font-size: 0.875rem; color: var(--slate-700); line-height: 1.6; margin-bottom: 16px; font-weight: 400; }
.service-link { font-size: 0.82rem; font-weight: 600; color: var(--accent-orange); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }

.panel-filters { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.pill-btn { padding: 6px 14px; border-radius: var(--radius-full); border: 1px solid var(--slate-200); background: #ffffff; color: var(--slate-700); font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: var(--transition); }
.pill-btn:hover, .pill-btn.active { background: var(--slate-900); color: #ffffff; border-color: var(--slate-900); }

/* Rating Card grid inside ACI pages */
.aci-gradient-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; }
.aci-card, .aci-segment { padding: 20px; border-radius: var(--radius-sm); text-align: left; cursor: pointer; border: 1px solid var(--slate-200); transition: var(--transition); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.aci-card:hover, .aci-segment:hover, .aci-card.active, .aci-segment.active { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.aci-card.tier-1, .aci-segment.l1 { background-color: var(--tier1-bg); border-color: var(--tier1-border); color: var(--tier1-color); border-top: 3px solid var(--tier1-accent); }
.aci-card.tier-2, .aci-segment.l2 { background-color: var(--tier2-bg); border-color: var(--tier2-border); color: var(--tier2-color); border-top: 3px solid var(--tier2-accent); }
.aci-card.tier-3, .aci-segment.l3 { background-color: var(--tier3-bg); border-color: var(--tier3-border); color: var(--tier3-color); border-top: 3px solid var(--tier3-accent); }
.aci-card.tier-4, .aci-segment.l4 { background-color: var(--tier4-bg); border-color: var(--tier4-border); color: var(--tier4-color); border-top: 3px solid var(--tier4-accent); }
.aci-card.tier-5, .aci-segment.l5 { background-color: var(--tier5-bg); border-color: var(--tier5-border); color: var(--tier5-color); border-top: 3px solid var(--tier5-accent); }
.tier-lbl { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; opacity: 0.85; letter-spacing: 0.05em; margin-bottom: 2px; }
.tier-pct { font-size: 1.25rem; font-weight: 700; line-height: 1.1; margin-bottom: 6px; }
.tier-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.tier-desc { font-size: 0.79rem; opacity: 0.9; line-height: 1.5; font-weight: 400; }

/* --------------------------------------------------------------------------
   LIVE ACI™ COMPLIANCE SIMULATOR CONSOLE (Interactive Dual-Panel Engine)
   -------------------------------------------------------------------------- */
.simulator-section { background-color: var(--bg-warm-gray); padding: 56px 0; min-height: 66vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.sim-console-wrapper { background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; max-width: 1140px; margin: 0 auto; width: 100%; }
.sim-console-body { display: grid; grid-template-columns: 1.6fr 1.05fr; gap: 0; }
.sim-inputs-col { padding: 32px 36px; border-right: 1px solid var(--slate-200); max-height: 660px; overflow-y: auto; }
.sim-vector-block { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px dashed var(--slate-200); }
.sim-vector-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sim-vector-title { font-size: 1rem; font-weight: 600; color: var(--slate-900); display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; letter-spacing: -0.01em; }
.sim-vector-desc { font-size: 0.81rem; color: var(--slate-500); margin-bottom: 14px; }

.sim-radio-group { display: flex; flex-direction: column; gap: 10px; }
.sim-option { display: flex; align-items: flex-start; justify-content: space-between; padding: 12px 16px; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); background: #ffffff; cursor: pointer; transition: var(--transition); }
.sim-option:hover { background: var(--slate-50); border-color: var(--slate-300); }
.sim-option:has(input:checked) { border-color: var(--accent-orange); background: var(--accent-light); }
.sim-option input { accent-color: var(--accent-orange); width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; cursor: pointer; }
.sim-opt-content { display: flex; align-items: flex-start; gap: 12px; flex-grow: 1; }
.sim-opt-text { font-size: 0.86rem; font-weight: 500; color: var(--slate-900); line-height: 1.45; }
.sim-pts-badge { font-size: 0.74rem; font-weight: 600; color: var(--slate-600); background: var(--slate-100); padding: 3px 8px; border-radius: var(--radius-xs); white-space: nowrap; margin-left: 10px; }
.sim-option:has(input:checked) .sim-pts-badge { background: var(--accent-orange); color: #ffffff; }

.sim-output-col { background: var(--slate-900); color: #ffffff; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.sim-score-card { text-align: center; padding: 24px; background: rgba(255,255,255,0.03); border: 1px solid var(--slate-800); border-radius: var(--radius-sm); margin-bottom: 24px; }
.sim-big-num { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 700; color: #ffffff; line-height: 1; margin: 10px 0 6px 0; letter-spacing: -0.02em; }
.sim-meter-track { height: 6px; background: var(--slate-800); border-radius: var(--radius-full); overflow: hidden; margin: 16px 0 8px 0; }
.sim-meter-fill { height: 100%; background: var(--tier2-accent); width: 84%; transition: width 0.35s ease; }

.sim-metric-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--slate-800); font-size: 0.85rem; }
.sim-metric-row:last-child { border-bottom: none; }
.sim-metric-val { font-weight: 600; color: #ffffff; }

/* Verification Portal & Contact */
.verify-section { background-color: var(--bg-warm-gray); color: var(--slate-900); padding: 56px 0; min-height: 66vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.verify-box-card { background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 38px; max-width: 780px; margin: 0 auto; box-shadow: var(--shadow-xs); }
.verify-search-bar { display: flex; gap: 12px; margin-top: 22px; }
.verify-input { flex-grow: 1; background: #ffffff; border: 1px solid var(--slate-300); color: var(--slate-900); padding: 12px 18px; border-radius: var(--radius-xs); font-size: 0.94rem; }
.verify-input:focus { border-color: var(--accent-orange); }
.verified-card { background: var(--tier1-bg); color: var(--slate-900); border-radius: var(--radius-sm); padding: 28px; border: 1px solid var(--tier1-border); border-left: 5px solid var(--tier1-accent); box-shadow: var(--shadow-xs); }
.not-found-card { background: var(--tier5-bg); color: var(--tier5-color); border: 1px solid var(--tier5-border); border-radius: var(--radius-sm); padding: 22px; display: flex; align-items: center; gap: 12px; }
.verif-badge-green { display: inline-flex; align-items: center; gap: 6px; background: var(--tier1-accent); color: #ffffff; padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.74rem; font-weight: 600; text-transform: uppercase; margin-bottom: 16px; }

.contact-section { background-color: var(--bg-warm-gray); padding: 56px 0; min-height: 66vh; display: flex; flex-direction: column; justify-content: center; }
.contact-card { background: #ffffff; color: var(--slate-900); border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 44px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; box-shadow: var(--shadow-sm); }
.form-box { background: #ffffff; color: var(--slate-900); padding: 0; border: none; box-shadow: none; }

.exec-info-card { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.exec-info-block { border-bottom: 1px solid var(--slate-200); padding-bottom: 16px; }
.exec-info-block:last-child { border-bottom: none; padding-bottom: 0; }
.exec-info-label { font-size: 0.74rem; font-weight: 600; text-transform: uppercase; color: var(--slate-500); letter-spacing: 0.05em; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.exec-info-label i { color: var(--accent-orange); font-size: 0.88rem; }
.exec-info-val { font-size: 0.94rem; font-weight: 600; color: var(--slate-900); line-height: 1.45; }
.exec-info-val small { font-size: 0.78rem; font-weight: 400; color: var(--slate-600); display: block; margin-top: 2px; }

.form-field { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-field label { font-size: 0.86rem; font-weight: 500; color: var(--slate-700); margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.form-input, .form-select { height: 52px; background: #ffffff; border: 1px solid var(--slate-300); border-radius: 10px; padding: 0 16px; font-size: 0.92rem; color: var(--slate-900); transition: var(--transition); width: 100%; font-weight: 400; }
.form-input::placeholder { color: var(--slate-400); font-weight: 400; }
.form-input:focus, .form-select:focus, textarea.form-input:focus { border-color: var(--accent-orange); outline: none; box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12); }
textarea.form-input { height: auto; min-height: 180px; padding: 14px 16px; line-height: 1.6; resize: vertical; }

.form-section-divider { font-size: 0.92rem; font-weight: 600; color: var(--slate-900); margin: 28px 0 18px 0; border-bottom: 1px solid var(--slate-200); padding-bottom: 8px; display: flex; align-items: center; gap: 8px; letter-spacing: -0.01em; }
.form-section-divider:first-of-type { margin-top: 0; }
.form-section-divider i { color: var(--accent-orange); font-size: 0.9rem; }

.trust-strip { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; padding: 18px 24px; background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); font-size: 0.84rem; font-weight: 500; color: var(--slate-700); box-shadow: var(--shadow-xs); }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip i { color: var(--accent-orange); font-size: 0.88rem; }

/* Modals */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; padding: 16px; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-container { background: #ffffff; border-radius: var(--radius-sm); max-width: 740px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-md); padding: 36px; position: relative; border: 1px solid var(--slate-200); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--slate-100); color: var(--slate-600); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.modal-close:hover { background: var(--slate-900); color: #ffffff; }

/* Footer */
.footer { background-color: var(--slate-900); color: var(--slate-400); padding: 64px 0 32px 0; font-size: 0.86rem; border-top: 1px solid var(--slate-800); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; margin-bottom: 44px; }
.footer h5 { color: #ffffff; font-size: 0.84rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 0.77rem; color: var(--slate-500); }

/* --------------------------------------------------------------------------
   17. ACI™ DIGITAL INTELLIGENCE PLATFORM™ (Enterprise Software Workbench)
   -------------------------------------------------------------------------- */
.platform-section {
  background-color: var(--bg-warm-gray);
  padding: 48px 0;
  min-height: 66vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.platform-workbench {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.platform-header-bar {
  background: var(--slate-900);
  color: #ffffff;
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--slate-800);
  flex-wrap: wrap;
  gap: 12px;
}

.platform-title-group { display: flex; align-items: center; gap: 14px; }
.platform-logo-icon { width: 34px; height: 34px; background: var(--accent-orange); border-radius: var(--radius-xs); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #ffffff; font-weight: 700; }

.platform-meta-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); padding: 4px 10px; border-radius: var(--radius-full); font-weight: 500; color: var(--slate-300); }

.platform-nav-row {
  background: var(--slate-900);
  border-bottom: 1px solid var(--slate-800);
  padding: 0 28px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.platform-nav-btn {
  background: transparent;
  color: var(--slate-400);
  padding: 14px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition);
}

.platform-nav-btn:hover { color: #ffffff; background: rgba(255, 255, 255, 0.04); }
.platform-nav-btn.active { color: #ffffff; border-bottom-color: var(--accent-orange); background: rgba(234, 88, 12, 0.08); }
.platform-nav-btn i { font-size: 1rem; color: var(--accent-orange); }

.platform-content-area { padding: 36px; min-height: 560px; background: #ffffff; }

.platform-module { display: none; animation: fadeIn 0.35s ease; }
.platform-module.active { display: block; }

.module-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; border-bottom: 1px solid var(--slate-100); padding-bottom: 18px; flex-wrap: wrap; gap: 16px; }
.module-title h2 { font-size: 1.55rem; font-weight: 600; color: var(--slate-900); margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.module-title p { font-size: 0.92rem; color: var(--slate-700); max-width: 720px; line-height: 1.6; font-weight: 400; }

/* AI Insights Panel (Signature Feature) */
.ai-insights-panel {
  background: var(--slate-900);
  border: 1px solid var(--slate-800);
  border-left: 4px solid var(--accent-orange);
  border-radius: var(--radius-sm);
  padding: 24px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.ai-insights-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.ai-title { font-size: 0.96rem; font-weight: 600; color: #ffffff; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.ai-title i { color: var(--accent-orange); font-size: 1.1rem; }
.ai-confidence-tag { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); padding: 3px 8px; border-radius: var(--radius-xs); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.ai-content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; font-size: 0.86rem; }
.ai-block { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); padding: 14px; border-radius: var(--radius-xs); }
.ai-block h5 { font-size: 0.76rem; font-weight: 600; color: var(--accent-orange); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.ai-block ul { list-style: disc; padding-left: 18px; color: var(--slate-300); line-height: 1.55; font-weight: 400; }
.ai-block ul li { margin-bottom: 4px; }

/* Dashboard & Gauges UI */
.platform-grid-main { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.gauge-card { background: var(--slate-900); color: #ffffff; padding: 28px; border-radius: var(--radius-sm); border: 1px solid var(--slate-800); text-align: center; }
.gauge-animated { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 700; color: #ffffff; line-height: 1; margin: 14px 0 8px 0; letter-spacing: -0.02em; }

.dept-bars-box { background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 22px; }
.dept-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.dept-row:last-child { margin-bottom: 0; }
.dept-meta { display: flex; justify-content: space-between; font-size: 0.84rem; font-weight: 600; color: var(--slate-900); }
.dept-prog-bg { height: 6px; background: var(--slate-100); border-radius: var(--radius-full); overflow: hidden; }
.dept-prog-fill { height: 100%; border-radius: var(--radius-full); transition: width 0.6s ease; }

/* RCA Workbench & DB Health Table Styles */
.rca-table-box { overflow-x: auto; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 20px; }
.rca-input-row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; margin-bottom: 12px; }
.rca-lbl { font-weight: 600; font-size: 0.82rem; color: var(--slate-900); text-transform: uppercase; }
.rca-field { width: 100%; padding: 10px 14px; border: 1px solid var(--slate-300); border-radius: var(--radius-xs); font-size: 0.88rem; font-weight: 400; background: #ffffff; }

.passport-card { background: #ffffff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 24px; box-shadow: var(--shadow-xs); margin-bottom: 20px; }
.passport-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--slate-200); padding-bottom: 16px; margin-bottom: 18px; }

/* Roadmap Matrix Grid */
.roadmap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.roadmap-box { background: var(--slate-900); color: #ffffff; border: 1px solid var(--slate-800); border-radius: var(--radius-sm); padding: 20px; position: relative; overflow: hidden; transition: var(--transition); }
.roadmap-box:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.25); }
.roadmap-box i { font-size: 1.4rem; color: var(--accent-orange); margin-bottom: 12px; display: block; }
.roadmap-box h4 { font-size: 0.95rem; font-weight: 600; color: #ffffff; margin-bottom: 6px; }
.roadmap-box p { font-size: 0.78rem; color: var(--slate-400); line-height: 1.45; font-weight: 400; }
.roadmap-pill { position: absolute; top: 12px; right: 12px; background: rgba(255, 255, 255, 0.08); color: var(--slate-300); border: 1px solid rgba(255, 255, 255, 0.15); padding: 3px 8px; border-radius: var(--radius-xs); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; }

/* Executive Report Printable Styles */
@media print {
  body { background: #ffffff !important; color: #000000 !important; }
  .top-bar, .header, .footer, .platform-header-bar, .platform-nav-row, .btn, button, .modal-close { display: none !important; }
  .modal-overlay { position: absolute !important; background: transparent !important; backdrop-filter: none !important; padding: 0 !important; width: 100% !important; height: auto !important; }
  .modal-container { border: none !important; box-shadow: none !important; width: 100% !important; max-width: 100% !important; padding: 0 !important; }
  .ai-insights-panel, .gauge-card { background: #f8fafc !important; color: #0f172a !important; border: 1px solid #cbd5e1 !important; box-shadow: none !important; }
  .ai-title, .ai-block h5, .gauge-animated, .ai-content-grid { color: #0f172a !important; }
  .ai-block ul { color: #334155 !important; }
}

/* --------------------------------------------------------------------------
   18. Responsive Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-grid, .urgency-grid, .terminal-top-row, .matrix-container, .result-header-row, .case-study-grid, .hub-layout, .contact-card, .sim-console-body, .platform-grid-main, .ai-content-grid { grid-template-columns: 1fr; gap: 28px; }
  .sim-inputs-col { border-right: none; border-bottom: 1px solid var(--slate-200); max-height: none; }
  .workflow-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-glass-grid, .masonry-gallery, .testimonials-grid, .why-blocks-grid, .wizard-options-grid.cols-3, .wizard-options-grid.cols-4, .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-item.col-2, .masonry-item.row-2 { grid-column: span 1; grid-row: span 1; height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .top-bar, .nav-menu { display: none; }
  .hero-title { font-size: 2.3rem; }
  .section-title { font-size: 1.8rem; }
  .trust-glass-grid, .masonry-gallery, .testimonials-grid, .why-blocks-grid, .urgency-cards-matrix, .workflow-grid, .wizard-options-grid, .grid-2, .grid-3, .grid-4, .roadmap-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .gauge-score, .gauge-animated { font-size: 2.8rem; }
}
