/* Taxi App — 05 Key features & stack */

@keyframes cw-taxi-app-features-stack-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-taxi-app-features-stack {
  background: #f3efe7;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.cw-taxi-app-features-stack__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cw-taxi-app-features-stack__features {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cw-taxi-app-features-stack__features-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  align-items: end;
}

.cw-taxi-app-features-stack__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #8a6a00;
}

.cw-taxi-app-features-stack__title {
  margin: 12px 0 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-taxi-app-features-stack__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #8a6a00;
}

.cw-taxi-app-features-stack__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #3a3530;
  max-width: 480px;
}

.cw-taxi-app-features-stack__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid #141210;
  border-radius: 999px;
  padding: 4px;
  max-width: 720px;
}

.cw-taxi-app-features-stack__tab {
  border: 0;
  background: transparent;
  color: #141210;
  border-radius: 999px;
  padding: 11px 8px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: inherit;
  line-height: 1.2;
}

.cw-taxi-app-features-stack__tab.is-active {
  background: #141210;
  color: #f3efe7;
}

.cw-taxi-app-features-stack__tab:focus-visible {
  outline: 2px solid #8a6a00;
  outline-offset: 2px;
}

.cw-taxi-app-features-stack__feature-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 18px;
}

.cw-taxi-app-features-stack__feature-body.is-updating {
  animation: cw-taxi-app-features-stack-in 0.35s ease both;
}

.cw-taxi-app-features-stack__feature-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.cw-taxi-app-features-stack__feature-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing: -0.03em;
}

.cw-taxi-app-features-stack__feature-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cw-taxi-app-features-stack__feature-para {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #3a3530;
}

.cw-taxi-app-features-stack__feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
}

.cw-taxi-app-features-stack__feature-card {
  border: 1px solid #141210;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-taxi-app-features-stack__feature-no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #8a6a00;
}

.cw-taxi-app-features-stack__feature-name {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
}

.cw-taxi-app-features-stack__stack {
  background: #141210;
  color: #f3efe7;
  border-radius: 30px;
  padding: clamp(24px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 28px;
}

.cw-taxi-app-features-stack__stack-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.cw-taxi-app-features-stack__stack-eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #7cf5c8;
}

.cw-taxi-app-features-stack__stack-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.cw-taxi-app-features-stack__stack-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.72);
}

.cw-taxi-app-features-stack__stack-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(243, 239, 231, 0.12);
  margin-top: 6px;
}

.cw-taxi-app-features-stack__stack-row {
  border: 0;
  border-bottom: 1px solid rgba(243, 239, 231, 0.12);
  background: transparent;
  color: #f3efe7;
  text-align: left;
  padding: 13px 0;
  cursor: pointer;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  transition: color 0.2s ease;
}

.cw-taxi-app-features-stack__stack-row:last-child {
  border-bottom: 0;
}

.cw-taxi-app-features-stack__stack-row.is-active {
  color: #7cf5c8;
}

.cw-taxi-app-features-stack__stack-row:focus-visible {
  outline: 2px solid #7cf5c8;
  outline-offset: 2px;
}

.cw-taxi-app-features-stack__stack-detail {
  border-radius: 22px;
  background: rgba(124, 245, 200, 0.08);
  border: 1px solid rgba(124, 245, 200, 0.25);
  padding: clamp(20px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
  min-width: 0;
}

.cw-taxi-app-features-stack__stack-detail.is-updating {
  animation: cw-taxi-app-features-stack-in 0.35s ease both;
}

.cw-taxi-app-features-stack__stack-detail-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #7cf5c8;
}

.cw-taxi-app-features-stack__stack-detail-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(243, 239, 231, 0.82);
}

.cw-taxi-app-features-stack__stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-taxi-app-features-stack__stack-tag {
  background: #7cf5c8;
  color: #141210;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .cw-taxi-app-features-stack__tabs {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .cw-taxi-app-features-stack__feature-grid {
    grid-template-columns: 1fr;
  }
}
