:root {
  --bg-void: #020204;
  --bg-dark: #05070c;
  --bg-panel: rgba(10, 16, 32, 0.78);
  --text-light: #f4f7fb;
  --text-muted: #8b9ab5;
  --accent-red: #ff2d55;
  --accent-cyan: #00d4ff;
  --accent-gold: #fbbf24;
  --glow-red: 0 0 50px rgba(255, 45, 85, 0.25);
  --glow-cyan: 0 0 50px rgba(0, 212, 255, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-void);
  color: var(--text-light);
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: var(--accent-cyan); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--accent-red); }

nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center;
  background: rgba(2, 2, 4, 0.7);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 45, 85, 0.15);
  transition: padding 0.3s, background 0.3s;
}
nav.scrolled { padding: 0.6rem 5%; background: rgba(2, 2, 4, 0.95); }

.logo { font-weight: 900; font-size: 1.4rem; letter-spacing: -0.04em; color: #fff; }
.logo span { color: var(--accent-red); }

.nav-links { display: flex; gap: 1.6rem; list-style: none; }
.nav-links a { font-weight: 500; font-size: 0.9rem; }

.nav-highlight {
  border: 1px solid var(--accent-cyan);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  color: var(--accent-cyan);
  font-weight: 700;
}
.nav-highlight:hover { background: var(--accent-cyan); color: #020204; }

.nav-evid {
  border: 1px solid var(--accent-cyan);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 700;
  transition: all 0.2s ease;
}
.nav-evid:hover {
  background: rgba(0, 212, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}
.nav-ask-aegis {
  border: 1px solid var(--accent-cyan);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 700;
  transition: all 0.2s ease;
}
.nav-ask-aegis:hover {
  background: rgba(0, 212, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}

@media (max-width: 900px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.82rem; }
}
@media (max-width: 700px) {
  nav { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .nav-links { flex-wrap: wrap; }
}
.nav-links a:hover { color: var(--accent-red); }

.hero {
  min-height: 60vh; display: flex; align-items: center; justify-content: center;
  position: relative; padding: 8rem 5% 5rem;
  background-size: cover; background-position: center;
}
.hero:not([style*="background-image"]) {
  background: radial-gradient(circle at 65% 25%, rgba(255, 45, 85, 0.14) 0%, transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.09) 0%, transparent 40%),
              var(--bg-void);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; opacity: 1.0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  background: linear-gradient(to bottom, rgba(2,2,4,0.12) 0%, rgba(2,2,4,0.28) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 720px; padding: 2rem; border-radius: 12px;
  background: rgba(2, 2, 4, 0.12); backdrop-filter: blur(3px); border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.hero p { font-size: clamp(1rem, 1.6vw, 1.3rem); color: #ffffff; max-width: 680px; margin: 0 auto; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; opacity: 1.0;
  background-size: cover; background-position: center;
}
.hero-content { position: relative; z-index: 2; max-width: 1200px; text-align: center; }
.hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 900; line-height: 1.0;
  letter-spacing: -0.05em; margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--accent-red); }
.hero p { font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--text-muted); max-width: 760px; margin: 0 auto 2.5rem; }
.hero-tag {
  display: inline-block; padding: 0.4rem 1rem; border: 1px solid var(--accent-red);
  color: var(--accent-red); border-radius: 999px; font-size: 0.75rem; font-weight: 700;
  margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.08em;
}

.cta {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2.2rem;
  background: var(--accent-red); color: #fff; font-weight: 800; border-radius: 4px;
  font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em;
  border: none; cursor: pointer; box-shadow: var(--glow-red); transition: transform 0.2s;
}
.cta:hover { transform: translateY(-2px); }
.cta.secondary {
  background: transparent; color: var(--accent-cyan); border: 1px solid var(--accent-cyan);
  box-shadow: none; margin-left: 1rem;
}

section { padding: 5rem 5%; position: relative; }
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 900; letter-spacing: -0.04em;
  margin-bottom: 1rem; text-align: center;
}
.section-subtitle { color: var(--text-muted); text-align: center; max-width: 720px; margin: 0 auto 3rem; font-size: 1.15rem; }

.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem;
  max-width: 1100px; margin: 0 auto 4rem;
}
.stat-card {
  background: var(--bg-panel); border: 1px solid rgba(255, 45, 85, 0.15);
  border-radius: 12px; padding: 1.5rem; text-align: center;
}
.stat-card .number {
  font-size: 2.8rem; font-weight: 900; color: var(--accent-cyan);
  display: block; margin-bottom: 0.3rem;
}
.stat-card .label { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.feature-card {
  background: var(--bg-panel); border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 12px; padding: 2rem; backdrop-filter: blur(10px);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--glow-cyan); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.8rem; color: var(--accent-cyan); }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

.showcase-card {
  position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9;
  border: 1px solid rgba(255, 45, 85, 0.15);
  max-width: 900px; margin: 0 auto;
}
.showcase-card img { width: 100%; height: 100%; object-fit: cover; }
.showcase-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,2,4,0.92) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem;
}
.showcase-overlay h4 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.showcase-overlay span { color: var(--text-muted); font-size: 1rem; }

.chart-card {
  background: var(--bg-panel); border: 1px solid rgba(255, 45, 85, 0.15);
  border-radius: 16px; padding: 2rem; max-width: 1000px; margin: 0 auto;
}

.bar-chart { display: flex; flex-direction: column; gap: 1rem; }
.bar-row { display: flex; align-items: center; gap: 1rem; }
.bar-label { width: 180px; font-size: 0.85rem; color: var(--text-muted); text-align: right; flex-shrink: 0; }
.bar-track { flex: 1; background: rgba(255,255,255,0.08); border-radius: 6px; height: 28px; overflow: hidden; }
.bar-fill { height: 100%; display: flex; align-items: center; justify-content: flex-end; padding-right: 0.6rem; font-size: 0.75rem; font-weight: 700; color: #000; }

.allocation-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}
.allocation-card {
  background: var(--bg-panel); border-top: 4px solid var(--accent-cyan);
  border-radius: 12px; padding: 1.8rem;
}
.allocation-card h4 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--accent-cyan); }
.allocation-card .amount { font-size: 1.8rem; font-weight: 900; color: #fff; margin-bottom: 0.6rem; }
.allocation-card .pct { color: var(--accent-red); font-size: 0.9rem; font-weight: 700; margin-bottom: 0.6rem; }
.allocation-card p { color: var(--text-muted); font-size: 0.9rem; }

.tier-table {
  max-width: 900px; margin: 0 auto; border-collapse: collapse; width: 100%;
}
.tier-table th, .tier-table td {
  padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: left; font-size: 0.95rem;
}
.tier-table th { color: var(--accent-cyan); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.08em; }
.tier-table td { color: var(--text-muted); }

footer {
  border-top: 1px solid rgba(255, 45, 85, 0.12); padding: 3rem 5%; text-align: center;
  background: var(--bg-dark); color: var(--text-muted); font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.6rem; }
  .cta.secondary { margin-left: 0; margin-top: 1rem; }
  .bar-label { width: 100px; }
}

/* Horizontal top navigation menu fix */
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}
.main-nav li {
  display: inline-flex;
}
.main-nav a {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  white-space: nowrap;
  opacity: 0.9;
  transition: color 0.2s, opacity 0.2s;
}
.main-nav a:hover {
  color: var(--accent-cyan);
  opacity: 1;
}
.main-nav a.active {
  color: var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
  opacity: 1;
  padding-bottom: 0.15rem;
}

.main-nav a.nav-highlight {
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  opacity: 1;
}
.main-nav a.nav-highlight:hover {
  background: rgba(0, 212, 255, 0.12);
}

/* Header layout: logo left, menu right */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  width: 100%;
  box-sizing: border-box;
  background: rgba(2, 2, 4, 0.7);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 45, 85, 0.15);
}
.site-header .logo {
  position: relative;
  z-index: 1002;
  flex: none;
}
.main-nav {
  flex: none;
  margin-left: auto;
  position: static;
  width: auto;
  background: transparent;
  border: none;
  backdrop-filter: none;
  padding: 0;
}
.main-nav ul {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.2rem;
}

/* Subpage content buffer */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 5% 3rem;
  box-sizing: border-box;
}
.article-card {
  background: var(--bg-panel, rgba(10, 16, 32, 0.78));
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.article-card p, .article-card li {
  max-width: none;
}

/* Paragraph and heading spacing for subpages */
.article-card h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-light);
}
.article-card h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: var(--text-light);
}
.article-card p {
  margin-bottom: 1.25rem;
}
.article-card ul, .article-card ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.article-card li {
  margin-bottom: 0.5rem;
}
.article-card .lead {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

/* Centered metric cards (e.g., Use of Funds data grid) */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
  justify-items: center;
  text-align: center;
}
.metric-card {
  background: var(--bg-panel);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  width: 100%;
}
.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}
.metric-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}


/* Investor materials footer note */
.investor-docs {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.92;
}
.site-footer .investor-docs + p {
  margin-top: 0;
}
