/* ══════════════════════════════════════════════════════════════
   CITMED — bespoke health-tech / citizen-science platform page
   Gaya: modern SaaS/platform (indigo + coral, terang & airy).
   Sengaja BERBEDA dari Microscope Scanner (device, gelap/cyan)
   dan Mangrovita (natural, cream/hijau).
   Prefix: .ct-
   ══════════════════════════════════════════════════════════════ */

:root {
  --ct-indigo: #4f46e5;
  --ct-indigo-deep: #312e81;
  --ct-violet: #7c6cf0;
  --ct-coral: #fb7185;
  --ct-ink: #1d1b2e;
  --ct-muted: #5d5a72;
  --ct-soft: #f4f4ff;
  --ct-line: #e7e6f5;
}

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

.ct-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;
}

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

/* ══════════════════════════════════════════════════════════════
   1. HERO — light SaaS with browser-framed screenshot
   ══════════════════════════════════════════════════════════════ */
.ct-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(720px 420px at 100% 0%, rgba(124,108,240,0.16), transparent 60%),
    radial-gradient(620px 380px at 0% 100%, rgba(251,113,133,0.12), transparent 60%),
    linear-gradient(180deg, var(--ct-soft) 0%, #ffffff 100%);
  padding: 60px 0 72px;
}
.ct-hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.ct-breadcrumb { font-size: 13px; color: var(--ct-muted); list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 22px; flex-wrap: wrap; }
.ct-breadcrumb a { color: var(--ct-indigo); text-decoration: none; }
.ct-breadcrumb a:hover { text-decoration: underline; }
.ct-breadcrumb .sep { color: var(--ct-line); }

.ct-hero h1 { font-family: 'DM Serif Display', serif; font-size: 46px; line-height: 1.08; color: var(--ct-ink); margin-bottom: 18px; }
.ct-hero h1 em { font-style: normal; color: var(--ct-indigo); }
.ct-hero-sub { font-size: 17.5px; line-height: 1.65; color: var(--ct-muted); max-width: 500px; margin-bottom: 26px; }

.ct-pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.ct-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: #fff; border: 1px solid var(--ct-line); color: var(--ct-indigo-deep);
}
.ct-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.18); }

.ct-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.ct-btn-primary {
  padding: 14px 30px; border-radius: 12px; background: var(--ct-indigo); color: #fff;
  font-weight: 700; text-decoration: none; transition: transform .15s ease, background .2s ease;
  box-shadow: 0 12px 26px rgba(79,70,229,0.3);
}
.ct-btn-primary:hover { transform: translateY(-2px); background: var(--ct-indigo-deep); color: #fff; }
.ct-btn-ghost {
  padding: 14px 30px; border-radius: 12px; background: #fff; border: 1px solid var(--ct-line);
  color: var(--ct-ink); font-weight: 600; text-decoration: none; transition: border-color .2s ease;
}
.ct-btn-ghost:hover { border-color: var(--ct-indigo); color: var(--ct-indigo-deep); }

/* Browser-frame mockup */
.ct-browser {
  border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid var(--ct-line); box-shadow: 0 30px 70px rgba(49,46,129,0.18);
}
.ct-browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f3f3fb; border-bottom: 1px solid var(--ct-line); }
.ct-browser-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.ct-browser-bar i:nth-child(1) { background: #ff5f57; }
.ct-browser-bar i:nth-child(2) { background: #febc2e; }
.ct-browser-bar i:nth-child(3) { background: #28c840; }
.ct-browser-url { margin-left: 12px; font-size: 12px; color: var(--ct-muted); background: #fff; border: 1px solid var(--ct-line); border-radius: 6px; padding: 4px 12px; }
.ct-browser img { width:100%; height:auto; display:block; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; }

/* ══════════════════════════════════════════════════════════════
   2. MISSION band
   ══════════════════════════════════════════════════════════════ */
.ct-mission { background: var(--ct-indigo-deep); color: #fff; }
.ct-mission .ct-eyebrow { color: #c4bdf7; }
.ct-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ct-mission h2 { font-family: 'DM Serif Display', serif; font-size: 30px; line-height: 1.3; margin-bottom: 14px; }
.ct-mission p { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.82); margin: 0; }

/* ══════════════════════════════════════════════════════════════
   3. FEATURES
   ══════════════════════════════════════════════════════════════ */
.ct-feat-head { max-width: 620px; margin-bottom: 46px; }
.ct-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ct-feat {
  padding: 28px 26px; border-radius: 18px; background: var(--ct-soft);
  border: 1px solid var(--ct-line); transition: transform .2s ease, box-shadow .2s ease;
}
.ct-feat:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(49,46,129,0.1); }
.ct-feat-ic {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--ct-line); font-size: 24px; margin-bottom: 16px;
}
.ct-feat h3 { font-size: 18px; color: var(--ct-ink); margin-bottom: 8px; }
.ct-feat p { font-size: 14.5px; line-height: 1.6; color: var(--ct-muted); margin: 0; }

/* ══════════════════════════════════════════════════════════════
   4. AUDIENCES
   ══════════════════════════════════════════════════════════════ */
.ct-aud { background: var(--ct-soft); border-top: 1px solid var(--ct-line); border-bottom: 1px solid var(--ct-line); }
.ct-aud-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.ct-aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ct-aud-card { background: #fff; border: 1px solid var(--ct-line); border-radius: 18px; padding: 30px 26px; text-align: center; }
.ct-aud-emoji { font-size: 40px; margin-bottom: 14px; }
.ct-aud-card h3 { font-size: 18px; color: var(--ct-indigo-deep); margin-bottom: 8px; }
.ct-aud-card p { font-size: 14.5px; line-height: 1.6; color: var(--ct-muted); margin: 0; }

/* ══════════════════════════════════════════════════════════════
   5. STEPS
   ══════════════════════════════════════════════════════════════ */
.ct-steps-head { max-width: 620px; margin-bottom: 46px; }
.ct-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ct-step { position: relative; padding-left: 16px; border-left: 3px solid var(--ct-coral); }
.ct-step-num { font-family: 'DM Serif Display', serif; font-size: 30px; color: var(--ct-coral); margin-bottom: 8px; }
.ct-step h3 { font-size: 17px; color: var(--ct-ink); margin-bottom: 6px; }
.ct-step p { font-size: 14.5px; line-height: 1.6; color: var(--ct-muted); margin: 0; }

/* ══════════════════════════════════════════════════════════════
   6. CREDIBILITY strip
   ══════════════════════════════════════════════════════════════ */
.ct-cred { background: #fff; border-top: 1px solid var(--ct-line); }
.ct-cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.ct-cred-item { padding: 26px; border-radius: 16px; background: var(--ct-soft); border: 1px solid var(--ct-line); }
.ct-cred-num { font-family: 'DM Serif Display', serif; font-size: 26px; color: var(--ct-indigo-deep); margin-bottom: 6px; }
.ct-cred-label { font-size: 14px; color: var(--ct-muted); }

/* ══════════════════════════════════════════════════════════════
   7. CTA
   ══════════════════════════════════════════════════════════════ */
.ct-cta {
  background:
    radial-gradient(680px 340px at 50% -20%, rgba(251,113,133,0.3), transparent 60%),
    linear-gradient(135deg, var(--ct-indigo) 0%, var(--ct-indigo-deep) 100%);
  text-align: center; color: #fff;
}
.ct-cta-inner { max-width: 660px; margin: 0 auto; padding: 0 20px; }
.ct-cta h2 { font-family: 'DM Serif Display', serif; font-size: 34px; margin-bottom: 14px; }
.ct-cta p { font-size: 16.5px; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 30px; }
.ct-cta .ct-cta-row { justify-content: center; }
.ct-cta .ct-btn-primary { background: #fff; color: var(--ct-indigo-deep); box-shadow: 0 12px 26px rgba(0,0,0,0.2); }
.ct-cta .ct-btn-primary:hover { background: var(--ct-soft); color: var(--ct-indigo-deep); }
.ct-cta .ct-btn-ghost { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.ct-cta .ct-btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .ct-hero-inner, .ct-mission-grid { grid-template-columns: 1fr; gap: 36px; }
  .ct-feat-grid, .ct-aud-grid, .ct-steps-grid, .ct-cred-grid { grid-template-columns: 1fr 1fr; }
  .ct-hero h1 { font-size: 38px; }
}
@media (max-width: 600px) {
  .ct-section { padding: 56px 0; }
  .ct-feat-grid, .ct-aud-grid, .ct-steps-grid, .ct-cred-grid { grid-template-columns: 1fr; }
  .ct-hero h1 { font-size: 31px; }
  .ct-h2 { font-size: 27px; }
}
