:root {
  --navy: #07142d;
  --blue: #0b2f6b;
  --sky: #2563eb;
  --orange: #f97316;
  --ink: #111827;
  --muted: #64748b;
  --steel: #e5e7eb;
  --panel: #f8fafc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: white;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  padding: 15px 22px;
  font-weight: 800;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: white; box-shadow: 0 15px 35px rgba(249, 115, 22, .3); }
.btn-dark { background: var(--navy); color: white; }
.btn-ghost { border: 1px solid rgba(255,255,255,.65); color: white; background: rgba(255,255,255,.08); }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--steel);
}
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 950; color: var(--navy); letter-spacing: -.04em; font-size: 1.35rem; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(135deg, var(--navy), var(--sky)); }
.nav-links { display: flex; align-items: center; gap: 24px; color: #334155; font-weight: 700; }

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--navy);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,20,45,.94), rgba(7,20,45,.68), rgba(7,20,45,.25)),
    url("/images/web/Xgen-Website-Photos-1.jpg") center/cover;
}
.hero-content { position: relative; z-index: 1; padding: 96px 0; max-width: 850px; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 7rem); line-height: .88; letter-spacing: -.075em; margin: 16px 0 24px; }
.hero p { color: #dbeafe; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.55; max-width: 730px; }
.hero-actions, .hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.stat-pill { padding: 12px 16px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); border-radius: 14px; }
.stat-pill strong { display: block; font-size: 1.25rem; }
.stat-pill span { color: #bfdbfe; font-size: .82rem; }

.section { padding: 92px 0; }
.section.alt { background: var(--panel); }
.section.dark { background: var(--navy); color: white; }
.section-header { max-width: 760px; margin-bottom: 44px; }
.section-header.center { text-align: center; margin-inline: auto; }
.section h2 { font-size: clamp(2.3rem, 5vw, 4.3rem); line-height: .98; letter-spacing: -.06em; margin: 10px 0 18px; color: inherit; }
.section p { color: var(--muted); line-height: 1.7; font-size: 1.05rem; }
.dark p { color: #cbd5e1; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-grid img { height: 260px; width: 100%; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 50px rgba(15,23,42,.18); }
.photo-grid img:nth-child(2) { transform: translateY(34px); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  padding: 28px;
  background: white;
  border: 1px solid var(--steel);
  border-radius: 28px;
  box-shadow: 0 16px 45px rgba(15,23,42,.06);
}
.dark .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.card-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: #dbeafe; color: var(--blue); font-size: 1.5rem; margin-bottom: 18px; }
.dark .card-icon { background: rgba(249,115,22,.18); color: #fdba74; }
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.25rem; }
.dark .card h3 { color: white; }

.metric-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 38px; overflow: hidden; border-radius: 28px; background: rgba(255,255,255,.16); }
.metric { padding: 28px; background: linear-gradient(135deg, #f97316, #ea580c); text-align: center; }
.metric strong { display: block; font-size: 2.4rem; }
.metric span { color: #ffedd5; font-weight: 700; }

.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { counter-increment: steps; padding: 26px; border-radius: 24px; background: white; border: 1px solid var(--steel); position: relative; }
.step::before { content: counter(steps); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-weight: 900; margin-bottom: 30px; }

.hub { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.hub-screen { background: #0f172a; color: white; border-radius: 30px; padding: 24px; box-shadow: 0 30px 80px rgba(15,23,42,.35); }
.profile-card { background: white; color: var(--ink); border-radius: 22px; padding: 20px; margin-top: 14px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.skill-tags span { background: #dbeafe; color: var(--blue); border-radius: 999px; padding: 6px 10px; font-size: .8rem; font-weight: 800; }

.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.media-grid img { height: 240px; width: 100%; object-fit: cover; border-radius: 22px; }

.cta { text-align: center; background: linear-gradient(135deg, var(--navy), #0b2f6b); color: white; border-radius: 36px; padding: 62px 28px; }
.cta p { margin-inline: auto; max-width: 720px; }

.footer { background: #050b18; color: white; padding: 54px 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 32px; }
.footer a, .footer p { color: #cbd5e1; }
.footer ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }

.portal-body { background: #eef2f7; }
.portal { min-height: 100vh; display: grid; grid-template-columns: 280px 1fr; }
.sidebar { background: var(--navy); color: white; padding: 28px; }
.sidebar a { color: white; }
.main { padding: 34px; }
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.panel { background: white; border-radius: 24px; border: 1px solid var(--steel); padding: 24px; }
.table { width: 100%; border-collapse: collapse; background: white; border-radius: 22px; overflow: hidden; }
.table th, .table td { padding: 16px; border-bottom: 1px solid var(--steel); text-align: left; }
.badge { display: inline-flex; border-radius: 999px; padding: 6px 10px; font-size: .78rem; font-weight: 900; background: #dbeafe; color: var(--blue); }
.muted { color: var(--muted); line-height: 1.7; }

.auth-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(7,20,45,.94), rgba(11,47,107,.88)),
    url("/images/web/Xgen-Website-Photos-1.jpg") center/cover;
}
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 32px 20px; }
.auth-card {
  width: min(620px, 100%);
  background: white;
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.auth-card h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.06em; margin: 18px 0 12px; }
.auth-foot { color: var(--muted); margin-top: 22px; }
.auth-foot a { color: var(--sky); font-weight: 900; }

label { display: grid; gap: 8px; margin-top: 16px; color: #334155; font-weight: 800; }
input, textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: white;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.form-section { margin-top: 20px; }
.form-section h2 { margin-top: 0; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 40px; }
.alert {
  padding: 14px 16px;
  border-radius: 16px;
  margin: 18px 0;
  font-weight: 800;
}
.alert.success { background: #dcfce7; color: #166534; }
.alert.error { background: #fee2e2; color: #991b1b; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.choice-card {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 20px;
  border: 2px solid var(--steel);
  border-radius: 22px;
  cursor: pointer;
  background: #f8fafc;
}
.choice-card input { width: auto; }
.choice-card strong { color: var(--navy); font-size: 1.15rem; }
.choice-card span { color: var(--muted); line-height: 1.55; }
.choice-card.selected { border-color: var(--orange); background: #fff7ed; }
.stat-card strong {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: -.06em;
}
.section-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.search-input {
  max-width: 360px;
  margin-top: 0;
}
.talent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.candidate-card {
  border: 1px solid var(--steel);
  background: #f8fafc;
  border-radius: 24px;
  padding: 20px;
}
.candidate-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.candidate-head h3 { margin: 0 0 4px; color: var(--navy); }
.candidate-head p, .candidate-card p, .mini-item p { color: var(--muted); line-height: 1.55; }
.text-link { color: var(--sky); font-weight: 900; }
.list-stack { display: grid; gap: 12px; margin-top: 16px; }
.mini-item {
  border: 1px solid var(--steel);
  background: #f8fafc;
  border-radius: 18px;
  padding: 16px;
}
.mini-item strong { color: var(--navy); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .split, .hub, .footer-grid, .portal { grid-template-columns: 1fr; }
  .cards, .steps, .panel-grid, .metric-band, .media-grid, .form-grid.two, .form-grid.three, .choice-grid, .talent-grid { grid-template-columns: 1fr; }
  .section-row { display: grid; }
  .search-input { max-width: none; }
  .hero-content { padding: 72px 0; }
  .section { padding: 68px 0; }
  .photo-grid img:nth-child(2) { transform: none; }
}
