/* ============================================================================
   KREASI KIRANA - Brand Stylesheet
   Konsep: "cahaya kepercayaan" - gradasi biru klinis (terinspirasi identitas
   rumah sakit modern: bersih, presisi, tepercaya) + motif lingkaran radiasi
   cahaya lembut sebagai elemen ciri khas, merujuk arti nama "Kirana" (cahaya/
   sinar). Identitas ini SENGAJA dibuat berbeda dari identitas produk IDEB
   Skor Dashboard (navy+traffic-light), supaya brand induk terasa sebagai
   "rumah" yang menaungi banyak produk, bukan produk itu sendiri.
   ============================================================================ */

@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'KK Mono'; src: url('../fonts/plex-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
    /* --- Palet warna: terinspirasi biru klinis Pantai Hospital KL --- */
    --ink:        #0B2E4A;   /* navy gelap - headline, teks utama */
    --ocean:      #0E6BA8;   /* biru utama - brand, tombol primer */
    --ocean-dark: #084E7D;
    --sky:        #4FB4E8;   /* biru muda - gradasi, aksen */
    --sky-pale:   #DCF0FC;   /* biru sangat muda - background section */
    --teal:       #0DA69A;   /* aksen kedua - CTA highlight, badge */
    --slate:      #5B6B7A;   /* teks sekunder */
    --paper:      #F6FAFD;   /* background utama, biru-putih dingin */
    --white:      #FFFFFF;
    --line:       #DCE7EF;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.mono { font-family: 'KK Mono', monospace; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

.section { padding: 88px 0; position: relative; }
.section-tight { padding: 56px 0; }

/* ---------- Radiant blob (signature motif) ---------- */
.radiant-blob {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--sky) 0%, var(--ocean) 55%, transparent 75%);
    filter: blur(60px);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
    font-family: 'KK Mono', monospace;
    font-size: 12px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 14px;
    display: inline-block;
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(246, 250, 253, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 40px; height: 40px; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, var(--sky) 0%, var(--ocean) 60%, var(--ocean-dark) 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(14, 107, 168, 0.35);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text-name { font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -0.2px; }
.brand-text-sub { font-family: 'KK Mono', monospace; font-size: 9.5px; color: var(--slate); letter-spacing: 1px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { font-weight: 600; font-size: 14.5px; color: var(--ink); opacity: 0.8; }
.nav-link:hover { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: 14.5px;
    padding: 13px 26px; border-radius: 999px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--ocean); color: var(--white); box-shadow: 0 6px 18px rgba(14, 107, 168, 0.3); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(14, 107, 168, 0.4); }
.btn-teal { background: var(--teal); color: var(--white); box-shadow: 0 6px 18px rgba(13, 166, 154, 0.3); }
.btn-teal:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ocean); color: var(--ocean); }
.btn-white { background: var(--white); color: var(--ocean); }
.btn-white:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 60px 0; overflow: hidden; }
.hero-grid { display: flex; align-items: center; gap: 56px; position: relative; z-index: 1; }
.hero-text { flex: 1.1; }
.hero-headline {
    font-weight: 800; font-size: 46px; line-height: 1.14; letter-spacing: -0.8px;
    color: var(--ink); margin-bottom: 20px;
}
.hero-headline .accent { color: var(--ocean); }
.hero-sub { font-size: 17px; color: var(--slate); max-width: 480px; margin-bottom: 32px; line-height: 1.65; }
.hero-cta-row { display: flex; gap: 14px; }
.hero-visual { flex: 1; width: 100%; position: relative; }

/* ---------- Product grid ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px auto; }
.section-title { font-weight: 800; font-size: 32px; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 14px; }
.section-desc { font-size: 15.5px; color: var(--slate); }

.product-grid { display: flex; flex-wrap: wrap; gap: 28px; }
.product-card {
    flex: 1 1 320px; background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--line); overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11, 46, 74, 0.1); }
.product-card-media {
    height: 180px; background: linear-gradient(135deg, var(--ocean) 0%, var(--sky) 100%);
    display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.product-card-body { padding: 26px 26px 28px 26px; flex: 1; display: flex; flex-direction: column; }
.product-card-tag {
    font-family: 'KK Mono', monospace; font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--teal); font-weight: 500; margin-bottom: 8px;
}
.product-card-title { font-weight: 800; font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.product-card-desc { font-size: 14px; color: var(--slate); line-height: 1.55; margin-bottom: 20px; flex: 1; }

.product-card-soon {
    flex: 1 1 320px; border-radius: var(--radius-lg); border: 1.5px dashed var(--line);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 40px 26px; text-align: center; color: var(--slate);
}
.product-card-soon .soon-icon { font-size: 28px; margin-bottom: 12px; opacity: 0.5; }
.product-card-soon .soon-title { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.product-card-soon .soon-desc { font-size: 13px; }

/* ---------- Feature rows (bertitik ganda: icon kiri, teks kanan) ---------- */
.feature-list { display: flex; flex-wrap: wrap; gap: 28px; }
.feature-card { flex: 1 1 280px; }
.feature-icon {
    width: 46px; height: 46px; border-radius: 12px; background: var(--sky-pale);
    display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px;
}
.feature-title { font-weight: 700; font-size: 15.5px; color: var(--ink); margin-bottom: 6px; }
.feature-desc { font-size: 13.5px; color: var(--slate); line-height: 1.55; }

/* ---------- Two-column split (mode explainer) ---------- */
.split-row { display: flex; gap: 24px; }
.split-card { flex: 1; border-radius: var(--radius-md); padding: 28px; border: 1px solid var(--line); background: var(--white); }
.split-card-title { font-weight: 700; font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.split-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.split-desc { font-size: 13.5px; color: var(--slate); line-height: 1.6; margin-bottom: 14px; }
.split-basis { font-family: 'KK Mono', monospace; font-size: 10.5px; color: var(--ocean); letter-spacing: 0.4px; }

/* ---------- Stat strip ---------- */
.stat-strip {
    display: flex; border-radius: var(--radius-lg); overflow: hidden;
    background: linear-gradient(120deg, var(--ink) 0%, var(--ocean-dark) 100%);
    padding: 34px 10px;
}
.stat { flex: 1; text-align: center; }
.stat-num { font-weight: 800; font-size: 30px; color: var(--white); letter-spacing: -0.5px; }
.stat-label { font-size: 11.5px; color: var(--sky); margin-top: 4px; letter-spacing: 0.3px; }

/* ---------- CTA band ---------- */
.cta-band {
    border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--ocean) 0%, var(--ocean-dark) 100%);
    padding: 52px 56px; display: flex; align-items: center; justify-content: space-between;
    position: relative; overflow: hidden;
}
.cta-band-title { font-weight: 800; font-size: 26px; color: var(--white); margin-bottom: 8px; letter-spacing: -0.4px; }
.cta-band-sub { font-size: 14.5px; color: #CDE7F7; max-width: 420px; }
.cta-band-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #B9CBDA; padding: 56px 0 28px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { max-width: 300px; }
.footer-brand-name { color: var(--white); font-weight: 800; font-size: 18px; margin: 12px 0 10px 0; }
.footer-brand-desc { font-size: 13.5px; line-height: 1.6; color: #93ACC0; }
.footer-col-title { font-family: 'KK Mono', monospace; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: #6C8AA0; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 12.5px; color: #6C8AA0; flex-wrap: wrap; gap: 10px; }

/* ---------- Utility mockup card (untuk hero produk) ---------- */
.app-mock {
    width: 100%;
    background: var(--white); border-radius: var(--radius-md); box-shadow: 0 30px 60px rgba(11,46,74,0.18);
    border: 1px solid var(--line); overflow: hidden;
}
.app-mock-bar { background: #EEF4F8; padding: 10px 16px; display: flex; gap: 6px; }
.app-mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #C7D5DE; }
.app-mock svg { width: 100%; height: auto; display: block; }

/* Aturan global: gambar/SVG ilustratif (bukan ikon kecil berukuran tetap) selalu
   menyesuaikan lebar kolomnya - supaya tampilan PC & mobile konsisten, tidak
   "menciut" ke ukuran bawaan browser saat layout berubah jadi 1 kolom di mobile. */
img, svg { max-width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero-grid { flex-direction: column; }
    .hero-headline { font-size: 34px; }
    .split-row { flex-direction: column; }
    .cta-band { flex-direction: column; align-items: flex-start; gap: 24px; padding: 40px 32px; }
    .nav-links { display: none; }
    .footer-grid { flex-direction: column; }
    .stat-strip { flex-wrap: wrap; }
    .stat { flex: 1 1 45%; margin-bottom: 20px; }

    /* Perbaikan: baris tombol (hero & CTA band) sebelumnya bisa keluar/terpotong
       dari layar sempit karena tidak boleh mengecil (flex-shrink:0) dan tidak
       bisa membungkus ke baris baru. Sekarang ditumpuk penuh 1 kolom di mobile. */
    .hero-cta-row,
    .cta-band-actions { flex-direction: column; flex-wrap: wrap; width: 100%; gap: 12px; }
    .hero-cta-row .btn,
    .cta-band-actions .btn { width: 100%; text-align: center; }
}

/* ============================================================================
   TAMBAHAN: Formulir Hubungi Kami (terhubung ke WhatsApp)
   ============================================================================ */
.contact-form {
    max-width: 760px; margin: 0 auto; background: var(--white);
    border-radius: var(--radius-lg); padding: 36px 40px; border: 1px solid var(--line);
}
.contact-form-grid { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.form-field { flex: 1 1 45%; display: flex; flex-direction: column; gap: 7px; }
.form-field-full { flex: 1 1 100%; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
    font-family: 'Manrope', sans-serif; font-size: 14px; color: var(--ink);
    border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    padding: 11px 14px; background: var(--paper); resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--ocean); }
.form-hint { font-size: 12px; color: var(--slate); margin-top: 12px; }

@media (max-width: 640px) {
    .form-field { flex: 1 1 100%; }
    .contact-form { padding: 28px 22px; }
}
