.platform {
  background: var(--color-bg);
  padding: var(--space-3xl) var(--gutter);
}

.platform__intro {
  max-width: 900px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.platform__eyebrow {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.platform__headline {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

/* Features grid — Dialitdown-style clean rows */
.platform__features {
  max-width: var(--content-width);
  margin: 0 auto var(--space-3xl);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(26,10,20,0.08);
  border: 1px solid rgba(26,10,20,0.08);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.feature {
  background: var(--color-bg);
  padding: var(--space-xl) var(--space-xl);
  transition: background var(--duration-base);
}
.feature:hover {
  background: var(--color-surface);
}

.feature__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
}

.feature__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.feature__body {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
  font-weight: 300;
  max-width: 380px;
}

/* ── Trusted by ────────────────────────────────────────────────
   Sits between the feature grid and the screenshots.

   NOTE ON THE LOGOS: the live Wix site shows three marks, but one of
   them is "Aster & Trujillo" — a Wix demo placeholder that shipped with
   the template, not a customer. It is deliberately not carried across.
   The remaining slot is a visible placeholder: replace
   .trusted__item--empty with an <img> when the real file arrives, or
   delete the <li>; the row centres either way.
──────────────────────────────────────────────────────────────── */
.trusted {
  max-width: var(--content-width);
  margin: 0 auto var(--space-3xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(26,10,20,0.08);
}

.trusted__label {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.trusted__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl) var(--space-2xl);
  list-style: none;
}

.trusted__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}

/* Logos are matched on optical weight, not raw height. A stacked
   emblem-plus-wordmark can take the full row height; a long horizontal
   wordmark set to the same height would run several times wider and
   dominate the row, so it is capped shorter. */
.trusted__item--wordmark img {
  max-height: 24px;
}

.trusted__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Logos come from different sources at different weights and colours.
   Desaturating and holding them to one height keeps the row even; colour
   returns on hover so the mark is still recognisable. */
.trusted__item img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter var(--duration-base) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
}
.trusted__item a:hover img,
.trusted__item a:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
}

.trusted__item a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 6px;
  border-radius: var(--border-radius-sm);
}

@media (max-width: 768px) {
  .trusted__logos { gap: var(--space-lg) var(--space-xl); }
  .trusted__item  { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .trusted__item img { transition: none; }
}

/* ── Screenshot showcase ── */
.platform__screenshots {
  max-width: var(--content-width);
  margin: 0 auto var(--space-3xl);
}

.platform__screenshots-label {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.platform__screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.platform__screenshot-frame {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26,10,20,0.06);
  background: var(--color-surface);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.platform__screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 72px rgba(28,8,38,0.18);
}

.platform__screenshot-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .platform__screenshots-grid { grid-template-columns: 1fr; }
}

/* Monika spotlight */
.platform__monika-section {
  max-width: var(--content-width);
  margin: 0 auto;
  background: linear-gradient(135deg, var(--palette-1) 0%, var(--palette-2) 100%);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  padding: var(--space-2xl);
}

.platform__monika-content {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.platform__monika-wrap {
  --monika-size: 240px;
  --monika-glow: rgba(155, 45, 110, 0.5);
  display: flex;
  align-items: flex-end;
  align-self: flex-end;
}

.platform__monika-wrap .monika-wrapper {
  /* fade bottom into the dark card background */
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
          mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
}


.platform__monika-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 300;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.platform__monika-text p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.platform__monika-text p:last-child {
  margin-bottom: 0;
  color: var(--color-monika-light);
  font-style: italic;
  font-family: var(--font-display);
  font-size: var(--text-xl);
}

@media (max-width: 768px) {
  .platform__features { grid-template-columns: 1fr; }
  .platform__monika-content { grid-template-columns: 1fr; text-align: center; }
  .platform__monika-wrap { --monika-size: 180px; justify-content: center; }
  .feature { padding: var(--space-lg); }
}
