/* Custom Software Development — 01 Hero */

@keyframes cw-software-development-hero-ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 85, 39, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(255, 85, 39, 0); }
}

@keyframes cw-software-development-hero-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cw-software-development-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 500px at 78% 45%, rgba(123, 47, 247, 0.22), transparent 70%),
    radial-gradient(500px 400px at 60% 90%, rgba(255, 85, 39, 0.14), transparent 70%),
    #141210;
  color: #eae7e1;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
}

.cw-software-development-hero__inner {
  box-sizing: border-box;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 40px;
  align-items: center;
}

.cw-software-development-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cw-software-development-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #ff7a50;
}

.cw-software-development-hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5527;
  animation: cw-software-development-hero-ping 1.8s infinite;
}

.cw-software-development-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #f3efe7;
}

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

.cw-software-development-hero__lead {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(234, 231, 225, 0.78);
  text-wrap: pretty;
}

.cw-software-development-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-software-development-hero__btn {
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cw-software-development-hero__btn--primary {
  padding: 0 26px;
  background: #e0431c;
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(224, 67, 28, 0.8);
}

.cw-software-development-hero__btn--primary:hover {
  background: #c93a16;
  color: #fff;
}

.cw-software-development-hero__btn--secondary {
  border: 1px solid rgba(234, 231, 225, 0.25);
  color: #eae7e1;
  font-weight: 500;
}

.cw-software-development-hero__btn--secondary:hover {
  border-color: #b7a6f5;
  color: #fff;
}

.cw-software-development-hero__types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(234, 231, 225, 0.1);
  padding-top: 22px;
}

.cw-software-development-hero__type {
  border: 1px solid rgba(234, 231, 225, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: #eae7e1;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.cw-software-development-hero__type:hover {
  border-color: #d4f53c;
  color: #d4f53c;
}

.cw-software-development-hero__preview {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-software-development-hero__preview-head {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(234, 231, 225, 0.55);
}

.cw-software-development-hero__preview-deployed {
  color: #d4f53c;
}

.cw-software-development-hero__carousel {
  position: relative;
  height: 370px;
  overflow: hidden;
  perspective: 1400px;
  cursor: grab;
  touch-action: pan-y;
  outline: none;
}

.cw-software-development-hero__carousel.is-dragging {
  cursor: grabbing;
}

.cw-software-development-hero__card-slot {
  position: absolute;
  left: 50%;
  top: 50%;
  will-change: transform, opacity;
}

.cw-software-development-hero__card-body {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
  color: #fff;
}

.cw-software-development-hero__card-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 70% at 50% 110%, rgba(255, 255, 255, 0.28), transparent 60%);
  pointer-events: none;
}

.cw-software-development-hero__card-head {
  position: absolute;
  left: 18px;
  top: 16px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
}

.cw-software-development-hero__card-k2 {
  opacity: 0.8;
}

.cw-software-development-hero__card-badge {
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 10px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cw-software-development-hero__card-value-row {
  position: absolute;
  left: 0;
  right: 0;
  top: 34%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
}

.cw-software-development-hero__card-value {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.cw-software-development-hero__card-unit {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin-top: 6px;
}

.cw-software-development-hero__card-bars {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 44px;
  height: 40px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  justify-content: center;
}

.cw-software-development-hero__card-bar {
  flex: 1;
  max-width: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
}

.cw-software-development-hero__card-bar--peak {
  background: rgba(255, 255, 255, 0.95);
}

.cw-software-development-hero__card-foot {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  font-size: 11.5px;
  opacity: 0.9;
}

.cw-software-development-hero__marquee {
  background: #e0431c;
  color: #fff;
  overflow: hidden;
  padding: 14px 0;
}

.cw-software-development-hero__marquee-track {
  display: flex;
  width: max-content;
  animation: cw-software-development-hero-marquee 36s linear infinite;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.cw-software-development-hero__marquee-item {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  white-space: nowrap;
}

.cw-software-development-hero__marquee-star {
  color: #d4f53c;
}
