/* =========================================
   SHIPOSKIP — Dark Amber CRT Terminal Aesthetic
   ========================================= */

:root {
  --bg: #080b14;
  --surface: #0e1420;
  --card: #111827;
  --card-border: #1e2a3a;
  --amber: #ffb000;
  --amber-dim: #996a00;
  --amber-glow: rgba(255, 176, 0, 0.12);
  --mint: #22d3a0;
  --mint-glow: rgba(34, 211, 160, 0.12);
  --text: #e8e0d0;
  --text-dim: #6b7280;
  --text-muted: #4b5563;
  --red: #ff4d4d;
  --yellow: #ffd166;
  --green: #22d3a0;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --max-w: 1100px;
  --pad: 0 clamp(20px, 5vw, 60px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* CRT scanline overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 1000;
}

::selection {
  background: var(--amber);
  color: #000;
}

/* ---- HERO ---- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px var(--pad) 80px;
  min-height: 100vh;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-headline br { display: block; }

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 36px;
  font-family: var(--font-display);
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  padding: 4px 12px;
  display: inline-block;
  width: fit-content;
}

.cta-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* TERMINAL */
.hero-terminal {
  position: relative;
}

.hero-terminal::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, var(--amber-glow) 0%, transparent 70%);
  pointer-events: none;
}

.terminal-window {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(255, 176, 0, 0.08), 0 20px 60px rgba(0,0,0,0.5);
  font-family: var(--font-mono);
  font-size: 13px;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--card-border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.terminal-title {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 20px 20px 24px;
  min-height: 340px;
}

.t-line { display: flex; gap: 8px; align-items: baseline; margin-bottom: 4px; }
.t-prompt { color: var(--amber); font-weight: 600; flex-shrink: 0; }
.t-cmd { color: var(--text); }
.t-dim { color: var(--text-dim); }
.t-ok { color: var(--mint); }
.t-warn { color: var(--yellow); }
.t-spacer { height: 16px; }

.t-progress {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,176,0,0.05);
  margin-bottom: 4px;
  font-size: 12px;
}

.t-label {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.t-skip {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px rgba(255, 77, 77, 0.5);
}

.t-reason {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 6px;
  padding: 10px 12px;
  background: rgba(255, 77, 77, 0.06);
  border-left: 2px solid var(--red);
  border-radius: 0 4px 4px 0;
}

.t-cursor-line { display: flex; align-items: center; gap: 8px; }
.t-cursor {
  display: inline-block;
  width: 8px;
  color: var(--amber);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---- SECTION SHARED ---- */
.section-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.65;
}

/* ---- SCAN ---- */
.scan {
  padding: 80px var(--pad);
  border-top: 1px solid var(--card-border);
  max-width: var(--max-w);
  margin: 0 auto;
}

.scan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scan-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.scan-card:hover {
  border-color: var(--amber-dim);
  box-shadow: 0 0 30px var(--amber-glow);
}

.scan-icon {
  margin-bottom: 16px;
  display: inline-block;
}

.scan-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.scan-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 400;
}

.scan-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  padding: 3px 8px;
  display: inline-block;
  letter-spacing: 0.05em;
}

/* ---- VERDICT ---- */
.verdict {
  padding: 80px var(--pad);
  background: var(--surface);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.verdict-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.verdict-text h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.verdict-desc {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
}

.verdict-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.verdict-card {
  border-radius: 10px;
  padding: 20px;
  border: 1px solid;
}

.verdict-card.ship {
  border-color: rgba(34, 211, 160, 0.3);
  background: rgba(34, 211, 160, 0.05);
}

.verdict-card.skip {
  border-color: rgba(255, 77, 77, 0.3);
  background: rgba(255, 77, 77, 0.05);
}

.verdict-card.pivot {
  border-color: rgba(255, 176, 0, 0.3);
  background: rgba(255, 176, 0, 0.05);
}

.verdict-status {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.ship .verdict-status { color: var(--mint); }
.skip .verdict-status { color: var(--red); }
.pivot .verdict-status { color: var(--amber); }

.verdict-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.verdict-body {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ---- MOAT ---- */
.moat {
  padding: 80px var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.moat-inner { max-width: 760px; margin: 0 auto; }

.moat-inner h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 48px;
}

.moat-grid { display: flex; flex-direction: column; gap: 32px; }

.moat-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}

.moat-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber);
  font-weight: 600;
  padding-top: 4px;
}

.moat-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.moat-content p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  font-style: italic;
}

/* ---- CLOSING ---- */
.closing {
  padding: 80px var(--pad);
  background: var(--surface);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.closing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.closing-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.closing-text p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}

.closing-value {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-row {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 13px;
}

.value-label {
  color: var(--text-dim);
  flex-shrink: 0;
  width: 180px;
}

.value-dots {
  flex: 1;
  border-bottom: 1px dotted var(--card-border);
  margin: 0 10px 4px;
}

.value-val {
  color: var(--amber);
  flex-shrink: 0;
}

/* ---- FOOTER ---- */
footer {
  padding: 40px var(--pad);
  border-top: 1px solid var(--card-border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-copy p {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
    min-height: auto;
  }
  .hero-terminal { order: -1; }
  .scan-grid { grid-template-columns: 1fr; }
  .verdict-layout { grid-template-columns: 1fr; }
  .verdict-cards { grid-template-columns: 1fr; }
  .closing-inner { grid-template-columns: 1fr; }
  .moat-item { grid-template-columns: 36px 1fr; }
}

@media (max-width: 600px) {
  .value-label { width: 120px; font-size: 12px; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
  .hero { padding-top: 60px; }
  .terminal-body { font-size: 11px; min-height: 280px; }
}