/* Xecurinc site — dark, brand-blue, professional. */
:root {
  --bg: #0A0A0C;
  --bg-2: #0F0F13;
  --surface: #16161C;
  --surface-2: #1C1C24;
  --text: #F3F4F7;
  --muted: #9A9AA6;
  --faint: #6E6E7A;
  --accent: #2F7CFF;
  --accent-2: #59A0FF;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Bilingual visibility */
.lang-en .t-id { display: none !important; }
.lang-id .t-en { display: none !important; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(10, 10, 12, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; gap: 20px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.brand img { width: 30px; height: 30px; }
.brand span { font-size: 18px; }
.nav .spacer { flex: 1; }
.nav a.navlink { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav a.navlink:hover { color: var(--text); text-decoration: none; }
.lang-toggle {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent-2); }

/* Hero */
.hero { position: relative; overflow: hidden; text-align: center; padding: 88px 0 60px; }
.hero::before {
  content: ""; position: absolute; inset: -30% 0 auto 0; height: 600px;
  background: radial-gradient(600px 320px at 50% 0%, rgba(47, 124, 255, 0.28), transparent 70%);
  pointer-events: none;
}
.hero-logo { width: 120px; height: 120px; margin: 0 auto 24px; position: relative; }
.hero h1 { font-size: clamp(28px, 7vw, 58px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 16px; font-weight: 800; text-wrap: balance; }
.hero p.lead { font-size: clamp(15px, 2.2vw, 20px); line-height: 1.55; color: var(--muted); max-width: 600px; margin: 0 auto 26px; text-wrap: pretty; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.badge {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600;
}
.pill-note {
  display: inline-block; margin-top: 8px; color: var(--faint); font-size: 13px;
}

/* Sections */
section.block { padding: 64px 0; }
.section-title { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; text-align: center; margin: 0 0 12px; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 44px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card .ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(47, 124, 255, 0.14); color: var(--accent-2);
}
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Trust strip */
.trust {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust .row { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: center; padding: 40px 0; }
.trust .item { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; }
.trust .item svg { width: 22px; height: 22px; color: var(--accent-2); flex: none; }
.trust .item b { color: var(--text); font-weight: 700; }

/* Legal / content pages */
.doc { padding: 56px 0 24px; }
.doc h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.doc .updated { color: var(--faint); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 20px; font-weight: 700; margin: 34px 0 10px; }
.doc p, .doc li { color: #D8D9DE; font-size: 15.5px; }
.doc ul { padding-left: 20px; }
.doc .lead { color: var(--muted); font-size: 17px; }
.doc .divider { height: 1px; background: var(--border); margin: 40px 0; border: 0; }
.callout {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 16px 18px; margin: 20px 0;
  color: #D8D9DE; font-size: 14.5px;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 56px; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer-grid .spacer { flex: 1; }
.site-footer a { color: var(--muted); font-size: 14px; margin-right: 18px; }
.site-footer a:hover { color: var(--text); }
.copyright { font-size: 13px; color: var(--faint); }

.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 15px;
  border: 1px solid var(--border-strong); color: var(--text); background: var(--surface);
  cursor: pointer;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-2); text-decoration: none; }
.btn:hover { text-decoration: none; border-color: var(--accent); }

/* The forced line break in the headline is desktop-only; on small screens the
   text flows naturally instead of breaking awkwardly. */
.brk { display: none; }
@media (min-width: 641px) { .brk { display: inline; } }

/* Mobile refinements */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav { height: 58px; gap: 16px; }
  .nav a.navlink { font-size: 13px; }
  .brand span { font-size: 17px; }

  .hero { padding: 48px 0 36px; }
  .hero-logo { width: 96px; height: 96px; margin-bottom: 18px; }
  .hero h1 { letter-spacing: -0.02em; }
  .hero p.lead { font-size: 15.5px; }
  .badges { gap: 8px; margin-bottom: 22px; }
  .badge { padding: 7px 13px; font-size: 12.5px; }

  section.block { padding: 44px 0; }
  .section-sub { margin-bottom: 30px; }
  .grid { gap: 14px; }
  .card { padding: 20px; }

  .trust .row { flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px 0; }

  .doc { padding: 36px 0 16px; }
  .footer-grid { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer a { margin-right: 0; display: block; margin-bottom: 8px; }
}

/* Very narrow: drop the brand wordmark so nav links + toggle never collide. */
@media (max-width: 520px) {
  .brand span { display: none; }
}
