/* ============================================================
   Nusa Integrasi Teknologi — Landing Page Styles
   Theme: navy + warm gold "ray of light" (play on "Sinar")
   ============================================================ */

:root {
  --navy-900: #0a1a2f;
  --navy-800: #0e2440;
  --navy-700: #14304f;
  --ink:      #0b1f3a;
  --muted:    #5b6b80;
  --line:     #e3e8f0;
  --bg:       #ffffff;
  --bg-alt:   #f5f8fc;
  --gold:     #f5a623;
  --gold-2:   #ffce5c;
  --blue:     #2f7bff;
  --radius:   16px;
  --shadow:   0 18px 50px -20px rgba(11, 31, 58, 0.25);
  --max:      1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { color: var(--muted); }
.lead { font-size: 1.08rem; color: #46566c; }
.lead.center { max-width: 620px; margin-inline: auto; }
.center { text-align: center; }

a { color: inherit; text-decoration: none; }

.grad {
  background: linear-gradient(100deg, var(--gold) 10%, var(--gold-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(100deg, var(--gold), var(--gold-2)); color: #2a1c00; box-shadow: 0 12px 30px -10px rgba(245,166,35,.6); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { display: block; }
.brand-name { font-weight: 800; letter-spacing: -0.02em; font-size: 1.08rem; }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a { font-weight: 500; color: #34465c; font-size: 0.96rem; transition: color .15s ease; }
.nav-menu a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #fff !important; padding: 10px 20px; border-radius: 999px;
}
.nav-cta:hover { background: var(--navy-700); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; color: #eaf1fb;
  background: radial-gradient(120% 120% at 80% 0%, var(--navy-700) 0%, var(--navy-900) 55%);
  padding: clamp(64px, 12vw, 130px) 0 clamp(70px, 10vw, 120px);
}
.hero-glow {
  position: absolute; top: -180px; right: -120px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(245,166,35,.32), transparent 62%);
  filter: blur(10px); pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; }
.eyebrow {
  display: inline-block; color: var(--gold-2); font-weight: 600; font-size: .92rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { color: #fff; }
.hero-sub { color: #b9c6d8; font-size: 1.14rem; margin-top: 22px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ===== Trust strip ===== */
.trust { background: var(--ink); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 24px; }
.trust-item { text-align: center; color: #cdd9e8; }
.trust-num { display: block; font-size: 1.7rem; font-weight: 800; color: var(--gold-2); line-height: 1.1; }
.trust-flag { display: flex; justify-content: center; margin-bottom: 5px; }
.trust-flag svg { width: 42px; height: 28px; border-radius: 5px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.18); }
.trust-label { font-size: .85rem; color: #9fb0c6; }

/* ===== Sections ===== */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.kicker {
  color: var(--gold); font-weight: 700; font-size: .85rem; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-head .kicker { display: block; }

.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.grid-2 .lead { margin: 18px 0; }
.grid-2 p { text-align: justify; }

/* About card */
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; color: #41526a; font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
}
.check-list li::after {
  content: ""; position: absolute; left: 7px; top: 9px; width: 8px; height: 4px;
  border-left: 2px solid #2a1c00; border-bottom: 2px solid #2a1c00; transform: rotate(-45deg);
}

/* ===== Cards / Services ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.section-alt .card { background: #fff; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4ddec; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(245,166,35,.16), rgba(255,206,92,.22));
  color: var(--gold); margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; min-height: 2.4em; }
.card p { text-align: justify; }

/* ===== Vision & Mission ===== */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { border-radius: var(--radius); padding: 36px; }
.vm-vision { background: linear-gradient(155deg, var(--navy-800), var(--navy-900)); color: #e7eefb; }
.vm-vision h3, .vm-vision p { color: #e7eefb; }
.vm-mission { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.vm-tag {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 8px;
}
.vm-vision .vm-tag { background: rgba(245,166,35,.2); color: var(--gold-2); }
.vm-mission .vm-tag { background: rgba(47,123,255,.12); color: var(--blue); }
.vm-vision p { font-size: 1.12rem; margin-top: 6px; }
.note { font-size: .82rem; color: #8a98ac; margin-top: 18px; text-align: center; }

/* ===== CTA / Contact ===== */
.section-cta { background: radial-gradient(120% 120% at 20% 0%, var(--navy-700), var(--navy-900)); color: #eaf1fb; text-align: center; }
.section-cta h2 { color: #fff; }
.cta-inner { max-width: 760px; margin-inline: auto; }
.cta-inner .lead { color: #b9c6d8; margin-top: 12px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 38px; max-width: 560px; margin-inline: auto; }
.contact-item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: background .2s ease;
}
a.contact-item:hover { background: rgba(255,255,255,.1); }
.contact-label { font-size: .8rem; color: var(--gold-2); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.contact-value { color: #fff; font-weight: 600; }
.section-cta .note { color: #8ea0b8; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-900); color: #aebdd2; padding: 48px 0; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.site-footer .brand-name { color: #fff; }
.footer-tag { color: var(--gold-2); font-weight: 500; }
.footer-copy { font-size: .85rem; color: #7e8ea3; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (min-width: 861px) and (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 70px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 12px; border-bottom: 0 !important; }

  .grid-2 { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
}
