/* =========================================================
   GoldVault Security — shared design system
   Extracted from the homepage so every page (About, Services,
   Track Item, Security) stays visually identical to it.
   ========================================================= */

/* -------------------- Design tokens -------------------- */
:root {
  --bg: #070708;
  --ink: #111214;
  --panel: #191a1d;
  --gold: #d9b45f;
  --gold2: #f4dc95;
  --text: #fff;
  --soft: #d7d1c4;
  --muted: #aaa49a;
  --line: rgba(217, 180, 95, .25);
  --r: 8px;
  --max: 1180px;

  --ok: #51d1a7;
  --warn: #e9b04d;
  --bad: #e2685f;
}

/* -------------------- Reset / base -------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.container { width: min(100% - 40px, var(--max)); margin: auto; }
.section { padding: 98px 0; }
.section:nth-of-type(even) { background: #0c0d0f; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold2);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
}

h1, h2, h3 { margin: 0; line-height: 1.07; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 880px; }
h2 { font-size: clamp(2rem, 4vw, 4rem); }
h3 { font-size: 1.08rem; }
p { margin: 0; color: var(--soft); }

.lead { max-width: 770px; font-size: clamp(1.05rem, 2vw, 1.28rem); }

.head {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 440px);
  gap: 28px;
  align-items: end;
  margin-bottom: 42px;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-weight: 800;
  cursor: pointer;
  transition: .25s;
}
.btn:hover { transform: translateY(-2px); }

.primary {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #11100c;
  box-shadow: 0 16px 36px rgba(217, 180, 95, .22);
}

.ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
.ghost:hover { border-color: var(--gold); color: var(--gold2); }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold2);
  outline-offset: 3px;
}

.sr {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
}

/* -------------------- Nav -------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(7, 7, 8, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.navin {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; white-space: nowrap; }

.mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(145deg, #292318, #090909);
  color: var(--gold2);
}

.brand span span { color: var(--gold2); }

.links { display: flex; align-items: center; gap: 21px; color: var(--soft); font-size: .94rem; }
.links a:hover { color: var(--gold2); }
.links a.active { color: var(--gold2); }

.menu {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r);
  background: #151515;
  color: #fff;
}

/* -------------------- Page hero (sub-pages) -------------------- */
.pagehero {
  position: relative;
  padding: 168px 0 84px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.pagehero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, .95), rgba(7, 7, 8, .7) 50%, rgba(7, 7, 8, .3)),
    linear-gradient(0deg, rgba(7, 7, 8, .96), rgba(7, 7, 8, .1) 55%),
    url("goldvault-hero.png") center / cover no-repeat;
}

.pagehero .container { position: relative; z-index: 1; }

.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: .86rem;
  margin-bottom: 18px;
}
.crumb a:hover { color: var(--gold2); }

/* -------------------- Icons / cards -------------------- */
svg {
  width: 24px; height: 24px;
  stroke: currentColor; stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}

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

.card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  transition: .25s;
  min-height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 180, 95, .55);
  background: linear-gradient(180deg, rgba(217, 180, 95, .12), rgba(255, 255, 255, .03));
}

.icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #121110;
  color: var(--gold2);
}

.card p { margin-top: 10px; color: var(--muted); }

.learn {
  margin-top: 20px; padding: 0; border: 0; background: none;
  color: var(--gold2); font-weight: 800; cursor: pointer;
}

/* -------------------- Timeline -------------------- */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.timeline:before {
  content: ""; position: absolute; top: 32px; left: 8%; right: 8%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step .icon { margin: 0 auto 16px; }
.step small { color: var(--gold2); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.step h3 { margin-top: 8px; font-size: 1rem; }

/* -------------------- Features / checklists -------------------- */
.features {
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: 36px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    radial-gradient(circle at 90% 0, rgba(217, 180, 95, .18), transparent 34%),
    linear-gradient(135deg, #181818, #0a0a0b);
}

.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0; margin: 0; }
.checks li {
  list-style: none; position: relative;
  padding: 16px 16px 16px 44px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .04);
  color: var(--soft);
}
.checks li:before {
  content: ""; position: absolute; left: 17px; top: 23px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #51d1a7; box-shadow: 0 0 18px rgba(81, 209, 167, .55);
}

/* -------------------- Track / lookup form -------------------- */
.track {
  max-width: 760px;
  margin: auto;
  padding: 36px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .36);
}

.track form { display: flex; gap: 12px; margin: 26px 0 14px; }

.track input, .news input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.result { min-height: 28px; color: var(--gold2); font-weight: 800; }
.result.error { color: var(--bad); }

.alert {
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--r);
  border: 1px solid rgba(226, 104, 95, .4);
  background: rgba(226, 104, 95, .08);
  color: #f3b7b2;
  margin: 20px 0 0;
}
.alert.notice {
  border-color: rgba(233, 176, 77, .4);
  background: rgba(233, 176, 77, .08);
  color: #f2cf92;
}

/* -------------------- Result / owner details -------------------- */
.result-wrap { margin-top: 34px; text-align: left; }

.owner-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(217, 180, 95, .07);
  margin-bottom: 22px;
}
.owner-card .f { display: grid; gap: 4px; }
.owner-card .f label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 800;
}
.owner-card .f b { color: #fff; font-size: 1rem; font-weight: 700; word-break: break-word; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.status-pill:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-active { background: rgba(81, 209, 167, .14); color: var(--ok); }
.status-inactive { background: rgba(226, 104, 95, .14); color: var(--bad); }

.item-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .04);
  margin-bottom: 16px;
}
.item-card .item-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.item-card .item-top h3 { color: #fff; }
.item-card .tracking { color: var(--gold2); font-size: .82rem; font-weight: 800; letter-spacing: .04em; }

.item-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.item-grid .f label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 3px;
}
.item-grid .f span { color: var(--soft); font-size: .92rem; }

.activity-log {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, .12);
  display: grid;
  gap: 10px;
}
.activity-log .a-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: .88rem; }
.activity-log .a-row time { color: var(--muted); }
.activity-log .a-row strong { color: #fff; display: block; }
.activity-log .a-row p { color: var(--muted); margin-top: 2px; }

/* -------------------- Stats -------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 30px; border-top: 1px solid var(--line); background: #0d0e10; }
.stat strong { display: block; color: var(--gold2); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; }
.stat span, .muted { color: var(--muted); }

/* -------------------- FAQ -------------------- */
.faq { max-width: 850px; margin: auto; }
.fi { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.fi button {
  width: 100%;
  display: flex; justify-content: space-between; gap: 18px;
  padding: 24px 0; border: 0; background: none;
  color: #fff; text-align: left; font-weight: 900; cursor: pointer;
}
.panel { max-height: 0; overflow: hidden; transition: .3s; }
.panel p { padding: 0 0 24px; color: var(--muted); }
.fi.open .panel { max-height: 220px; }

/* -------------------- CTA -------------------- */
.cta {
  text-align: center;
  padding: 92px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .36)),
    url("goldvault-hero.png") center / cover no-repeat;
}
.cta h2 { max-width: 860px; margin: 0 auto 28px; }

/* -------------------- Footer -------------------- */
footer { padding: 70px 0 34px; background: #050505; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot { display: grid; grid-template-columns: 1.2fr .7fr .7fr 1fr; gap: 34px; }
.flinks, .news { display: grid; gap: 10px; }
.flinks { color: var(--muted); }
.flinks a:hover { color: var(--gold2); }

.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r);
  color: var(--gold2);
}

.fine {
  margin-top: 42px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--muted); font-size: .88rem;
}

/* -------------------- Reveal animation -------------------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: .7s; }
[data-reveal].show { opacity: 1; transform: none; }

/* -------------------- Responsive: tablet -------------------- */
@media (max-width: 980px) {
  .head, .features, .foot, .owner-card, .item-grid { grid-template-columns: 1fr; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .timeline:before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .menu { display: grid; place-items: center; }
  .links {
    position: absolute; top: 78px; left: 20px; right: 20px;
    display: none; flex-direction: column; align-items: stretch;
    padding: 18px; border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r); background: rgba(7, 7, 8, .97);
  }
  .links.open { display: flex; }
}

/* -------------------- Responsive: mobile -------------------- */
@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 76px 0; }
  .pagehero { padding-top: 118px; }
  .g3, .g4, .checks, .stats { grid-template-columns: 1fr; }
  .track form { flex-direction: column; }
  .card, .track, .features { padding: 24px; }
  .item-card .item-top { flex-direction: column; }
  .activity-log .a-row { grid-template-columns: 1fr; }
}

/* -------------------- Reduced motion -------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
