/* ─── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --bg:          #020617;
  --bg-surface:  #0f172a;
  --accent:      #0369a1;
  --accent-glow: rgba(3, 105, 161, 0.25);
  --text-primary: #f1f5f9;
  --text-muted:   #64748b;
  --text-faint:   #334155;
  --border:       rgba(51, 65, 85, 0.6);
  --radius:       4px;

  --font-heading: 'Exo', system-ui, sans-serif;
  --font-mono:    'Roboto Mono', 'Courier New', monospace;

  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in:    cubic-bezier(0.4, 0.0, 1, 1);
}

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

/* ─── Base ───────────────────────────────────────────────────────────────── */
html {
  height: 100%;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

/* ─── Background layers ──────────────────────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--text-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--text-faint) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.07;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    rgba(3, 105, 161, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */
main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  flex: 1;
  justify-content: center;
}

/* ─── Status badge ───────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 5px transparent; }
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  max-width: 640px;
}

/* ─── Robot icon ─────────────────────────────────────────────────────────── */
.logo-mark {
  color: var(--accent);
  animation: float 6s ease-in-out infinite;
}

.robot-icon {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ─── Brand name ─────────────────────────────────────────────────────────── */
.brand-name {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 8vw, 4rem);
  font-weight: 200;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  line-height: 1.1;
  text-shadow:
    0 0 40px rgba(3, 105, 161, 0.2),
    0 0 80px rgba(3, 105, 161, 0.08);
}

/* ─── Divider ────────────────────────────────────────────────────────────── */
.divider-line {
  position: relative;
  width: min(320px, 80vw);
  height: 1px;
  background: var(--border);
}

.divider-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 12px 2px var(--accent-glow);
  border-radius: 1px;
}

/* ─── Coming soon ────────────────────────────────────────────────────────── */
.coming-soon {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 2.5vw, 0.8rem);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ─── Tagline ────────────────────────────────────────────────────────────── */
.tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
}

.tagline-en {
  font-size: 0.85em;
  color: var(--text-faint);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ─── Reduced motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pulse-dot, .logo-mark { animation: none; }
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero { gap: 1.4rem; }
  .header { top: 1.25rem; }
  .footer { bottom: 1.25rem; }
}
