/* ============================================
   Nexa Asset Acquisitions – Investor Portal
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --nexa-navy:      #0b1f3a;
  --nexa-dark:      #131315;          /* Nexa site primary dark: hsla(240,5%,8%,1) */
  --nexa-blue:      #1e4d8c;
  --nexa-accent:    #2d7dd2;
  --nexa-light:     #e8f0fb;
  --nexa-gold:      #c8a435;
  --nexa-gold-lt:   #f5e9c0;
  --nexa-cream:     hsla(60,100%,88%,1); /* Nexa site light accent */
  --nexa-green:     #1a7a4a;
  --nexa-green-lt:  #d4edda;
  --text-primary:   #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted:     #718096;
  --border:         #dde3ed;
  --bg-page:        #f0f2f5;
  --bg-card:        #ffffff;
  --shadow-sm:      0 1px 4px rgba(15,43,76,0.08);
  --shadow-md:      0 4px 16px rgba(15,43,76,0.12);
  --shadow-lg:      0 8px 32px rgba(15,43,76,0.16);
  --radius:         10px;
  --radius-sm:      6px;
  --font:           'Inter', 'Segoe UI', system-ui, sans-serif;
}

html {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg-page);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--nexa-gold);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ── Password Gate ────────────────────────── */
.body-locked {
  overflow: hidden;
}

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: url('assets/hero-bg.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.4s ease;
}

.gate-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(7,17,29,0.94) 0%, rgba(11,31,58,0.90) 60%, rgba(30,77,140,0.85) 100%);
  z-index: 0;
}

.gate-overlay.gate-hiding {
  opacity: 0;
  pointer-events: none;
}

.gate-card {
  background: #fff;
  border-radius: 14px;
  padding: 48px 44px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  text-align: center;
  animation: gateSlideUp 0.35s ease both;
  position: relative;
  z-index: 1;
}

@keyframes gateSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gate-logo {
  display: none; /* replaced by gate-logo-img */
}

.gate-logo-img {
  height: 52px;
  width: auto;
  margin: 0 auto 20px;
  display: block;
  object-fit: contain;
}

.gate-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--nexa-navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.gate-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}

.gate-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gate-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.gate-input-wrap {
  position: relative;
}

.gate-input {
  width: 100%;
  padding: 12px 44px 12px 14px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fafbfd;
}

.gate-input:focus {
  border-color: var(--nexa-gold);
  box-shadow: 0 0 0 3px rgba(200,164,53,0.20);
  background: #fff;
}

.gate-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 2px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.gate-eye:hover { color: var(--nexa-gold); }

@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-6px); }
  80%      { transform: translateX(6px); }
}
.gate-input-shake { animation: shake 0.45s ease; }

.gate-error {
  font-size: 13px;
  color: #c0392b;
  min-height: 18px;
  font-weight: 500;
}

.gate-submit {
  margin-top: 6px;
  width: 100%;
  padding: 13px;
  background: var(--nexa-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.gate-submit:hover  { background: var(--nexa-charcoal); }
.gate-submit:active { transform: scale(0.98); }

.gate-footer {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}
.gate-footer a { color: var(--nexa-gold); }

/* ── Site Header ──────────────────────────── */
.site-header {
  background: var(--nexa-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(200,164,53,0.25);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-title {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
  text-decoration: none;
  white-space: nowrap;
}
.site-title:hover { text-decoration: none; opacity: 0.9; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

.nav-link {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  display: block;
}

.nav-link:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}

.nav-link.active {
  background: rgba(200,164,53,0.15);
  color: var(--nexa-gold);
  border-bottom: 2px solid var(--nexa-gold);
}

/* ── Main Content ─────────────────────────── */
.page-content {
  flex: 1;
  background: var(--bg-page);
}

/* ── Welcome Section ──────────────────────── */
.welcome-section {
  background: url('assets/hero-bg.webp') center / cover no-repeat;
  border-bottom: none;
  position: relative;
}

.welcome-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 25, 46, 0.91) 0%,
    rgba(11, 31, 58, 0.85) 60%,
    rgba(15, 43, 76, 0.80) 100%
  );
  z-index: 0;
}

.welcome-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 64px;
  position: relative;
  z-index: 1;
}

.welcome-heading {
  font-size: 30px;
  font-weight: 700;
  font-family: 'Playfair Display', 'Inter', serif;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.22;
  letter-spacing: -0.3px;
}

.welcome-body p {
  font-size: 15px;
  line-height: 1.80;
  color: rgba(255,255,255,0.82);
  margin-bottom: 14px;
  max-width: 860px;
}

.welcome-body strong {
  color: var(--nexa-gold);
  font-weight: 600;
}

.cta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 16px 22px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--nexa-gold);
  width: fit-content;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.cta-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.90);
  text-decoration: none;
  transition: color 0.15s;
}
.cta-link:hover { color: var(--nexa-gold); text-decoration: none; }

.cta-icon { font-size: 16px; }

.cta-divider {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
}

/* ── Metrics Strip ────────────────────────── */
.metrics-strip {
  background: url('assets/section-bg-2.webp') center / cover no-repeat;
  border-bottom: 3px solid var(--nexa-gold);
  position: relative;
}

.metrics-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 25, 46, 0.93);
  z-index: 0;
}

.metrics-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.metric-card {
  flex: 1;
  padding: 28px 20px;
  text-align: center;
}

.metric-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--nexa-gold);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.metric-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
  margin: 20px 0;
}

/* ── Documents Section ────────────────────── */
.documents-section {
  padding: 64px 24px;
  background: var(--bg-page);
}

.documents-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Document Cards ───────────────────────── */
.doc-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.doc-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.doc-card-header {
  padding: 20px 24px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.newsletter-header { background: linear-gradient(135deg, #1a1409 0%, #4a3508 100%); }
.tracker-header    { background: linear-gradient(135deg, #131315 0%, #28251c 100%); }
.strategy-header   { background: linear-gradient(135deg, #1a2a1a 0%, #1a7a4a 100%); }

.doc-icon {
  font-size: 26px;
  line-height: 1;
}

.doc-badge {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.18);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.doc-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.doc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.doc-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.doc-desc strong {
  color: var(--text-primary);
  font-weight: 600;
}

.doc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 9px 18px;
  background: var(--nexa-gold-lt);
  color: var(--nexa-gold-muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid #d4bc7a;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  align-self: flex-start;
  text-decoration: none;
}
.doc-action-btn:hover {
  background: var(--nexa-gold);
  color: #131315;
  border-color: var(--nexa-gold);
  text-decoration: none;
}

/* ── Contact Section ──────────────────────── */
.contact-section {
  background: url('assets/section-bg-3.webp') center / cover no-repeat;
  padding: 88px 24px;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 25, 46, 0.92) 0%,
    rgba(11, 31, 58, 0.88) 100%
  );
  z-index: 0;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.contact-text h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.35;
}

.contact-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 540px;
}

.contact-text strong {
  color: var(--nexa-gold);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--nexa-gold);
  color: var(--nexa-navy);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #d9b23a;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.3);
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
  text-decoration: none;
}

/* ── Site Footer ──────────────────────────── */
.site-footer {
  background: var(--nexa-dark);
  border-top: 3px solid var(--nexa-gold);
}

/* Top: logo + nav + address */
.footer-top {
  border-bottom: 1px solid rgba(200,164,53,0.15);
  padding: 40px 0;
}
.footer-top-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-address {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  font-style: normal;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--nexa-gold); text-decoration: none; }
.footer-nav-sep { color: rgba(200,164,53,0.4); font-size: 14px; }

/* Disclaimer block */
.footer-disclaimer {
  border-bottom: 1px solid rgba(200,164,53,0.10);
  padding: 28px 0;
}
.footer-disclaimer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-disclaimer p {
  font-size: 11.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.38);
}
.footer-disclaimer strong {
  color: rgba(200,164,53,0.70);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Compliance grid */
.footer-compliance {
  border-bottom: 1px solid rgba(200,164,53,0.10);
  padding: 28px 0;
}
.footer-compliance-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 32px;
}
.footer-comp-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-comp-label {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(200,164,53,0.55);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.footer-comp-value {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
a.footer-comp-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
a.footer-comp-link:hover { color: var(--nexa-gold); text-decoration: none; }

/* Bottom bar */
.footer-bottom {
  padding: 18px 0;
}
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.30);
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.30);
}
.footer-bottom-right a {
  color: rgba(255,255,255,0.40);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-bottom-right a:hover { color: var(--nexa-gold); text-decoration: none; }
.footer-dot { color: rgba(200,164,53,0.3); }

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .documents-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .metric-divider { display: none; }
  .metric-card { flex: 0 0 33.33%; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }

  .header-inner { padding: 0 20px; height: 62px; }

  .welcome-heading { font-size: 20px; }
  .welcome-inner { padding: 48px 20px 44px; }

  .documents-inner {
    grid-template-columns: 1fr;
  }

  .metrics-inner { flex-direction: column; align-items: center; }
  .metric-card { flex: 0 0 auto; width: 100%; padding: 20px 24px; }

  .contact-section { padding: 60px 20px; }
  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cta-divider { display: none; }

  .footer-top-inner {
    flex-direction: column;
    gap: 20px;
  }
  .footer-nav {
    justify-content: flex-start;
  }
  .footer-compliance-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .footer-logo { height: 28px; }
}
