/* Integration roadmap — timeline view (static marketing site) */

.roadmap-toolbar {
  position: sticky;
  top: 4rem;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}

.roadmap-view-toggle {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 0.75rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.roadmap-view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.roadmap-view-toggle button[aria-pressed="true"] {
  background: #fff;
  color: #4338ca;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.roadmap-view-toggle button svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.roadmap-grid-view[data-hidden="true"],
.roadmap-timeline-view[data-hidden="true"] {
  display: none !important;
}

.roadmap-timeline-view {
  background: #f3f4f6;
}

.roadmap-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
  }
}

.roadmap-timeline-lane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.roadmap-timeline-lane--available {
  border-top: 4px solid #10b981;
}

.roadmap-timeline-lane--review {
  border-top: 4px solid #f59e0b;
}

.roadmap-timeline-lane--planned {
  border-top: 4px solid #94a3b8;
}

.roadmap-timeline-lane__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.roadmap-timeline-lane__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.roadmap-timeline-lane__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.roadmap-timeline-lane--available .roadmap-timeline-lane__badge {
  color: #065f46;
  background: #d1fae5;
}

.roadmap-timeline-lane--review .roadmap-timeline-lane__badge {
  color: #92400e;
  background: #fef3c7;
}

.roadmap-timeline-lane--planned .roadmap-timeline-lane__badge {
  color: #334155;
  background: #f1f5f9;
}

.roadmap-timeline-lane__count {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  background: #f3f4f6;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.roadmap-timeline-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.roadmap-timeline-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.roadmap-timeline-item:hover {
  background: #fff;
  border-color: #c7d2fe;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
}

.roadmap-timeline-item__category {
  margin: 0 0 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6366f1;
}

.roadmap-timeline-item__title {
  margin: 0 0 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}

.roadmap-timeline-item__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #4b5563;
}

.roadmap-timeline-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 0.75rem;
  align-items: center;
}

.roadmap-timeline-item__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
}

.roadmap-timeline-item__link:hover {
  color: #4338ca;
  text-decoration: underline;
}

.roadmap-interest-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4338ca;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s;
}

.roadmap-interest-btn:hover {
  background: #e0e7ff;
}

#contact-subject {
  appearance: auto;
  -webkit-appearance: menulist;
  color: #111827;
}

#contact-subject:invalid,
#contact-subject option[value=""] {
  color: #6b7280;
}
