/* ===================================================
   AYAANIS — Shared Design System
   Theme: Clean White, Minimal, Corporate, Deep Indigo
   =================================================== */

/* Fonts loaded via <link rel="preconnect"> in each HTML <head> for performance */

/* ── Variables ── */
:root {
  --indigo:       #1D2F78;
  --indigo-dark:  #162261;
  --indigo-mid:   #2E449E;
  --indigo-tint:  #EEF1FB;
  --indigo-tint2: #DDE2F5;

  --white:        #FFFFFF;
  --gray-50:      #F9FAFB;
  --gray-100:     #F3F4F6;
  --gray-200:     #E5E7EB;
  --gray-300:     #D1D5DB;
  --gray-400:     #9CA3AF;
  --gray-500:     #6B7280;
  --gray-700:     #374151;
  --gray-900:     #111827;

  --text:         #111827;
  --text-muted:   #6B7280;
  --text-light:   #9CA3AF;

  --border:       #E5E7EB;
  --border-dark:  #D1D5DB;

  --radius-sm:    3px;
  --radius:       6px;
  --radius-lg:    10px;

  --shadow-sm:      0 1px 2px 0 rgba(17,24,39,0.05);
  --shadow:         0 4px 6px -1px rgba(17,24,39,0.05), 0 2px 4px -1px rgba(17,24,39,0.03);
  --shadow-card:    0 4px 6px -1px rgba(17,24,39,0.05), 0 2px 4px -1px rgba(17,24,39,0.03);
  --shadow-lg:      0 10px 15px -3px rgba(17,24,39,0.08), 0 4px 6px -2px rgba(17,24,39,0.04);
  --shadow-dropdown:0 10px 15px -3px rgba(17,24,39,0.08), 0 4px 6px -2px rgba(17,24,39,0.04);

  --font-display: 'Manrope', sans-serif;
  --font-body:    'Mulish', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── Fix 3: Custom brand focus states for keyboard navigation ── */
*:focus { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--indigo-mid);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ── Fix 4: Global micro-interaction transitions ── */
a,
.btn,
.p-card,
.feature-cell,
.portal-card,
.nav-dropdown button,
.header-nav a,
.footer-col ul a,
.platform-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Prevent double-transition fighting on elements that set their own */
.btn { transition: background 0.2s cubic-bezier(0.4,0,0.2,1), border-color 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s cubic-bezier(0.4,0,0.2,1), transform 0.2s cubic-bezier(0.4,0,0.2,1), color 0.2s cubic-bezier(0.4,0,0.2,1); }

/* ── Container ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ── Sections ── */
.section      { padding: 96px 0; }
.section-sm   { padding: 64px 0; }
.section-xs   { padding: 48px 0; }
.bg-white     { background: var(--white); }
.bg-gray      { background: var(--gray-50); }
.bg-dark      { background: var(--indigo-dark); }
.bg-indigo    { background: var(--indigo); }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

.display-xl  { font-size: clamp(40px, 5.5vw, 68px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.display-lg  { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.display-md  { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; }
.display-sm  { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; letter-spacing: -0.015em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-mid);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--indigo-mid);
  border-radius: 1px;
}

.lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}
.btn-primary:hover {
  background: var(--indigo-dark);
  border-color: var(--indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(29,47,120,0.25);
}

.btn-secondary {
  background: var(--white);
  color: var(--indigo);
  border-color: var(--border-dark);
}
.btn-secondary:hover {
  border-color: var(--indigo);
  background: var(--indigo-tint);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
}

.btn-white {
  background: var(--white);
  color: var(--indigo);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}

.btn-lg { padding: 15px 32px; font-size: 15px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ── Divider ── */
.divider     { height: 1px; background: var(--border); }
.divider-dark{ height: 1px; background: rgba(255,255,255,0.08); }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.badge-indigo { background: var(--indigo-tint); color: var(--indigo); }
.badge-white  { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }

/* ──────────────────────────────────
   HEADER — frosted glass
   ────────────────────────────────── */
#header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.2s cubic-bezier(0.4,0,0.2,1);
}
#header.scrolled {
  box-shadow: var(--shadow-card);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 4px;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--indigo);
}

/* Nav */
.header-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.header-nav a {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-500);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.header-nav a:hover, .header-nav a.active { color: var(--indigo); background: var(--indigo-tint); }

/* Dropdown — click-based */
.nav-dropdown { position: relative; }
.nav-dropdown > .btn-login-trigger { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown > .btn-login-trigger svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-dropdown.open > .btn-login-trigger svg { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dropdown);
  min-width: 240px;
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  z-index: 300;
}
.nav-dropdown.open .dropdown-panel {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.dropdown-panel a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 13.5px; font-weight: 600;
  color: var(--gray-700) !important;
  text-decoration: none;
  transition: all 0.15s;
  background: transparent !important;
}
.dropdown-panel a:hover { background: var(--indigo-tint) !important; color: var(--indigo) !important; }
.dropdown-panel .dp-portal-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-400);
  margin-top: 1px;
}
.dropdown-panel a .dp-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--indigo-mid); flex-shrink: 0;
}
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }
.dropdown-header {
  padding: 8px 14px 4px;
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-400);
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-login-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--indigo);
  border: 1.5px solid var(--border-dark);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-login-trigger svg { width: 14px; height: 14px; transition: transform 0.2s; flex-shrink: 0; }
.btn-login-trigger:hover { border-color: var(--indigo); background: var(--indigo-tint); }
.nav-dropdown.open .btn-login-trigger { border-color: var(--indigo); background: var(--indigo-tint); }
.nav-dropdown.open .btn-login-trigger svg { transform: rotate(180deg); }
.hamburger-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; cursor: pointer;
}
.hamburger-btn span { display: block; width: 22px; height: 2px; background: var(--gray-700); border-radius: 1px; transition: all 0.25s; }

/* Mobile nav */
.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 12px 20px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  color: var(--gray-700);
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--indigo); }
.mobile-menu .mob-cta { margin-top: 14px; }
.mobile-menu .mob-cta .btn {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 14px;
  border-radius: 6px;
  color: var(--white) !important;
}

/* ──────────────────────────────────
   PAGE HERO
   ────────────────────────────────── */
.page-hero {
  background: var(--white);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: 680px; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 28px;
}
.breadcrumb a { font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--indigo); }
.breadcrumb .bc-sep { color: var(--gray-300); font-size: 13px; }
.breadcrumb .bc-current { font-size: 13px; font-weight: 600; color: var(--gray-400); }

/* ──────────────────────────────────
   HERO — HOME
   ────────────────────────────────── */
.hero-home {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-home-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 0%, rgba(29,47,120,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 100%, rgba(29,47,120,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.hero-home-inner {
  position: relative; z-index: 1;
  max-width: 820px;
}
.hero-title-accent { color: var(--indigo); }
.hero-meta {
  display: flex; align-items: center; gap: 24px;
  margin-top: 48px; padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-item { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.02em;
}
.hero-stat-label { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.02em; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ──────────────────────────────────
   SECTION HEADERS
   ────────────────────────────────── */
.section-hdr { margin-bottom: 52px; }
.section-hdr-centered { text-align: center; }
.section-hdr-centered .lead { margin: 0 auto; max-width: 580px; }

/* ──────────────────────────────────
   FEATURE GRID
   ────────────────────────────────── */
.features-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.features-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.feature-cell {
  background: var(--white);
  padding: 36px 32px;
  transition: background 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s cubic-bezier(0.4,0,0.2,1);
}
.feature-cell:hover { background: var(--gray-50); box-shadow: inset 0 0 0 1px var(--indigo-tint2); }
.feat-icon {
  width: 40px; height: 40px;
  background: var(--indigo-tint);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-icon svg { width: 18px; height: 18px; stroke: var(--indigo-mid); fill: none; stroke-width: 1.8; }
.feature-cell h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature-cell p { font-size: 14px; line-height: 1.7; color: var(--text-muted); }

/* Features on dark bg */
.feature-cell-dark { background: rgba(255,255,255,0.04); }
.feature-cell-dark:hover { background: rgba(255,255,255,0.07); }
.feature-cell-dark h3 { color: var(--white); }
.feature-cell-dark p { color: rgba(255,255,255,0.55); }
.feat-icon-dark { background: rgba(255,255,255,0.08); }
.feat-icon-dark svg { stroke: rgba(255,255,255,0.7); }

/* ──────────────────────────────────
   PLATFORM CARDS
   ────────────────────────────────── */
.platform-grid-5 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.p-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex; flex-direction: column;
  gap: 0;
  box-shadow: var(--shadow-card);
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.p-card:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.p-card-tag { margin-bottom: 14px; }
.p-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.p-card p { font-size: 14px; line-height: 1.7; color: var(--text-muted); flex: 1; margin-bottom: 20px; }
.p-card-arrow {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  color: var(--indigo);
}
.p-card-arrow svg { width: 14px; height: 14px; stroke: var(--indigo); fill: none; stroke-width: 2; transition: transform 0.2s; }
.p-card:hover .p-card-arrow svg { transform: translateX(3px); }
.p-card-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 32px; }
.p-card-wide .p-card-content { flex: 1; display: flex; flex-direction: column; }

/* ──────────────────────────────────
   PRINCIPLES LIST
   ────────────────────────────────── */
.principles-list { display: flex; flex-direction: column; }
.principle-row {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.principle-row:last-child { border-bottom: none; }
.p-num {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 800;
  color: rgba(255,255,255,0.25);
  min-width: 28px; margin-top: 2px;
  letter-spacing: 0.04em;
}
.principle-row h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.principle-row p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.5); }

/* Light variant */
.principles-light .principle-row { border-bottom-color: var(--border); }
.principles-light .p-num {
  color: var(--white);
  background: var(--indigo);
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-top: 1px;
  flex-shrink: 0;
}
.principles-light .principle-row h3 { color: var(--text); }
.principles-light .principle-row p { color: var(--text-muted); }

/* ──────────────────────────────────
   CLIENT PORTAL CARDS
   ────────────────────────────────── */
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 700px; margin: 0 auto; }
.portal-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-decoration: none; color: inherit;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}
.portal-card:hover { border-color: var(--indigo); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.portal-card-left { display: flex; align-items: center; gap: 16px; }
.portal-icon {
  width: 44px; height: 44px;
  background: var(--indigo-tint);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s;
}
.portal-icon svg { width: 20px; height: 20px; stroke: var(--indigo-mid); fill: none; stroke-width: 1.8; transition: stroke 0.18s; }
.portal-card:hover .portal-icon { background: var(--indigo); }
.portal-card:hover .portal-icon svg { stroke: var(--white); }
.portal-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.portal-card p { font-size: 12.5px; color: var(--text-muted); font-weight: 500; }
.portal-arrow { color: var(--gray-300); transition: all 0.18s; }
.portal-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.portal-card:hover .portal-arrow { color: var(--indigo); transform: translateX(2px); }

/* ──────────────────────────────────
   CTA STRIPE
   ────────────────────────────────── */
.cta-stripe {
  background: var(--indigo);
  padding: 72px 0;
}
.cta-stripe-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-stripe h2 { color: var(--white); max-width: 520px; }
.cta-stripe-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }

/* ──────────────────────────────────
   TWO-COLUMN LAYOUTS
   ────────────────────────────────── */
.two-col       { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.two-col-3-2   { display: grid; grid-template-columns: 3fr 2fr; gap: 72px; align-items: start; }
.two-col-2-3   { display: grid; grid-template-columns: 2fr 3fr; gap: 72px; align-items: start; }
.three-col     { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ──────────────────────────────────
   CAPABILITIES LIST
   ────────────────────────────────── */
.caps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cap-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.cap-check {
  width: 18px; height: 18px; flex-shrink: 0;
  background: var(--indigo-tint);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cap-check svg { width: 10px; height: 10px; stroke: var(--indigo-mid); fill: none; stroke-width: 2.5; }
.cap-row span { font-size: 13.5px; font-weight: 600; color: var(--text); }

/* ──────────────────────────────────
   ARCHITECTURE LAYERS
   ────────────────────────────────── */
.arch-list { display: flex; flex-direction: column; }
.arch-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.arch-row:last-child { border-bottom: none; }
.arch-layer-tag {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding-top: 4px;
}
.arch-row h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.arch-row p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.5); }

/* ──────────────────────────────────
   SECURITY PILLARS
   ────────────────────────────────── */
.sec-pillar {
  padding: 32px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s cubic-bezier(0.4,0,0.2,1), border-color 0.2s cubic-bezier(0.4,0,0.2,1);
}
.sec-pillar:hover { box-shadow: var(--shadow-lg); border-color: var(--indigo-tint2); }
.sec-pillar h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.sec-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sec-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-muted); line-height: 1.5;
}
.sec-list li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--indigo-mid);
  flex-shrink: 0; margin-top: 6px;
}

/* ──────────────────────────────────
   CONTACT FORM
   ────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }

.form-wrap { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Contact form grid */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field > span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
.field input,
.field select,
.field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: var(--font-body);
  color: var(--text); background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(29,47,120,0.08);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.field textarea { min-height: 120px; resize: vertical; }
.contact-sidebar h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 800;
  color: var(--text); margin-bottom: 20px;
}
.contact-item {
  margin-bottom: 14px;
}
.contact-label {
  display: block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 3px;
}
.contact-item a {
  font-size: 14px; font-weight: 600;
  color: var(--indigo); text-decoration: none;
}
.contact-item a:hover { text-decoration: underline; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.form-label .opt { font-weight: 400; color: var(--text-muted); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: var(--font-body);
  color: var(--text); background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(29,47,120,0.08);
}
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.form-textarea { min-height: 130px; resize: vertical; }

.contact-sidebar {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.sidebar-group { margin-bottom: 22px; }
.sidebar-group:last-child { margin-bottom: 0; }
.sidebar-label {
  font-family: var(--font-display);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}
.sidebar-group a { color: var(--indigo); font-size: 15px; font-weight: 600; }
.sidebar-group address { font-style: normal; font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.sidebar-group p { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.sidebar-link { color: var(--indigo) !important; font-weight: 600; }
.sidebar-link:hover { text-decoration: underline; }

.trust-badge {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 24px; padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.trust-badge svg { width: 16px; height: 16px; stroke: var(--gray-400); fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: 2px; }
.trust-badge p { font-size: 12.5px; line-height: 1.65; color: var(--text-muted); }

/* Form success */
.form-success {
  display: none; padding: 14px 18px;
  background: #ECFDF5; border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; color: #065F46;
}

/* ──────────────────────────────────
   INDUSTRY SECTIONS
   ────────────────────────────────── */
.industry-row {
  display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start;
  padding: 48px 0; border-bottom: 1px solid var(--border);
}
.industry-row:first-child { padding-top: 0; }
.industry-row:last-child { border-bottom: none; }
.industry-tag-wrap { padding-top: 4px; }
.industry-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--indigo-mid);
  background: var(--indigo-tint);
  padding: 4px 10px; border-radius: 2px;
  margin-bottom: 12px;
}
.industry-row h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); margin-bottom: 14px; }
.industry-row p { font-size: 15px; line-height: 1.8; color: var(--text-muted); }
.industry-row p + p { margin-top: 12px; }

/* ──────────────────────────────────
   LEADERSHIP CARDS
   ────────────────────────────────── */
.leader-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.leader-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--indigo-tint);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  color: var(--indigo); margin-bottom: 16px;
}
.leader-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.leader-card p { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ──────────────────────────────────
   FOOTER
   ────────────────────────────────── */
footer {
  background: var(--indigo-dark);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo-img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 4px;
}
.footer-logo-name { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: 0.06em; color: var(--white); }
.footer-brand p { font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,0.4); max-width: 280px; }
.footer-brand .footer-email { font-size: 13.5px; color: rgba(255,255,255,0.4); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a {
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.25); }
.footer-status { display: flex; align-items: center; gap: 7px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #34D399; }
.footer-status span { font-size: 12.5px; color: rgba(255,255,255,0.3); }

/* ──────────────────────────────────
   ANIMATIONS
   ────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.5s ease both; }
.fade-up-2 { animation: fadeUp 0.5s 0.1s ease both; }
.fade-up-3 { animation: fadeUp 0.5s 0.2s ease both; }

/* ──────────────────────────────────
   UTILITIES
   ────────────────────────────────── */
.mt-2  { margin-top: 8px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.text-muted  { color: var(--text-muted); }
.text-indigo { color: var(--indigo); }
.text-white  { color: var(--white); }
.text-white-70 { color: rgba(255,255,255,0.7); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ──────────────────────────────────
   RESPONSIVE
   ────────────────────────────────── */
@media (max-width: 1024px) {
  .platform-grid-5 { grid-template-columns: 1fr 1fr; }
  .p-card-wide { grid-column: auto; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .two-col, .two-col-3-2, .two-col-2-3 { grid-template-columns: 1fr; gap: 48px; }
  .features-3 { grid-template-columns: 1fr 1fr; }
  .arch-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 768px) {
  .header-nav, .header-actions { display: none; }
  .hamburger-btn { display: flex; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .platform-grid-5 { grid-template-columns: 1fr; }
  .features-3, .features-2 { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .caps-grid { grid-template-columns: 1fr; }
  .industry-row { grid-template-columns: 1fr; gap: 20px; }
  .cta-stripe-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-meta { gap: 16px; }
}

@media (max-width: 480px) {
  .hero-meta { flex-direction: column; align-items: flex-start; }
  .hero-stat-divider { display: none; }
  .display-xl { font-size: 34px; }
}

/* ── Legal pages ── */
.legal-body { font-size: 15px; line-height: 1.8; color: var(--text-muted); }
.legal-body h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--gray-900); margin: 40px 0 12px; padding-top: 32px; border-top: 1px solid var(--gray-200); }
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-body h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--gray-700); margin: 24px 0 8px; }
.legal-body p { margin-bottom: 16px; }
.legal-body ul { margin: 12px 0 20px 24px; }
.legal-body ul li { margin-bottom: 6px; }

/* ── Styled list (for platform pages) ── */
.styled-list { list-style: none; padding: 0; }
.styled-list li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--gray-200); font-size: 15px; color: var(--text-muted); position: relative; line-height: 1.5; }
.styled-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; background: var(--indigo-tint2); border: 2px solid var(--indigo-mid); border-radius: 50%; }
.styled-list li:last-child { border-bottom: none; }

@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }
