/* ============================================================
   GENOVA EVOLUTION — Global Design System
   "Deep Field" — Precision Cosmological
   Void Black #07080E · Stellar Gold #C9A84C · Cosmic Silver #A8B8C8 · Starlight White #EEF2FF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --gold: #C9A84C;
  --silver: #A8B8C8;
  --starlight: #EEF2FF;
  --void: #07080E;
  --ease-out-expo: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-expo: cubic-bezier(0.77, 0, 0.175, 1);
}

html { scroll-behavior: smooth; }

body {
  background-color: #07080E;
  color: #EEF2FF;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  color: #EEF2FF;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a { cursor: pointer; }

::selection {
  background-color: rgba(201, 168, 76, 0.3);
  color: #EEF2FF;
}

/* ---- Container ---- */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 1200px;
}
@media (min-width: 768px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* ---- Typography ---- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A8B8C8;
  margin: 0;
}

.eyebrow-gold {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C9A84C;
  margin: 0;
}

/* ---- Dividers ---- */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #C9A84C, transparent);
  opacity: 0.4;
  border: none;
}
.silver-divider {
  height: 1px;
  background-color: rgba(168, 184, 200, 0.15);
  border: none;
}

/* ---- Cards ---- */
.genova-card {
  background: rgba(12, 14, 20, 0.85);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-top: 2px solid #C9A84C;
  border-radius: 4px;
  transition: box-shadow 0.2s var(--ease-out-expo), transform 0.2s var(--ease-out-expo);
}
.genova-card:hover {
  box-shadow: 0 0 28px rgba(201, 168, 76, 0.18), 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-2px) scale(1.005);
}

/* ---- Buttons ---- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #C9A84C;
  color: #07080E;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  border: none;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn-gold:hover {
  background-color: #d9b85c;
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.4);
}
.btn-gold:active { transform: scale(0.97); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: #EEF2FF;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  border: 1px solid rgba(168, 184, 200, 0.4);
  transition: border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: #C9A84C;
  color: #C9A84C;
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.15);
}
.btn-ghost:active { transform: scale(0.97); }

/* ---- Section padding ---- */
.section-pad {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}
@media (max-width: 768px) {
  .section-pad { padding-top: 4rem; padding-bottom: 4rem; }
}

/* ---- Pill / badge ---- */
.genova-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 100px;
  background: rgba(201, 168, 76, 0.06);
  color: #EEF2FF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

/* ---- Nav link ---- */
.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #A8B8C8;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: #EEF2FF;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #C9A84C;
  transition: width 0.2s var(--ease-out-expo);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ---- Form inputs ---- */
.genova-input {
  width: 100%;
  background: rgba(12, 14, 20, 0.8);
  border: 1px solid rgba(168, 184, 200, 0.2);
  border-radius: 3px;
  color: #EEF2FF;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.genova-input::placeholder { color: rgba(168, 184, 200, 0.4); }
.genova-input:focus {
  border-color: #C9A84C;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}
.genova-input.error {
  border-color: #C9A84C;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
textarea.genova-input { resize: vertical; min-height: 120px; }

/* ---- Star field canvas ---- */
#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ---- Scroll fade-up ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  animation: fadeUp 0.6s var(--ease-out-expo) both;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Hero glow ---- */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Navbar ---- */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  background-color: transparent;
  border-bottom: 1px solid transparent;
}
#site-nav.scrolled {
  background-color: rgba(7, 8, 14, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(201, 168, 76, 0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #EEF2FF;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-logo-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  color: #A8B8C8;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ---- Mobile menu ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: #EEF2FF;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background-color: #C9A84C;
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background-color: #C9A84C;
}
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: #07080E;
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu-overlay.open {
  display: flex;
  animation: fadeUp 0.25s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.mobile-nav-link {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #EEF2FF;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mobile-nav-link.active { color: #C9A84C; }

@media (min-width: 769px) {
  .nav-links { display: flex !important; }
  .hamburger { display: none !important; }
}
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
}

/* ---- Footer ---- */
footer {
  background-color: #07080E;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  position: relative;
  z-index: 10;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(168, 184, 200, 0.1);
}
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #A8B8C8;
  text-decoration: none;
  transition: color 0.15s ease;
  width: fit-content;
  display: block;
}
.footer-link:hover { color: #EEF2FF; }

/* ---- Icon wrapper ---- */
.icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  flex-shrink: 0;
}
