/* ══════════════════════════════════════════════════════════════
   MICROSCOPE SCANNER — bespoke device landing page
   Gaya: biomedical / digital-pathology device.
   Prefix: .ms-   (khusus halaman ini, tidak dipakai produk lain)
   Brand tetap: navbar, footer, tokens, fonts dari sistem global.
   ══════════════════════════════════════════════════════════════ */

:root {
  --ms-ink: #0b1f3a;
  --ms-ink-2: #12325c;
  --ms-cyan: #18c5d6;
  --ms-cyan-deep: #0d9aa8;
  --ms-line: #e4e9f0;
  --ms-muted: #5b6b82;
}

.ms-main { background: #fff; color: var(--ms-ink); }

/* placeholder helper */
.ms-fill {
  display: inline-block;
  padding: 2px 8px;
  border: 1px dashed #c9a227;
  border-radius: 6px;
  background: #fff8e1;
  color: #8a6d00;
  font-size: 0.85em;
  font-style: italic;
}

.ms-section { padding: 84px 0; }
.ms-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ms-cyan-deep);
  margin-bottom: 12px;
}
.ms-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 34px;
  line-height: 1.18;
  color: var(--ms-ink);
  margin-bottom: 16px;
}
.ms-lead { font-size: 17px; line-height: 1.7; color: var(--ms-muted); }

/* ══════════════════════════════════════════════════════════════
   1. HERO  — dark, device-forward
   ══════════════════════════════════════════════════════════════ */
.ms-hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(24,197,214,0.22), transparent 60%),
    linear-gradient(135deg, var(--ms-ink) 0%, var(--ms-ink-2) 100%);
  color: #fff;
  overflow: hidden;
  padding: 64px 0 72px;
}
.ms-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(700px 380px at 80% 0%, #000, transparent 75%);
  pointer-events: none;
}
.ms-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.ms-breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 22px; flex-wrap: wrap; }
.ms-breadcrumb a { color: rgba(255,255,255,0.78); text-decoration: none; }
.ms-breadcrumb a:hover { color: #fff; }
.ms-breadcrumb .sep { color: rgba(255,255,255,0.35); }

.ms-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 46px;
  line-height: 1.08;
  margin-bottom: 18px;
}
.ms-hero-sub { font-size: 17.5px; line-height: 1.65; color: rgba(255,255,255,0.82); max-width: 540px; margin-bottom: 26px; }

.ms-pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.ms-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  background: rgba(24,197,214,0.14);
  border: 1px solid rgba(24,197,214,0.4);
  color: #bdf2f7;
}
.ms-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.ms-btn-primary {
  padding: 14px 30px; border-radius: 999px;
  background: var(--ms-cyan); color: #04222a;
  font-weight: 700; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 10px 26px rgba(24,197,214,0.3);
}
.ms-btn-primary:hover { transform: translateY(-2px); color: #04222a; }
.ms-btn-ghost {
  padding: 14px 30px; border-radius: 999px;
  background: transparent; border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-weight: 600; text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.ms-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); color: #fff; }

.ms-hero-device {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.ms-hero-device img { width: 100%; display: block; aspect-ratio: 4/3.2; object-fit: cover; }
.ms-hero-device-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(11,31,58,0.82); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #eafcff; font-size: 12.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
}

/* ══════════════════════════════════════════════════════════════
   2. PROBLEM / WHY  band
   ══════════════════════════════════════════════════════════════ */
.ms-why { background: #f6f9fb; border-top: 1px solid var(--ms-line); border-bottom: 1px solid var(--ms-line); }
.ms-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ms-why blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: 25px; line-height: 1.4; color: var(--ms-ink);
  border-left: 4px solid var(--ms-cyan); padding-left: 22px; margin: 0;
}
.ms-why p { font-size: 16px; line-height: 1.75; color: var(--ms-muted); margin-bottom: 14px; }

/* ══════════════════════════════════════════════════════════════
   3. CAPABILITIES grid
   ══════════════════════════════════════════════════════════════ */
.ms-cap-head { max-width: 620px; margin-bottom: 46px; }
.ms-cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ms-cap {
  display: flex; gap: 18px;
  padding: 26px;
  border: 1px solid var(--ms-line); border-radius: 16px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ms-cap:hover { border-color: rgba(24,197,214,0.5); box-shadow: 0 14px 30px rgba(11,31,58,0.07); transform: translateY(-3px); }
.ms-cap-ic {
  flex: 0 0 auto;
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(24,197,214,0.16), rgba(24,197,214,0.06));
  font-size: 24px;
}
.ms-cap h3 { font-size: 18px; margin-bottom: 6px; color: var(--ms-ink); }
.ms-cap p { font-size: 14.5px; line-height: 1.6; color: var(--ms-muted); margin: 0; }

/* ══════════════════════════════════════════════════════════════
   4. WORKFLOW stepper
   ══════════════════════════════════════════════════════════════ */
.ms-flow { background: var(--ms-ink); color: #fff; }
.ms-flow .ms-h2 { color: #fff; }
.ms-flow .ms-lead { color: rgba(255,255,255,0.72); }
.ms-flow-head { max-width: 620px; margin-bottom: 50px; }
.ms-flow-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  position: relative;
}
.ms-flow-step { position: relative; padding: 26px 20px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); }
.ms-flow-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ms-cyan); color: #04222a; font-weight: 800;
  margin-bottom: 16px;
}
.ms-flow-step h3 { font-size: 16.5px; margin-bottom: 8px; color: #fff; }
.ms-flow-step p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.68); margin: 0; }

/* ══════════════════════════════════════════════════════════════
   5. SPEC SHEET
   ══════════════════════════════════════════════════════════════ */
.ms-spec-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.ms-spec-media img { width: 100%; border-radius: 18px; box-shadow: 0 20px 44px rgba(11,31,58,0.14); object-fit: cover; }
.ms-spec-table { width: 100%; border-collapse: collapse; }
.ms-spec-table tr { border-bottom: 1px solid var(--ms-line); }
.ms-spec-table th {
  text-align: left; padding: 15px 0; width: 42%;
  font-size: 14px; font-weight: 600; color: var(--ms-muted); vertical-align: top;
}
.ms-spec-table td { padding: 15px 0; font-size: 15px; font-weight: 600; color: var(--ms-ink); }

/* ══════════════════════════════════════════════════════════════
   6. RECOGNITION / ADOPTION
   ══════════════════════════════════════════════════════════════ */
.ms-rec { background: #f6f9fb; border-top: 1px solid var(--ms-line); }
.ms-rec-head { max-width: 620px; margin-bottom: 46px; }
.ms-rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ms-rec-card {
  background: #fff; border: 1px solid var(--ms-line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.ms-rec-card:hover { box-shadow: 0 16px 34px rgba(11,31,58,0.1); transform: translateY(-3px); }
.ms-rec-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ms-rec-body { padding: 20px 22px; }
.ms-rec-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ms-cyan-deep); }
.ms-rec-body h3 { font-size: 17px; margin: 8px 0 6px; color: var(--ms-ink); }
.ms-rec-body p { font-size: 14px; line-height: 1.6; color: var(--ms-muted); margin: 0; }

/* ══════════════════════════════════════════════════════════════
   7. GALLERY
   ══════════════════════════════════════════════════════════════ */
.ms-gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ms-gal-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; box-shadow: 0 8px 20px rgba(11,31,58,0.08); }
.ms-gal-grid img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }

/* ══════════════════════════════════════════════════════════════
   8. CTA
   ══════════════════════════════════════════════════════════════ */
.ms-cta {
  background:
    radial-gradient(700px 360px at 50% -30%, rgba(24,197,214,0.25), transparent 65%),
    linear-gradient(135deg, var(--ms-ink) 0%, var(--ms-ink-2) 100%);
  text-align: center; color: #fff;
}
.ms-cta-inner { max-width: 660px; margin: 0 auto; padding: 0 20px; }
.ms-cta h2 { font-family: 'DM Serif Display', serif; font-size: 34px; margin-bottom: 14px; }
.ms-cta p { font-size: 16.5px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 30px; }
.ms-cta .ms-cta-row { justify-content: center; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .ms-hero-inner, .ms-why-grid, .ms-spec-grid { grid-template-columns: 1fr; gap: 36px; }
  .ms-flow-grid { grid-template-columns: 1fr 1fr; }
  .ms-rec-grid { grid-template-columns: 1fr 1fr; }
  .ms-gal-grid { grid-template-columns: 1fr 1fr; }
  .ms-gal-grid img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; height: auto; }
  .ms-hero h1 { font-size: 38px; }
}
@media (max-width: 600px) {
  .ms-section { padding: 56px 0; }
  .ms-cap-grid, .ms-flow-grid, .ms-rec-grid, .ms-gal-grid { grid-template-columns: 1fr; }
  .ms-gal-grid img:first-child { grid-column: auto; }
  .ms-hero h1 { font-size: 32px; }
  .ms-h2, .ms-cta h2 { font-size: 27px; }
}
