/* ============================================================
   Genesis AI Systems — Shared Stylesheet
   Extracted from pages/*.html — do not edit inline style blocks
   that were already moved here.
   ============================================================ */

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

:root {
  --navy:        #0A1628;
  --navy-mid:    #0F1E38;
  --navy-light:  #162847;
  --blue:        #4A8FD4;
  --blue-light:  #6BAEE8;
  --white:       #FFFFFF;
  --offwhite:    #E8EDF5;
  --muted:       #8FA3BF;
  --border:      rgba(74, 143, 212, 0.18);
  --cta:         #4A8FD4;
  --cta-hover:   #3A7FC4;
  --font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── UTILS ── */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.btn {
  display: inline-block;
  background: var(--cta);
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 1rem 2.25rem;
  border-radius: 6px;
  border: 2px solid var(--cta);
  transition: background .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover, .btn:focus {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74,143,212,.35);
  outline: none;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,22,40,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

/* Reset: the <nav> inside <footer> must NOT inherit the fixed/blurred topnav styles. */
footer nav { position: static; background: none; backdrop-filter: none; border: none; }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

/*
  SWAP: once logos exported, replace the entire .nav-logo anchor with:
  <a href="../index.html" class="nav-logo">
    <img src="../assets/logos/logo-dark.png" alt="Genesis AI Systems" height="38">
  </a>
*/
.nav-logo {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-icon { width: 38px; height: 38px; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-text .wm {
  font-size: .95rem; font-weight: 800; letter-spacing: .1em;
  color: var(--white); text-transform: uppercase;
}
.nav-logo-text .sub {
  font-size: .58rem; letter-spacing: .22em; color: var(--blue);
  text-transform: uppercase; margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a {
  color: var(--offwhite); text-decoration: none; font-size: .88rem;
  font-weight: 500; opacity: .82; transition: opacity .2s, color .2s;
}
.nav-links a:hover { opacity: 1; color: var(--blue-light); }
.nav-links a.active { opacity: 1; color: var(--blue-light); }
.nav-btn { font-size: .82rem !important; padding: .55rem 1.15rem !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 24px; height: 18px; background: none; border: none; cursor: pointer; padding: 0;
}
.hamburger span {
  display: block; height: 2px; width: 100%; background: var(--white);
  border-radius: 2px; transition: all .28s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--navy-mid); border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.5rem 2rem; z-index: 999;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 0; }
.mobile-menu a {
  color: var(--offwhite); text-decoration: none; font-size: 1rem;
  font-weight: 500; padding: .9rem 0;
  border-bottom: 1px solid var(--border); transition: color .2s;
}
.mobile-menu a:hover { color: var(--blue-light); }
.mobile-menu .m-cta { margin-top: 1.25rem; }
.mobile-menu .m-cta .btn { width: 100%; text-align: center; }

/* ── HERO (shared base) ── */
.hero {
  padding: 148px 0 100px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -160px; left: 50%;
  transform: translateX(-50%); width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(74,143,212,.07) 0%, transparent 68%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); background: rgba(74,143,212,.1);
  padding: .4rem 1rem; border-radius: 100px;
  border: 1px solid rgba(74,143,212,.28); margin-bottom: 1.6rem;
}

.live-dot-sm {
  width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  animation: blink 1.8s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.09; letter-spacing: -.03em;
  margin-bottom: 1.5rem; max-width: 840px;
  margin-left: auto; margin-right: auto;
}
.hero h1 .accent { color: var(--blue-light); }

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  line-height: 1.7; color: var(--muted);
  max-width: 580px; margin: 0 auto 2.5rem;
}
.hero-sub strong { color: var(--offwhite); }

.micro { font-size: .78rem; color: var(--muted); }

/* ── SECTION LABEL + HEADER ── */
.section-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 1rem;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.13; letter-spacing: -.02em; margin-bottom: 1rem;
}
.section-header h2 .accent { color: var(--blue-light); }
.section-header p {
  font-size: 1rem; color: var(--muted);
  max-width: 500px; margin: 0 auto; line-height: 1.65;
}
.section-header p strong { color: var(--offwhite); }

/* ── FOOTER CTA (shared base) ── */
.footer-cta {
  padding: 128px 0; text-align: center; position: relative; overflow: hidden;
}
.footer-cta::before {
  content: ''; position: absolute; bottom: -180px; left: 50%;
  transform: translateX(-50%); width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(74,143,212,.06) 0%, transparent 68%);
  pointer-events: none;
}
.footer-cta h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 1.2rem;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.footer-cta h2 .accent { color: var(--blue-light); }
.footer-cta p {
  font-size: 1rem; color: var(--muted);
  max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.footer-cta .btn { font-size: 1.1rem; padding: 1.1rem 2.75rem; }

/* ── FOOTER ── */
footer {
  background: var(--navy-mid); border-top: 1px solid var(--border); padding: 2.75rem 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.75rem; flex-wrap: wrap;
}
.footer-brand-group { display: flex; flex-direction: column; gap: .4rem; }
.footer-brand {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.footer-phone {
  color: var(--blue-light); text-decoration: none;
  font-size: .88rem; font-weight: 700; transition: color .2s;
}
.footer-phone:hover { color: var(--white); }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: .82rem; transition: color .2s; }
.footer-nav a:hover { color: var(--blue-light); }
.footer-copy { font-size: .74rem; color: var(--muted); opacity: .55; }

/* ── RESPONSIVE (shared) ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 480px) {
  .btn { width: 100%; max-width: 340px; text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
  .footer-brand-group { align-items: center; }
  .footer-nav { justify-content: center; }
}
