/* confermax-auditessentials.html : AI-Native Audit Essentials Stylesheet.
   Shared rules live in assets/site.css. */
:root {
  --white: #ffffff;
  --black: #000000;
  
  /* AI-Native Forest & Deep Jade surfaces */
  --ae-dark-midnight: #031815;
  --ae-dark-card: #052822;
  --ae-dark-card-hover: #083b32;
  --ae-dark-deep: #02120f;
  
  /* Vibrant AI-Native Palette: Emerald, Mint & Cyber Teal */
  --ae-indigo: #10b981;
  --ae-indigo-dark: #059669;
  --ae-violet: #34d399;
  --ae-purple: #047857;
  --ae-cyan: #2dd4bf;
  --ae-cyan-light: #6ee7b7;
  --ae-mint: #10b981;
  --ae-amber: #f59e0b;
  
  /* Brand accents */
  --color-primary: #ff8a43;
  --color-heading: #04000b;
  --color-paragraph: #475569;
  --color-muted: #64748b;
  
  /* Gradients */
  --ae-gradient-btn: linear-gradient(90deg, #059669 0%, #10b981 50%, #2dd4bf 100%);
  --ae-gradient-btn-hover: linear-gradient(90deg, #047857 0%, #059669 50%, #0d9488 100%);
  --ae-gradient-text: linear-gradient(90deg, #34d399 0%, #6ee7b7 38%, #a7f3d0 72%, #ffffff 100%);
  --ae-gradient-engine: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(45, 212, 191, 0.1) 100%);
  
  /* Fonts */
  --font-default: 'Outfit', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--ae-dark-midnight);
  scroll-behavior: smooth;
}

body {
  background: var(--ae-dark-midnight);
  color: #f8f9fa;
  font-family: var(--font-default);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Header / Navbar (Audit Essentials Deep Midnight Emerald Theme)
   ============================================================ */
nav.navbar {
  padding: 20px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: all .35s ease;
  background: transparent;
}
nav.navbar.sticked {
  position: fixed;
  top: 0;
  background: rgba(3, 24, 21, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.08) !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25) !important;
}

nav.navbar ul.nav > li > a,
nav.navbar.sticked ul.nav > li > a {
  color: #ffffff !important;
  opacity: 0.92;
}

nav.navbar ul.nav > li.active > a,
nav.navbar ul.nav > li > a:hover,
nav.navbar.sticked ul.nav > li.active > a,
nav.navbar.sticked ul.nav > li > a:hover {
  color: #34d399 !important;
  opacity: 1;
}

nav.navbar ul.nav > li.dropdown > a::after,
nav.navbar.sticked ul.nav > li.dropdown > a::after {
  border-right-color: #ffffff !important;
  border-bottom-color: #ffffff !important;
}

nav.navbar ul.nav > li.active.dropdown > a::after,
nav.navbar.sticked ul.nav > li.active.dropdown > a::after,
nav.navbar ul.nav > li.dropdown:hover > a::after,
nav.navbar.sticked ul.nav > li.dropdown:hover > a::after {
  border-right-color: #34d399 !important;
  border-bottom-color: #34d399 !important;
}

.dropdown-menu {
  background: #04221d !important;
  border: 1px solid rgba(52, 211, 153, 0.3) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dropdown-menu li a {
  color: #cbd5e1 !important;
}

.dropdown-menu li a:hover {
  background: rgba(16, 185, 129, 0.16) !important;
  color: #34d399 !important;
  padding-left: 26px;
}

.dropdown-menu li.active a,
.dropdown-menu li a.active {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.14) !important;
  font-weight: 600;
}

nav.navbar .attr-nav a.btn,
nav.navbar.sticked .attr-nav a.btn {
  border-color: rgba(52, 211, 153, 0.45) !important;
  color: #ffffff !important;
  background: rgba(16, 185, 129, 0.12) !important;
}

nav.navbar .attr-nav a.btn:hover,
nav.navbar.sticked .attr-nav a.btn:hover {
  background: var(--ae-gradient-btn) !important;
  color: #ffffff !important;
  border-color: rgba(52, 211, 153, 0.8) !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.5) !important;
}

.navbar-toggle span {
  background-color: #34d399 !important;
}

@media (max-width: 991px) {
  nav.navbar.open ul.nav {
    background: #031815 !important;
    border-top: 1px solid rgba(16, 185, 129, 0.25) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
  }
  nav.navbar.open ul.nav > li > a {
    color: #ffffff !important;
  }
  nav.navbar.open ul.nav > li.dropdown .dropdown-menu {
    background: rgba(5, 40, 34, 0.85) !important;
    border: 1px solid rgba(52, 211, 153, 0.2) !important;
  }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-ae-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border-radius: 50px;
  padding: 15px 32px;
  color: #ffffff;
  background: var(--ae-gradient-btn);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
  cursor: pointer;
  transition: all .3s ease;
  text-align: center;
  text-decoration: none;
}
.btn-ae-primary:hover {
  background: var(--ae-gradient-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.6);
  color: #ffffff;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border-radius: 50px;
  padding: 14px 32px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all .3s ease;
  text-align: center;
  text-decoration: none;
}
.btn-outline-white:hover {
  background: #ffffff;
  color: var(--ae-dark-midnight);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.btn-ic {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.btn-ae-primary:hover .btn-ic,
.btn-outline-white:hover .btn-ic {
  transform: translateX(4px);
}

/* ============================================================
   Section 1: Hero (AI-Native Audit Workspace)
   ============================================================ */
.page-hero-ae {
  position: relative;
  padding: 180px 0 115px;
  background-image: url(../philipp-katzenberger-iIJrUoeRoCQ-unsplash.jpg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: #ffffff;
}
.page-hero-ae::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 22, 18, 0.86) 0%, rgba(3, 36, 29, 0.94) 100%);
  z-index: 0;
}
.page-hero-ae::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 30%, rgba(16, 185, 129, 0.32) 0%, transparent 50%),
              radial-gradient(circle at 82% 55%, rgba(45, 212, 191, 0.22) 0%, transparent 50%),
              radial-gradient(circle at 50% 90%, rgba(52, 211, 153, 0.16) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.page-hero-ae .container {
  position: relative;
  z-index: 1;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 50px;
  align-items: center;
}
.hero-badge-ae {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 50px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.55);
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
  margin-bottom: 20px;
}
.hero-badge-ae .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399, 0 0 18px #6ee7b7;
  animation: pulseAe 2s infinite ease-in-out;
}
@keyframes pulseAe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.page-hero-ae h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.22;
  color: #ffffff;
  margin: 0 0 20px;
}
.page-hero-ae h1 span {
  background: var(--ae-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 24px rgba(52, 211, 153, 0.45));
}
.page-hero-ae p.lead {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 34px;
  max-width: 580px;
}
.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual - AI-Native Platform Device Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ae-hero-device-frame {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #02120f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 45px rgba(16, 185, 129, 0.25);
  transition: transform .4s ease, box-shadow .4s ease;
}
.ae-hero-device-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 75px rgba(0, 0, 0, 0.75), 0 0 55px rgba(45, 212, 191, 0.35);
}
.ae-hero-device-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   Section 2: Executive Positioning (Crisp White Background)
   ============================================================ */
.positioning-section {
  padding: 105px 0;
  background: #ffffff !important;
  color: #1e293b;
  position: relative;
  z-index: 2;
}
.positioning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.positioning-text .sub-title {
  color: var(--ae-indigo-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}
.positioning-text h2 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 20px;
}
.positioning-text p {
  font-size: 16.5px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 20px;
}
.positioning-card-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0;
  border-radius: 20px;
  padding: 38px 32px;
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.08);
}
.positioning-card-box .box-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ae-indigo-dark);
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.positioning-card-box h3 {
  font-size: 22px;
  font-weight: 700;
  color: #064e3b;
  margin: 0 0 14px;
}
.positioning-card-box p {
  color: #334155;
  margin-bottom: 24px;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid #cbd5e1;
}
.metric-item {
  text-align: left;
}
.metric-item .m-val {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--ae-indigo-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}
.metric-item .m-lbl {
  font-size: 12px;
  color: #475569;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ============================================================
   Section 3: About Engagement and PBC (Deep Midnight Emerald Green + Skyline Backdrop)
   ============================================================ */
.engagement-pbc-section {
  padding: 115px 0;
  position: relative;
  background-color: #021410;
  background-image: 
    radial-gradient(ellipse 60% 50% at 20% 25%, rgba(16, 185, 129, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 85% 75%, rgba(45, 212, 191, 0.18) 0%, transparent 60%),
    linear-gradient(165deg, rgba(2, 18, 15, 0.85) 0%, rgba(4, 35, 30, 0.78) 50%, rgba(1, 10, 8, 0.90) 100%),
    url(../skyline-1417229.jpg) !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  border-bottom: 1px solid rgba(45, 212, 191, 0.2);
  color: #ffffff;
  z-index: 2;
  overflow: hidden;
}
.engagement-pbc-section .section-header .sub-badge-green {
  color: #34d399;
  background: var(--ae-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}
.engagement-pbc-section .section-header h2 {
  color: #ffffff;
}
.engagement-pbc-section .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

.epbc-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.epbc-overview-card {
  background: rgba(5, 40, 34, 0.72);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 20px;
  padding: 40px 36px;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
}
.epbc-overview-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 212, 191, 0.6);
  box-shadow: 0 24px 50px rgba(16, 185, 129, 0.25);
  background: rgba(8, 55, 47, 0.85);
}
.epbc-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.epbc-overview-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.3;
}
.epbc-overview-card > p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 24px;
}
.epbc-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.epbc-feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.65;
  color: #cbd5e1;
}
.epbc-feature-list li strong {
  color: #ffffff;
}
.epbc-feature-list li code {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}
.epbc-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.epbc-check-icon svg {
  width: 14px;
  height: 14px;
}

.epbc-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.epbc-subcard {
  background: rgba(5, 40, 34, 0.68);
  border: 1px solid rgba(52, 211, 153, 0.24);
  border-radius: 16px;
  padding: 24px 22px;
  backdrop-filter: blur(10px);
  transition: all .3s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.epbc-subcard:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.6);
  box-shadow: 0 18px 36px rgba(16, 185, 129, 0.22);
  background: rgba(8, 55, 47, 0.85);
}
.epbc-subcard h4 {
  font-size: 17.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.35;
}
.epbc-subcard p {
  font-size: 15px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0;
}

.epbc-compare-box {
  margin-top: 32px;
  background: rgba(5, 40, 34, 0.75);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.epbc-compare-header {
  margin-bottom: 24px;
}
.epbc-compare-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.epbc-compare-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.epbc-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.epbc-compare-col {
  border-radius: 14px;
  padding: 24px;
}
.epbc-compare-other {
  background: rgba(2, 18, 15, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.22);
}
.epbc-compare-us {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.1) 100%);
  border: 1px solid rgba(52, 211, 153, 0.55);
}
.epbc-compare-label {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}
.epbc-compare-other .epbc-compare-label {
  color: #94a3b8;
}
.epbc-compare-us .epbc-compare-label {
  color: #34d399;
}
.epbc-compare-col p {
  font-size: 15px;
  line-height: 1.65;
  color: #e2e8f0;
  margin: 0;
}
.epbc-compare-col p strong {
  color: #ffffff;
}

/* ============================================================
   Section 4: About Due Diligence (Crisp White Background)
   ============================================================ */
.diligence-section {
  padding: 105px 0 115px;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  z-index: 2;
  color: #1e293b;
}
.diligence-section .section-header .sub-badge-green {
  color: var(--ae-indigo-dark);
  background: none;
  -webkit-text-fill-color: initial;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}
.diligence-section .section-header h2 {
  color: #0f172a;
}
.diligence-section .section-header p {
  color: #475569;
}
.diligence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.diligence-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
}
.diligence-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: #34d399;
  box-shadow: 0 20px 42px rgba(16, 185, 129, 0.12);
}
.d-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--ae-indigo-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.d-icon-wrap svg {
  width: 24px;
  height: 24px;
}
.diligence-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
  line-height: 1.35;
}
.diligence-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.diligence-disclaimer {
  margin-top: 36px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #10b981;
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.diligence-disclaimer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.disclaimer-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--ae-indigo-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.disclaimer-icon svg {
  width: 16px;
  height: 16px;
}
.diligence-disclaimer p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}
.diligence-disclaimer p strong {
  color: #0f172a;
}

/* ============================================================
   Section 6: Confermax Library (Crisp White)
   ============================================================ */
.library-section {
  padding: 105px 0 115px;
  background: #ffffff !important;
  color: #1e293b;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  z-index: 2;
}
.library-section .section-header .sub-badge-green {
  color: var(--ae-indigo-dark);
  background: none;
  -webkit-text-fill-color: initial;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}
.library-section .section-header h2 {
  color: #0f172a;
}
.library-section .section-header p {
  color: #475569;
}

.library-spotlight-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdf9 100%);
  border: 1.5px solid #86efac;
  border-radius: 20px;
  padding: 38px 36px;
  margin-bottom: 48px;
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.08);
}
.library-badge-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.library-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #065f46;
  background: rgba(16, 185, 129, 0.16);
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.library-spotlight-box h3 {
  font-size: 24px;
  font-weight: 700;
  color: #064e3b;
  margin: 0 0 14px;
  line-height: 1.3;
}
.library-spotlight-box p {
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
  margin: 0;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.library-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 34px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
}
.library-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: #34d399;
  box-shadow: 0 20px 42px rgba(16, 185, 129, 0.12);
}
.lib-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--ae-indigo-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.lib-icon-wrap svg {
  width: 24px;
  height: 24px;
}
.library-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
  line-height: 1.35;
}
.library-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

/* ============================================================
   Section 5: The Confermax Analytic Engine (Deep Midnight Emerald + Skyline Backdrop)
   ============================================================ */
.engine-section {
  padding: 115px 0;
  position: relative;
  background-color: #021410;
  background-image: 
    radial-gradient(ellipse 60% 50% at 20% 25%, rgba(16, 185, 129, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 85% 75%, rgba(45, 212, 191, 0.18) 0%, transparent 60%),
    linear-gradient(165deg, rgba(2, 18, 15, 0.85) 0%, rgba(4, 35, 30, 0.78) 50%, rgba(1, 10, 8, 0.90) 100%),
    url(../skyline-1417229.jpg) !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  border-bottom: 1px solid rgba(45, 212, 191, 0.2);
  color: #ffffff;
  z-index: 3;
  overflow: hidden;
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.section-header .sub-badge-green {
  color: #34d399;
  background: var(--ae-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 16px;
}
.section-header p {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.engine-card {
  background: rgba(5, 40, 34, 0.7);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 20px;
  padding: 38px 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
}
.engine-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.6);
  box-shadow: 0 24px 50px rgba(16, 185, 129, 0.25);
  background: rgba(8, 55, 47, 0.85);
}
.engine-card .icon-wrap-engine {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.engine-card .icon-wrap-engine svg {
  width: 26px;
  height: 26px;
}
.engine-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.35;
}
.engine-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0;
}

/* ============================================================
   Section 7: Built for Firms of Every Size (Deep Midnight Emerald Green)
   ============================================================ */
.firms-section {
  padding: 115px 0 120px;
  background-color: var(--ae-dark-midnight) !important;
  background: 
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(16, 185, 129, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 80% 70%, rgba(45, 212, 191, 0.16) 0%, transparent 60%),
    linear-gradient(165deg, #02120f 0%, #052822 50%, #010a08 100%) !important;
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  border-bottom: 1px solid rgba(45, 212, 191, 0.2);
  color: #ffffff;
  position: relative;
  z-index: 2;
}
.firms-section .section-header .sub-badge-green {
  color: #34d399;
  background: var(--ae-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}
.firms-section .section-header h2 {
  color: #ffffff;
}
.firms-section .section-header p {
  color: rgba(255, 255, 255, 0.85);
}
.firms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.firm-card {
  background: rgba(5, 40, 34, 0.72);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 20px;
  padding: 38px 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
}
.firm-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.6);
  box-shadow: 0 24px 50px rgba(16, 185, 129, 0.25);
  background: rgba(8, 55, 47, 0.85);
}
.firm-card .tier-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 5px 14px;
  border-radius: 50px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 20px;
}
.firm-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.35;
}
.firm-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0;
}

/* ============================================================
   Section 7: CTA Section
   ============================================================ */
.cta-section {
  padding: 85px 0 50px;
  background: transparent;
  position: relative;
  z-index: 2;
}
.cta-banner-ae {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.35) 0%, rgba(2, 18, 15, 0.96) 100%);
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.15);
}
.cta-banner-ae h2 {
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
}
.cta-banner-ae p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 660px;
  margin: 0 auto 34px;
}
.cta-banner-ae .cta-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   Section 8: Footer (Deep Midnight Forest Palette)
   ============================================================ */
footer#footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #052822 0%, #02120f 100%) !important;
  border-top: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--white);
  padding: 0;
}
footer#footer .f-items {
  padding-top: 50px;
  padding-bottom: 50px;
}
footer#footer .f-items .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
footer#footer .f-items .row > [class*="col"] {
  padding: 0 15px;
}
footer#footer .footer-about {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}
footer#footer .footer-links {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}
footer#footer .footer-contact {
  flex: 0 0 25%;
  max-width: 25%;
}
footer#footer .f-item.about .logo {
  height: 48px;
  width: auto;
  margin-bottom: 25px;
  display: block;
}
footer#footer .f-item.newsletter {
  margin-top: 25px;
}
footer#footer .f-item.newsletter p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
  margin-bottom: 15px;
}
footer#footer .f-item.newsletter form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  max-width: 380px;
}
footer#footer .f-item.newsletter input {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 18px;
  border-radius: 6px;
  min-height: 48px;
  font-family: var(--font-default);
  font-size: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition: all 0.25s ease;
}
footer#footer .f-item.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
footer#footer .f-item.newsletter input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 138, 67, 0.2);
}
footer#footer .f-item.newsletter button {
  background: var(--bg-gradient, linear-gradient(90deg, #ff8a43 20%, #fa7070 100%));
  border: none;
  color: #fff;
  border-radius: 6px;
  height: 48px;
  padding: 0 24px;
  font-weight: 600;
  font-size: 14px;
  min-width: 120px;
  cursor: pointer;
  font-family: var(--font-default);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 138, 67, 0.25);
}
footer#footer .f-item.newsletter button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 138, 67, 0.4);
}
footer#footer .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}
footer#footer .footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all .25s ease;
}
footer#footer .footer-social a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}
footer#footer .footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
footer#footer .widget-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  letter-spacing: .5px;
}
footer#footer .f-item.link ul,
footer#footer .footer-item.contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer#footer .f-item.link ul li {
  margin-bottom: 12px;
}
footer#footer .f-item.link ul li a {
  color: rgba(255,255,255,.75);
  font-size: 14.5px;
  text-decoration: none;
  transition: all .2s ease;
}
footer#footer .f-item.link ul li a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}
footer#footer .footer-item.contact ul li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
footer#footer .footer-item.contact .ic {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
footer#footer .footer-item.contact .ic svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
footer#footer .footer-item.contact .content strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.5);
  margin-bottom: 2px;
}
footer#footer .footer-item.contact .content p,
footer#footer .footer-item.contact .content a {
  font-size: 14.5px;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  margin: 0;
}
footer#footer .footer-item.contact .content a:hover {
  color: var(--color-primary);
}
footer#footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
footer#footer .footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
footer#footer .copyright-text {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin: 0;
}
footer#footer .footer-bottom-nav {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
footer#footer .footer-bottom-nav a {
  color: rgba(255,255,255,.6);
  font-size: 13.5px;
  text-decoration: none;
  transition: color .2s ease;
}
footer#footer .footer-bottom-nav a:hover {
  color: var(--color-primary);
}
footer#footer .foter-shape-right-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: .18;
  max-width: 380px;
}
footer#footer .foter-shape-right-bottom img {
  width: 100%;
  height: auto;
  display: block;
}

/* Animations & Responsive */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-ae { padding: 140px 0 80px; }
  .page-hero-ae h1 { font-size: 38px; }
  .positioning-grid { grid-template-columns: 1fr; gap: 36px; }
  .epbc-overview-grid { grid-template-columns: 1fr; }
  .epbc-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .epbc-compare-grid { grid-template-columns: 1fr; }
  .diligence-grid { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: 1fr; }
  .engine-grid { grid-template-columns: 1fr; }
  .firms-grid { grid-template-columns: 1fr; }
  .engagement-pbc-section { background-attachment: scroll; }
  .engine-section { background-attachment: scroll; }
  
  footer#footer .footer-about { flex: 0 0 100%; max-width: 100%; margin-bottom: 40px; }
  footer#footer .footer-links { flex: 0 0 50%; max-width: 50%; margin-bottom: 30px; }
  footer#footer .footer-contact { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 575px) {
  .page-hero-ae h1 { font-size: 30px; }
  .metric-row { grid-template-columns: 1fr; gap: 12px; }
  .epbc-cards-grid { grid-template-columns: 1fr; }
  .epbc-compare-box { padding: 24px 20px; }
  .cta-banner-ae { padding: 40px 24px; }
  .cta-banner-ae h2 { font-size: 28px; }
  .diligence-disclaimer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  footer#footer .footer-links { flex: 0 0 100%; max-width: 100%; }
}

/* Korean & Japanese font fallbacks */
html[lang="ko"] body { --font-default: 'Outfit', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; --font-heading: 'Outfit', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; }
html[lang="ja"] body { --font-default: 'Outfit', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', 'Meiryo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; --font-heading: 'Outfit', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', sans-serif; }
