/* INFORMN.com — Defense Research Aesthetic */

:root {
  --primary-dark: #0A1628;
  --secondary: #1B2D4F;
  --accent: #3B82F6;
  --accent-dim: #2563EB;
  --light-bg: #F1F5F9;
  --text: #334155;
  --text-light: #64748B;
  --muted: #94A3B8;
  --alert: #EF4444;
  --success: #10B981;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --card-bg: #F8FAFC;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.015em; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1.25rem; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dim); }

img { max-width: 100%; height: auto; }

/* ---- NAV ---- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(59,130,246,0.12);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
}
.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 1.2rem;
  color: var(--white); letter-spacing: 0.08em; text-transform: uppercase;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--muted); font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative;
}
.mobile-toggle span {
  display: block; width: 100%; height: 2px; background: var(--white);
  position: absolute; left: 0; transition: 0.3s;
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { top: 18px; }

/* ---- HERO ---- */
.hero {
  background: var(--primary-dark);
  padding: 10rem 2rem 6rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(59,130,246,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(59,130,246,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 860px; margin: 0 auto; position: relative; z-index: 1;
}
.hero h1 {
  color: var(--white); font-size: 3rem; margin-bottom: 1.5rem;
  max-width: 720px;
}
.hero .subline {
  color: var(--muted); font-size: 1.15rem; line-height: 1.8;
  max-width: 640px; margin-bottom: 2.5rem;
}
.hero .cta {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); background: var(--accent);
  padding: 0.9rem 2rem; border-radius: 2px;
  transition: background 0.2s;
}
.hero .cta:hover { background: var(--accent-dim); color: var(--white); }

/* ---- SECTIONS ---- */
.section {
  padding: 5rem 2rem;
  max-width: 1120px; margin: 0 auto;
}
.section-dark {
  background: var(--primary-dark);
  padding: 5rem 2rem;
}
.section-dark .section-inner {
  max-width: 1120px; margin: 0 auto;
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--muted); }

.section-alt {
  background: var(--light-bg);
  padding: 5rem 2rem;
}
.section-alt .section-inner {
  max-width: 1120px; margin: 0 auto;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem; display: block;
}

/* ---- STAT CARDS ---- */
.stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin: 3rem 0;
}
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem;
  border-top: 3px solid var(--accent);
}
.stat-card .stat-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem; font-weight: 700;
  color: var(--primary-dark); line-height: 1;
  margin-bottom: 0.75rem;
}
.stat-card .stat-label {
  font-size: 0.95rem; color: var(--text-light);
  line-height: 1.5;
}

/* ---- CAPABILITY CARDS ---- */
.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin: 3rem 0;
}
.cap-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  transition: border-color 0.2s;
}
.cap-card:hover { border-color: var(--accent); }
.cap-card .cap-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.cap-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.cap-card p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 0; }

/* Dark variant */
.section-dark .cap-card {
  background: var(--secondary);
  border-color: rgba(59,130,246,0.15);
}
.section-dark .cap-card:hover { border-color: var(--accent); }
.section-dark .cap-card h3 { color: var(--white); }
.section-dark .cap-card p { color: var(--muted); }

/* ---- PROSE ---- */
.prose {
  max-width: 720px;
}
.prose-wide { max-width: 860px; }
.prose h2 { margin-top: 3rem; }
.prose h3 { margin-top: 2rem; }

/* ---- LAYER SECTIONS (Infrastructure page) ---- */
.layer-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.layer-section:last-child { border-bottom: none; }
.layer-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--accent);
  display: inline-block; margin-bottom: 1.25rem;
}

/* ---- TABLE ---- */
.data-table {
  width: 100%; border-collapse: collapse;
  margin: 2rem 0; font-size: 0.9rem;
}
.data-table th {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-light);
  text-align: left; padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--primary-dark);
}
.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.data-table tr:hover td { background: var(--card-bg); }

/* ---- TIMELINE (About page) ---- */
.timeline { margin: 2.5rem 0; }
.timeline-item {
  display: flex; gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  color: var(--accent); min-width: 120px;
  padding-top: 0.15rem;
}
.timeline-content h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.timeline-content p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 0; }

/* ---- ENGAGEMENT LIST ---- */
.engagement-list {
  list-style: none; margin: 2rem 0;
}
.engagement-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  display: flex; justify-content: space-between; align-items: center;
}
.engagement-list li:last-child { border-bottom: none; }
.engagement-status {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  background: rgba(59,130,246,0.1); color: var(--accent);
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; margin: 3rem 0;
}
.contact-block h3 { margin-bottom: 1rem; }
.contact-item {
  padding: 0.6rem 0; font-size: 0.95rem;
}
.contact-item .label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 0.2rem;
}
.contact-item .value {
  color: var(--primary-dark); font-weight: 500;
}

/* ---- CTA STRIP ---- */
.cta-strip {
  background: var(--secondary);
  padding: 4rem 2rem; text-align: center;
}
.cta-strip h2 { color: var(--white); margin-bottom: 1rem; }
.cta-strip p { color: var(--muted); max-width: 560px; margin: 0 auto 2rem; }
.cta-strip .cta {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); background: var(--accent);
  padding: 0.9rem 2rem; border-radius: 2px;
  transition: background 0.2s;
}
.cta-strip .cta:hover { background: var(--accent-dim); color: var(--white); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--primary-dark);
  padding: 3rem 2rem;
  border-top: 1px solid rgba(59,130,246,0.12);
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem; color: var(--muted);
}
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem; color: var(--muted);
}
.footer-links a:hover { color: var(--white); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  h1 { font-size: 2.25rem; }
  .hero h1 { font-size: 2.5rem; }
  .stat-grid, .cap-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline-item { flex-direction: column; gap: 0.5rem; }
  .timeline-year { min-width: auto; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(10,22,40,0.98);
    padding: 1.5rem 2rem; gap: 1rem;
  }
  .hero { padding: 8rem 1.5rem 4rem; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 3rem 1.5rem; }
  .section-dark, .section-alt { padding: 3rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}
