/* Brightspace Pertamina — redesign concept (mockup). Design system.
   Concept/proposal only; branding used for a pitch TO Pertamina. Dummy data. */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --pt-red: #E4002B;
  --pt-red-dark: #B30022;
  --pt-teal: #0097A7;
  --pt-teal-dark: #00707C;
  --pt-blue: #0A6EBD;
  --pt-green: #1FA85B;
  --pt-amber: #F3A218;
  --bg: #EEF3F9;
  --surface: #FFFFFF;
  --surface-2: #F6F9FD;
  --ink: #141E29;
  --ink-2: #3A4B5C;
  --muted: #697C8E;
  --line: #E1E8F0;
  --line-2: #EDF2F7;
  --shadow-sm: 0 1px 2px rgba(20,30,41,.06), 0 1px 3px rgba(20,30,41,.05);
  --shadow: 0 4px 14px rgba(20,30,41,.08);
  --shadow-lg: 0 18px 50px rgba(20,30,41,.16);
  --r-sm: 8px; --r: 14px; --r-lg: 22px;
  --nav-h: 68px;
  --maxw: 1240px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
button { font-family: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: conic-gradient(from 210deg, var(--pt-red), var(--pt-teal) 60%, var(--pt-red));
  position: relative; box-shadow: var(--shadow-sm);
}
.brand .mark::after { content:""; position:absolute; inset:7px; background:#fff; border-radius: 4px; }
.brand b { color: var(--ink); }
.brand span { color: var(--muted); font-weight: 600; font-size: 12px; align-self: flex-end; margin-bottom: 4px; }
.nav-links { display: flex; gap: 6px; margin-left: 8px; }
.nav-links a { padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-links a.active { color: var(--pt-red); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn {
  border: 0; border-radius: 11px; padding: 11px 18px; font-weight: 700; font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 8px; transition: .15s;
}
.btn-red { background: var(--pt-red); color: #fff; box-shadow: 0 6px 16px rgba(228,0,43,.26); }
.btn-red:hover { background: var(--pt-red-dark); transform: translateY(-1px); }
.btn-blue { background: var(--pt-blue); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-teal { background: var(--pt-teal); color:#fff; }
.btn-sm { padding: 8px 13px; font-size: 13px; border-radius: 9px; }
.chip { display:inline-flex; align-items:center; gap:6px; font-weight:700; font-size:12px; padding:5px 10px; border-radius:999px; }
.chip-green { background: #E6F6EC; color: var(--pt-green); }
.chip-teal { background: #E2F5F7; color: var(--pt-teal-dark); }
.chip-amber { background: #FDF1DC; color: #B57708; }
.chip-red { background: #FDE7EB; color: var(--pt-red); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(120deg,#fff 0%, #fff 52%, #FFF2F4 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; padding-top: 54px; padding-bottom: 54px; align-items: center; }
.hero .eyebrow { color: var(--pt-red); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; margin: 14px 0 14px; }
.hero h1 em { color: var(--pt-red); font-style: normal; }
.hero p.lead { font-size: 17px; color: var(--ink-2); max-width: 44ch; margin: 0 0 24px; }
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-art { position: relative; aspect-ratio: 1/1; }
.hero-art .ring { position:absolute; inset:0; border-radius:50%; background:
  radial-gradient(circle at 60% 40%, rgba(228,0,43,.12), transparent 60%); }
.hero-art .disc { position:absolute; inset:8% 8% 8% 14%; border-radius:50%;
  background: conic-gradient(from 160deg, var(--pt-red), #ff5a78, var(--pt-teal), var(--pt-red));
  filter: saturate(1.05); box-shadow: var(--shadow-lg); overflow:hidden; }
.hero-art .disc::after{ content:""; position:absolute; inset:0; background:
  repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.14) 0 2px, transparent 2px 16px); }
.hero-art .photo { position:absolute; inset:14% 6% 0 20%; border-radius: 0 0 50% 50% / 0 0 24% 24%;
  background: linear-gradient(180deg,#2a3340,#505d6c); opacity:.0; }
.hero-stats { display:flex; gap: 26px; margin-top: 30px; }
.hero-stats .s b { font-size: 24px; font-weight: 800; display:block; }
.hero-stats .s span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* floating smart-search */
.search-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 10px; margin: -34px auto 0; position: relative; z-index: 3;
}
.search-tabs { display: flex; gap: 6px; padding: 6px; }
.search-tabs button { border:0; background: transparent; padding: 9px 16px; border-radius: 10px; font-weight: 700; color: var(--muted); font-size: 14px; }
.search-tabs button.active { background: var(--pt-red); color:#fff; }
.search-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 10px; padding: 8px; }
.field { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.field label { display:block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing:.04em; }
.field select, .field input { border:0; background: transparent; width: 100%; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink); outline: none; margin-top: 2px; }

/* ---------- sections ---------- */
section.block { padding: 40px 0; }
.sec-head { display:flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; gap: 16px; }
.sec-head h2 { font-size: 26px; font-weight: 800; }
.sec-head p { color: var(--muted); margin: 6px 0 0; font-size: 14.5px; }
.sec-head a.more { color: var(--pt-blue); font-weight: 700; font-size: 14px; white-space: nowrap; }

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* lahan card */
.lcard { background: var(--surface); border:1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: .18s; display:flex; flex-direction: column; }
.lcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #d4deea; }
.lcard .ph { height: 148px; background: linear-gradient(135deg,#dfe7f1,#eef3f9); position: relative; display:flex; align-items:center; justify-content:center; color:#9fb0c2; font-weight:800; letter-spacing:.04em; }
.lcard .ph .tag { position:absolute; top:12px; left:12px; }
.lcard .ph .ai { position:absolute; top:12px; right:12px; }
.lcard .body { padding: 14px 16px 16px; display:flex; flex-direction:column; gap: 10px; flex:1; }
.lcard .code { font-weight: 800; font-size: 15px; }
.lcard .addr { color: var(--muted); font-size: 13px; line-height:1.4; min-height: 36px; }
.lcard .meta { display:flex; gap: 14px; font-size: 12.5px; color: var(--ink-2); font-weight:600; flex-wrap:wrap; }
.lcard .meta i { color: var(--pt-teal); font-style: normal; }
.lcard .foot { display:flex; align-items:center; justify-content: space-between; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line-2); }
.lcard .price small { display:block; color: var(--muted); font-size: 11px; font-weight:600; }
.lcard .price b { font-size: 16px; color: var(--ink); }
.scorepill { display:inline-flex; align-items:center; gap:7px; font-weight:800; font-size:12px; padding:5px 9px; border-radius:999px; background: var(--surface-2); border:1px solid var(--line); }
.scoredot { width:9px; height:9px; border-radius:50%; }

/* city tiles */
.city { height: 108px; border-radius: var(--r); background: linear-gradient(135deg,#1a2430,#38485a); color:#fff; display:flex; align-items:flex-end; padding: 14px; font-weight: 700; position: relative; overflow:hidden; box-shadow: var(--shadow-sm); }
.city::after { content:""; position:absolute; right:-10px; bottom:-10px; width:70px; height:70px; border-radius:50%; background: conic-gradient(from 180deg, var(--pt-red), var(--pt-teal)); opacity:.5; }
.city span { position: relative; }

/* ---------- footer ---------- */
footer.ft { background: #0F1822; color: #C7D2DE; margin-top: 30px; }
footer.ft .wrap { padding: 44px 24px 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 24px; }
footer.ft h4 { color:#fff; font-size: 14px; margin-bottom: 12px; }
footer.ft a { display:block; color:#9DAEBE; font-size: 13.5px; padding: 4px 0; }
footer.ft a:hover { color:#fff; }
footer.ft .brand b { color:#fff; }
footer.ft .brand span { color:#7E90A2; }
footer.ft .copy { grid-column: 1/-1; border-top: 1px solid #22303d; margin-top: 10px; padding-top: 18px; display:flex; justify-content: space-between; color:#7E90A2; font-size: 12.5px; }
.tagline { font-style: italic; font-weight: 700; color:#fff; opacity:.9; }

/* ---------- generic utilities ---------- */
.muted { color: var(--muted); }
.mini { font-size: 12.5px; }
.banner-note { background: #FFF8E6; border:1px solid #F3E2B3; color:#8A6400; font-size: 12.5px; font-weight:600; text-align:center; padding: 7px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { display:none; }
  .search-row { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  footer.ft .wrap { grid-template-columns: 1fr 1fr; }
  .nav-links { display:none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .search-row { grid-template-columns: 1fr; }
  .nav .wrap { gap: 12px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand .mark { width: 26px; height: 26px; }
  .brand span { font-size: 11px; }
  .nav-right .btn-ghost { display: none; }
  footer.ft .wrap { grid-template-columns: 1fr; padding: 34px 16px 22px; }
  footer.ft .copy { flex-direction: column; gap: 6px; }
}
