/* CRM Development page — 01 Hero */

@keyframes cw-crm-development-hero-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-crm-development-hero {
  background:
    radial-gradient(700px 500px at 80% 40%, rgba(183, 166, 245, 0.12), transparent 70%),
    #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  padding: clamp(48px, 6vw, 84px) clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.cw-crm-development-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.cw-crm-development-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.cw-crm-development-hero__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #d4f53c;
}

.cw-crm-development-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 5.4vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.cw-crm-development-hero__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #d4f53c;
  letter-spacing: -0.02em;
}

.cw-crm-development-hero__lead {
  margin: 0;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(243, 239, 231, 0.78);
}

.cw-crm-development-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cw-crm-development-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cw-crm-development-hero__btn--primary {
  background: #d4f53c;
  color: #141210;
  font-weight: 700;
}

.cw-crm-development-hero__btn--primary:hover,
.cw-crm-development-hero__btn--primary:focus-visible {
  background: #fff;
  color: #141210;
}

.cw-crm-development-hero__btn--secondary {
  border: 1px solid rgba(243, 239, 231, 0.3);
  color: #f3efe7;
}

.cw-crm-development-hero__btn--secondary:hover,
.cw-crm-development-hero__btn--secondary:focus-visible {
  border-color: #d4f53c;
}

.cw-crm-development-hero__widget {
  background: #1e1b18;
  border: 1px solid rgba(243, 239, 231, 0.08);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  min-width: 0;
}

.cw-crm-development-hero__widget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #a39c90;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-crm-development-hero__signals {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cw-crm-development-hero__signals-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4f53c;
  flex-shrink: 0;
}

.cw-crm-development-hero__stage {
  position: relative;
  height: clamp(420px, 44vw, 500px);
  margin-bottom: 8px;
}

.cw-crm-development-hero__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cw-crm-development-hero__lines line {
  stroke-width: 0.4;
  stroke-dasharray: 1.2 1.2;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.3s ease;
}

.cw-crm-development-hero__dot {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #d4f53c;
  box-shadow: 0 0 16px #d4f53c;
  z-index: 2;
  transition:
    left 0.8s cubic-bezier(0.5, 0, 0.5, 1),
    top 0.8s cubic-bezier(0.5, 0, 0.5, 1),
    opacity 0.2s ease;
}

.cw-crm-development-hero__nodes {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.cw-crm-development-hero__node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: #f3efe7;
  padding: 0;
  font: inherit;
}

.cw-crm-development-hero__node:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 4px;
  border-radius: 8px;
}

.cw-crm-development-hero__node-ab {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
  border: 1.5px solid rgba(243, 239, 231, 0.18);
  background: #2a2622;
  color: #f3efe7;
  transition: all 0.3s ease;
}

.cw-crm-development-hero__node--active .cw-crm-development-hero__node-ab {
  background: #d4f53c;
  color: #141210;
  border-color: #d4f53c;
}

.cw-crm-development-hero__node-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #cfc9be;
}

.cw-crm-development-hero__card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(62%, 280px);
  background: #f3efe7;
  color: #141210;
  border-radius: 20px;
  padding: 14px;
  z-index: 1;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6);
}

.cw-crm-development-hero__card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cw-crm-development-hero__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #b7a6f5;
  display: grid;
  place-items: center;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.cw-crm-development-hero__card-meta {
  flex: 1;
  min-width: 0;
}

.cw-crm-development-hero__card-name {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
}

.cw-crm-development-hero__card-role {
  font-size: 11px;
  color: #6b645a;
}

.cw-crm-development-hero__score-wrap {
  text-align: right;
  flex-shrink: 0;
}

.cw-crm-development-hero__score-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  color: #6b645a;
}

.cw-crm-development-hero__score {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #e0431c;
}

.cw-crm-development-hero__bar {
  margin-top: 10px;
  height: 6px;
  background: #e4ddd0;
  border-radius: 3px;
  overflow: hidden;
}

.cw-crm-development-hero__bar-fill {
  height: 100%;
  background: #141210;
  transition: width 0.6s ease;
}

.cw-crm-development-hero__stats {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.cw-crm-development-hero__stat {
  border-radius: 10px;
  padding: 7px 9px;
}

.cw-crm-development-hero__stat--lime {
  background: #d4f53c;
}

.cw-crm-development-hero__stat--lav {
  background: #cfc4f6;
}

.cw-crm-development-hero__stat-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
}

.cw-crm-development-hero__stat-value {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
}

.cw-crm-development-hero__feed {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cw-crm-development-hero__feed-item {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11.5px;
  line-height: 1.3;
  animation: cw-crm-development-hero-in 0.35s ease both;
}

.cw-crm-development-hero__feed-ab {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 6px;
  background: #141210;
  color: #d4f53c;
  display: grid;
  place-items: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
}

.cw-crm-development-hero__hint {
  margin: 0;
  padding: 10px 6px 2px;
  font-size: 12px;
  color: #a39c90;
}

@media (prefers-reduced-motion: reduce) {
  .cw-crm-development-hero__dot,
  .cw-crm-development-hero__bar-fill,
  .cw-crm-development-hero__node-ab,
  .cw-crm-development-hero__feed-item {
    transition: none;
    animation: none;
  }
}
