/* Large case-study hero mockups */
.case-hero--mock {
  aspect-ratio: 16 / 9;
  max-height: 520px;
  background: #0c0c0e;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.case-hero--mock .mock-browser {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 900px;
  height: 100%;
  max-height: 420px;
}

.case-hero--mock .mock-browser__body {
  padding: 16px;
  gap: 12px;
}

.case-hero--mock .mock-hero {
  height: 45%;
}

.case-hero--mock .mock-chart-lg {
  min-height: 120px;
}

.case-hero--mock.mock-wrap--fintech .mock-browser__body {
  background: linear-gradient(180deg, #0f172a 0%, #1e3a8a 100%);
}

.case-hero--mock.mock-wrap--saas .mock-browser__body {
  background: #13111c;
}

.case-hero--mock.mock-wrap--clinic .mock-browser__body {
  background: linear-gradient(180deg, #f0fdfa, #0d9488);
}

.case-hero--mock .mock-sidebar {
  width: 22%;
}

.case-hero--mock .mock-stat {
  min-height: 48px;
}

.bento-card--link .mock-browser {
  inset: 10% 6% 26% 6%;
}

.bento-card--md .mock-browser { inset: 12% 8% 30% 8%; }
.bento-card--lg .mock-browser { inset: 10% 6% 24% 6%; }
.bento-card--xl .mock-browser { inset: 8% 5% 22% 5%; }

.mock--fintech .mock-chart-line {
  flex: 1;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background:
    linear-gradient(180deg, transparent 60%, rgba(56, 189, 248, 0.15) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 24px);
  position: relative;
}

.mock--fintech .mock-chart-line::before {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, #4a9fd4, var(--accent-blue), #4a9fd4);
  border-radius: 2px;
  transform: skewY(-3deg);
}

.mock-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.mock-pill {
  height: 20px;
  width: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.mock-pill--active {
  background: rgba(56, 189, 248, 0.35);
  width: 64px;
}

.mock--clinic .mock-hero::before {
  content: '';
  position: absolute;
  left: 12%;
  top: 28%;
  width: 40%;
  height: 10px;
  border-radius: 4px;
  background: rgba(13, 148, 136, 0.5);
}

.mock--clinic .mock-hero::after {
  inset: 55% 12% auto 12%;
  height: 28px;
  border-radius: 8px;
  background: #0d9488;
}

.mock--clinic .mock-block--cta {
  background: #0d9488;
  opacity: 0.85;
}

/* Mini browser mockups in bento cards */
.mock-browser {
  position: absolute;
  inset: 12% 8% 28% 8%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c0c0e;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s var(--ease-ui);
}

.bento-card:hover .mock-browser {
  transform: translateY(-6px) scale(1.02);
}

.mock-browser__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-browser__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.mock-browser__bar span:nth-child(1) { background: #f87171; opacity: 0.7; }
.mock-browser__bar span:nth-child(2) { background: #fcd34d; opacity: 0.7; }
.mock-browser__bar span:nth-child(3) { background: var(--accent-green); opacity: 0.7; }

.mock-browser__url {
  flex: 1;
  height: 14px;
  margin-left: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.mock-browser__body {
  padding: 10px;
  height: calc(100% - 31px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-hero {
  height: 42%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.mock-row {
  display: flex;
  gap: 6px;
  flex: 1;
}

.mock-block {
  flex: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.mock-block--chart {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.25) 0%, transparent 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.mock--fintech .mock-browser__body {
  background: linear-gradient(180deg, #0f172a, #1e3a8a);
}

.mock--saas .mock-browser__body {
  background: #13111c;
  flex-direction: row;
  gap: 6px;
}

.mock-sidebar {
  width: 28%;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.mock-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-stats {
  display: flex;
  gap: 4px;
  height: 28%;
}

.mock-stat {
  flex: 1;
  border-radius: 5px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.15);
}

.mock-chart-lg {
  flex: 1;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.3), transparent);
}

.mock--clinic .mock-browser__body {
  background: linear-gradient(180deg, #ecfdf5, #0d9488);
}

.mock--clinic .mock-hero {
  background: rgba(255, 255, 255, 0.5);
}

.mock--build .mock-browser__body {
  background: linear-gradient(180deg, #1c1917, #431407);
}

.mock--build .mock-hero::after {
  content: '';
  position: absolute;
  inset: 20% 15%;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.5), rgba(251, 191, 36, 0.2));
}

.mock--food .mock-browser__body {
  background: linear-gradient(180deg, #450a0a, #7f1d1d);
}

.mock-product {
  flex: 1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(252, 165, 165, 0.15);
}

.mock--edu .mock-browser {
  inset: 10% 6% 24% 6%;
}

.mock--edu .mock-browser__body {
  background: linear-gradient(135deg, #172554, #2563eb);
}

.mock-bento-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  flex: 1;
}

.mock-bento-mini div {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
}

.mock-bento-mini div:first-child {
  grid-row: span 2;
  background: rgba(147, 197, 253, 0.25);
}

.mock--legal .mock-browser__body {
  background: #fafaf9;
}

.mock--legal .mock-hero {
  background: #e7e5e4;
}

.mock--legal .mock-hero::after {
  content: '';
  position: absolute;
  inset: 35% 25%;
  height: 8px;
  border-radius: 4px;
  background: #44403c;
}

.mock--legal .mock-block {
  background: #e7e5e4;
}

.bento-card--link {
  text-decoration: none;
  color: inherit;
}

.bento-card__arrow {
  position: absolute;
  top: 1.125rem;
  right: 1.125rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(11, 12, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: scale(0.88) translateY(6px);
  transition:
    opacity 0.35s var(--ease-ui),
    transform 0.35s var(--ease-ui),
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
  pointer-events: none;
}

.bento-card__arrow svg {
  display: block;
  transition: transform 0.35s var(--ease-ui);
}

.bento-card--link:hover .bento-card__arrow,
.bento-card--link:focus-visible .bento-card__arrow {
  opacity: 1;
  transform: scale(1) translateY(0);
  background: rgba(59, 130, 246, 0.9);
  border-color: rgba(147, 197, 253, 0.45);
  box-shadow: 0 10px 32px rgba(59, 130, 246, 0.35);
}

.bento-card--link:hover .bento-card__arrow svg,
.bento-card--link:focus-visible .bento-card__arrow svg {
  transform: translate(2px, -2px);
}

.feature-mock__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-mock__logo {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent-blue);
}

.feature-mock__status {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-green);
}

.feature-mock__placeholder {
  margin-top: 1rem;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-subtle);
}
