:root {
  --blue:      #2b6cb0;
  --blue-dark: #1a4070;
  --blue-mid:  #3182ce;
  --blue-pale: #ebf4ff;
  --blue-dim:  rgba(43,108,176,0.10);
  --text:      #1a202c;
  --muted:     #5a6a7e;
  --bg:        #f4f7fb;
  --surface:   #ffffff;
  --border:    #dce5f0;
  --radius:    6px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 0;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── LANGUAGE SWITCHER ── */
.lang-btn { text-decoration: none; }
body [lang="en"] { display: none; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 5%;
  transform: translateY(0);
  transition: transform 0.25s ease;
}
.navbar--hidden { transform: translateY(-100%); }

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 120px; width: auto; }

.nav-right { display: flex; align-items: center; gap: 8px; }

.nav-link {
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  color: var(--muted); text-decoration: none; margin-right: 12px;
}
.nav-link:hover { color: var(--blue); text-decoration: none; }
.nav-link.active { color: var(--blue); }

.lang-btn {
  padding: 5px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  border: 1px solid var(--border); border-radius: 20px;
  background: transparent; color: var(--muted);
  cursor: pointer; transition: all 0.2s;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--blue); color: #fff; border-color: var(--blue);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 200px 5% 80px;
  position: relative; overflow: hidden;
  background: var(--surface);
}

/* Geometric background — identity graph motif */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}
.hero-bg svg { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); opacity: 0.07; }

/* Subtle top-left colour wash */
.hero::before {
  content: '';
  position: absolute; top: -120px; left: -120px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,108,176,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-pale); border: 1px solid rgba(43,108,176,0.2);
  padding: 5px 14px; border-radius: 20px;
  margin-bottom: 24px;
}
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

.hero-h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-h1 .blue { color: var(--blue); }

.hero-lead {
  font-size: 18px; color: var(--muted); line-height: 1.75;
  margin-bottom: 40px; font-weight: 300;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--blue); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  border: 2px solid var(--blue); border-radius: var(--radius);
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; text-decoration: none; box-shadow: 0 4px 16px rgba(43,108,176,0.3); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: transparent; color: var(--blue);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  border: 2px solid var(--border); border-radius: var(--radius);
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-outline:hover { border-color: var(--blue); background: var(--blue-pale); color: var(--blue); text-decoration: none; }

/* IAM Graph Visualization */
.iam-viz { display: flex; align-items: center; justify-content: center; }
.iam-viz svg { max-width: 100%; height: auto; }

@keyframes nodePulse {
  0%, 100% { opacity: 0.6; r: 10; }
  50% { opacity: 1; r: 12; }
}
@keyframes linkFade {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.55; }
}
.node-pulse-1 { animation: nodePulse 3s ease-in-out infinite; }
.node-pulse-2 { animation: nodePulse 3s ease-in-out 0.6s infinite; }
.node-pulse-3 { animation: nodePulse 3s ease-in-out 1.2s infinite; }
.node-pulse-4 { animation: nodePulse 3s ease-in-out 1.8s infinite; }
.node-pulse-5 { animation: nodePulse 3s ease-in-out 2.4s infinite; }
.link-anim { animation: linkFade 4s ease-in-out infinite; }
.link-anim-1 { animation-delay: 0.5s; }
.link-anim-2 { animation-delay: 1s; }
.link-anim-3 { animation-delay: 1.5s; }
.link-anim-4 { animation-delay: 2s; }

/* ── ASSESSMENT PROMO TOAST ── */
.promo-toast {
  position: fixed; left: 24px; bottom: 24px; z-index: 200;
  width: 320px; max-width: calc(100vw - 48px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  padding: 24px;
  animation: promoToastIn 0.4s ease;
}
.promo-toast[hidden] { display: none; }
@keyframes promoToastIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.promo-toast-close {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px;
  border: none; background: transparent; color: var(--muted); font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.promo-toast-close:hover { background: var(--bg); color: var(--text); }
.promo-toast-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.promo-toast-preview { display: flex; justify-content: center; margin-bottom: 14px; }
.promo-toast-preview svg { width: 88px; height: 88px; }
.promo-toast-preview-grid { fill: none; stroke: var(--border); stroke-width: 1; }
.promo-toast-preview-data { fill: rgba(43,108,176,0.18); stroke: var(--blue); stroke-width: 1.5; }
.promo-toast-title {
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 17px; font-weight: 700;
  color: var(--text); margin: 0 0 8px; text-align: center;
}
.promo-toast-body { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0 0 16px; text-align: center; }
.promo-toast-btn { width: 100%; justify-content: center; }

@media (max-width: 480px) {
  .promo-toast { left: 12px; right: 12px; bottom: 12px; width: auto; }
}

/* ── ASSESSMENT PROMO ── */
.promo-section { padding: 0 5% 80px; background: var(--surface); }
.promo-inner {
  max-width: 1200px; margin: 0 auto;
  background: var(--blue-pale); border: 1px solid rgba(43,108,176,0.2); border-radius: var(--radius);
  padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.promo-text { flex: 1; min-width: 280px; }
.promo-text .section-h2 { margin-bottom: 12px; }
.promo-text .section-lead { margin-bottom: 0; max-width: none; }
.promo-btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 700px) {
  .promo-inner { padding: 32px; flex-direction: column; align-items: flex-start; }
}

/* ── VALUE PROPS ── */
.value-section {
  padding: 100px 5%;
  background: var(--bg);
}
.section-container { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  color: var(--text); margin-bottom: 16px;
}
.section-h2--spaced { margin-bottom: 48px; }
.section-lead {
  font-size: 17px; color: var(--muted); max-width: 620px;
  line-height: 1.75; font-weight: 300; margin-bottom: 56px;
}

.value-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.value-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 32px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(43,108,176,0.12); border-color: rgba(43,108,176,0.2); }
.value-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-pale); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; color: var(--blue); }

.card-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px; font-weight: 700; color: var(--text);
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.card-body { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ── DETAILS ── */
.details-section {
  padding: 100px 5%; background: var(--surface);
  border-top: 1px solid var(--border);
}

.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }

.detail-col h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 2px solid var(--blue-pale);
}

.detail-list { list-style: none; padding: 0; margin: 0; }
.detail-list li {
  padding: 9px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--muted); line-height: 1.6;
  display: flex; align-items: flex-start; gap: 10px;
}
.detail-list li:last-child { border-bottom: none; }
.detail-list li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
  margin-top: 7px; flex-shrink: 0;
}

/* ── CTA BAND ── */
.cta-section {
  padding: 80px 5%;
  background: var(--blue-dark);
  text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-section h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  color: #fff; margin-bottom: 16px;
}
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 36px; font-weight: 300; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: #fff; color: var(--blue-dark);
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-white:hover { background: var(--blue-pale); color: var(--blue-dark); text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }

/* ── ABOUT US ── */
.about-hero { padding: 160px 5% 60px; background: var(--surface); text-align: center; }
.about-hero .section-container { max-width: 720px; margin: 0 auto; }
.about-hero .section-eyebrow { justify-content: center; }
.about-hero .hero-eyebrow { margin: 0 auto 24px; }

.team-section { padding: 20px 5% 100px; background: var(--bg); }
.team-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.team-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; transition: all 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(43,108,176,0.1); border-color: rgba(43,108,176,0.2); }
.team-avatar-placeholder {
  width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--blue-pale); display: flex; align-items: center; justify-content: center;
}
.team-avatar-placeholder svg { width: 40px; height: 40px; }
.team-avatar {
  width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%;
  object-fit: cover; object-position: center; display: block;
}
.team-avatar--top { object-position: center 15%; }
.team-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.team-title { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.team-card--tba .team-name, .team-card--tba .team-title { color: var(--muted); font-style: italic; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
.footer {
  background: #111827; color: rgba(255,255,255,0.5);
  padding: 40px 5%; font-size: 13px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer a:hover { color: rgba(255,255,255,0.9); }
.footer-logo { opacity: 0.5; filter: invert(1) brightness(2); height: 28px; }

/* ── FADE IN ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeUp 0.7s ease both; }
.fade-in-1 { animation-delay: 0.05s; }
.fade-in-2 { animation-delay: 0.15s; }
.fade-in-3 { animation-delay: 0.25s; }
.fade-in-4 { animation-delay: 0.35s; }

/* ── UTILITY ── */
.visually-hidden-link { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .iam-viz { display: none; }
  .value-grid { grid-template-columns: 1fr; gap: 16px; }
  .details-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .hero { padding: 140px 5% 60px; }
  .hero-h1 { font-size: 34px; }
  .footer { flex-direction: column; align-items: flex-start; }
}
