/* WEYLAND CORP GLOBAL STYLES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Space+Grotesk:wght@400;600&display=swap');

:root {
  /* Core Color Palette */
  --weyland-black: #050507;
  --weyland-dark-blue: #0b1120;
  --weyland-cold-grey: #1a1c23;
  --weyland-light-grey: #a0a5b1;
  --weyland-clinical-white: #f0f2f5;
  --weyland-pure-white: #ffffff;
  
  /* Accents */
  --weyland-amber: #f89e1a; /* Iconic MU-TH-UR terminal amber */
  --weyland-blue-glow: #32e0fff0;
  --weyland-alert-red: #ff3333;
  --weyland-hologram: rgba(50, 224, 255, 0.15);

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Layout */
  --nav-height: 80px;
  --container-width: 1400px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.25, 1);
}

/* RESETS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-primary);
  background-color: var(--weyland-black);
  color: var(--weyland-clinical-white);
  line-height: 1.6;
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: radial-gradient(circle at 50% 0%, var(--weyland-dark-blue) 0%, var(--weyland-black) 70%);
  background-attachment: fixed;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--weyland-pure-white);
  text-transform: uppercase;
}

h1 { font-size: 5rem; }
h2 { font-size: 3.5rem; }
h3 { font-size: 2.5rem; }
h4 { font-size: 1.5rem; }

p {
  color: var(--weyland-light-grey);
  font-size: 1.125rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.mono-text {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.text-accent {
  color: var(--weyland-blue-glow);
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: 8rem 0;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* GLOBAL NAV */
#global-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  transition: background var(--transition-smooth);
}

#global-nav .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: var(--weyland-pure-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo .w-icon {
  position: relative;
  width: 32px;
  height: 32px;
  background: var(--weyland-pure-white);
  clip-path: polygon(0 0, 100% 0, 100% 20%, 65% 100%, 35% 100%, 0 20%);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--weyland-light-grey);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--weyland-pure-white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--weyland-blue-glow);
  transition: width var(--transition-fast);
  box-shadow: 0 0 10px var(--weyland-blue-glow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn-investor {
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--weyland-pure-white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-investor:hover {
  background: var(--weyland-pure-white);
  color: var(--weyland-black);
  border-color: var(--weyland-pure-white);
}

/* MAIN CONTENT */
main {
  flex: 1;
  padding-top: var(--nav-height); /* Offset for fixed nav */
  position: relative;
  z-index: 1;
}

/* FOOTER */
#global-footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  color: var(--weyland-blue-glow);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul a {
  text-decoration: none;
  color: var(--weyland-light-grey);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--weyland-pure-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.4);
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--weyland-light-grey);
}

.stock-ticker {
  color: #33ff77; /* Synthetic green */
  font-weight: 600;
}

/* UTILITY EFFECTS */
.glitch-effect {
  position: relative;
}

.glitch-effect::before,
.glitch-effect::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-effect::before {
  left: 2px;
  text-shadow: -1px 0 red;
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch-effect::after {
  left: -2px;
  text-shadow: -1px 0 blue;
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(61px, 9999px, 52px, 0); }
  20% { clip: rect(33px, 9999px, 14px, 0); }
  40% { clip: rect(96px, 9999px, 98px, 0); }
  60% { clip: rect(10px, 9999px, 57px, 0); }
  80% { clip: rect(100px, 9999px, 5px, 0); }
  100% { clip: rect(27px, 9999px, 2px, 0); }
}

@keyframes glitch-anim-2 {
  0% { clip: rect(29px, 9999px, 83px, 0); }
  20% { clip: rect(65px, 9999px, 42px, 0); }
  40% { clip: rect(12px, 9999px, 97px, 0); }
  60% { clip: rect(87px, 9999px, 15px, 0); }
  80% { clip: rect(4px, 9999px, 73px, 0); }
  100% { clip: rect(51px, 9999px, 20px, 0); }
}

/* Responsive */
@media (max-width: 1024px) {
  h1 { font-size: 4rem; }
  h2 { font-size: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; /* Hide for mobile initially, can add hamburger later if needed */ }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
