/* VOX IT SOLUTIONS SDN. BHD. — site styles */
/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-grotesque.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("fonts/dm-sans.woff2") format("woff2"); }

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --soft: #f5f5f7;
  --accent: #0071e3;
  --accent-dark: #0058b0;
  --dark: #1d1d1f;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
[v-cloak] .js-only { display: none; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 253, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 28px; width: auto; }
.brand:hover { text-decoration: none; }

/* Menu as pill tabs */
.nav-links { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.nav-links a { color: var(--ink); font-weight: 500; padding: 8px 16px; border-radius: 999px; transition: background .2s, color .2s, box-shadow .2s; }
.nav-links a:hover { text-decoration: none; background: rgba(0, 0, 0, 0.05); }
.nav-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-links a.active { background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04); }
.nav-links .nav-cta { background: var(--accent); color: #fff; font-weight: 600; }
.nav-links .nav-cta:hover { background: var(--accent-dark); }
@media (min-width: 721px) {
  .nav-links { background: rgba(0, 0, 0, 0.04); padding: 4px; border-radius: 999px; gap: 2px; }
  .nav-links .nav-cta { margin-left: 6px; }
}
.menu-btn {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px;
  min-width: 44px; min-height: 44px; cursor: pointer; color: var(--ink);
}
@media (max-width: 720px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fbfbfd; border-bottom: 1px solid var(--line);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px));
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; font-size: 17px; border-radius: 14px; }
  .nav-links a.active { background: var(--soft); box-shadow: none; }
  .nav-links .nav-cta { text-align: center; margin-top: 6px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; border: 0; cursor: pointer;
  padding: 12px 24px; border-radius: 999px; font-size: 17px; font-family: inherit;
  min-height: 44px;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.link-more { font-size: 17px; }

/* ---------- Type ---------- */
.eyebrow { font-size: 19px; font-weight: 600; color: var(--accent); margin: 0; }
.h1 { margin: 0; font-size: clamp(44px, 8vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
.h2 { margin: 0; font-size: clamp(36px, 6vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -0.03em; }
.h3 { margin: 0; font-size: clamp(28px, 4.5vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.lead { margin: 0; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; max-width: 640px; }
.sub { margin: 0; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; color: var(--muted); max-width: 620px; }

/* ---------- Sections ---------- */
.hero { padding: 96px 0 56px; gap: 16px; }
.hero .kicker { font-size: 21px; font-weight: 600; color: var(--muted); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: center; margin-top: 16px; }

.showcase { padding-bottom: 120px; }
.showcase-panel {
  background: var(--soft); border-radius: 28px; padding: 56px 40px 0;
  display: flex; justify-content: center; overflow: hidden;
}
.window {
  width: 100%; max-width: 760px; background: #fff; border-radius: 16px 16px 0 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}
.window-bar { display: flex; gap: 8px; padding: 14px 18px; border-bottom: 1px solid #f0f0f2; }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #e5e5ea; }
.board { display: flex; flex-wrap: wrap; gap: 16px; padding: 24px; }
.col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; }
.col-title { font-size: 12px; font-weight: 600; color: var(--muted); }
.card { background: var(--soft); border-radius: 10px; height: 56px; }
.card.won { background: #e1eefc; }
@media (max-width: 600px) { .showcase-panel { padding: 32px 16px 0; } }

.band { background: var(--soft); }
.band .wrap { padding-top: 120px; padding-bottom: 120px; gap: 16px; }

.split { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.tile {
  flex: 1 1 380px; min-width: 0; border-radius: 28px; padding: 64px 40px; gap: 14px;
}
.tile.light { background: var(--soft); }
.tile.dark { background: var(--dark); color: #f5f5f7; }
.tile.dark .eyebrow { color: #6cc4ff; }
.tile p { margin: 0; font-size: 17px; color: var(--muted); max-width: 360px; }
.tile.dark p { color: #a1a1a6; }
@media (max-width: 600px) { .tile { padding: 48px 24px; } }

.about { padding: 120px 0 40px; gap: 16px; }

/* ---------- Contact ---------- */
.contact { padding: 80px 0 120px; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; width: 100%; text-align: left; }
.info, .form {
  flex: 1 1 380px; min-width: 0; background: var(--soft); border-radius: 28px; padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.info dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.info dd { margin: 2px 0 0; font-size: 17px; font-weight: 500; }
.info dl { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.form h3 { margin: 0; font-size: 24px; letter-spacing: -0.015em; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 17px; padding: 12px 14px; border: 1px solid #d2d2d7;
  border-radius: 12px; background: #fff; color: var(--ink); min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .note { margin: 0; font-size: 13px; color: var(--muted); }
.error { margin: 0; font-size: 14px; color: #c4122f; }

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { margin: 0 0 8px; font-size: clamp(36px, 6vw, 48px); letter-spacing: -0.03em; line-height: 1.1; }
.legal .updated { color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 22px; margin: 40px 0 8px; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: #333336; }
.legal ul { padding-left: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--soft); border-top: 1px solid var(--line); }
.footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 14px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.footer-bottom { border-top: 1px solid #d2d2d7; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.footer-links { display: flex; gap: 16px; }
.footer a { color: #424245; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #1d1d1f; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.wa-float:hover { background: #000; text-decoration: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Typography: F5 (Bricolage Grotesque headings + DM Sans text) ---------- */
.h1, .h2, .h3, .legal h1, .legal h2, .form h3, .info h3 {
  font-family: var(--display);
  font-weight: 800;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.h1 { letter-spacing: -0.03em; line-height: 1.02; }
.h2 { letter-spacing: -0.028em; }
.h3 { letter-spacing: -0.024em; }
.legal h1 { letter-spacing: -0.028em; }
.legal h2, .form h3 { letter-spacing: -0.02em; }
.eyebrow, .hero .kicker { font-family: var(--font); font-weight: 600; }

/* ---------- Contact (design A) ---------- */
.c-sec { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 112px; padding-bottom: 120px; }
.c-left { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.c-left .eyebrow { font-size: 17px; }
.c-intro { margin: 0; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 420px; }
.c-rows { display: flex; flex-direction: column; margin-top: 12px; border-top: 1px solid var(--line); }
.c-row { display: flex; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--ink); transition: background .2s; border-radius: 4px; }
.c-row:hover { text-decoration: none; background: rgba(0, 113, 227, 0.04); }
.c-row:hover .c-chev { transform: translateX(3px); color: var(--accent); }
.c-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.c-ic { width: 44px; height: 44px; border-radius: 50%; background: #e8f2fd; color: var(--accent); display: grid; place-items: center; flex: none; }
.c-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.c-lb { font-size: 13px; color: var(--muted); }
.c-val { font-size: 18px; font-weight: 600; }
.c-addr { font-size: 16px; line-height: 1.4; }
.c-break { overflow-wrap: anywhere; }
.c-chev { color: #aeaeb2; flex: none; transition: transform .2s, color .2s; }
.c-legal { margin: 0; font-size: 13px; color: var(--muted); }
.c-form { flex: 1 1 420px; min-width: 0; background: var(--soft); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.c-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; }
.c-chips { border: 0; margin: 0; padding: 0; min-width: 0; }
.c-chips legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.c-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.c-chip { font: inherit; font-size: 15px; padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1px solid #d2d2d7; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s; }
.c-chip:hover { border-color: #a1a1a6; }
.c-chip.on { border: 1.5px solid var(--accent); color: var(--accent); font-weight: 600; }
.c-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.c-form .field input, .c-form .field textarea { border-radius: 14px; padding: 14px 16px; }
.c-send { width: 100%; font-weight: 600; min-height: 50px; }
.c-form .note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 600px) { .c-form { padding: 28px 20px; } .c-sec { padding-top: 80px; padding-bottom: 88px; gap: 40px; } }
