/* ============================================================
   JADWALIN — DESIGN SYSTEM
   Crimson gradient · trustworthy + premium · Bahasa Indonesia
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* ---- Brand red ---- */
  --red-50:  #FFF1F1;
  --red-100: #FFE0E1;
  --red-200: #FFC2C4;
  --red-400: #F4444F;
  --red-500: #E11D2A;   /* primary */
  --red-600: #C5121F;
  --red-700: #9A0E18;
  --red-800: #7A0C14;
  --red-900: #4E070D;

  --grad-red: linear-gradient(135deg, #F4283A 0%, #E11D2A 38%, #7A0C14 100%);
  --grad-red-deep: linear-gradient(160deg, #B3121C 0%, #7A0C14 55%, #3F060B 100%);
  --grad-red-soft: linear-gradient(135deg, #FFF1F1 0%, #FFE3E0 100%);

  /* ---- Ink / neutrals (warm tinted) ---- */
  --ink:     #1C1517;
  --ink-2:   #4B4146;
  --ink-3:   #756B70;
  --muted:   #9A9094;
  --line:    #ECE6E7;
  --line-2:  #E0D8DA;
  --bg:      #FBF8F8;
  --bg-2:    #F5F0F1;
  --card:    #FFFFFF;
  --cream:   #FFF7F5;

  /* ---- Support ---- */
  --green:   #1F8A5B;
  --green-bg:#E7F5EE;
  --gold:    #E8A317;
  --blue:    #2563C9;
  --wa:      #25D366;

  /* ---- Shape ---- */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* ---- Shadow ---- */
  --sh-xs: 0 1px 2px rgba(28,21,23,.06);
  --sh-sm: 0 2px 8px rgba(28,21,23,.06), 0 1px 2px rgba(28,21,23,.04);
  --sh-md: 0 8px 24px rgba(28,21,23,.08), 0 2px 6px rgba(28,21,23,.05);
  --sh-lg: 0 24px 60px rgba(28,21,23,.12), 0 8px 20px rgba(28,21,23,.06);
  --sh-red: 0 14px 34px rgba(225,29,42,.34);

  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: 1340px; margin: 0 auto; padding: 0 28px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-600); font-weight: 700;
}
.eyebrow.on-dark { color: #FFB3B3; }

h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }

.display { font-size: clamp(38px, 6vw, 72px); font-weight: 800; letter-spacing: -.035em; }
.h-sec   { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.03em; }
.lead    { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); font-weight: 500; line-height: 1.55; }

.text-grad {
  background: var(--grad-red);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: var(--r-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-red); color: #fff; box-shadow: var(--sh-red); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(225,29,42,.42); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); box-shadow: var(--sh-xs); }
.btn-ghost:hover { border-color: var(--red-400); color: var(--red-600); }
.btn-light { background: rgba(255,255,255,.16); color:#fff; border:1.5px solid rgba(255,255,255,.32); backdrop-filter: blur(4px); }
.btn-light:hover { background: rgba(255,255,255,.26); }
.btn-wa { background: var(--wa); color:#fff; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  padding: 8px 14px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line-2);
}
.chip svg { width: 15px; height: 15px; }
.chip-active { background: var(--ink); color:#fff; border-color: var(--ink); }
.chip-red { background: var(--red-50); color: var(--red-600); border-color: var(--red-100); }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill);
}
.badge svg { width: 13px; height: 13px; }
.badge-verified { background: var(--blue); color:#fff; }
.badge-top { background: #FFF4DE; color: #9A6B00; }
.badge-new { background: var(--green-bg); color: var(--green); }
.badge-soft { background: var(--red-50); color: var(--red-600); }

.pill-tag {
  font-family:'Space Mono',monospace; font-size:11px; letter-spacing:.08em;
  text-transform:uppercase; font-weight:700;
  padding:3px 9px; border-radius:6px; background: var(--bg-2); color: var(--ink-3);
}

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
}
.card-hover { transition: transform .2s ease, box-shadow .25s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }

/* ---------- Image placeholder ---------- */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #F3EDEE 0 11px, #EDE6E8 11px 22px);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
}
.ph::after {
  content: attr(data-label);
  font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: #B7AEB1;
  background: rgba(255,255,255,.78); padding: 4px 9px; border-radius: 6px;
}
.ph-red {
  background: repeating-linear-gradient(135deg, #FFE7E5 0 11px, #FFDAD7 11px 22px);
}
.ph-red::after { color: #D98C8C; background: rgba(255,255,255,.7); }

/* ---------- Stars ---------- */
.stars { display:inline-flex; gap:1px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Avatar ---------- */
.avatar {
  border-radius: 50%; overflow: hidden; flex: none;
  background: repeating-linear-gradient(135deg,#F3EDEE 0 7px,#EDE6E8 7px 14px);
  display:flex; align-items:center; justify-content:center;
  font-weight:700; color:#fff;
}
.avatar-grad { background: var(--grad-red); }

/* ---------- Section helpers ---------- */
.section { padding: 92px 0; }
.section-sm { padding: 60px 0; }
.dark-sec { background: var(--ink); color: #fff; }
.dark-sec .lead { color: rgba(255,255,255,.72); }

/* ---------- Divider dot ---------- */
.dot { width:4px;height:4px;border-radius:50%;background:var(--muted);display:inline-block; }

/* ---------- Utility ---------- */
.flex { display:flex; }
.items-center { align-items:center; }
.justify-between { justify-content:space-between; }
.gap-2 { gap:8px; } .gap-3 { gap:12px; } .gap-4 { gap:16px; }
.muted { color: var(--muted); }
.ink2 { color: var(--ink-2); }
.center { text-align:center; }
.grid { display:grid; }

/* ---------- Phone frame ---------- */
.phone {
  width: 320px; height: 680px; border-radius: 44px;
  background: #1C1517; padding: 11px;
  box-shadow: var(--sh-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative; flex: none;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: var(--bg); position: relative;
}
.phone-notch {
  position:absolute; top:11px; left:50%; transform:translateX(-50%);
  width: 116px; height: 26px; background:#1C1517; border-radius: 0 0 16px 16px; z-index: 20;
}
.status-bar {
  height: 46px; display:flex; align-items:flex-end; justify-content:space-between;
  padding: 0 22px 7px; font-size: 13px; font-weight: 700;
}

/* ---------- Scrollbar (subtle) ---------- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #DCD4D6; border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .wrap, .wrap-wide { padding: 0 18px; }
}
