*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #0066cc;
  --blue-dark: #004999;
  --blue-deep: #001a33;
  --lime: #b8ff00;
  --lime-dim: rgba(184, 255, 0, 0.15);
  --white: #f0f4f8;
  --muted: rgba(240, 244, 248, 0.55);
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --font-sans: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--blue);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

#binary-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
}

.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__name {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.header__ticker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue-deep);
  background: var(--lime);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-weight: 600;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--lime);
  text-decoration: none;
  border: 1px solid rgba(184, 255, 0, 0.35);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
  background: var(--lime);
  color: var(--blue-deep);
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem 4rem;
  max-width: 720px;
  margin: 0 auto;
  gap: 2.5rem;
}

.hero__image-wrap {
  width: min(420px, 85vw);
  animation: float 6s ease-in-out infinite;
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 26, 51, 0.4));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--lime);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero__ticker {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--lime);
  font-weight: 600;
  margin: 0.5rem 0 1.25rem;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* CA Block */
.ca-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.ca-block__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ca-block__value {
  background: var(--blue-deep);
  border: 1px solid rgba(184, 255, 0, 0.25);
  border-radius: 6px;
  padding: 0.85rem 2rem;
}

.ca-block__value code {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--lime);
  letter-spacing: 0.08em;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 900px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
  background: rgba(0, 26, 51, 0.3);
  border: 1px solid rgba(184, 255, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.feature {
  padding: 2rem 1.5rem;
  background: rgba(0, 73, 153, 0.4);
}

.feature__code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--lime);
  opacity: 0.6;
}

.feature__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.5rem 0 0.4rem;
}

.feature__text {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid rgba(184, 255, 0, 0.08);
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 0.75rem;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(240, 244, 248, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 1rem 1.25rem;
  }

  .header__name {
    display: none;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1rem;
  }
}
