/**
 * Showcase — app mockup (Powerful Tools section)
 */

.mkt-section--showcase {
  background: #f3f4f6;
  padding: 4rem 0 5rem;
}

.mkt-showcase-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.mkt-showcase-header .mkt-section-title {
  margin: 0;
}

/* Icon tabs — centered */
.mkt-showcase__tabs--mockup {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem 2rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2rem;
  padding-bottom: 0;
}

.mkt-showcase__tabs--mockup .mkt-showcase__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  border-radius: 0;
  background: transparent;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 0.5rem;
  margin-bottom: -1px;
  font-size: var(--mkt-text-body);
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mkt-showcase__tabs--mockup .mkt-showcase__tab svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mkt-showcase__tabs--mockup .mkt-showcase__tab:hover {
  color: var(--mkt-charcoal);
  background: transparent;
}

.mkt-showcase__tabs--mockup .mkt-showcase__tab.is-active {
  color: var(--mkt-orange);
  background: transparent;
  border-bottom-color: var(--mkt-orange);
}

.mkt-showcase__tabs--mockup .mkt-showcase__tab.is-active svg {
  color: var(--mkt-orange);
}

/* App frame */
.mkt-showcase__frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.12), 0 4px 16px rgba(17, 24, 39, 0.06);
  border: 1px solid #e5e7eb;
  background: #ffffff;
  aspect-ratio: auto;
  max-height: none;
  min-height: 520px;
}

.mkt-app-mock {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 520px;
}

/* Sidebar */
.mkt-app-mock__sidebar {
  background: #111827;
  padding: 1.25rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mkt-app-mock__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.35rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.25rem;
}

.mkt-app-mock__brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f97316, #fb923c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mkt-app-mock__brand-text {
  font-size: 0.625rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.mkt-app-mock__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mkt-app-mock__nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border-radius: 8px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #9ca3af;
  transition: background 0.15s ease, color 0.15s ease;
}

.mkt-app-mock__nav-item.is-active {
  background: rgba(249, 115, 22, 0.15);
  color: #fff;
}

.mkt-app-mock__nav-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(156, 163, 175, 0.25);
  flex-shrink: 0;
}

.mkt-app-mock__nav-item.is-active .mkt-app-mock__nav-icon {
  background: var(--mkt-orange);
}

.mkt-app-mock__content {
  position: relative;
  background: #f8fafc;
  min-height: 520px;
}

.mkt-showcase__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  overflow: auto;
}

.mkt-showcase__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mkt-showcase__slide--shot {
  background: #f1f5f9;
  overflow: hidden;
}

/* Screenshots were captured with the SaaS green sidebar (~240/1440 ≈ 16.7%).
   Crop that left strip so only the mock charcoal/orange sidebar remains. */
.mkt-showcase__slide--shot img {
  display: block;
  width: 120%;
  max-width: none;
  height: 100%;
  margin-left: -20%;
  object-fit: cover;
  object-position: top left;
}

/* Dashboard main */
.mkt-app-dash {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 100%;
}

.mkt-app-dash__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mkt-app-dash__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.mkt-app-dash__user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.mkt-app-dash__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  flex-shrink: 0;
}

.mkt-app-dash__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
}

.mkt-app-dash__kpi {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1rem 0.875rem;
  overflow: hidden;
}

.mkt-app-dash__kpi-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.mkt-app-dash__kpi-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mkt-app-dash__kpi-icon {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.08);
  opacity: 0.6;
}

.mkt-app-dash__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
  flex: 1;
}

.mkt-app-dash__panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.125rem;
}

.mkt-app-dash__panel-title {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.mkt-app-dash__panel-sub {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  color: #94a3b8;
}

.mkt-app-dash__schedule {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mkt-app-dash__slot {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.mkt-app-dash__time {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #64748b;
  padding-top: 0.65rem;
}

.mkt-app-dash__booking {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.625rem 0.75rem;
  font-size: 0.6875rem;
  color: #334155;
  line-height: 1.4;
}

.mkt-app-dash__booking strong {
  color: #0f172a;
  font-weight: 700;
}

.mkt-app-dash__right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mkt-app-dash__chart-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mkt-app-dash__donut {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(
    #3b82f6 0deg 144deg,
    #f97316 144deg 198deg,
    #22c55e 198deg 360deg
  );
  flex-shrink: 0;
  position: relative;
}

.mkt-app-dash__donut::after {
  content: '';
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: #fff;
}

.mkt-app-dash__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.625rem;
  color: #64748b;
}

.mkt-app-dash__legend li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mkt-app-dash__legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mkt-app-dash__reminders {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mkt-app-dash__reminder {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.6875rem;
  color: #475569;
  line-height: 1.4;
}

.mkt-app-dash__reminder-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #fff7ed;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .mkt-app-mock {
    grid-template-columns: 160px 1fr;
  }

  .mkt-app-dash__kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .mkt-app-dash__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mkt-showcase__tabs--mockup {
    gap: 0.25rem 1rem;
  }

  .mkt-showcase__tabs--mockup .mkt-showcase__tab span {
    display: none;
  }

  .mkt-app-mock {
    grid-template-columns: 1fr;
  }

  .mkt-app-mock__sidebar {
    display: none;
  }

  .mkt-showcase__frame {
    min-height: 360px;
  }
}
