* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --black: #060606;
  --white: #e8e8e3;
  --gray: #777;
  --dim: #444;
  --accent: #c8ff00;
  --border: #1a1a1a;
}
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2rem;
}
::selection { background: var(--accent); color: var(--black); }
.container { max-width: 720px; width: 100%; padding: 2rem; }
h1 { font-family: 'JetBrains Mono', monospace; font-size: 1.2rem; font-weight: 600; margin-bottom: 0.3rem; }
h1 span { color: var(--accent); }
.brand-title { color: inherit; text-decoration: none; }
.brand-title:hover { color: var(--accent); }
.brand-title span { color: var(--accent); }
.end-brand { display: inline-block; margin-top: 2rem; font-family: 'JetBrains Mono', monospace; font-size: 1.6rem; font-weight: 600; animation: brand-pulse 2.5s ease-in-out infinite; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #fff; }
.end-brand:hover { color: var(--accent); }
@keyframes brand-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
.subtitle { color: var(--gray); margin-bottom: 2rem; font-size: 0.85rem; }
.video-area {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: #0e0e0e; border-radius: 8px; overflow: hidden;
  margin-bottom: 1.5rem; border: 1px solid var(--border);
}
video { width: 100%; height: 100%; object-fit: cover; }
.rec-badge {
  position: absolute; top: 12px; right: 12px;
  background: #e33; color: #fff; font-size: 0.9rem;
  padding: 6px 14px; border-radius: 4px; font-weight: 600;
  display: none; animation: pulse 1.5s infinite;
  font-family: 'JetBrains Mono', monospace;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.timer {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.7); color: #fff; font-size: 0.8rem;
  padding: 3px 8px; border-radius: 3px; display: none;
  font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums;
}
.cam-prompt {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 100%; color: var(--dim); gap: 0.8rem; flex-wrap: wrap;
}
.cam-prompt svg { stroke: var(--dim); }
.cam-prompt span { text-align: center; line-height: 1.5; }
.cam-icons { display: flex; gap: 1rem; }
.audio-only { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--accent); gap: 0.8rem; }
.audio-only span { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: var(--gray); }
.question-box {
  background: #0e0e0e; border: 1px solid var(--border);
  border-radius: 8px; padding: 1.2rem; margin-bottom: 1.5rem; min-height: 70px;
}
.question-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  color: #ccc; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem;
}
.question-text { font-size: 1.15rem; line-height: 1.5; white-space: pre-line; color: #fff; }
.question-box.playing { border-color: var(--accent); box-shadow: 0 0 12px rgba(200,255,0,0.1); transition: all 0.3s; }
.btn-audio { float: right; background: none; border: 1px solid var(--dim); color: var(--white); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; padding: 4px 10px; border-radius: 4px; cursor: pointer; margin-left: 0.5rem; }
.btn-audio:hover { border-color: var(--white); }
.question-flash { animation: q-flash 0.8s ease-out; }
@keyframes q-flash { 0% { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,0.6); } 100% { color: #fff; text-shadow: none; } }
.progress { display: flex; gap: 5px; margin-bottom: 1.5rem; }
.progress-dot { width: 100%; height: 3px; border-radius: 2px; background: var(--border); transition: background 0.3s; }
.progress-dot.done { background: var(--accent); }
.progress-dot.active { background: var(--accent); }
.controls { display: flex; gap: 0.8rem; }
.btn {
  flex: 1; padding: 12px; border: none; border-radius: 6px;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  font-family: 'JetBrains Mono', monospace; transition: all 0.15s;
}
.btn:disabled { opacity: 0.3; cursor: not-allowed; }
.btn-small { flex: 0 0 25%; }
.btn-large { flex: 1; }
.btn-primary { background: var(--accent); color: var(--black); }
.btn-primary:hover:not(:disabled) { filter: brightness(1.1); }
.btn-pulse { animation: btn-glow 2s ease-in-out infinite; }
@keyframes btn-glow { 0%,100% { opacity: 1; } 50% { opacity: 0.7; } }
.btn-secondary { background: transparent; color: var(--white); border: 1px solid var(--dim); }
.btn-secondary:hover:not(:disabled) { border-color: var(--white); }
.info { font-size: 0.78rem; color: var(--gray); margin-bottom: 1.5rem; line-height: 1.5; }
.screen { display: none; }
.screen.active { display: block; }
.done-box { text-align: center; padding: 3rem 1rem; }
.done-box h2 { font-family: 'JetBrains Mono', monospace; font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--accent); }
.done-box p { color: var(--gray); margin-bottom: 1.5rem; }
.thanks-sub { font-size: 1.1rem; }
.download-list { list-style: none; text-align: left; margin: 1.5rem auto; max-width: 400px; }
.download-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.download-list a { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; text-decoration: none; }
.download-list a:hover { text-decoration: underline; }
.dl-all { margin-top: 1rem; }
.upload-status { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--gray); }
.disclaimer { margin-top: 1.5rem; font-size: 0.78rem; color: var(--gray); text-align: center; }
.form-group { margin-bottom: 1.2rem; display: flex; align-items: center; gap: 1rem; }
.form-group label { flex: 0 0 40%; font-size: 0.8rem; color: #aaa; font-family: 'JetBrains Mono', monospace; text-align: right; }
.form-group input { flex: 1; padding: 8px 12px; background: #0e0e0e; border: 1px solid var(--border); border-radius: 6px; color: var(--white); font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.9rem; }
.form-group input:focus { outline: none; border-color: var(--accent); }
.form-group input::placeholder { color: var(--dim); }
.feature-list { background: #0e0e0e; border: 1px solid var(--border); border-radius: 8px; padding: 1.2rem; margin-bottom: 1.5rem; }
.cheatsheet { margin-top: 1rem; background: #0e0e0e; border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.2rem; }
.cheatsheet ul { list-style: none; padding: 0; margin-top: 0.8rem; }
.cheatsheet li { padding: 0.2rem 0; color: var(--white); font-size: 0.8rem; }
.cheatsheet li::before { content: "→ "; color: var(--accent); font-family: 'JetBrains Mono', monospace; }
.btn-view-demo { float: right; flex: none; width: auto; padding: 6px 12px; font-size: 0.7rem; animation: demo-pulse 2.5s ease-in-out infinite; margin-left: 0.8rem; }
@keyframes demo-pulse { 0%,100% { border-color: var(--dim); color: var(--white); } 50% { border-color: #fff; color: #fff; } }
.replay-video { margin-top: 1rem; border-radius: 6px; overflow: hidden; }
.replay-video video { width: 100%; display: block; }
.feature-list { margin-top: 1rem; }
.feature-list ul { list-style: none; padding: 0; }
.feature-list li { padding: 0.3rem 0; color: var(--white); font-size: 0.85rem; }
.feature-list li::before { content: "→ "; color: var(--accent); font-family: 'JetBrains Mono', monospace; }
.upload-status.ok { color: var(--accent); }
.upload-status.err { color: #e33; }

/* Mobile */
@media (max-width: 600px) {
  body { font-size: 1.1rem; }
  .container { padding: 1rem; }
  h1 { font-size: 1.15rem; }
  .subtitle { font-size: 1rem; }
  .video-area { aspect-ratio: 1/1; }
  .question-text { font-size: 1.3rem; color: #fff; }
  .question-label { font-size: 0.8rem; color: #ccc; }
  .btn { font-size: 1rem; padding: 14px; }
  .info { font-size: 0.9rem; color: #aaa; }
  .cam-prompt span { font-size: 1rem; }
  .cheatsheet li { font-size: 1rem; }
  .feature-list li { font-size: 1.05rem; }
  .form-group { flex-direction: column; align-items: stretch; gap: 0.3rem; }
  .form-group label { flex: none; text-align: left; font-size: 0.85rem; }
  .form-group input { font-size: 1rem; padding: 10px 12px; }
  .disclaimer { font-size: 0.95rem; }
  .done-box h2 { font-size: 1.5rem; }
  .thanks-sub { font-size: 1.2rem; }
  .end-brand { font-size: 1.4rem; }
  .btn-view-demo { font-size: 0.8rem; }
  .audio-only span { font-size: 0.9rem; }
  .rec-badge { font-size: 1rem; padding: 8px 16px; }
  .timer { font-size: 0.9rem; }
}
