:root {
  --bg: #07111f;
  --bg-soft: #0d1a2d;
  --panel: rgba(15, 24, 40, 0.84);
  --panel-strong: #f8fafc;
  --stroke: rgba(164, 184, 212, 0.16);
  --text: #f4f7fb;
  --muted: #9aa8bb;
  --accent: #3bc7ff;
  --accent-strong: #0a7cff;
  --success: #52d18c;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(10, 124, 255, 0.22), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(59, 199, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #09111d 0%, #050b14 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent);
}

.page-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  position: sticky;
  top: 16px;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(6, 12, 22, 0.6);
  border: 1px solid rgba(154, 168, 187, 0.12);
  border-radius: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 15px;
}

.brand-text small {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  padding: 72px 0 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #c5d0de;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.hero h1,
.section-copy h2,
.cta h2 {
  margin: 22px 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(54px, 7vw, 88px);
  max-width: 760px;
}

.hero p,
.section-copy p,
.cta p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #0a7cff, #3bc7ff);
  box-shadow: 0 14px 32px rgba(10, 124, 255, 0.3);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hero-tags,
.check-list,
.metric-card ul,
.board-tags {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.hero-tags li,
.board-tags span {
  padding: 12px 16px;
  border-radius: 18px;
  color: #cad5e4;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
}

.dashboard-card {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.search-panel {
  padding: 18px;
  background: rgba(248, 250, 252, 0.96);
  color: #1f2937;
  transform: translateX(-48px);
}

.search-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: white;
  border: 1px solid #e6ebf2;
}

.search-placeholder {
  flex: 1;
  color: #8892a0;
}

.search-row button {
  border: 0;
  min-width: 120px;
  min-height: 48px;
  border-radius: 14px;
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, #0a7cff, #24b4ff);
}

.breadcrumbs {
  margin-top: 14px;
  color: #6b7280;
  font-size: 14px;
}

.breadcrumbs span {
  margin: 0 6px;
}

.profile-panel {
  margin-top: -14px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 250, 0.92));
  color: #111827;
}

.profile-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.avatar-ring,
.spotlight-avatar {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 70% 25%, #3bc7ff, transparent 24%),
    radial-gradient(circle at 25% 70%, #7c3aed, transparent 18%),
    linear-gradient(135deg, #07111f, #131d35);
}

.person-name {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.person-role {
  margin-top: 6px;
  color: #16a34a;
  font-weight: 700;
}

.person-meta {
  margin-top: 6px;
  color: #6b7280;
}

.mini-actions {
  display: flex;
  gap: 10px;
}

.mini-actions span {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  background: white;
  border: 1px solid #e7edf5;
}

.mini-actions .dark {
  color: white;
  background: #111827;
  border-color: #111827;
}

.profile-grid,
.spotlight-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.profile-grid div,
.spotlight-details div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(210, 220, 232, 0.85);
}

label {
  display: block;
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 0 18px;
  border-top: 1px solid rgba(214, 223, 232, 0.9);
  border-bottom: 1px solid rgba(214, 223, 232, 0.9);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: #667084;
  letter-spacing: 0.06em;
}

.panel-tabs .active {
  color: #0a7cff;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.metric-card {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(210, 220, 232, 0.85);
}

.metric-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.metric-card p,
.metric-card li {
  color: #4b5563;
}

.progress {
  margin-top: 14px;
  height: 14px;
  border-radius: 999px;
  background: #dfe6ef;
  overflow: hidden;
}

.progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #20c997, #52d18c);
}

.metric-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-strip,
.content-grid,
.cta {
  margin-top: 34px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-strip article,
.info-board,
.spotlight-card,
.cta {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.feature-strip span {
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
}

.feature-strip h2 {
  margin: 12px 0 12px;
  font-size: 28px;
  line-height: 1.05;
}

.feature-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.section-copy h2,
.cta h2 {
  font-size: clamp(38px, 5vw, 60px);
}

.check-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #d7e0ec;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3bc7ff, #52d18c);
}

.info-board {
  background:
    radial-gradient(circle at top right, rgba(59, 199, 255, 0.2), transparent 30%),
    rgba(255, 255, 255, 0.04);
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.board-header span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.board-header strong {
  font-size: 22px;
}

.org-chart {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.org-node {
  min-width: 160px;
  padding: 18px 22px;
  border-radius: 20px;
  text-align: center;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.org-node.primary {
  background: linear-gradient(135deg, rgba(10, 124, 255, 0.35), rgba(59, 199, 255, 0.12));
}

.org-node.accent {
  border-color: rgba(82, 209, 140, 0.45);
}

.org-line {
  width: 2px;
  height: 44px;
  background: linear-gradient(180deg, rgba(59, 199, 255, 0.85), rgba(59, 199, 255, 0.15));
}

.org-children {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.board-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.spotlight-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
}

.spotlight-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.spotlight-top strong {
  font-size: 28px;
}

.spotlight-top p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background:
    radial-gradient(circle at top right, rgba(82, 209, 140, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(10, 124, 255, 0.16), rgba(255, 255, 255, 0.04));
}

@media (max-width: 1120px) {
  .hero,
  .content-grid,
  .reverse,
  .feature-strip,
  .cards-row {
    grid-template-columns: 1fr;
  }

  .search-panel {
    transform: none;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 1240px);
    padding-top: 12px;
  }

  .topbar,
  .profile-summary,
  .cta,
  .search-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 12px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p,
  .section-copy p,
  .cta p {
    font-size: 17px;
  }

  .profile-grid,
  .spotlight-details,
  .org-children {
    grid-template-columns: 1fr;
  }

  .mini-actions {
    width: 100%;
  }

  .search-row {
    width: 100%;
  }

  .search-row button,
  .button {
    width: 100%;
  }

  .panel-tabs {
    gap: 12px;
  }
}
