/* =========================================================
   VAULT4 — Auxiliary Pages Stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --navy:        #080E1D;
  --navy-mid:    #0F1624;
  --graphite:    #1A2133;
  --graphite-lt: #232D42;
  --teal:        #00C9C9;
  --teal-dim:    #00A8A8;
  --silver:      #8A9BB8;
  --silver-lt:   #B8C5D8;
  --white:       #F4F7FF;
  --border:      rgba(138, 155, 184, 0.18);

  --font-head:   'DM Serif Display', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;

  --radius:      6px;
  --radius-lg:   12px;
  --max-w:       1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 14, 29, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-name {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.header-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--silver);
  letter-spacing: 0.04em;
}
.header-nav a:hover { color: var(--white); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--border);
  color: var(--silver-lt);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius);
  font-family: var(--font-body);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* Mobile hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--silver); border-radius: 2px; }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 200;
  flex-direction: column;
  padding: 28px 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 28px; }
.mobile-nav-links a { font-size: 1.4rem; font-weight: 500; color: var(--white); letter-spacing: 0.02em; }
.mobile-nav-close { font-size: 1.6rem; color: var(--silver); background: none; border: none; cursor: pointer; }

/* --- Page Hero --- */
.page-hero {
  padding: 80px 0 70px;
  border-bottom: 1px solid var(--border);
  background: var(--navy-mid);
}
.page-hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 1rem;
  color: var(--silver);
  max-width: 560px;
  line-height: 1.7;
}

/* --- Content Blocks --- */
.page-content {
  padding: 80px 0 100px;
}
.content-block {
  max-width: 800px;
  margin-bottom: 60px;
  margin-inline: auto;
  text-align: center;
}
.content-block:last-child { margin-bottom: 0; }
.content-block h2 {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.content-block p {
  font-size: 0.95rem;
  color: var(--silver);
  line-height: 1.75;
  margin-bottom: 14px;
}
.content-block p:last-child { margin-bottom: 0; }
.content-block strong {
  color: var(--white);
  font-weight: 600;
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
/* =========================================================
   COOKIE CONSENT BANNER & MODAL (GDPR Compliant)
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--graphite);
  border-top: 1px solid var(--border);
  padding: 24px 40px;
  z-index: 999;
  display: none;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}
.cookie-banner.show { display: flex; }
.cookie-banner-inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
  color: var(--silver);
  line-height: 1.6;
}
.cookie-banner-text strong {
  color: var(--white);
  font-weight: 600;
}
.cookie-banner-text a {
  color: var(--teal);
  text-decoration: underline;
}
.cookie-banner-text a:hover {
  color: var(--teal-dim);
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  white-space: nowrap;
}
.cookie-btn.accept {
  background: var(--teal);
  color: var(--navy);
}
.cookie-btn.accept:hover {
  background: var(--teal-dim);
}
.cookie-btn.reject {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--silver);
}
.cookie-btn.reject:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.cookie-btn.customize {
  border: 1px solid var(--teal);
  background: transparent;
  color: var(--teal);
}
.cookie-btn.customize:hover {
  background: rgba(0, 201, 201, 0.1);
}

/* Cookie Modal Backdrop */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}
.cookie-modal-backdrop.show {
  display: block;
}

/* Cookie Customization Modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  z-index: 1001;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.cookie-modal.show {
  display: block;
}
.cookie-modal-header {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
}
.cookie-modal-desc {
  font-size: 0.9rem;
  color: var(--silver);
  margin-bottom: 30px;
  line-height: 1.6;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cookie-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.cookie-option input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-option-content {
  flex: 1;
}
.cookie-option-title {
  display: block;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.cookie-option-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--silver);
  line-height: 1.5;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-btn {
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.cookie-modal-btn.save {
  background: var(--teal);
  color: var(--navy);
}
.cookie-modal-btn.save:hover {
  background: var(--teal-dim);
}
.cookie-modal-btn.cancel {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--silver);
}
.cookie-modal-btn.cancel:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Empty content placeholder */
.empty-content {
  padding: 80px 0 120px;
  text-align: center;
  color: var(--silver);
}
.empty-content-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-lg);
  background: var(--graphite);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.empty-content p { font-size: 0.9rem; color: var(--silver); }

/* --- Footer --- */
.site-footer {
  padding: 60px 0 28px;
  background: var(--navy);
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-desc { font-size: 0.86rem; color: var(--silver); line-height: 1.7; max-width: 300px; }
.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.86rem; color: var(--silver); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copy { font-size: 0.8rem; color: var(--silver); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.8rem; color: var(--silver); }
.footer-legal a:hover { color: var(--white); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .container { padding-inline: 20px; }
  .header-nav, .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
