/* ── Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --amber: #ff6600;
  --amber-dim: #cc5200;
  --amber-glow: #ff8833;
  --dark: #0a0a0a;
  --panel-bg: #111;
  --text: #e0e0e0;
  --text-dim: #888;
}

body {
  font-family: 'Courier New', Courier, monospace;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Layout ──────────────────────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

/* ── Robot Logo ──────────────────────────────────────────────────────── */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.robot-logo {
  position: relative;
}

.robot-head {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.antenna {
  width: 4px;
  height: 20px;
  background: var(--amber);
  border-radius: 2px;
  position: relative;
  box-shadow: 0 0 8px var(--amber);
}
.antenna::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--amber), 0 0 24px var(--amber-dim);
  animation: pulse-glow 2s ease-in-out infinite;
}

.head-box {
  width: 64px;
  height: 48px;
  border: 3px solid var(--amber);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.3), inset 0 0 10px rgba(255, 102, 0, 0.1);
}

.eye {
  width: 12px;
  height: 12px;
  background: var(--amber);
  border-radius: 3px;
  box-shadow: 0 0 8px var(--amber);
  animation: blink-eye 4s ease-in-out infinite;
}
.eye.right { animation-delay: 0.15s; }

@keyframes blink-eye {
  0%, 42%, 48%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(0.1); }
}

.site-title {
  font-size: 2rem;
  letter-spacing: 0.5em;
  color: var(--text);
  font-weight: 400;
  text-indent: 0.5em; /* balance letter-spacing */
}

/* ── CRT Panel ───────────────────────────────────────────────────────── */
.crt-panel {
  position: relative;
  width: 100%;
  background: #000;
  border: 2px solid var(--amber-dim);
  border-radius: 12px;
  padding: 2rem 2rem;
  overflow: hidden;
  box-shadow:
    0 0 30px rgba(255, 102, 0, 0.15),
    inset 0 0 60px rgba(255, 102, 0, 0.05);
}

.scanlines {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  pointer-events: none;
  z-index: 2;
}

.crt-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.crt-label {
  font-size: 0.7rem;
  color: var(--amber-dim);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.product-name {
  font-size: 4rem;
  font-weight: 700;
  color: var(--amber);
  text-shadow: 0 0 20px var(--amber), 0 0 60px rgba(255, 102, 0, 0.4);
  letter-spacing: 0.15em;
  line-height: 1;
}

.product-type {
  font-size: 1rem;
  letter-spacing: 0.6em;
  color: var(--amber-glow);
  margin-top: 0.5rem;
  text-indent: 0.6em;
}

.divider {
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-dim), transparent);
  margin: 1.5rem auto;
}

.tagline {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── Status ──────────────────────────────────────────────────────────── */
.status-block {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
}
.status-block strong {
  color: var(--amber);
  text-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

.blink {
  animation: cursor-blink 1s step-end infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Features ────────────────────────────────────────────────────────── */
.feature-list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.feature-list li {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 0.3rem 0;
}
.bullet {
  color: var(--amber);
  margin-right: 0.5rem;
  font-weight: bold;
}
.redacted {
  color: var(--amber-dim);
  letter-spacing: -0.05em;
  user-select: none;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
footer {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* ── Animations ──────────────────────────────────────────────────────── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 12px var(--amber), 0 0 24px var(--amber-dim); }
  50% { box-shadow: 0 0 20px var(--amber), 0 0 40px var(--amber); }
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .site-title { font-size: 1.4rem; letter-spacing: 0.3em; }
  .product-name { font-size: 2.8rem; }
  .crt-panel { padding: 1.5rem 1rem; }
  .container { padding: 2rem 1rem; }
}
