/* ===== Base ===== */
.navbar-custom { background-color: #3577ba; }
.navbar-bottom { margin-top: 60px; }
html { -webkit-text-size-adjust: 100%; }
body { padding-bottom: env(safe-area-inset-bottom, 0); overflow-x: hidden; }

/* ===== Index – Bold & Beautiful ===== */
body.page-index {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0f172a;
  color: #f8fafc;
  overflow-x: hidden;
}

.page-index .header-main {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.page-index .header-main a { color: #f8fafc !important; }
.page-index .header-main img { filter: brightness(1.1); }

/* Hero – full-bleed dramatic */
.hero-block {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 50%, #0c1222 100%);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(53, 119, 186, 0.3), transparent),
    linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  margin: 0 calc(-50vw + 50%);
  padding: 3rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(53, 119, 186, 0.9);
  margin-bottom: 0.5rem;
}
.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(248, 250, 252, 0.7);
  font-weight: 400;
}
@media (min-width: 768px) {
  .hero-block { padding: 4rem 2rem 5rem; }
  .hero-title { font-size: 3.25rem; }
}

/* Role cards section */
.role-cards { margin-top: -1.5rem; position: relative; }
.role-cards-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.5);
  margin-bottom: 1.25rem;
}

/* Role cards – elevated, with accent, equal height */
.role-cards .row > [class*="col"] { display: flex; }
.role-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.role-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(53, 119, 186, 0.4);
  background: #243447;
}
.role-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
}
.role-card-1 .role-card-accent { background: linear-gradient(180deg, #22c55e, #16a34a); }
.role-card-2 .role-card-accent { background: linear-gradient(180deg, #f43f5e, #e11d48); }
.role-card-3 .role-card-accent { background: linear-gradient(180deg, #3577ba, #2563eb); }
.role-card-4 .role-card-accent { background: linear-gradient(180deg, #06b6d4, #0891b2); }
.role-card-content { padding-left: 0.5rem; }
.role-card-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.role-card-1 .role-card-icon { color: #4ade80; }
.role-card-2 .role-card-icon { color: #fb7185; }
.role-card-3 .role-card-icon { color: #60a5fa; }
.role-card-4 .role-card-icon { color: #22d3ee; }
.role-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.5);
  display: block;
  margin-bottom: 0.25rem;
}
.role-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.75rem;
}
.role-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.role-card:hover .role-cta { color: #fff; }
.role-cta i { font-size: 0.75em; transition: transform 0.2s; }
.role-card:hover .role-cta i { transform: translateX(2px); }

/* Footer */
.page-index footer {
  border-top: none;
  color: rgba(248, 250, 252, 0.5);
}

/* Non-index pages keep light theme */
body:not(.page-index) {
  font-family: 'Outfit', -apple-system, sans-serif;
  background-color: #f8fafc;
  color: #212529;
}
body:not(.page-index) .header-main { border-bottom: 1px solid #e2e8f0; }
