/* ===========================================================
   NusaTrip Investor Relations
   Design adapted from the "Tidy" (Cruip) layout language:
   light, minimal, centered, rounded, soft gradients.
   Brand: NusaTrip blue + orange on a clean corporate base.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@500;600;700;800&display=swap');

:root {
  --navy: #0f2742;
  --ink: #1e2a38;
  --slate: #5b6b7c;
  --slate-300: #97a6b6;
  --blue: #1271c7;
  --blue-50: #eaf3fc;
  --blue-600: #0f63ae;
  --orange: #f58220;
  --orange-50: #fff3e8;
  --orange-600: #db6e10;
  --line: #e7ecf2;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-softer: #eef3f8;
  --green: #169b62;
  --red: #d2453d;
  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15,39,66,.06);
  --shadow: 0 4px 14px rgba(15,39,66,.07), 0 1px 3px rgba(15,39,66,.05);
  --shadow-lg: 0 24px 60px -20px rgba(15,39,66,.22);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}
.lead { text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: 3.2rem; font-weight: 800; }
h2 { font-size: 2.3rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; }
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  text-transform: uppercase; letter-spacing: .16em; font-size: .76rem;
  font-weight: 700; color: var(--blue);
  background: var(--blue-50); padding: 6px 12px; border-radius: 30px; margin: 0 0 1rem;
}
.lead { font-size: 1.18rem; color: var(--slate); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.grad { background: linear-gradient(90deg, #1271c7 0%, #3a97e8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 9px; font-family: var(--sans);
  font-weight: 600; font-size: .95rem; cursor: pointer; border: 1px solid transparent;
  transition: all .16s ease; white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #163455; color:#fff; transform: translateY(-1px); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-600); color:#fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.ticker {
  background: var(--navy); color: #c4d4e4; font-size: .8rem;
}
.ticker .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.ticker .chip { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.ticker .chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ad295; box-shadow: 0 0 0 3px rgba(74,210,149,.2); }
.ticker .up { color: #4ad295; }
.ticker .down { color: #ff8f87; }
.ticker .muted-q { color: #8aa1b8; font-weight: 500; }
.ticker .links a { color: #c4d4e4; margin-left: 18px; }
.ticker .links a:hover { color: #fff; }

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  position: relative; box-shadow: var(--shadow-sm);
}
.brand .mark::after {
  content:""; position:absolute; right:7px; top:7px; width: 11px; height: 11px;
  background: var(--orange); border-radius: 50%;
}
.brand .name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--navy); letter-spacing: -.03em; }
.brand .name span { color: var(--orange); }
.brand .tag { display:block; font-family: var(--sans); font-size:.58rem; letter-spacing:.22em; color: var(--slate-300); font-weight: 700; text-transform: uppercase; margin-top: -3px; }

.menu { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.menu > li > a { color: var(--ink); font-weight: 500; font-size: .94rem; }
.menu > li > a:hover, .menu a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display:block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); padding-top: 80px; padding-bottom: 40px; }
.hero .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: 0; }
.hero .blob.b1 { width: 420px; height: 420px; background: #cfe4fa; top: -160px; left: -120px; }
.hero .blob.b2 { width: 360px; height: 360px; background: #ffe1c4; top: -120px; right: -100px; opacity:.45; }
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { text-align: center; max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: 3.5rem; }
.hero p.lead { margin: 18px auto 0; max-width: 600px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* Hero "dashboard" preview */
.hero-preview {
  margin: 56px auto 0; max-width: 980px; position: relative; z-index: 1;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hp-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.hp-bar .d { width: 11px; height: 11px; border-radius: 50%; background: #e1e6ec; }
.hp-bar .url { margin-left: 12px; font-size: .78rem; color: var(--slate-300); }
.hp-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; }
.hp-chart { padding: 26px; border-right: 1px solid var(--line); }
.hp-chart .lbl { font-size: .78rem; color: var(--slate); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.hp-chart .big { font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--navy); margin: 4px 0 0; }
.hp-chart .big .up { font-size: 1rem; color: var(--green); font-weight: 700; }
.hp-stats { padding: 26px; display: grid; gap: 16px; align-content: start; }
.hp-stats .row { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.hp-stats .row:last-child { border-bottom: 0; padding-bottom: 0; }
.hp-stats .row span { color: var(--slate); font-size: .86rem; }
.hp-stats .row b { font-family: var(--display); color: var(--navy); font-size: 1.05rem; }

/* ---------- Logo cloud ---------- */
.logos { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.logos p { text-align: center; color: var(--slate-300); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; margin-bottom: 22px; }
.logo-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; align-items: center; }
.logo-row span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: #9fb0c0; letter-spacing: -.01em; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--display); font-size: 2.4rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.stat .num span { color: var(--orange); }
.stat .lbl { color: var(--slate); font-size: .9rem; margin-top: 4px; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue); margin-bottom: 16px;
}
.card .ico.orange { background: var(--orange-50); color: var(--orange); }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--slate); margin: 0; }

/* ---------- Split feature row ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: -1; }
.split-media {
  background: linear-gradient(160deg, var(--bg-softer), #fff); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); min-height: 280px;
}
.split ul.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.split ul.checks li { padding: 8px 0 8px 30px; position: relative; color: var(--slate); }
.split ul.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 8px; color: var(--green); font-weight: 800;
  width: 20px; height: 20px;
}

/* ---------- Pull quote ---------- */
.pullquote { text-align: center; max-width: 800px; margin: 0 auto; }
.pullquote q { font-family: var(--display); font-size: 1.7rem; color: var(--navy); line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
.pullquote .by { margin-top: 18px; color: var(--slate); font-size: .95rem; }
.pullquote .by b { color: var(--navy); }

/* ---------- Page header ---------- */
.pagehead { position: relative; overflow: hidden; background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.pagehead .blob { position:absolute; border-radius:50%; filter: blur(80px); opacity:.45; z-index:0; }
.pagehead .blob.b1 { width: 360px; height: 360px; background: #cfe4fa; top: -150px; right: -80px; }
.pagehead .wrap { position: relative; z-index: 1; }
.crumb { font-size: .82rem; color: var(--slate-300); margin-bottom: 12px; }
.crumb a { color: var(--slate); }
.pagehead h1 { font-size: 2.7rem; }
.pagehead p { color: var(--slate); max-width: 64ch; margin-bottom: 0; font-size: 1.1rem; }

/* ---------- Tables ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; background: #fff; }
.table th, .table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg-soft); color: var(--navy); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: var(--bg-soft); }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table .pos { color: var(--green); font-weight: 600; }
.table .neg { color: var(--red); font-weight: 600; }
.tag { display:inline-block; font-size:.7rem; font-weight:700; padding:4px 11px; border-radius:30px; background: var(--blue-50); color: var(--blue); text-transform: uppercase; letter-spacing:.05em; }
.tag.orange { background: var(--orange-50); color: var(--orange-600); }
.tag.gray { background: var(--bg-softer); color: var(--slate); }

/* ---------- Press list ---------- */
.press { list-style: none; padding: 0; margin: 0; }
.press li { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; align-items: start; }
.press li:first-child { padding-top: 0; }
.press .date { color: var(--slate-300); font-size: .82rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.press h3 { margin: 0 0 6px; font-size: 1.12rem; }
.press p { color: var(--slate); margin: 0; font-size: .95rem; }
.press .read { white-space: nowrap; font-weight: 600; font-size: .9rem; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.person { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align:center; box-shadow: var(--shadow-sm); }
.person .avatar { width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color:#fff; display:grid; place-items:center;
  font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.person h3 { margin: 0; font-size: 1.1rem; }
.person .role { color: var(--orange-600); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.person p { color: var(--slate); font-size: .9rem; margin: 0; }

/* ---------- Governance / docs list ---------- */
.doclist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.doclist li a { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px;
  color: var(--navy); font-weight: 600; box-shadow: var(--shadow-sm); transition: border-color .15s; }
.doclist li a:hover { border-color: var(--blue); color: var(--blue); }
.doclist .meta { color: var(--slate-300); font-weight: 500; font-size: .85rem; }

/* ---------- CTA band ---------- */
.ctaband { background: linear-gradient(125deg, rgba(15,39,66,.94) 0%, rgba(20,51,88,.86) 100%), url('https://images.unsplash.com/photo-1505228395891-9a51e7e86bf6?w=2000&q=80&auto=format&fit=crop') center/cover no-repeat; color: #eaf1f8; border-radius: 0; position: relative; overflow: hidden; }
.ctaband .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 56px 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.ctaband h2 { color: #fff; margin: 0; }
.ctaband p { color: #c4d4e4; margin: 8px 0 0; }
.ctaband::after { content:""; position:absolute; width: 320px; height: 320px; border-radius:50%; background: rgba(245,130,32,.18); filter: blur(70px); right: -60px; top: -80px; }

/* ---------- Info / contact ---------- */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--slate); }
.form { display: grid; gap: 18px; }
.form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { font-weight: 600; font-size: .88rem; color: var(--navy); display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form-note { display:none; background: var(--blue-50); border:1px solid #bcdcf7; color: var(--blue-600); padding: 12px 16px; border-radius: 9px; font-size: .9rem; }

/* ---------- Safe harbor ---------- */
.safe-harbor { background: var(--bg-soft); border-top: 1px solid var(--line); font-size: .8rem; color: var(--slate); padding: 28px 0; }
.safe-harbor strong { color: var(--navy); }

/* ---------- Footer ---------- */
.footer { background: #0b1f36; color: #9fb2c6; padding: 60px 0 28px; font-size: .92rem; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer .name { color:#fff; }
.footer p { color: #8499ad; max-width: 30ch; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer a { color: #9fb2c6; display: block; padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: #6f879f; }
.footer-bottom a { display: inline; color: #6f879f; }

/* ---------- Brand logo (real) ---------- */
.brand-logo { height: 40px; width: auto; display: block; }
@media (max-width: 900px){ .brand-logo { height: 32px; } }

/* ---------- Photo avatars ---------- */
.person .avatar.photo { padding: 0; overflow: hidden; background: var(--bg-softer); }
.person .avatar.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Utilities ---------- */
.mt0{margin-top:0}.mb0{margin-bottom:0}.muted{color:var(--slate)}
.grid-gap-lg{gap:40px}
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  h1 { font-size: 2.2rem; }
  .hero h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-2, .people { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .split-media { order: 0; }
  .hp-body { grid-template-columns: 1fr; }
  .hp-chart { border-right: 0; border-bottom: 1px solid var(--line); }
  .press li { grid-template-columns: 1fr; gap: 6px; }
  .press .read { margin-top: 6px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .form .field-row { grid-template-columns: 1fr; }
  .ticker .links { display: none; }
  .menu { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #fff;
          flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 0; box-shadow: var(--shadow); }
  .menu.open { display: flex; }
  .menu > li { padding: 0 24px; border-bottom: 1px solid var(--line); }
  .menu > li:last-child { border-bottom: 0; }
  .menu > li > a { display: block; padding: 14px 0; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .lead { text-wrap: pretty; }
  .hero h1 { text-wrap: pretty; }
  .table th, .table td { padding: 12px 14px; }
  .ctaband .wrap { gap: 16px; }
  .section, .pagehead, .ctaband, .logos, .safe-harbor, .hero { overflow-x: hidden; }
  .stats { gap: 14px; }
}
