:root {
  --ink: #17223b;
  --ink-soft: #526079;
  --navy: #121b34;
  --primary: #5e5ce6;
  --primary-dark: #4b49d1;
  --primary-soft: #eeefff;
  --aqua: #54d6c9;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --line: #e3e7f0;
  --line-strong: #d6dce8;
  --success: #2eb898;
  --shadow-sm: 0 10px 30px rgba(25, 34, 59, 0.08);
  --shadow-lg: 0 32px 80px rgba(21, 28, 54, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 6.4vw, 5.85rem);
  font-weight: 650;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 650;
}

h3 {
  font-size: 1.25rem;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 118px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(94, 92, 230, 0.22);
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 16px 34px rgba(94, 92, 230, 0.28);
}

.button:focus-visible,
.text-link:focus-visible,
.primary-nav a:focus-visible,
.role-tab:focus-visible,
.cta-login:focus-visible {
  outline: 3px solid rgba(84, 214, 201, 0.55);
  outline-offset: 4px;
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-small {
  min-height: 43px;
  padding-inline: 17px;
  border-radius: 11px;
  font-size: 0.88rem;
}

.button-light {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 11, 29, 0.18);
}

.button-light:hover {
  color: var(--navy);
  background: #f4f6ff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: currentColor;
}

.light-eyebrow {
  color: #a9fff5;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: rgba(250, 251, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  border-color: rgba(218, 223, 234, 0.85);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 9px 28px rgba(22, 30, 55, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 8px 19px rgba(94, 92, 230, 0.22);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
}

.brand-dot {
  color: var(--primary);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #48546c;
  font-size: 0.9rem;
  font-weight: 650;
}

.primary-nav > a:not(.button) {
  position: relative;
  transition: color 0.2s ease;
}

.primary-nav > a:not(.button):hover {
  color: var(--primary);
}

.primary-nav .nav-login {
  margin-left: 8px;
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 850px;
  padding: 156px 0 105px;
  background:
    linear-gradient(rgba(255,255,255,0.68), rgba(255,255,255,0.68)),
    radial-gradient(circle at 50% 0%, rgba(94, 92, 230, 0.14), transparent 46%),
    #f9faff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(29, 43, 72, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 43, 72, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 74%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-one {
  top: 100px;
  right: -170px;
  width: 510px;
  height: 510px;
  background: rgba(94, 92, 230, 0.1);
}

.hero-orb-two {
  bottom: 35px;
  left: -130px;
  width: 340px;
  height: 340px;
  background: rgba(84, 214, 201, 0.11);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  align-items: center;
  gap: 74px;
}

.hero-copy {
  padding-top: 10px;
}

.hero-copy h1 {
  max-width: 720px;
}

.hero-copy h1 em {
  position: relative;
  color: var(--primary);
  font-style: normal;
}

.hero-copy h1 em::after {
  content: "";
  position: absolute;
  right: 1%;
  bottom: -3px;
  left: 1%;
  height: 9px;
  border-radius: 50%;
  border-top: 3px solid var(--aqua);
  transform: rotate(-1.5deg);
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.text-link span {
  color: var(--primary);
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 37px;
}

.hero-note p {
  margin: 0;
  color: #68738a;
  font-size: 0.78rem;
  line-height: 1.55;
}

.hero-note strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.avatar-stack {
  display: flex;
  padding-left: 8px;
}

.avatar-stack span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #6c7ca3;
  font-size: 0.58rem;
  font-weight: 800;
}

.avatar-stack span:nth-child(2) { background: var(--primary); }
.avatar-stack span:nth-child(3) { background: #1cae9d; }

.product-stage {
  position: relative;
  min-width: 0;
  padding: 20px 0 26px;
}

.product-glow {
  position: absolute;
  inset: 12% 8% 2%;
  border-radius: 50%;
  background: rgba(94, 92, 230, 0.22);
  filter: blur(70px);
}

.dashboard-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(209, 215, 230, 0.9);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: perspective(1500px) rotateY(-4deg) rotateX(1deg);
  transform-origin: center center;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid #e7eaf1;
  background: #fff;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #29334d;
  font-size: 0.72rem;
  font-weight: 800;
}

.mini-mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(145deg, var(--primary), #7573ef);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.search-pill {
  width: 72px;
  height: 21px;
  border: 1px solid #e5e8ef;
  border-radius: 7px;
  background: #f8f9fc;
}

.topbar-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eef0f6;
}

.profile-dot {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: 0.46rem;
  font-weight: 800;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  min-height: 505px;
  background: #f6f7fb;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding-top: 25px;
  border-right: 1px solid #e4e7ef;
  background: #fff;
}

.side-item {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.side-item.active {
  background: var(--primary-soft);
}

.side-item i {
  display: block;
  width: 13px;
  height: 13px;
  border: 2px solid #bac1cf;
  border-radius: 4px;
}

.side-item.active i {
  border-color: var(--primary);
}

.dashboard-content {
  min-width: 0;
  padding: 24px 20px 20px;
}

.dashboard-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-heading h2 {
  margin: 3px 0 0;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.ui-kicker {
  color: #929aab;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-heading button {
  min-height: 31px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-size: 0.58rem;
  font-weight: 750;
}

.pipeline-summary {
  display: flex;
  gap: 8px;
  margin: 18px 0 17px;
}

.pipeline-summary span {
  padding: 5px 8px;
  border: 1px solid #e4e7ee;
  border-radius: 7px;
  color: #7b8496;
  background: #fff;
  font-size: 0.52rem;
}

.pipeline-summary strong {
  color: #30394e;
}

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

.kanban-column {
  min-width: 0;
  padding: 8px;
  border-radius: 11px;
  background: #eff1f6;
}

.kanban-column > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-inline: 3px;
  color: #606b7e;
  font-size: 0.58rem;
  font-weight: 800;
}

.kanban-column > header b {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  color: #7c8596;
  background: #fff;
  font-size: 0.48rem;
}

.candidate-card {
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid #e1e5ed;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 10px rgba(34, 45, 69, 0.04);
}

.candidate-card:last-child {
  margin-bottom: 0;
}

.candidate-head {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.candidate-head > div {
  min-width: 0;
}

.candidate-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.47rem;
  font-weight: 800;
}

.avatar-a { background: #7385b0; }
.avatar-b { background: #4ab7aa; }
.avatar-c { background: var(--primary); }
.avatar-d { background: #b778aa; }
.avatar-e { background: #d18b58; }

.candidate-head strong,
.candidate-head small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.candidate-head strong {
  color: #30394e;
  font-size: 0.59rem;
}

.candidate-head small {
  margin-top: 1px;
  color: #959dac;
  font-size: 0.45rem;
}

.candidate-tags {
  display: flex;
  gap: 4px;
  margin: 10px 0;
}

.candidate-tags span {
  padding: 3px 5px;
  border-radius: 4px;
  color: #626fe2;
  background: #f0f1ff;
  font-size: 0.41rem;
  font-weight: 700;
}

.candidate-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #98a0af;
  font-size: 0.43rem;
}

.candidate-card.compact {
  padding-block: 9px;
}

.highlighted {
  border-color: rgba(94, 92, 230, 0.38);
  box-shadow: 0 6px 16px rgba(94, 92, 230, 0.09);
}

.interview-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0;
  padding: 7px;
  border-radius: 7px;
  background: #f6f6ff;
}

.calendar-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 6px;
  color: var(--primary);
  background: #fff;
  font-size: 0.48rem;
  font-weight: 800;
}

.interview-row strong,
.interview-row small {
  display: block;
}

.interview-row strong { font-size: 0.48rem; }
.interview-row small { color: #939bad; font-size: 0.41rem; }

.highlighted footer {
  justify-content: flex-start;
  gap: 5px;
  color: var(--success);
  font-weight: 700;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.approval-progress {
  overflow: hidden;
  height: 5px;
  margin: 13px 0 5px;
  border-radius: 999px;
  background: #eceef3;
}

.approval-progress span {
  display: block;
  width: 67%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.approval-meta {
  display: flex;
  justify-content: space-between;
  color: #949cad;
  font-size: 0.43rem;
}

.approval-meta strong {
  color: var(--primary);
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(223, 227, 236, 0.94);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 17px 38px rgba(27, 35, 62, 0.16);
  backdrop-filter: blur(10px);
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  color: #2e374d;
  font-size: 0.68rem;
}

.floating-card small {
  color: #929aab;
  font-size: 0.54rem;
}

.floating-notification {
  top: -8px;
  right: -23px;
  animation: float 5s ease-in-out infinite;
}

.floating-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: var(--primary);
  background: var(--primary-soft);
}

.floating-icon svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-document {
  right: 42px;
  bottom: 0;
  animation: float 5s ease-in-out 0.7s infinite;
}

.doc-check {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #fff;
  background: var(--success);
  font-size: 0.75rem;
  font-weight: 800;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.trust-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid p {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 83px;
  margin: 0;
  padding: 0 34px;
  border-right: 1px solid var(--line);
  color: #59657b;
  font-size: 0.85rem;
  font-weight: 700;
}

.trust-grid p:first-child { padding-left: 0; }
.trust-grid p:last-child { border-right: 0; }

.trust-grid span {
  color: var(--primary);
  font-size: 0.67rem;
}

.section-heading {
  max-width: 750px;
}

.centered-heading {
  margin: 0 auto 58px;
  text-align: center;
}

.centered-heading .eyebrow {
  justify-content: center;
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.platform-section {
  background: #fff;
}

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

.feature-card {
  position: relative;
  min-height: 305px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #d6d8f6;
  box-shadow: var(--shadow-sm);
}


.feature-card-wide {
  grid-column: span 2;
}

.feature-card-large {
  display: grid;
  grid-column: span 2;
  grid-template-columns: 48px minmax(0, 1fr) 260px;
  gap: 20px;
  background: linear-gradient(135deg, #fbfbff, #f6f7ff);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  margin-bottom: 28px;
  border-radius: 13px;
  color: var(--primary);
  background: var(--primary-soft);
}

.feature-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card-large .feature-icon {
  margin-bottom: 0;
}

.feature-number {
  display: block;
  margin-bottom: 13px;
  color: #a0a8b6;
  font-size: 0.68rem;
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 13px;
  color: #263049;
}

.feature-card p {
  margin-bottom: 0;
  color: #69758a;
  font-size: 0.9rem;
}

.mini-request {
  align-self: center;
  padding: 18px;
  border: 1px solid #e0e3ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 15px 30px rgba(37, 46, 80, 0.08);
}

.mini-request-head,
.mini-request-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-request-head {
  margin-bottom: 16px;
  color: #30394f;
  font-size: 0.72rem;
  font-weight: 800;
}

.mini-request-head b {
  padding: 4px 6px;
  border-radius: 5px;
  color: #8c6c19;
  background: #fff5d8;
  font-size: 0.46rem;
}

.mini-request-line {
  padding: 8px 0;
  border-top: 1px solid #eff1f5;
  color: #939aa9;
  font-size: 0.55rem;
}

.mini-request-line strong {
  color: #4b556b;
}

.mini-approvers {
  display: flex;
  margin-top: 12px;
}

.mini-approvers span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: -4px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #7481a7;
  font-size: 0.45rem;
  font-weight: 800;
}

.mini-approvers span:nth-child(2) { background: var(--primary); }
.mini-approvers .approved { background: var(--success); }

.workflow-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.workflow-section::after {
  content: "";
  position: absolute;
  top: -240px;
  right: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(130, 127, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(130, 127, 255, 0.035), 0 0 0 140px rgba(130, 127, 255, 0.025);
}

.workflow-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 100px;
}

.workflow-copy {
  position: sticky;
  top: 130px;
}

.workflow-copy p {
  max-width: 500px;
  margin-bottom: 30px;
  color: #aeb8cc;
  font-size: 1.02rem;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 33px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-list li:first-child {
  padding-top: 5px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border: 1px solid rgba(169, 255, 245, 0.32);
  border-radius: 50%;
  color: #a9fff5;
  font-size: 0.68rem;
  font-weight: 800;
}

.workflow-list h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.workflow-list p {
  margin-bottom: 0;
  color: #9eabc2;
  font-size: 0.92rem;
}

.teams-section {
  overflow: hidden;
  background: var(--surface-soft);
}

.teams-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 105px;
}

.teams-visual {
  position: relative;
  display: grid;
  min-height: 535px;
  place-items: center;
}

.teams-visual::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 92, 230, 0.13), transparent 68%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(94, 92, 230, 0.15);
  border-radius: 50%;
}

.orbit-one {
  width: 370px;
  height: 370px;
}

.orbit-two {
  width: 495px;
  height: 495px;
}

.role-card-main {
  position: relative;
  z-index: 2;
  width: min(100%, 365px);
  padding: 40px;
  border: 1px solid rgba(214, 219, 232, 0.9);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 70px rgba(29, 39, 70, 0.14);
}

.role-symbol {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  margin-bottom: 30px;
  border-radius: 16px;
  color: var(--primary);
  background: var(--primary-soft);
}

.role-symbol svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.role-card-main small {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-card-main h3 {
  margin-bottom: 15px;
  font-size: 1.7rem;
}

.role-card-main p {
  margin-bottom: 0;
  color: #6b768c;
  font-size: 0.9rem;
}

.role-chip {
  position: absolute;
  z-index: 3;
  padding: 10px 15px;
  border: 1px solid #e0e4ee;
  border-radius: 999px;
  color: #445069;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 0.72rem;
  font-weight: 750;
}

.role-chip-one { top: 80px; left: 16px; }
.role-chip-two { right: 8px; bottom: 102px; }
.role-chip-three { right: 10px; top: 105px; }

.teams-copy > p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.role-tabs {
  display: flex;
  gap: 6px;
  margin: 34px 0 27px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.role-tab {
  flex: 1;
  min-height: 43px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: #6d788d;
  background: transparent;
  font-size: 0.83rem;
  font-weight: 750;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.role-tab.active {
  color: #fff;
  background: var(--primary);
}

.role-benefits {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-benefits li {
  position: relative;
  padding-left: 31px;
  color: #4e5a71;
  font-size: 0.9rem;
}

.role-benefits li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
  font-size: 0.65rem;
  font-weight: 800;
}

.cta-section {
  padding: 90px 0;
  background: #fff;
}

.cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 50px;
  padding: 62px 68px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #4543bf);
  box-shadow: 0 30px 70px rgba(79, 76, 202, 0.24);
}

.cta-card::after {
  content: "";
  position: absolute;
  top: -175px;
  right: -100px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,0.045), 0 0 0 110px rgba(255,255,255,0.025);
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.55rem);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  min-width: 185px;
}

.cta-login {
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  font-weight: 700;
}

.cta-login:hover {
  color: #fff;
}

.site-footer {
  padding: 58px 0 42px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  margin-bottom: 0;
  color: #788397;
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #606c82;
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
    gap: 36px;
  }

  .hero {
    min-height: auto;
  }

  .dashboard-card {
    transform: none;
  }

  .feature-card-large {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .mini-request {
    grid-column: 1 / -1;
  }

  .teams-grid {
    gap: 55px;
  }
}

@media (max-width: 920px) {
  .section {
    padding: 92px 0;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: grid;
    gap: 0;
    padding: 14px 20px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 25px 50px rgba(24, 32, 57, 0.12);
    transform: translateY(-125%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .primary-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav > a:not(.button) {
    padding: 13px 4px;
    border-bottom: 1px solid #edf0f5;
  }

  .primary-nav .nav-login {
    margin-left: 0;
  }

  .primary-nav .button {
    margin-top: 16px;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-copy {
    max-width: 740px;
  }

  .product-stage {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .trust-grid p {
    padding-inline: 18px;
    font-size: 0.75rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card-large {
    grid-column: span 2;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .workflow-copy {
    position: static;
  }

  .teams-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .teams-visual {
    order: 2;
  }

  .cta-card {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 50px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .primary-nav {
    inset-block-start: 70px;
  }

  .hero {
    padding: 114px 0 75px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .hero-note {
    align-items: flex-start;
  }

  .product-stage {
    margin-top: 5px;
    padding-inline: 0;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dashboard-sidebar {
    display: none;
  }

  .dashboard-content {
    padding: 18px 12px;
  }

  .dashboard-heading button {
    display: none;
  }

  .kanban {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-column {
    display: none;
  }

  .floating-notification {
    top: -22px;
    right: -3px;
  }

  .floating-document {
    right: 12px;
    bottom: -25px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .trust-grid p,
  .trust-grid p:first-child {
    min-height: 57px;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid p:last-child {
    border-bottom: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card-large,
  .feature-card-wide {
    grid-column: auto;
    min-height: auto;
    padding: 24px;
  }

  .feature-card-large {
    grid-template-columns: 1fr;
  }

  .feature-card-large .feature-icon {
    margin-bottom: 5px;
  }

  .mini-request {
    grid-column: auto;
  }

  .workflow-list li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
  }

  .step-number {
    width: 43px;
    height: 43px;
  }

  .teams-visual {
    min-height: 480px;
  }

  .orbit-one { width: 315px; height: 315px; }
  .orbit-two { width: 420px; height: 420px; }

  .role-card-main {
    width: min(100%, 335px);
    padding: 32px;
  }

  .role-chip-one { left: -5px; }
  .role-chip-three { right: -5px; }
  .role-chip-two { right: 0; bottom: 65px; }

  .role-tabs {
    overflow-x: auto;
  }

  .role-tab {
    min-width: 100px;
  }

  .cta-section {
    padding: 65px 0;
  }

  .cta-card {
    padding: 38px 27px;
    border-radius: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 15px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
