.platform-hero {
  background: transparent;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--pad-x);
  text-align: center;
}
@media (max-width: 991px) { .platform-hero { padding: 64px 24px; min-height: auto; } }
.platform-hero__copy { max-width: 800px; }
.platform-hero__copy h1 {
  font-size: var(--fs-h1, 32px); font-weight: 600; line-height: 1.1;
  letter-spacing: var(--tracking-tight, -0.4px); color: var(--text-primary); margin: 0;
}
.platform-hero__copy p {
  font-size: 16px; line-height: 24px; color: var(--text-primary);
  margin: 24px auto 0; max-width: 60ch;
}
.platform-hero__cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-top: 32px;
}
@media (max-width: 767px) {
  .platform-hero__cta { flex-direction: column; }
  .platform-hero__cta .btn-cta { width: 100%; }
}
/* Feature showcase — horizontal scroll-snap carousel (F-03) */
.platform-showcase {
  padding: 80px var(--pad-x);
  overflow: hidden;
}
@media (max-width: 991px) { .platform-showcase { padding: 48px 24px; } }
.showcase-head { text-align: center; max-width: 800px; margin: 0 auto 40px; }
.showcase-head h2 {
  font-size: var(--fs-h2, 32px); font-weight: 600; line-height: 1.15;
  letter-spacing: var(--tracking-tight, -0.4px); color: var(--text-primary); margin: 0;
}
.showcase-head p {
  font-size: 16px; line-height: 24px; color: var(--text-primary);
  margin: 16px auto 0; max-width: 60ch;
}
.showcase { max-width: 1120px; margin: 0 auto; }
.showcase-track {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.showcase-track::-webkit-scrollbar { display: none; }
.showcase-track:focus-visible {
  outline: 2px solid var(--accent, #7F54EE); outline-offset: 4px; border-radius: 20px;
}
.showcase-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: center;
  background: var(--surface, #fff);
  border: 1px solid var(--border-hairline, rgba(26,22,38,0.08));
  border-radius: 20px;
  padding: 40px;
}
.showcase-slide__copy { text-align: left; }
.showcase-slide__copy .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--accent, #7F54EE); color: var(--accent, #7F54EE);
  font-size: 15px; font-weight: 600; margin-bottom: 16px;
}
.showcase-slide__copy h3 {
  font-size: 26px; font-weight: 600; line-height: 1.15;
  letter-spacing: var(--tracking-tight, -0.4px);
  color: var(--text-primary); margin: 0 0 12px;
}
.showcase-slide__copy p {
  font-size: 16px; line-height: 24px; color: var(--text-primary); margin: 0; max-width: 46ch;
}
.showcase-slide__media {
  position: relative;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 22px 44px -18px rgba(20,16,40,0.11);
  cursor: zoom-in;
}
.showcase-slide__media img { width: 100%; height: auto; display: block; }
.showcase-slide__media:focus-visible {
  outline: 2px solid var(--accent, #7F54EE);
  outline-offset: 3px;
}
/* "Click to enlarge" affordance — reveals on hover/focus; always shown on touch devices. */
.showcase-zoom-hint {
  position: absolute;
  bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(20, 16, 40, 0.72); color: #fff;
  font-size: 12px; font-weight: 500; line-height: 1;
  pointer-events: none;
  opacity: 0; transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.showcase-zoom-hint svg { display: block; }
.showcase-slide__media:hover .showcase-zoom-hint,
.showcase-slide__media:focus-visible .showcase-zoom-hint {
  opacity: 1; transform: translateY(0);
}
@media (hover: none) {
  .showcase-zoom-hint { opacity: 1; transform: none; }
}
/* Mobile layout ships portrait screenshots; enlarge/zoom is disabled there,
   so drop the zoom cursor and hide the "Click to enlarge" hint entirely. */
@media (max-width: 767px) {
  .showcase-slide__media { cursor: default; }
  .showcase-zoom-hint { display: none; }
}

/* Full-screen lightbox for enlarged screenshots */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(15, 12, 30, 0.88);
}
.lightbox[hidden] { display: none; }
.lightbox__inner {
  position: relative;
  max-width: 96vw; max-height: 92vh;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.lightbox__img {
  max-width: 96vw; max-height: 84vh; width: auto; height: auto;
  border-radius: 10px; background: #fff;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.lightbox__caption {
  margin: 0; color: rgba(255,255,255,0.9); font-size: 14px; text-align: center;
}
.lightbox__close {
  position: absolute; top: -14px; right: -14px;
  width: 40px; height: 40px; border-radius: 50%;
  border: none; background: #fff; color: #1a1526;
  font-size: 26px; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.lightbox__close:focus-visible { outline: 2px solid var(--accent, #7F54EE); outline-offset: 2px; }
@media (max-width: 600px) {
  .lightbox__close { top: 4px; right: 4px; }
}
.showcase-controls { display: flex; gap: 20px; align-items: center; justify-content: center; margin-top: 28px; }
.showcase-dots { display: flex; gap: 8px; align-items: center; }
.showcase-dot {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%;
  background: var(--border-medium, #d1cdd6); cursor: pointer;
  transition: background .2s, transform .2s;
}
.showcase-dot:hover { background: var(--accent, #7F54EE); }
.showcase-dot[aria-current="true"] { background: var(--accent, #7F54EE); transform: scale(1.35); }
.showcase-dot:focus-visible { outline: 2px solid var(--accent, #7F54EE); outline-offset: 2px; }
.showcase-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--border-hairline, rgba(26,22,38,0.12));
  background: #fff; color: var(--text-primary);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.showcase-arrow:hover { background: var(--accent, #7F54EE); color: #fff; border-color: var(--accent, #7F54EE); }
.showcase-arrow:focus-visible { outline: 2px solid var(--accent, #7F54EE); outline-offset: 2px; }
.showcase-arrow[disabled] { opacity: .35; cursor: default; }
@media (max-width: 991px) {
  .showcase-slide {
    grid-template-columns: 1fr; gap: 24px; padding: 24px; text-align: center;
  }
  .showcase-slide__copy { text-align: center; }
  .showcase-slide__copy p { margin-left: auto; margin-right: auto; }
  .showcase-slide__media { max-width: 320px; margin: 0 auto; border-radius: 24px; }
}
.security-cta {
  padding: 80px var(--pad-x);
  text-align: center;
}
@media (max-width: 991px) { .security-cta { padding: 48px 24px; } }
.security-cta h2 {
  font-size: var(--fs-h2, 32px); font-weight: 600; line-height: 1.15;
  letter-spacing: var(--tracking-tight, -0.4px); color: var(--text-primary); margin: 24px 0 0;
}
.security-cta > p {
  max-width: 800px; margin: 24px auto 48px;
  font-size: 16px; line-height: 24px; color: var(--text-primary);
}
.security-cta__buttons {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
}
@media (max-width: 767px) {
  .platform-hero { padding: 48px 20px; min-height: auto; }
  .platform-hero__copy h1 { font-size: 24px; line-height: 32px; }
  .platform-showcase { padding: 32px 20px; }
  .showcase-slide__copy h3 { font-size: 22px; line-height: 28px; }
  .security-cta { padding: 32px 20px; }
  .security-cta h2 { font-size: 24px; line-height: 32px; }
  .security-cta__buttons { flex-direction: column; gap: 12px; }
  .security-cta__buttons .btn-cta { width: 100%; }
}
