/* Mobile App — 10 Tech stack */

@keyframes cw-mobile-app-stack-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cw-mobile-app-tech-stack {
  width: 100%;
  font-family: 'Inter', system-ui, sans-serif;
  --cw-ma-edge: clamp(12px, 1.5vw, 24px);
  --cw-ma-pad-x: clamp(12px, 1.25vw, 18px);
}

.cw-mobile-app-tech-stack__panel {
  background:
    radial-gradient(700px 400px at 20% 30%, rgba(183, 166, 245, 0.08), transparent 70%),
    #15130f;
  color: #eae7e1;
  padding: clamp(72px, 9vw, 120px) var(--cw-ma-pad-x);
}

.cw-mobile-app-tech-stack__inner {
  box-sizing: border-box;
  width: min(1580px, calc(100vw - 2 * var(--cw-ma-edge)));
  max-width: calc(100vw - 2 * var(--cw-ma-edge));
  margin-inline: auto;
  border: 1px solid rgba(234, 231, 225, 0.09);
  border-radius: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  overflow: hidden;
}

.cw-mobile-app-tech-stack__showcase {
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-right: 1px dashed rgba(234, 231, 225, 0.1);
}

.cw-mobile-app-tech-stack__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #f3efe7;
  text-wrap: balance;
}

.cw-mobile-app-tech-stack__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cw-mobile-app-tech-stack__tags--fade {
  animation: cw-mobile-app-stack-fade 0.4s ease-out both;
}

.cw-mobile-app-tech-stack__tag {
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(234, 231, 225, 0.06);
  border: 1px solid rgba(234, 231, 225, 0.14);
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #f3efe7;
}

.cw-mobile-app-tech-stack__kicker {
  margin-top: auto;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(234, 231, 225, 0.5);
}

.cw-mobile-app-tech-stack__accordion {
  padding: clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
}

.cw-mobile-app-tech-stack__row {
  border-bottom: 1px solid rgba(234, 231, 225, 0.09);
}

.cw-mobile-app-tech-stack__row:last-child {
  border-bottom: 0;
}

.cw-mobile-app-tech-stack__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #f3efe7;
  transition: color 0.25s ease;
}

.cw-mobile-app-tech-stack__row.is-open .cw-mobile-app-tech-stack__trigger {
  color: #ff5527;
}

.cw-mobile-app-tech-stack__trigger-index {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: rgba(255, 85, 39, 0.5);
  flex: none;
  transition: color 0.25s ease;
}

.cw-mobile-app-tech-stack__row.is-open .cw-mobile-app-tech-stack__trigger-index {
  color: #ff5527;
}

.cw-mobile-app-tech-stack__trigger-title {
  flex: 1;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.cw-mobile-app-tech-stack__trigger-icon {
  font-size: 20px;
  color: rgba(255, 85, 39, 0.5);
  transform: rotate(0deg);
  transition:
    transform 0.3s ease,
    color 0.25s ease;
  flex: none;
  line-height: 1;
}

.cw-mobile-app-tech-stack__row.is-open .cw-mobile-app-tech-stack__trigger-icon {
  color: #ff5527;
  transform: rotate(45deg);
}

.cw-mobile-app-tech-stack__collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}

.cw-mobile-app-tech-stack__row.is-open .cw-mobile-app-tech-stack__collapse {
  grid-template-rows: 1fr;
}

.cw-mobile-app-tech-stack__collapse-inner {
  overflow: hidden;
}

.cw-mobile-app-tech-stack__collapse-text {
  margin: 0 0 20px 46px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(234, 231, 225, 0.66);
}

.cw-mobile-app-tech-stack__quote-band {
  background: linear-gradient(#fff, #f3efe7);
  color: #141210;
  padding: clamp(64px, 8vw, 104px) var(--cw-ma-pad-x);
}

.cw-mobile-app-tech-stack__quote-inner {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cw-mobile-app-tech-stack__quote-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
}

.cw-mobile-app-tech-stack__quote-mark {
  color: #e0431c;
}

.cw-mobile-app-tech-stack__quote-text {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
  color: #2a2420;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .cw-mobile-app-tech-stack__showcase {
    border-right: 0;
    border-bottom: 1px dashed rgba(234, 231, 225, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-mobile-app-tech-stack__collapse,
  .cw-mobile-app-tech-stack__trigger-icon,
  .cw-mobile-app-tech-stack__tags--fade {
    transition: none;
    animation: none;
  }
}
