/* ═════════════════════════════════════════════════════════════════
   GLOBAL DESIGN SYSTEM — Crisp, Clean, High-Contrast Executive HUD Style
═════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Share+Tech+Mono&display=swap');

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

:root {
  /* High Contrast Dark Palette */
  --black:         #050608;
  --void:          #090a0d;
  --dark:          #0e0f14;
  --panel:         #14151c;
  --panel-hover:   #1b1c26;
  --mid:           #242632;
  
  --border:        rgba(255, 255, 255, 0.10);
  --border-bright: rgba(255, 255, 255, 0.20);
  --border-cyan:   rgba(0, 229, 204, 0.40);
  
  --grey:          #71717a;
  --silver:        #a1a1aa;
  --light:         #e4e4e7;
  --white:         #ffffff;
  
  --cyan:          #00e5cc;
  --cyan-bright:   #22f7df;
  --cyan-dim:      rgba(0, 229, 204, 0.12);
  --cyan-glow:     rgba(0, 229, 204, 0.30);
  --green:         #10b981;
  
  /* Fonts */
  --f-cond: 'Barlow Condensed', sans-serif;
  --f-mono: 'Share Tech Mono', monospace;
  --f-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  --nav-h: 76px;
  --max-w: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

html, body {
  width: 100%;
  min-height: 100vh;
}

body {
  font-family: var(--f-sans);
  background-color: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--mid);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* Selection */
::selection {
  background: var(--cyan);
  color: #000;
}

/* Grid Container Utility */
.g-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ══════════ NAVIGATION BAR ══════════ */
.g-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(5, 6, 8, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.g-nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.g-nav__logo {
  font-family: var(--f-cond);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.g-nav__logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
  animation: navpulse 2s ease-in-out infinite;
}

@keyframes navpulse {
  0%, 100% { box-shadow: 0 0 6px var(--cyan-glow); }
  50% { box-shadow: 0 0 16px var(--cyan-glow); }
}

.g-nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.g-nav__links a {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--silver);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.g-nav__links a:hover,
.g-nav__links a.active {
  color: var(--white);
}

.g-nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.g-nav__cta {
  padding: 10px 24px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(0, 229, 204, 0.05);
  transition: all 0.25s var(--ease-smooth);
}

.g-nav__cta:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 24px var(--cyan-glow);
  transform: translateY(-1px);
}

.g-nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--panel);
  border: 1px solid var(--border);
  cursor: pointer;
  z-index: 1001;
}

.g-nav__burger span {
  width: 20px;
  height: 1.5px;
  background: var(--white);
  display: block;
  transition: transform 0.3s, opacity 0.3s;
}

.g-nav__burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.g-nav__burger.open span:nth-child(2) {
  opacity: 0;
}
.g-nav__burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ══════════ BUTTONS & HUD ACCENTS ══════════ */
.btn-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 30px;
  background: var(--cyan);
  color: #000;
  border: 1px solid var(--cyan);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: 0 4px 20px var(--cyan-glow);
}

.btn-cyan:hover {
  background: var(--cyan-bright);
  box-shadow: 0 8px 30px rgba(0, 229, 204, 0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 30px;
  background: transparent;
  border: 1px solid var(--border-bright);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
  transform: translateY(-2px);
}

.section-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--cyan);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.section-label::before {
  content: '//';
  opacity: 0.6;
}

.section-title {
  font-family: var(--f-cond);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--white);
}

/* HUD corner accents */
.hud-tl, .hud-tr, .hud-bl, .hud-br {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 10;
}
.hud-tl { top: 10px; left: 10px; border-top: 1.5px solid var(--cyan); border-left: 1.5px solid var(--cyan); }
.hud-tr { top: 10px; right: 10px; border-top: 1.5px solid var(--cyan); border-right: 1.5px solid var(--cyan); }
.hud-bl { bottom: 10px; left: 10px; border-bottom: 1.5px solid var(--cyan); border-left: 1.5px solid var(--cyan); }
.hud-br { bottom: 10px; right: 10px; border-bottom: 1.5px solid var(--cyan); border-right: 1.5px solid var(--cyan); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.cyan { color: var(--cyan); }
.mono { font-family: var(--f-mono); }

/* ══════════ FOOTER ══════════ */
.g-footer {
  background: var(--void);
  border-top: 1px solid var(--mid);
  padding: 80px 0 40px;
}

.g-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-name {
  font-family: var(--f-cond);
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.footer-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--silver);
  max-width: 300px;
}

.footer-col-title {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--mid);
}

.footer-copy {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--grey);
  text-transform: uppercase;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--silver);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--cyan);
}

/* ══════════ RESPONSIVE NAV & FOOTER ══════════ */
@media (max-width: 900px) {
  .g-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  .g-nav__links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(5, 6, 8, 0.98);
    padding: 32px var(--pad);
    border-bottom: 1px solid var(--mid);
    gap: 20px;
    z-index: 999;
  }
  .g-nav__links.open { display: flex; }
  .g-nav__cta { display: none; }
  .g-nav__burger { display: flex; }
  .g-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}
