﻿
*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%}
body{background:#0a0a0a;color:#f0f0ff;font-family:'Inter',sans-serif;overflow-x:hidden}
::-webkit-scrollbar{width:4px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:rgba(245,197,24,.3);border-radius:2px}

/* --- CURSOR --------------------------------------------- */
#cursor{position:fixed;width:8px;height:8px;background:#fff;border-radius:50%;pointer-events:none;z-index:9999;transform:translate(-50%,-50%);mix-blend-mode:screen}
#cursor-ring{position:fixed;width:30px;height:30px;border:1px solid rgba(255,255,255,.15);border-radius:50%;pointer-events:none;z-index:9998;transform:translate(-50%,-50%);transition:width .2s,height .2s,border-color .2s}
body.hovering #cursor-ring{width:44px;height:44px;border-color:rgba(245,197,24,.5)}

/* --- SCREEN SYSTEM -------------------------------------- */
.screen{display:none;min-height:100vh;flex-direction:column;align-items:center;justify-content:center;padding:100px 24px 60px;text-align:center;position:relative;overflow:hidden}
.screen.active{display:flex}
.screen-inner{position:relative;z-index:1;width:100%;max-width:660px;display:flex;flex-direction:column;align-items:center}
.grid-bg{display:none}
.screen-glow{position:absolute;top:50%;left:50%;transform:translate(-50%,-55%);width:700px;height:500px;border-radius:50%;filter:blur(100px);pointer-events:none;opacity:.12}

/* --- SHARED TYPE ---------------------------------------- */
.eyebrow{font-family:'Space Mono',monospace;font-size:9px;letter-spacing:.45em;text-transform:uppercase;color:rgba(245,197,24,.6);margin-bottom:24px}
.display{font-size:clamp(28px,5.5vw,54px);font-weight:700;line-height:1.1;letter-spacing:-.025em;margin-bottom:18px}
.grad{color:#f5c518}
.subtext{font-size:15px;color:rgba(255,255,255,.35);line-height:1.8;max-width:500px;margin-bottom:44px;font-weight:300}
.subtext em{color:#f5c518;font-style:normal}

/* --- BUTTONS -------------------------------------------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:18px 48px;border-radius:14px;font-family:'Inter',sans-serif;font-size:16px;font-weight:700;cursor:none;transition:all .2s;text-decoration:none;border:none;letter-spacing:.01em}
.btn-primary{background:#f5c518;color:#0a0a0a;box-shadow:0 4px 24px rgba(245,197,24,.25)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 40px rgba(245,197,24,.4);background:#f0bc00}
.btn-ghost{background:rgba(255,255,255,.05);color:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.12)}
.btn-ghost:hover{background:rgba(255,255,255,.09);color:#f0f0ff;border-color:rgba(255,255,255,.25)}
.btn-row{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}

/* --- GATE ----------------------------------------------- */
#gate .gate-kicker{font-size:11px;color:rgba(255,255,255,.1);letter-spacing:.06em;margin-top:52px;font-family:'Space Mono',monospace}

/* --- NOT YET -------------------------------------------- */
#not-yet .note{background:rgba(245,197,24,.04);border:1px solid rgba(245,197,24,.15);border-radius:14px;padding:20px 24px;font-size:13px;color:rgba(255,255,255,.4);line-height:1.8;max-width:480px;margin-bottom:36px;text-align:left}
#not-yet .note strong{color:#f5c518}

/* --- ROADMAP -------------------------------------------- */
.stages{width:100%;max-width:520px;margin-bottom:44px}
.stage{display:flex;gap:20px;align-items:flex-start;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.05);text-align:left}
.stage:last-child{border:none;padding-bottom:0}
.stage-num{font-family:'Space Mono',monospace;font-size:9px;color:rgba(245,197,24,.5);letter-spacing:.1em;flex-shrink:0;margin-top:3px;width:24px}
.stage-name{font-size:13px;font-weight:700;margin-bottom:3px;color:#f0f0ff}
.stage-desc{font-size:12px;color:rgba(255,255,255,.32);line-height:1.6}

/* --- EMAIL CAPTURE -------------------------------------- */
.field-wrap{width:100%;max-width:400px;margin-bottom:28px}
.field-label{font-family:'Space Mono',monospace;font-size:9px;letter-spacing:.3em;text-transform:uppercase;color:rgba(255,255,255,.28);margin-bottom:8px;display:block;text-align:left}
.field-input{width:100%;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);border-radius:12px;padding:14px 18px;color:#f0f0ff;font-family:'Inter',sans-serif;font-size:15px;outline:none;transition:border-color .2s}
.field-input:focus{border-color:rgba(245,197,24,.5)}
.field-input::placeholder{color:rgba(255,255,255,.16)}

/* --- QUESTION SCREEN ------------------------------------ */
#question-screen{display:none;min-height:100vh;flex-direction:column;background:#0a0a0a}
#question-screen.active{display:flex}

/* Progress bar */
#q-topbar{position:sticky;top:0;background:rgba(10,10,10,.95);backdrop-filter:blur(16px);padding:16px 24px 14px;border-bottom:1px solid rgba(255,255,255,.05);z-index:100;flex-shrink:0}
#q-progress-bar{width:100%;height:3px;background:rgba(255,255,255,.06);border-radius:2px;overflow:hidden;margin-bottom:10px}
#q-progress-fill{height:100%;background:#f5c518;border-radius:2px;transition:width .6s cubic-bezier(.4,0,.2,1);width:0%}
#q-progress-meta{display:flex;justify-content:space-between;align-items:center;max-width:700px;margin:0 auto;width:100%}
#q-section-chip{font-family:'Space Mono',monospace;font-size:9px;letter-spacing:.3em;text-transform:uppercase;color:rgba(245,197,24,.6)}
#q-count{font-family:'Space Mono',monospace;font-size:9px;color:rgba(255,255,255,.2)}

/* Question body */
#q-body{flex:1;display:flex;align-items:center;justify-content:center;padding:48px 24px}
.q-inner{width:100%;max-width:640px}

/* Who's asking label */
.q-asker{display:flex;align-items:center;gap:10px;margin-bottom:28px;opacity:.7}
.q-asker-dot{width:8px;height:8px;border-radius:50%;background:#f5c518;box-shadow:0 0 8px rgba(245,197,24,.5)}
.q-asker-name{font-family:'Space Mono',monospace;font-size:9px;letter-spacing:.3em;text-transform:uppercase;color:rgba(245,197,24,.6)}

.q-num{font-family:'Space Mono',monospace;font-size:9px;letter-spacing:.2em;color:rgba(255,255,255,.15);margin-bottom:10px}
.q-text{font-size:clamp(20px,3.5vw,32px);font-weight:700;line-height:1.25;letter-spacing:-.015em;margin-bottom:12px;color:#f0f0ff}
.q-hint{font-size:13px;color:rgba(255,255,255,.28);margin-bottom:28px;line-height:1.7;font-style:italic}
.q-textarea{width:100%;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:18px 20px;color:#f0f0ff;font-family:'Inter',sans-serif;font-size:15px;outline:none;resize:none;min-height:120px;line-height:1.7;transition:border-color .25s;-webkit-appearance:none}
.q-textarea:focus{border-color:rgba(245,197,24,.4);background:rgba(245,197,24,.02)}
.q-textarea::placeholder{color:rgba(255,255,255,.14)}

.q-footer{display:flex;align-items:center;justify-content:space-between;margin-top:20px;gap:16px;flex-wrap:wrap}
.q-skip{font-family:'Space Mono',monospace;font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:rgba(255,255,255,.2);background:none;border:none;cursor:none;transition:color .2s;padding:8px 0}
.q-skip:hover{color:rgba(255,255,255,.45)}
.q-next{display:inline-flex;align-items:center;gap:8px;padding:16px 36px;border-radius:12px;background:#f5c518;color:#0a0a0a;font-family:'Inter',sans-serif;font-size:15px;font-weight:700;border:none;cursor:none;transition:all .2s;box-shadow:0 4px 20px rgba(245,197,24,.2)}
.q-next:hover{transform:translateY(-2px);box-shadow:0 8px 32px rgba(245,197,24,.4);background:#f0bc00}
.q-next:disabled{opacity:.35;transform:none;box-shadow:none;cursor:not-allowed}
.q-char-count{font-family:'Space Mono',monospace;font-size:9px;color:rgba(255,255,255,.15);margin-left:auto}

/* --- REVEAL SCREEN (Q15) -------------------------------- */
#reveal-screen{display:none;min-height:100vh;flex-direction:column;align-items:center;justify-content:center;padding:60px 24px;text-align:center;position:relative;overflow:hidden;background:#0a0a0a}
#reveal-screen.active{display:flex}
.reveal-glow{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:800px;height:600px;border-radius:50%;background:radial-gradient(ellipse,rgba(245,197,24,.12),rgba(245,197,24,.04) 40%,transparent 70%);filter:blur(80px);pointer-events:none;animation:revealPulse 3s ease-in-out infinite}
@keyframes revealPulse{0%,100%{opacity:.8;transform:translate(-50%,-50%) scale(1)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.06)}}
.reveal-inner{position:relative;z-index:1;max-width:620px;width:100%}
.reveal-tag{font-family:'Space Mono',monospace;font-size:9px;letter-spacing:.4em;text-transform:uppercase;color:rgba(245,197,24,.6);margin-bottom:32px}
.reveal-name{font-size:clamp(48px,10vw,96px);font-weight:700;letter-spacing:-.03em;color:#f5c518;margin-bottom:28px;line-height:.95}
.reveal-quote{font-size:clamp(16px,2.5vw,22px);color:rgba(255,255,255,.55);line-height:1.75;font-weight:300;max-width:540px;margin:0 auto 40px;font-style:italic}
.reveal-quote strong{color:#f0f0ff;font-style:normal;font-weight:600}
.reveal-subtext{font-size:13px;color:rgba(255,255,255,.25);line-height:1.8;max-width:440px;margin:0 auto 44px;font-family:'Space Mono',monospace;letter-spacing:.04em}
.reveal-continue{display:inline-flex;align-items:center;gap:10px;padding:18px 48px;border-radius:14px;background:#f5c518;color:#0a0a0a;font-size:16px;font-weight:700;border:none;cursor:none;box-shadow:0 4px 24px rgba(245,197,24,.3);transition:all .2s}
.reveal-continue:hover{transform:translateY(-2px);box-shadow:0 8px 40px rgba(245,197,24,.5);background:#f0bc00}
.reveal-typing{overflow:hidden;white-space:nowrap;border-right:2px solid rgba(245,197,24,.7);font-family:'Space Mono',monospace;font-size:13px;color:rgba(245,197,24,.7);letter-spacing:.04em;width:0;animation:typing 2.5s steps(40,end) .5s forwards,blink .7s step-end infinite 3s}
@keyframes typing{to{width:100%}}
@keyframes blink{0%,100%{border-color:rgba(245,197,24,.7)}50%{border-color:transparent}}

/* --- PROCESSING ----------------------------------------- */
#processing{background:#0a0a0a}
.process-orb{width:72px;height:72px;border-radius:50%;background:radial-gradient(circle,rgba(245,197,24,.2),rgba(245,197,24,.06));border:1px solid rgba(245,197,24,.3);display:flex;align-items:center;justify-content:center;margin-bottom:32px;animation:orbPulse 2s ease-in-out infinite}
@keyframes orbPulse{0%,100%{box-shadow:0 0 0 0 rgba(245,197,24,.15),0 0 20px rgba(245,197,24,.1)}50%{box-shadow:0 0 0 16px rgba(245,197,24,0),0 0 50px rgba(245,197,24,.2)}}
.process-steps{display:flex;flex-direction:column;gap:10px;margin:28px 0;width:100%;max-width:340px}
.pstep{display:flex;align-items:center;gap:12px;font-size:12px;color:rgba(255,255,255,.25);font-family:'Space Mono',monospace;letter-spacing:.04em;opacity:0;transform:translateY(6px);transition:all .4s}
.pstep.active{color:rgba(255,255,255,.7);opacity:1;transform:translateY(0)}
.pstep.done{color:rgba(245,197,24,.7);opacity:1;transform:translateY(0)}
.pstep-dot{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.15);flex-shrink:0;transition:all .3s}
.pstep.done .pstep-dot{background:#f5c518}
.pstep.active .pstep-dot{background:#f5c518;box-shadow:0 0 7px rgba(245,197,24,.8)}

/* --- CONTEXT PACKAGE ------------------------------------ */
#context-pkg{display:none;padding:60px 24px 80px;background:#0a0a0a}
.pkg-wrap{max-width:680px;margin:0 auto}
.pkg-header{text-align:center;margin-bottom:44px}
.pkg-received{display:inline-flex;align-items:center;gap:8px;background:rgba(245,197,24,.07);border:1px solid rgba(245,197,24,.25);border-radius:100px;padding:7px 18px;font-family:'Space Mono',monospace;font-size:9px;letter-spacing:.25em;text-transform:uppercase;color:#f5c518;margin-bottom:22px}
.pkg-title{font-size:clamp(22px,4vw,38px);font-weight:700;margin-bottom:12px;line-height:1.2;letter-spacing:-.02em}
.pkg-sub{font-size:14px;color:rgba(255,255,255,.35);line-height:1.75;max-width:480px;margin:0 auto}

.score-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:36px 0}
.score-card{background:rgba(245,197,24,.03);border:1px solid rgba(245,197,24,.1);border-radius:14px;padding:20px 16px;text-align:center}
.score-label{font-family:'Space Mono',monospace;font-size:8px;letter-spacing:.3em;text-transform:uppercase;color:rgba(255,255,255,.28);margin-bottom:10px;display:block}
.score-val{font-size:28px;font-weight:700;color:#f5c518;display:block;line-height:1}
.score-max{font-size:11px;color:rgba(255,255,255,.18);margin-top:4px;display:block}

.pkg-doc{background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:28px;margin-bottom:28px;font-family:'Space Mono',monospace}
.pkg-doc-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.05)}
.pkg-doc-title{font-size:9px;letter-spacing:.3em;text-transform:uppercase;color:rgba(245,197,24,.55)}
.pkg-doc-id{font-size:9px;color:rgba(255,255,255,.15)}
.pkg-section{margin-bottom:16px}
.pkg-key{font-size:8px;letter-spacing:.3em;text-transform:uppercase;color:rgba(245,197,24,.45);margin-bottom:5px}
.pkg-val{font-size:12px;color:rgba(255,255,255,.55);line-height:1.7;font-family:'Inter',sans-serif;white-space:pre-wrap;word-break:break-word}
.pkg-divider{height:1px;background:rgba(255,255,255,.04);margin:14px 0}

.pkg-note{font-size:13px;color:rgba(255,255,255,.3);line-height:1.75;text-align:center;margin-bottom:28px}
.pkg-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* --- RESULT SCREENS ------------------------------------- */
.result-screen{display:none;min-height:100vh;flex-direction:column;align-items:center;justify-content:center;padding:60px 24px;text-align:center;position:relative;overflow:hidden;background:#0a0a0a}
.result-screen.active{display:flex}
.result-glow{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:700px;height:500px;pointer-events:none;border-radius:50%;filter:blur(80px);opacity:.12}

.result-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 20px;border-radius:100px;font-family:'Space Mono',monospace;font-size:9px;letter-spacing:.3em;text-transform:uppercase;margin-bottom:28px}
.badge-ruthless{background:rgba(245,197,24,.1);border:1px solid rgba(245,197,24,.4);color:#f5c518}
.badge-builder{background:rgba(245,197,24,.07);border:1px solid rgba(245,197,24,.3);color:rgba(245,197,24,.85)}
.badge-spark{background:rgba(245,197,24,.06);border:1px solid rgba(245,197,24,.25);color:rgba(245,197,24,.75)}
.badge-refind{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.5)}
.badge-branch{background:rgba(245,197,24,.12);border:1px solid rgba(245,197,24,.5);color:#f5c518}

.result-icon{font-size:52px;margin-bottom:18px;display:block}
.result-title{font-size:clamp(24px,4.5vw,44px);font-weight:700;line-height:1.15;margin-bottom:18px;max-width:600px;letter-spacing:-.02em}
.result-body{font-size:15px;color:rgba(255,255,255,.42);line-height:1.85;max-width:520px;margin-bottom:36px}

/* Boston preview card */
.boston-card{background:rgba(245,197,24,.03);border:1px solid rgba(245,197,24,.15);border-radius:18px;padding:26px 28px;max-width:500px;width:100%;margin-bottom:32px;text-align:left}
.bc-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.bc-avatar{width:38px;height:38px;border-radius:50%;background:rgba(245,197,24,.1);border:1px solid rgba(245,197,24,.3);display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}
.bc-name{font-size:14px;font-weight:700;color:#f0f0ff}
.bc-status{font-size:11px;color:#f5c518;display:flex;align-items:center;gap:5px;margin-top:2px}
.bc-status::before{content:'';width:5px;height:5px;border-radius:50%;background:#f5c518;box-shadow:0 0 6px rgba(245,197,24,.7);display:inline-block}
.bc-message{font-size:13px;color:rgba(255,255,255,.5);line-height:1.75;font-style:italic}
.bc-armed{font-family:'Space Mono',monospace;font-size:9px;letter-spacing:.15em;color:rgba(245,197,24,.5);margin-top:14px}

.result-card{background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:22px 26px;margin-bottom:28px;max-width:500px;width:100%;text-align:left}
.result-card-label{font-family:'Space Mono',monospace;font-size:8px;letter-spacing:.3em;text-transform:uppercase;color:rgba(255,255,255,.22);margin-bottom:10px}
.result-card-text{font-size:13px;color:rgba(255,255,255,.42);line-height:1.75}
.result-card-text strong{color:rgba(255,255,255,.72)}

.result-actions{display:flex;flex-direction:column;align-items:center;gap:12px;margin-bottom:24px}
.result-footnote{font-size:11px;color:rgba(255,255,255,.18);line-height:1.7;max-width:420px;font-family:'Space Mono',monospace}

/* Tier pricing */
.tier-price-display{background:rgba(245,197,24,.03);border:1px solid rgba(245,197,24,.12);border-radius:14px;padding:24px 28px;max-width:500px;width:100%;margin-bottom:28px}
.tier-price-options{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:10px}
.tier-price-option{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:14px 20px;text-align:center;flex:1;min-width:120px}
.tier-price-option.featured{border-color:rgba(245,197,24,.4);background:rgba(245,197,24,.06)}
.tier-price-option-label{font-family:'Space Mono',monospace;font-size:8px;letter-spacing:.3em;text-transform:uppercase;color:rgba(255,255,255,.3);margin-bottom:8px;display:block}
.tier-price-option-amt{font-size:26px;font-weight:700;color:#f0f0ff;letter-spacing:-.02em;display:block}
.tier-price-option-amt span{font-size:13px;color:rgba(255,255,255,.35);font-weight:400}
.tier-price-option-sub{font-size:11px;color:rgba(255,255,255,.25);font-family:'Space Mono',monospace;margin-top:4px;display:block}
.tier-price-note{font-size:11px;color:rgba(255,255,255,.25);font-family:'Space Mono',monospace;text-align:center;line-height:1.7}

/* Branch */
.branch-steps{display:flex;gap:0;max-width:480px;width:100%;margin-bottom:32px}
.bs-step{flex:1;text-align:center;position:relative}
.bs-step:not(:last-child)::after{content:'';position:absolute;top:15px;right:0;width:100%;height:1px;background:linear-gradient(90deg,rgba(245,158,11,.35),rgba(245,158,11,.08));transform:translateX(50%)}
.bs-dot{width:30px;height:30px;border-radius:50%;background:rgba(245,197,24,.08);border:1px solid rgba(245,197,24,.3);display:flex;align-items:center;justify-content:center;margin:0 auto 8px;font-size:13px;position:relative;z-index:1}
.bs-label{font-size:10px;color:rgba(255,255,255,.3);font-family:'Space Mono',monospace;letter-spacing:.04em}

/* --- RESPONSIVE ----------------------------------------- */
@media(max-width:580px){
  .score-row{grid-template-columns:1fr 1fr}
  .branch-steps{gap:8px}
  .bs-step:not(:last-child)::after{display:none}
  .tier-price-display{flex-direction:column;text-align:center}
  .q-footer{flex-direction:column-reverse;align-items:stretch}
  .q-next{width:100%;justify-content:center}
  .q-skip{text-align:center}
}

/* -- REVEAL BLOCKS ---------------------------------------- */
.reveal-block {
  background: rgba(245,197,24,.04);
  border: 1px solid rgba(245,197,24,.15);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
  max-width: 600px;
  width: 100%;
  text-align: left;
}
.reveal-block.refind-received {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
}
.reveal-label {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(245,197,24,.55);
  margin-bottom: 12px;
}
.reveal-insight {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.reveal-insight:last-child { border-bottom: none; }
.reveal-insight::before { content: '— '; color: rgba(245,197,24,.5); }
.reveal-book {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.reveal-book:last-child { border-bottom: none; }
.reveal-book-dot { width: 6px; height: 6px; border-radius: 50%; background: #f5c518; flex-shrink: 0; }
.refind-context-preview { display: flex; flex-direction: column; gap: 8px; }
.refind-ctx-item {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}
.refind-ctx-label {
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.25);
  margin-bottom: 3px;
}

