:root {
  --background: #070a0f;
  --surface: #111821;
  --primary: #2f8cff;
  --secondary: #d7a85f;
  --text: #f5f1e8;
  --muted-text: #aeb8b2;
  --border: rgba(222, 214, 196, 0.16);
  --success: #4a2cff;
  --warning: #e7bd63;
  --danger: #ff6b7a;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

* { 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;
  background:
    linear-gradient(180deg, rgba(19, 29, 31, 0.78), transparent 34rem),
    radial-gradient(circle at 18% 0%, rgba(47, 140, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 82% 10%, rgba(215, 168, 95, 0.12), transparent 32rem),
    var(--background);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  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(to bottom, black 0%, transparent 70%);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 10, 15, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand, .nav-links, .hero-actions, .wizard-actions, .footer, .progress-meta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
  font-weight: 850;
}
.brand-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(47, 140, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.9));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), 0 0 32px rgba(47, 140, 255, 0.18);
}
.brand-icon img {
  width: 29px;
  height: 29px;
  object-fit: contain;
  display: block;
}
.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}
.brand-copy strong {
  color: var(--text);
  font-size: 1.08rem;
  letter-spacing: 0;
}
.brand-copy small {
  color: var(--muted-text);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links { gap: 20px; color: var(--muted-text); font-size: 0.94rem; }
.nav-links a:hover, .link-button:hover { color: var(--text); }
.link-button, .nav-toggle {
  color: var(--text);
  background: transparent;
  border: 0;
  padding: 0;
}
.nav-toggle { display: none; }
.link-button {
  min-height: 36px;
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(47, 140, 255, 0.1);
  border: 1px solid rgba(47, 140, 255, 0.26);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 56px;
}

.hero-content {
  padding: 28px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.45rem);
  line-height: 0.96;
  letter-spacing: 0;
}
h2 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.05; letter-spacing: 0; }
h3 { font-size: 1.2rem; line-height: 1.2; }
.hero-copy, .section-heading p { color: var(--muted-text); font-size: 1.12rem; max-width: 720px; }
.trust-line { color: var(--muted-text); margin-top: 22px; max-width: 620px; }

.primary-button, .secondary-button {
  min-height: 46px;
  border-radius: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.primary-button {
  background: linear-gradient(135deg, #2eb6ff, var(--primary) 42%, var(--success));
  color: #fff;
  box-shadow: 0 16px 38px rgba(47, 140, 255, 0.24);
}
.secondary-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--border);
}
.primary-button:hover, .secondary-button:hover { transform: translateY(-1px); }
.hero-actions { gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.025)),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,0.035) 47px 48px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255,255,255,0.035) 47px 48px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-visual::before {
  background: linear-gradient(135deg, rgba(47, 140, 255, 0.15), rgba(74, 44, 255, 0.09));
}
.hero-visual::before, .hero-visual::after {
  content: "";
  position: absolute;
  inset: 23% 17%;
  border: 1px solid rgba(47, 140, 255, 0.26);
  border-radius: 50%;
}
.hero-visual::after { inset: 12% 8%; border-color: rgba(215, 168, 95, 0.18); }
.employee-core {
  position: absolute;
  inset: 35% 22% auto;
  min-height: 145px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid rgba(47, 140, 255, 0.48);
  background: linear-gradient(180deg, rgba(18, 31, 34, 0.98), rgba(8, 15, 15, 0.98));
  box-shadow: 0 0 52px rgba(47, 140, 255, 0.2), inset 0 1px 0 rgba(255,255,255,0.08);
}
.employee-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  padding: 7px;
  border-radius: 12px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(47, 140, 255, 0.24);
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}
.employee-core span { display: block; font-size: 1.35rem; font-weight: 900; }
.employee-core strong { color: var(--muted-text); font-size: 0.84rem; }
.system-node {
  position: absolute;
  z-index: 2;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(8, 15, 15, 0.82);
  border: 1px solid var(--border);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}
.node-outlook { top: 13%; left: 12%; }
.node-crm { top: 16%; right: 13%; }
.node-slack { bottom: 18%; left: 10%; }
.node-db { bottom: 15%; right: 12%; }
.audit-strip {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.audit-strip span {
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  background: rgba(66, 211, 146, 0.08);
  border: 1px solid rgba(66, 211, 146, 0.22);
  color: #dce8ff;
  font-size: 0.86rem;
}

.section-heading { margin-bottom: 34px; }
.comparison-grid, .workflow-grid, .security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.compare-card, .workflow-grid article, .illustration-note {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.032));
  box-shadow: 0 18px 46px rgba(0,0,0,0.2);
  padding: 24px;
}
.compare-card.featured {
  border-color: rgba(47, 140, 255, 0.45);
  background: linear-gradient(180deg, rgba(47, 140, 255, 0.11), rgba(74, 44, 255, 0.06));
}
ul { padding-left: 20px; color: var(--muted-text); }
.quote-band {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(215, 168, 95, 0.32);
  border-radius: 8px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(47, 140, 255, 0.1), rgba(215, 168, 95, 0.1));
  font-size: 1.35rem;
  font-weight: 900;
}
.workflow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workflow-grid p, .illustration-note p { color: var(--muted-text); margin-bottom: 0; }
.illustration-note { margin-top: 18px; }
.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
}
.process-list li, .security-grid span {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.03));
  font-weight: 800;
}
.process-list span { display: block; color: var(--primary); margin-bottom: 8px; }
.security-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 46px;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted-text);
  border-top: 1px solid var(--border);
}
.footer div { display: grid; gap: 6px; }
.footer-brand {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.wizard-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}
.wizard-shell.open { display: block; }
.wizard-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}
.wizard {
  position: absolute;
  inset: 24px;
  max-width: 980px;
  margin: auto;
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 27, 31, 0.98), rgba(7, 10, 15, 0.98));
  box-shadow: var(--shadow);
  padding: 28px;
}
.wizard-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.wizard-header h2 { font-size: 1.7rem; margin-bottom: 0; }
.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.06);
}
.progress-wrap { margin: 18px 0 24px; }
.progress-meta { justify-content: space-between; color: var(--muted-text); font-size: 0.88rem; }
.progress-bar {
  height: 8px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255,255,255,0.09);
}
.progress-bar span {
  display: block;
  height: 100%;
  width: 10%;
  background: linear-gradient(90deg, var(--primary), var(--success));
}
.step { display: none; }
.step.active { display: block; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
label, .wide-label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 750;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.055);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}
select option { color: #07111f; }
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.16);
}
.wide-label { margin-top: 18px; }
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.choice-card {
  min-height: 62px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255,255,255,0.045);
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.choice-card:hover {
  border-color: rgba(47, 140, 255, 0.42);
  background: rgba(255,255,255,0.07);
  transform: translateY(-1px);
}
.choice-card[aria-pressed="true"] {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(47, 140, 255, 0.16), rgba(74, 44, 255, 0.08));
}
.other-detail {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(47, 140, 255, 0.28);
  border-radius: 8px;
  background: rgba(47, 140, 255, 0.075);
}
.other-detail[hidden] {
  display: none;
}
.form-note { color: var(--muted-text); font-size: 0.93rem; }
.form-error { min-height: 24px; color: var(--danger); font-weight: 800; }
.wizard-actions { justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.blueprint {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.blueprint-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255,255,255,0.055);
}
.blueprint-item span {
  display: block;
  color: var(--muted-text);
  font-size: 0.82rem;
  margin-bottom: 4px;
}
.blueprint-item button {
  margin-top: 8px;
  border: 0;
  color: var(--primary);
  background: transparent;
  padding: 0;
  font-weight: 800;
}
.success-step { text-align: center; }
.confirmation {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(66, 211, 146, 0.1);
  border: 1px solid rgba(66, 211, 146, 0.28);
}
.next-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}
.next-list span {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted-text);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; border: 1px solid var(--border); padding: 8px 10px; border-radius: 8px; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #111821;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .hero, .comparison-grid, .workflow-grid, .process-list, .security-grid, .form-grid, .choice-grid, .blueprint, .next-list {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 56px; min-height: auto; }
  .hero-visual { min-height: 420px; }
  .cta-section, .footer { align-items: flex-start; flex-direction: column; }
  .wizard { inset: 8px; max-height: calc(100vh - 16px); padding: 18px; }
}

@media (max-width: 560px) {
  .section { width: min(100% - 24px, 1180px); padding: 64px 0; }
  .nav { width: calc(100% - 24px); }
  h1 { font-size: 3rem; }
  .brand-icon { width: 40px; height: 40px; border-radius: 10px; }
  .brand-icon img { width: 26px; height: 26px; }
  .brand-copy strong { font-size: 0.98rem; }
  .brand-copy small { font-size: 0.58rem; }
  .hero-visual { min-height: 360px; }
  .employee-core { inset: 34% 12% auto; }
  .system-node { font-size: 0.8rem; padding: 9px; }
  .audit-strip { grid-template-columns: 1fr; left: 12px; right: 12px; bottom: 12px; }
  .primary-button, .secondary-button { width: 100%; }
}
