/* =============================
   PROMPT CHEAT CODES
   Aesthetic: Classified Briefing × Terminal Cyberpunk
   Light paper background, redacted ink, electric green accents
   ============================= */

:root {
  --paper:   #f0ede6;
  --paper2:  #e8e4db;
  --ink:     #1a1a18;
  --ink2:    #3a3a35;
  --ink3:    #666660;
  --green:   #00e070;
  --green2:  #00ff8c;
  --cyan:    #00eeff;
  --red:     #e03020;
  --gold:    #c8a000;
  --redact:  #1a1a18;
  --border:  #c8c4ba;
  --shadow:  rgba(0,0,0,0.12);

  --f-body:  'Courier Prime', 'Courier New', monospace;
  --f-title: 'Syne', sans-serif;
  --f-mono:  'Share Tech Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  overflow-x: hidden;
  cursor: default;
}

/* SCANLINES OVERLAY */
.scanlines {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.025) 3px, rgba(0,0,0,0.025) 4px
  );
  opacity: 0.6;
}

/* CLASSIFIED STAMP */
.classified-stamp {
  position: fixed;
  top: 40%;
  right: -60px;
  font-family: var(--f-title);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(224,48,32,0.08);
  transform: rotate(90deg);
  letter-spacing: 0.3em;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* TOP BAR */
.topbar {
  background: var(--ink);
  color: var(--green);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 6px 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 2px solid var(--green);
}
.topbar-blink {
  color: var(--red);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 2rem;
  position: relative;
  border-bottom: 3px double var(--border);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

.hero-inner {
  max-width: 900px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* DOCUMENT HEADER */
.doc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  flex-wrap: wrap;
  gap: 1rem;
}
.doc-header-left { display: flex; flex-direction: column; gap: 3px; }
.doc-label {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ink2);
}
.watermark-box {
  border: 2px solid var(--red);
  color: var(--red);
  font-family: var(--f-mono);
  font-size: 0.65rem;
  padding: 6px 10px;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

/* HERO NUMBER */
.hero-number {
  font-family: var(--f-title);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 800;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 3px var(--ink);
  letter-spacing: -0.05em;
  margin-bottom: -1rem;
  animation: fadeUp 0.8s ease both;
}

.hero-title {
  font-family: var(--f-title);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease 0.1s both;
}

.to-text { color: var(--ink2); font-size: 0.6em; }

/* REDACTED TEXT */
.redacted-hero {
  background: var(--redact);
  color: var(--redact);
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  display: inline-block;
  padding: 0 4px;
}
.redacted-hero:hover,
.redacted-hero.revealed {
  background: var(--green);
  color: var(--ink);
}
.redacted-hero.glitch-out {
  animation: revealGlitch 0.6s ease both;
}

@keyframes revealGlitch {
  0%  { letter-spacing: 0.8em; opacity: 0; }
  40% { letter-spacing: -0.05em; opacity: 1; color: var(--green2); }
  60% { letter-spacing: 0.02em; }
  100%{ letter-spacing: normal; }
}

.subtitle-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.2s both;
}
.subtitle-pill {
  background: var(--ink);
  color: var(--green);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  padding: 4px 12px;
  letter-spacing: 0.1em;
}
.subtitle-text { font-size: 0.95rem; color: var(--ink2); flex: 1; min-width: 200px; }
.subtitle-text em { color: var(--ink); font-style: normal; font-weight: bold; border-bottom: 2px solid var(--red); }

/* BEFORE / AFTER */
.ba-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s ease 0.3s both;
}
.ba-box {
  background: var(--paper2);
  border: 1.5px solid var(--border);
  padding: 1.25rem;
}
.ba-before { border-left: 4px solid var(--red); }
.ba-after  { border-left: 4px solid var(--green); }
.ba-label {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  color: var(--ink2);
}
.ba-before .ba-label { color: var(--red); }
.ba-after .ba-label  { color: var(--green); }
.ba-prompt {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.ba-prompt code {
  background: rgba(0,224,112,0.15);
  border: 1px solid rgba(0,224,112,0.3);
  padding: 1px 5px;
  font-size: 0.8rem;
  color: #005a30;
}
.ba-result { font-size: 0.8rem; color: var(--ink2); font-style: italic; }
.ba-arrow {
  font-size: 2rem;
  text-align: center;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }

/* CTA BUTTON */
.cta-hero {
  display: inline-block;
  background: var(--ink);
  color: var(--green);
  font-family: var(--f-mono);
  font-size: 1rem;
  letter-spacing: 0.15em;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: all 0.15s;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease 0.4s both;
}
.cta-hero:hover {
  background: var(--green);
  color: var(--ink);
  border-color: var(--green);
}

.viral-line {
  font-size: 0.78rem;
  color: var(--ink3);
  animation: fadeUp 0.8s ease 0.5s both;
}
.viral-line em { color: var(--ink); font-style: normal; }
.copy-viral-btn {
  background: none;
  border: 1px solid var(--border);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  padding: 2px 10px;
  cursor: pointer;
  color: var(--ink2);
  margin-left: 6px;
  transition: all 0.15s;
}
.copy-viral-btn:hover { background: var(--ink); color: var(--green); border-color: var(--ink); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* MISSION BAR */
.mission-bar {
  background: var(--ink);
  padding: 1rem 2rem;
  border-bottom: 2px solid var(--green);
}
.mission-bar-inner {
  max-width: 900px; margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.mission-label { font-family: var(--f-mono); font-size: 0.72rem; color: var(--green); letter-spacing: 0.05em; white-space: nowrap; }
.mission-live  { font-family: var(--f-mono); font-size: 0.65rem; color: var(--ink3); white-space: nowrap; }
.mission-track { height: 8px; background: #2a2a28; border: 1px solid #3a3a38; }
.mission-fill  { height: 100%; background: var(--green); transition: width 2.5s cubic-bezier(0.22,1,0.36,1); min-width: 4px; }

/* SECTION COMMON */
.section-stamp {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 3px 10px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--f-title);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.section-sub {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--ink3);
  display: block;
  font-weight: 400;
  letter-spacing: 0;
}

/* HACKS SECTION */
.hacks-section {
  padding: 5rem 2rem;
  background: var(--paper2);
  border-top: 3px double var(--border);
  border-bottom: 3px double var(--border);
}
.hacks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1.5px solid var(--border);
  margin: 2rem 0;
  max-width: 1000px;
}
.hack-card {
  background: var(--paper);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 0.75rem;
  align-items: start;
  transition: background 0.2s;
  position: relative;
}
.hack-card:hover { background: var(--paper2); }
.hack-unlocked { border-left: 3px solid var(--green); }
.hack-locked   { border-left: 3px solid var(--border); }

.hack-num {
  font-family: var(--f-mono);
  font-size: 1.5rem;
  color: var(--ink3);
  line-height: 1;
}
.hack-unlocked .hack-num { color: var(--green); }

.hack-name {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: bold;
  color: var(--ink);
  margin-bottom: 4px;
}
.hack-locked .hack-name { color: var(--redact); background: var(--redact); border-radius: 2px; }
.hack-desc { font-size: 0.78rem; color: var(--ink2); line-height: 1.5; }
.hack-locked .hack-desc { color: var(--border); }
.hack-detail {
  margin-top: 0.5rem;
  font-size: 0.76rem;
  color: #4a7a4a;
  background: rgba(0,224,112,0.08);
  border-left: 2px solid var(--green);
  padding: 6px 10px;
  line-height: 1.6;
}
.hack-detail code { background: rgba(0,224,112,0.15); padding: 0 4px; font-size: 0.74rem; }
.hack-tier-badge {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 0;
  white-space: nowrap;
  align-self: start;
}
.badge-free   { background: var(--green); color: var(--ink); }
.badge-locked { background: #e0ddd5; color: var(--ink3); border: 1px solid var(--border); }
.hacks-cta-line {
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--ink2);
  text-align: center;
}
.hacks-cta-line a { color: var(--ink); font-weight: bold; text-decoration: underline; text-underline-offset: 3px; }

/* PROOF */
.proof-section {
  padding: 5rem 2rem;
  background: var(--paper);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}
.proof-card {
  background: var(--paper2);
  border: 1.5px solid var(--border);
  border-top: 3px solid var(--green);
  padding: 1.5rem;
}
.proof-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 0.75rem;
  font-style: italic;
}
.proof-card span {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--ink3);
}

/* TIERS */
.tiers-section {
  padding: 5rem 2rem;
  background: var(--ink);
  color: var(--paper);
}
.tiers-section .section-stamp { color: var(--green); border-color: var(--green); }
.tiers-section .section-title { color: var(--paper); }
.tiers-intro { color: #999; font-size: 0.85rem; margin-bottom: 2.5rem; font-family: var(--f-mono); }
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  background: #2a2a28;
  border: 1.5px solid #2a2a28;
  max-width: 1200px;
}
.tier-card {
  background: #111110;
  padding: 2rem 1.5rem;
  position: relative;
  display: flex; flex-direction: column; gap: 1rem;
  transition: background 0.2s;
}
.tier-card:hover { background: #1a1a18; }
.tier-featured {
  background: #0a120f;
  border: 1.5px solid var(--green);
  z-index: 1;
  box-shadow: 0 0 40px rgba(0,224,112,0.15);
}
.tier-vip { background: #120f00; }

.featured-ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--ink);
  font-family: var(--f-mono); font-size: 0.65rem;
  padding: 4px 14px; letter-spacing: 0.1em; white-space: nowrap;
}
.tier-clearance { font-family: var(--f-mono); font-size: 0.65rem; letter-spacing: 0.15em; color: #666; }
.tier-price-big {
  font-family: var(--f-title);
  font-size: 4rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.tier-name {
  font-family: var(--f-mono);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--paper);
}
.tier-desc { font-size: 0.8rem; color: #888; line-height: 1.6; }
.tier-list { list-style: none; font-size: 0.78rem; color: #aaa; flex: 1; }
.tier-list li { padding: 4px 0; border-bottom: 1px solid #1e1e1c; }
.tier-list li:last-child { border: none; }
.tier-scarcity { font-family: var(--f-mono); font-size: 0.68rem; color: #666; font-style: italic; }
.tier-btn {
  display: block; text-align: center;
  background: transparent;
  border: 1.5px solid #444;
  color: #aaa;
  font-family: var(--f-mono);
  font-size: 0.78rem; letter-spacing: 0.1em;
  padding: 0.8rem 1rem;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
}
.tier-btn:hover { border-color: var(--green); color: var(--green); }
.tier-btn-featured { background: var(--green); color: var(--ink); border-color: var(--green); }
.tier-btn-featured:hover { background: var(--green2); border-color: var(--green2); color: #000; }
.tier-btn-vip { border-color: gold; color: gold; }
.tier-btn-vip:hover { background: gold; color: #000; }

/* PITCH */
.pitch-section {
  padding: 5rem 2rem;
  background: var(--paper2);
  border-top: 3px double var(--border);
}
.pitch-inner { max-width: 800px; }
.pitch-inner h2 { font-family: var(--f-title); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 1.25rem; }
.pitch-inner p { font-size: 1rem; line-height: 1.9; color: var(--ink2); }
.pitch-inner p strong { color: var(--ink); }
.pitch-inner p em { color: var(--ink); font-style: italic; }
.pitch-stats { display: flex; gap: 3rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pstat { display: flex; flex-direction: column; }
.pstat-n { font-family: var(--f-title); font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1; }
.pstat-l { font-family: var(--f-mono); font-size: 0.7rem; color: var(--ink3); letter-spacing: 0.05em; margin-top: 2px; }

/* FAQ */
.faq-section { padding: 5rem 2rem; background: var(--paper); }
.faq-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; max-width: 1000px; margin: 2rem auto 0;
}
.faq-q {
  background: var(--paper2); border: 1.5px solid var(--border);
  padding: 1.5rem;
}
.faq-q strong { font-family: var(--f-mono); font-size: 0.8rem; color: var(--ink); display: block; margin-bottom: 0.5rem; }
.faq-q p { font-size: 0.82rem; color: var(--ink2); line-height: 1.6; }

/* WALL */
.wall-section { padding: 4rem 2rem; background: var(--paper2); border-top: 3px double var(--border); }
.wall-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px; max-width: 1000px; margin: 1.5rem auto 0;
}
.wall-entry {
  background: var(--paper); border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  display: flex; flex-direction: column; gap: 3px;
}
.wall-name { font-family: var(--f-mono); font-size: 0.75rem; color: var(--ink); }
.wall-tier { font-family: var(--f-mono); font-size: 0.65rem; color: var(--green); }

/* FOOTER */
.footer { background: var(--ink); padding: 3rem 2rem; text-align: center; border-top: 2px solid var(--green); }
.footer-logo { font-family: var(--f-title); font-size: 2rem; font-weight: 800; color: var(--green); margin-bottom: 1rem; }
.footer-disclaimer { font-size: 0.8rem; color: #666; line-height: 1.8; max-width: 600px; margin: 0 auto 0.5rem; }
.footer-disclaimer strong { color: var(--paper); }
.footer-small { font-size: 0.7rem; color: #333; max-width: 500px; margin: 0 auto; }

/* MODAL */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(3px);
}
.modal-box {
  background: var(--ink);
  border: 2px solid var(--green);
  padding: 2.5rem 2rem;
  max-width: 460px; width: 90%;
  text-align: center;
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 0 40px rgba(0,224,112,0.2);
}
.modal-top {
  font-family: var(--f-mono);
  font-size: 0.65rem; letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 1rem;
}
.modal-box h2 { font-family: var(--f-title); font-size: 2.5rem; color: var(--green); margin-bottom: 0.75rem; }
.modal-box p { color: #aaa; font-size: 0.85rem; margin-bottom: 1.25rem; }
.modal-steps { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.modal-step { background: #1a1a18; border: 1px solid #2a2a28; padding: 0.6rem 1rem; font-size: 0.8rem; color: #ccc; text-align: left; font-family: var(--f-mono); }
.modal-close { background: var(--green); color: var(--ink); border: none; font-family: var(--f-mono); font-size: 0.9rem; letter-spacing: 0.1em; padding: 0.8rem 2rem; cursor: pointer; width: 100%; transition: background 0.15s; }
.modal-close:hover { background: var(--green2); }
.modal-disclaimer { font-size: 0.65rem; color: #444; margin-top: 1rem; }
@keyframes modalIn { from { transform: scale(0.8) translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* CONFETTI */
#confetti-container { position: fixed; inset: 0; pointer-events: none; z-index: 1000; overflow: hidden; }
.confetti-piece { position: absolute; opacity: 0; animation: confettiFall 3s ease-in forwards; }
@keyframes confettiFall { 0% { transform: translateY(-20px) rotate(0deg); opacity: 1; } 100% { transform: translateY(110vh) rotate(720deg); opacity: 0; } }

/* RESPONSIVE */
@media(max-width:700px) {
  .ba-container { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); }
  .mission-bar-inner { grid-template-columns: 1fr; gap: 0.5rem; }
  .tiers-grid { grid-template-columns: 1fr; gap: 1.5rem; background: transparent; border: none; }
  .tier-card { border: 1.5px solid #2a2a28; }
  .hacks-grid { grid-template-columns: 1fr; }
  .doc-header { flex-direction: column; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink); }
