:root {
  --bg-color: #000000;
  --text-main: #e0e0e0;
  --text-dim: #666666;
  --accent-amber: #ffb000;
  --accent-green: #33ff00;
  --accent-red: #ff3333;
  --font-headline: "Playfair Display", serif;
  --font-mono: "IBM Plex Mono", "DM Mono", monospace;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-mono);
  overflow-x: hidden;
  line-height: 1.5;
}

/* TYPOGRAPHY */
h1.headline {
  font-family: var(--font-headline);
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.sub-headline {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  max-width: 600px;
}

/* SECTION 1: HERO */
.hero-section {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid #222;
}

#hero-graph {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 200px;
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0.4;
}

.hero-content {
  z-index: 1;
  text-align: center;
  background: rgba(0, 0, 0, 0.4); /* Slight readability boost */
  padding: 20px;
  backdrop-filter: blur(2px);
}

.cta-button {
  display: inline-block;
  color: white;
  text-decoration: none;
  border: 1px solid #444;
  padding: 12px 24px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  border-color: white;
  background: white;
  color: black;
}

/* SECTION 2: PROOF */
.proof-section {
  padding: 100px 5%;
  border-bottom: 1px solid #222;
}

.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.chart-container {
  height: 400px;
  border: 1px solid #222;
  position: relative;
  padding: 20px;
}

.chart-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.scrubber-container {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.scrubber {
  flex-grow: 1;
  cursor: pointer;
  accent-color: var(--accent-amber);
}

.caption-container {
  text-align: center;
  border-top: 1px solid #222;
  padding-top: 20px;
}

.caption {
  font-family: var(--font-headline);
  font-size: 1.5rem;
}

.highlight {
  color: var(--accent-amber);
  border-bottom: 1px solid var(--accent-amber);
}

/* SECTION 3: METHODOLOGY */
.methodology-section {
  padding: 80px 10%;
  border-bottom: 1px solid #222;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #333; /* Grid line color */
  border: 1px solid #333;
}

.grid-item {
  background: black;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  height: 250px;
  justify-content: space-between;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.spec-value {
  font-size: 1.5rem;
  font-weight: 500;
  color: white;
}

.spec-detail {
  font-size: 0.85rem;
  color: var(--accent-green);
}

/* SECTION 4: TERMINAL */
.terminal-section {
  padding: 100px 0;
  display: flex;
  justify-content: center;
  background: #050505;
}

.terminal-window {
  width: 600px;
  background: black;
  border: 1px solid #333;
  font-family: "IBM Plex Mono", monospace;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.terminal-header {
  background: #111;
  color: #444;
  padding: 5px 10px;
  font-size: 0.75rem;
  border-bottom: 1px solid #333;
  text-align: center;
}

.terminal-body {
  padding: 20px;
  height: 400px;
  color: var(--accent-amber);
  font-size: 0.9rem;
}

.input-line {
  margin-bottom: 20px;
  border-bottom: 1px solid #222;
  padding-bottom: 10px;
}

.prompt {
  color: #555;
  margin-right: 10px;
}
.cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.output-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
.output-val {
  color: white;
}
.val-high {
  color: var(--accent-green);
}
.val-low {
  color: var(--accent-green);
} /* Actually low risk usually green too in compliance context? Or maybe red/amber? Let's use dim for low risk, red for high risk. Wait, user said "High jobs" -> High signal? Let's stick to amber/white default or specific colors for 'CRITICAL' */
.val-critical {
  color: var(--accent-red);
  font-weight: bold;
}

/* SECTION 5: FOOTER */
.footer-section {
  padding: 60px 5%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.8rem;
  color: #444;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  margin-right: 20px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr 1fr;
  }
  .split-screen {
    grid-template-columns: 1fr;
  }
  h1.headline {
    font-size: 2.5rem;
  }
  .terminal-window {
    width: 90%;
  }
}
