/* Hybrid App Development page — 01 Hero */

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

.cw-hybrid-app-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-hybrid-app-development-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

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

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

.cw-hybrid-app-development-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

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

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

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

.cw-hybrid-app-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-hybrid-app-development-hero__btn--primary {
  background: #d4f53c;
  color: #141210;
  font-weight: 700;
}

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

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

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

.cw-hybrid-app-development-hero__demo {
  background: #1e1b18;
  border: 1px solid rgba(243, 239, 231, 0.08);
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.cw-hybrid-app-development-hero__fw-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-hybrid-app-development-hero__fw-tab {
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cw-hybrid-app-development-hero__fw-tab:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 2px;
}

.cw-hybrid-app-development-hero__code-wrap {
  background: #141210;
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 132px;
}

.cw-hybrid-app-development-hero__code-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #6b645a;
  margin-bottom: 6px;
}

.cw-hybrid-app-development-hero__code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.7;
  color: #cfc9be;
}

.cw-hybrid-app-development-hero__code-line {
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: cw-hybrid-app-development-hero-in 0.25s ease both;
}

.cw-hybrid-app-development-hero__code-no {
  color: #6b645a;
}

.cw-hybrid-app-development-hero__controls {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.cw-hybrid-app-development-hero__controls-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #a39c90;
  margin-right: 4px;
}

.cw-hybrid-app-development-hero__accents {
  display: flex;
  gap: 6px;
  align-items: center;
}

.cw-hybrid-app-development-hero__accent-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  border: 2px solid transparent;
}

.cw-hybrid-app-development-hero__accent-btn:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 2px;
}

.cw-hybrid-app-development-hero__heads {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-hybrid-app-development-hero__head-btn {
  border: 1px solid rgba(243, 239, 231, 0.2);
  background: transparent;
  color: #f3efe7;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11.5px;
  cursor: pointer;
  font-family: inherit;
}

.cw-hybrid-app-development-hero__head-btn:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 2px;
}

.cw-hybrid-app-development-hero__build-btn {
  margin-left: auto;
  border: none;
  background: #d4f53c;
  color: #141210;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
}

.cw-hybrid-app-development-hero__build-btn:hover,
.cw-hybrid-app-development-hero__build-btn:focus-visible {
  background: #fff;
}

.cw-hybrid-app-development-hero__devices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.cw-hybrid-app-development-hero__device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.cw-hybrid-app-development-hero__device-shell {
  width: 100%;
  background: #2a2622;
  padding: 5px;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cw-hybrid-app-development-hero__device-shell--building {
  opacity: 0.35;
  transform: scale(0.96);
}

.cw-hybrid-app-development-hero__device-screen {
  background: #faf8f4;
  color: #141210;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cw-hybrid-app-development-hero__device-bar {
  font-size: 7.5px;
  opacity: 0.8;
}

.cw-hybrid-app-development-hero__device-head {
  margin-top: 6px;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.1;
}

.cw-hybrid-app-development-hero__device-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.cw-hybrid-app-development-hero__device-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.cw-hybrid-app-development-hero__device-stat {
  background: #eae4d8;
  border-radius: 6px;
  padding: 5px;
}

.cw-hybrid-app-development-hero__device-stat-label {
  font-size: 6.5px;
  color: #6b645a;
}

.cw-hybrid-app-development-hero__device-stat-value {
  font-weight: 800;
  font-size: 10px;
}

.cw-hybrid-app-development-hero__device-chart {
  flex: 1;
  background: #eae4d8;
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 5px;
  min-height: 48px;
}

.cw-hybrid-app-development-hero__device-bar-col {
  flex: 1;
  border-radius: 2px;
  transition: background 0.4s ease;
}

.cw-hybrid-app-development-hero__device-cta {
  border-radius: 6px;
  padding: 5px;
  text-align: center;
  font-size: 8.5px;
  font-weight: 700;
  transition: background 0.4s ease, color 0.4s ease;
}

.cw-hybrid-app-development-hero__device-name {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #a39c90;
  text-align: center;
}

.cw-hybrid-app-development-hero__demo-hint {
  margin: 0;
  font-size: 12px;
  color: #a39c90;
}

@media (max-width: 720px) {
  .cw-hybrid-app-development-hero__devices {
    grid-template-columns: 1fr;
  }

  .cw-hybrid-app-development-hero__build-btn {
    margin-left: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-hybrid-app-development-hero__code-line,
  .cw-hybrid-app-development-hero__device-shell {
    animation: none;
    transition: none;
  }
}
