/* ========== HEADER / NAV ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 48px;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav__logo {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-bright);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__logo:hover {
  color: var(--color-text-bright);
}

.nav__logo-cursor {
  display: inline-block;
  width: 2px;
  height: 18px;
  background: var(--color-primary);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-text-bright);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-text);
  transition: var(--transition);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
}

.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-simple__logo {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-bright);
  letter-spacing: -0.5px;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-simple__logo:hover {
  color: var(--color-primary);
}

.footer-simple__links {
  display: flex;
  gap: 28px;
}

.footer-simple__links a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.footer-simple__links a:hover {
  color: var(--color-primary);
}

.footer-simple__copy {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin: 0;
  flex-shrink: 0;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--color-bg);
}

/* Grid overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Scan lines */
.hero__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(23, 188, 208, 0.015) 0px,
    rgba(23, 188, 208, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

/* Glow orbs */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero__glow--green {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  opacity: 0.08;
  top: -10%;
  left: -5%;
}

.hero__glow--cyan {
  width: 400px;
  height: 400px;
  background: var(--color-cyan);
  opacity: 0.05;
  bottom: -5%;
  right: -5%;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero__content h1 {
  margin-bottom: 24px;
}

.hero__content .subtitle {
  margin: 0 auto 40px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== PAGE HERO ========== */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero .subtitle {
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; }
  .page-hero { padding: 120px 0 60px; }
  .site-header { padding: 16px 20px; }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 48px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--color-border);
  }

  .nav__links.open { right: 0; }
  .nav__toggle { display: flex; z-index: 1001; }

  .nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .footer-simple { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
  .hero__buttons { flex-direction: column; align-items: center; }
}
