/* ========== WHY ORCUMI (BENTO) SECTION ========== */

.why-orcumi * {
  box-sizing: border-box;
}

.why-orcumi {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 100px 24px;
  background-color: #ffffff;
  position: relative;
}

.why-orcumi__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1280px;
}

/* ---------- INTRO ---------- */

.why-orcumi__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  text-align: center;
}

.why-orcumi__border-wrapper {
  display: flex;
  justify-content: center;
}

.why-orcumi__border {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid #28e485;
}

.why-orcumi__tag {
  font-family: "Outfit", Helvetica, sans-serif;
  font-weight: 400;
  color: #188a50;
  font-size: 16px;
  letter-spacing: 0.32px;
  line-height: 24px;
  white-space: nowrap;
}

.why-orcumi__title {
  margin: 0;
  font-family: "Red Hat Display", Helvetica, sans-serif;
  font-weight: 700;
  color: #333333;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.25;
}

.why-orcumi__title em {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(
    180deg,
    rgba(89, 45, 181, 1) 25%,
    rgba(125, 64, 255, 1) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.why-orcumi__eyebrow {
  font-family: "Outfit", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #333333;
}

/* ---------- BENTO GRID ---------- */

.why-orcumi__bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  width: 100%;
}

.why-orcumi__card--code {
  grid-column: 1 / 8;
}

.why-orcumi__card--speed {
  grid-column: 8 / 13;
}

.why-orcumi__card--dark {
  grid-column: 1 / 6;
}

.why-orcumi__card--chat {
  grid-column: 6 / 13;
}

.why-orcumi__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 28px;
  overflow: hidden;
  min-height: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-orcumi__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10, 10, 10, 0.1);
}

.why-orcumi__card-title {
  margin: 0 0 8px;
  font-family: "Red Hat Display", Helvetica, sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.3;
  color: #0a0a0a;
}

.why-orcumi__card-text {
  margin: 0;
  font-family: "Outfit", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: #525252;
}

/* card backgrounds */

.why-orcumi__card--code {
  background: linear-gradient(135deg, #ece5fb 0%, #f8f6ff 100%);
}

.why-orcumi__card--speed {
  background: linear-gradient(135deg, #e4f9ee 0%, #f3fffa 100%);
}

.why-orcumi__card--dark {
  background: linear-gradient(160deg, #241736 0%, #0c0810 100%);
}

.why-orcumi__card--dark .why-orcumi__card-title {
  color: #fafafa;
}

.why-orcumi__card--dark .why-orcumi__card-text {
  color: rgba(250, 250, 250, 0.65);
}

.why-orcumi__card--chat {
  background: linear-gradient(135deg, #e8f1ff 0%, #f5f9ff 100%);
}

/* ---------- MOCK: CODE EDITOR ---------- */

.why-orcumi__mock--code {
  background: #100c16;
  border-radius: 18px;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-orcumi__mock-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.why-orcumi__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.why-orcumi__dot--red {
  background: #ff5f57;
}

.why-orcumi__dot--yellow {
  background: #febc2e;
}

.why-orcumi__dot--green {
  background: #28c840;
}

.why-orcumi__mock-filename {
  margin-left: 8px;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.why-orcumi__code-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-orcumi__code-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}

.why-orcumi__code-line--accent {
  background: linear-gradient(
    90deg,
    rgba(125, 64, 255, 0.85),
    rgba(89, 45, 181, 0.85)
  );
}

.why-orcumi__code-line--cursor {
  position: relative;
}

.why-orcumi__code-line--cursor::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -8px;
  width: 2px;
  height: 12px;
  background: #ffffff;
  animation: whyOrcumiBlink 1s steps(1) infinite;
}

@keyframes whyOrcumiBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

/* ---------- MOCK: RESPONSE RINGS ---------- */

.why-orcumi__mock--rings {
  position: relative;
  flex: 1;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-orcumi__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(24, 138, 80, 0.25);
}

.why-orcumi__ring--1 {
  width: 100px;
  height: 100px;
}

.why-orcumi__ring--2 {
  width: 148px;
  height: 148px;
  border-color: rgba(24, 138, 80, 0.16);
}

.why-orcumi__ring--3 {
  width: 196px;
  height: 196px;
  border-color: rgba(24, 138, 80, 0.08);
}

.why-orcumi__badge {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(24, 138, 80, 0.18);
}

.why-orcumi__badge-number {
  font-family: "Red Hat Display", Helvetica, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #188a50;
}

.why-orcumi__mock-caption {
  display: block;
  margin-top: -8px;
  text-align: center;
  font-family: "Outfit", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #737373;
}

/* ---------- CHECKLIST (DARK CARD) ---------- */

.why-orcumi__checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-orcumi__check {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Outfit", Helvetica, sans-serif;
  font-size: 14px;
  color: rgba(250, 250, 250, 0.85);
}

.why-orcumi__check::before {
  margin-right: 10px;
  font-weight: 700;
}

.why-orcumi__check--yes::before {
  content: "✓";
  color: #28e485;
}

.why-orcumi__check--no {
  opacity: 0.55;
  text-decoration: line-through;
}

.why-orcumi__check--no::before {
  content: "✕";
  color: #ff6b6b;
  text-decoration: none;
  display: inline-block;
}

/* ---------- MOCK: CHAT ---------- */

.why-orcumi__mock--chat {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 24px rgba(10, 10, 10, 0.06);
}

.why-orcumi__chat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Outfit", Helvetica, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #0a0a0a;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef0f4;
}

.why-orcumi__chat-hash {
  color: #a3a3a3;
}

.why-orcumi__chat-status {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28e485;
}

.why-orcumi__chat-bubble {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f5f7;
}

.why-orcumi__chat-bubble strong {
  display: block;
  font-family: "Outfit", Helvetica, sans-serif;
  font-size: 12.5px;
  color: #737373;
  margin-bottom: 2px;
}

.why-orcumi__chat-bubble p {
  margin: 0;
  font-family: "Outfit", Helvetica, sans-serif;
  font-size: 14px;
  color: #262626;
  line-height: 1.4;
}

.why-orcumi__chat-bubble--orcumi {
  background: rgba(89, 45, 181, 0.08);
  border-left: 3px solid rgba(89, 45, 181, 0.6);
}

/* ---------- REVEAL ANIMATION ---------- */

.why-orcumi__reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--i, 0) * 90ms);
}

.why-orcumi__reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .why-orcumi__reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .why-orcumi__code-line--cursor::after {
    animation: none;
  }
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
  .why-orcumi {
    padding: 80px 40px;
  }

  .why-orcumi__card--code {
    grid-column: 1 / 13;
  }

  .why-orcumi__card--speed {
    grid-column: 1 / 13;
  }

  .why-orcumi__card--dark {
    grid-column: 1 / 13;
  }

  .why-orcumi__card--chat {
    grid-column: 1 / 13;
  }
}

@media (max-width: 768px) {
  .why-orcumi {
    padding: 60px 24px;
  }

  .why-orcumi__container {
    gap: 36px;
  }

  .why-orcumi__bento {
    gap: 20px;
  }

  .why-orcumi__card {
    padding: 24px;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .why-orcumi {
    padding: 48px 16px;
  }

  .why-orcumi__card {
    padding: 20px;
  }
}
