/* TrustAxis — shared design system */

:root {
  --navy-950: #0a1330;
  --navy-900: #0f1f4d;
  --navy-800: #14285f;
  --blue-700: #1e40af;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --gold-500: #b8923f;
  --gold-400: #d4b366;
  --slate-900: #111827;
  --slate-700: #374151;
  --slate-500: #6b7280;
  --slate-200: #e5e7eb;
  --slate-100: #f3f4f6;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 77, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 31, 77, 0.10);
  --shadow-lg: 0 20px 48px rgba(15, 31, 77, 0.16);
  --max-width: 1160px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 19, 48, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.brand .brand-mark {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-800));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--white);
  font-size: 0.9rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold-500);
  color: var(--navy-950) !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-400); }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-links { position: fixed; inset: 72px 0 0 0; background: var(--navy-950); flex-direction: column; padding: 32px 24px; gap: 22px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .18s ease; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: inline-flex; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--blue-700) 100%);
  color: var(--white);
  padding: 96px 0 108px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(212,179,102,0.18), transparent 70%);
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-400);
  background: rgba(212,179,102,0.12);
  border: 1px solid rgba(212,179,102,0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 800;
  max-width: 780px;
}
.hero p.lead {
  font-size: 1.14rem;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin: 0 0 34px;
}
.hero .motto {
  margin-top: 40px;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
}
.btn-primary { background: var(--gold-500); color: var(--navy-950); }
.btn-primary:hover { background: var(--gold-400); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: var(--white); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-800); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--slate-50); }
.section-dark { background: var(--navy-950); color: var(--white); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { display: inline-block; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 10px 0 14px; font-weight: 800; }
.section-head p { color: var(--slate-500); font-size: 1.04rem; }
.section-dark .section-head p { color: rgba(255,255,255,0.7); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin: 12px 0 10px; font-size: 1.12rem; }
.card p { color: var(--slate-500); font-size: 0.96rem; margin: 0; }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-800));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.2rem; font-weight: 700;
}

.stat-card { text-align: center; padding: 34px 20px; }
.stat-card .num { font-size: 2.2rem; font-weight: 800; color: var(--navy-900); }
.stat-card .label { color: var(--slate-500); font-size: 0.92rem; margin-top: 6px; }
.section-dark .stat-card .num { color: var(--gold-400); }
.section-dark .stat-card .label { color: rgba(255,255,255,0.65); }
.section-dark .stat-card { background: rgba(255,255,255,0.04); border-radius: var(--radius); }

.quote-block {
  border-left: 3px solid var(--gold-500);
  padding-left: 22px;
  font-size: 1.15rem;
  color: var(--navy-900);
  font-style: italic;
  max-width: 760px;
  margin: 0 auto;
}
.section-dark .quote-block {
  color: var(--gold-400);
}

/* Steps */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .step-num {
  counter-increment: step;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.step h4 { margin: 4px 0 6px; }
.step p { margin: 0; color: var(--slate-500); }

/* Team */
.team-card { text-align: center; }
.avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-900));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 1.4rem;
}
.team-card h3 { margin: 0 0 4px; }
.team-card .role { color: var(--gold-500); font-weight: 700; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.team-card p.bio { color: var(--slate-500); font-size: 0.92rem; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--blue-700));
  color: var(--white);
  border-radius: 16px;
  padding: 56px 44px;
  text-align: center;
}
.cta-banner h2 { margin: 0 0 12px; font-size: 1.9rem; }
.cta-banner p { color: rgba(255,255,255,0.78); margin: 0 0 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 28px;
  font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 42px 38px;
  max-width: 420px;
  margin: 0 auto;
}
.form-card h2 { margin: 0 0 6px; font-size: 1.5rem; }
.form-card p.sub { color: var(--slate-500); margin: 0 0 26px; font-size: 0.94rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--slate-700); }
.field input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  font-size: 0.98rem;
  font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
.form-msg { font-size: 0.88rem; margin-top: 14px; padding: 10px 12px; border-radius: 8px; display: none; }
.form-msg.error { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.form-msg.success { display: block; background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.btn-block { width: 100%; }

/* ---------- App shell (behind login) ---------- */
.app-shell { display: flex; min-height: 100vh; background: var(--slate-50); }
.app-sidebar {
  width: 240px;
  background: var(--navy-950);
  color: var(--white);
  flex: none;
  padding: 26px 18px;
  position: sticky; top: 0; height: 100vh;
}
.app-sidebar .brand { margin-bottom: 34px; }
.app-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.app-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.app-nav a:hover, .app-nav a.active { background: rgba(255,255,255,0.08); color: var(--white); }
.app-main { flex: 1; padding: 40px 48px; }
.app-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.app-topbar h1 { margin: 0; font-size: 1.6rem; }
.badge-confidential {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff7ed; color: #9a3412; border: 1px solid #fdba74;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: 999px; text-transform: uppercase;
}
.link-btn { background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; font-size: 0.9rem; font-family: inherit; padding: 10px 12px; text-align: left; width: 100%; border-radius: 8px; }
.link-btn:hover { background: rgba(255,255,255,0.08); color: var(--white); }

.table-simple { width: 100%; border-collapse: collapse; }
.table-simple th, .table-simple td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--slate-200); font-size: 0.93rem; }
.table-simple th { color: var(--slate-500); font-weight: 600; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .app-sidebar { display: none; }
  .app-main { padding: 28px 20px; }
}
