/* coming-soon.css — tty.email */

:root {
  --green:      #33ff66;
  --green-dim:  #1a8a38;
  --green-glow: rgba(51, 255, 102, 0.18);
  --amber:      #ffb800;
  --bg:         #080e0b;
  --bg2:        #0d1610;
  --scanline:   rgba(0, 0, 0, 0.18);
  --border:     rgba(51, 255, 102, 0.22);
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--green);
  font-family: 'Share Tech Mono', monospace;
  overflow-x: hidden;
}

/* ── CRT effects ─────────────────────────────────────────── */

/* Scanlines */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    var(--scanline) 3px,
    var(--scanline) 4px
  );
  pointer-events: none;
  z-index: 999;
  animation: scanroll 8s linear infinite;
}

/* Vignette */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  z-index: 998;
}

/* Noise texture */
.noise {
  position: fixed;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  z-index: 997;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Background bloom */
.bloom {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 255, 102, 0.07) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: pulse 4s ease-in-out infinite;
}

/* ── Layout ──────────────────────────────────────────────── */

.screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
}

.container {
  width: 100%;
  max-width: 780px;
  position: relative;
  z-index: 10;
}

/* ── Top bar ─────────────────────────────────────────────── */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 36px;
  font-size: 12px;
  color: var(--green-dim);
  opacity: 0;
  animation: fadeIn 0.6s ease forwards 0.1s;
}

.topbar .conn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: blink 1.2s step-start infinite;
}

/* ── Logo & tagline ──────────────────────────────────────── */

.logo-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards 0.3s;
}

.logo {
  font-family: 'VT323', monospace;
  font-size: clamp(60px, 12vw, 96px);
  color: var(--green);
  text-shadow:
    0 0 8px var(--green),
    0 0 30px rgba(51, 255, 102, 0.5),
    0 0 60px rgba(51, 255, 102, 0.2);
  letter-spacing: -2px;
  line-height: 1;
}

.badge {
  font-size: 11px;
  background: var(--green);
  color: var(--bg);
  padding: 3px 8px;
  font-weight: bold;
  letter-spacing: 2px;
  align-self: center;
  animation: badgePulse 2s ease-in-out infinite;
}

.tagline {
  font-size: clamp(12px, 2.2vw, 15px);
  color: var(--amber);
  letter-spacing: 1.5px;
  margin-bottom: 36px;
  text-shadow: 0 0 10px rgba(255, 184, 0, 0.5);
  opacity: 0;
  animation: fadeIn 0.6s ease forwards 0.5s;
}

/* ── Terminal preview ────────────────────────────────────── */

.terminal {
  border: 1px solid var(--border);
  background: var(--bg2);
  padding: 24px 28px;
  margin-bottom: 32px;
  position: relative;
  opacity: 0;
  animation: fadeIn 0.7s ease forwards 0.7s;
  box-shadow:
    0 0 0 1px rgba(51, 255, 102, 0.05),
    inset 0 0 40px rgba(51, 255, 102, 0.03);
}

.terminal::before {
  content: '● ● ●';
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 9px;
  color: var(--green-dim);
  letter-spacing: 4px;
}

.term-title {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--green-dim);
  letter-spacing: 2px;
  white-space: nowrap;
}

.term-body {
  margin-top: 20px;
  line-height: 1.9;
  font-size: 14px;
}

.prompt {
  color: var(--green-dim);
  margin-right: 8px;
  user-select: none;
}

.cmd   { color: var(--green); }
.out   { color: #aaffcc; }
.out.dim { color: #4a7a58; }

.cursor {
  display: inline-block;
  width: 9px;
  height: 16px;
  background: var(--green);
  vertical-align: text-bottom;
  animation: blink 1s step-start infinite;
  box-shadow: 0 0 6px var(--green);
}

/* ── Feature cards ───────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeIn 0.7s ease forwards 1.0s;
}

.feat {
  border: 1px solid var(--border);
  padding: 18px 20px;
  background: var(--bg2);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.feat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feat:hover {
  border-color: rgba(51, 255, 102, 0.5);
  box-shadow: 0 0 20px rgba(51, 255, 102, 0.08);
}

.feat:hover::after { opacity: 1; }

.feat-icon {
  font-family: 'VT323', monospace;
  font-size: 28px;
  color: var(--green);
  text-shadow: 0 0 10px var(--green);
  margin-bottom: 8px;
  display: block;
  line-height: 1;
}

.feat-title {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.feat-desc {
  font-size: 12px;
  color: #6aaa80;
  line-height: 1.6;
}

.hl { color: var(--green); }

/* ── Divider ─────────────────────────────────────────────── */

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 28px;
}

/* ── Notify / signup ─────────────────────────────────────── */

.notify-section {
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.7s ease forwards 1.2s;
}

.notify-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--green-dim);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.notify-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto 20px;
  border: 1px solid var(--border);
}

.notify-form input {
  flex: 1;
  background: var(--bg2);
  border: none;
  outline: none;
  padding: 12px 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: var(--green);
  caret-color: var(--green);
}

.notify-form input::placeholder { color: var(--green-dim); }

.notify-form input:disabled { opacity: 0.5; cursor: not-allowed; }

#submitBtn {
  background: var(--green);
  color: var(--bg);
  border: none;
  padding: 12px 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  letter-spacing: 1.5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

#submitBtn:hover:not(:disabled) {
  background: #55ffaa;
  box-shadow: 0 0 20px rgba(51, 255, 102, 0.4);
}

#submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.notify-note {
  font-size: 11px;
  color: var(--green-dim);
  letter-spacing: 1px;
  transition: color 0.2s;
  min-height: 1.4em;
}

.notify-note.is-error   { color: #ff5555; }
.notify-note.is-success { color: var(--green); }

/* ── Footer ──────────────────────────────────────────────── */

.footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #2a5e3a;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards 1.4s;
}

/* ── Keyframes ───────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes scanroll {
  0%   { background-position: 0 0; }
  100% { background-position: 0 80px; }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 6px var(--green); }
  50%       { box-shadow: 0 0 16px var(--green), 0 0 30px rgba(51, 255, 102, 0.4); }
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 500px) {
  .notify-form  { flex-direction: column; }
  #submitBtn    { border-top: 1px solid var(--bg); }
  .footer       { flex-direction: column; gap: 6px; text-align: center; }
  .topbar       { flex-direction: column; gap: 4px; text-align: center; }
}
