/* ============================================
   TESTEDBYCREATORS — Dark Premium Media Lab
   ============================================ */

:root {
  --bg:        #0B0D10;
  --bg-card:   #141820;
  --bg-raised: #1A2030;
  --text:      #F5F7FA;
  --text-muted:#9CA3AF;
  --text-dim:  #4B5563;
  --blue:      #3B82F6;
  --blue-dim:  #1D4ED8;
  --amber:     #F4C542;
  --amber-dim: #B45309;
  --green:     #10B981;
  --red:       #EF4444;
  --border:    #252A33;
  --border-bright: #374151;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { line-height: 1.15; }

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--blue); }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.accent-amber { color: var(--amber); }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-yt {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 6px;
  color: var(--text) !important;
  font-size: 13px !important;
  transition: border-color 0.2s, background 0.2s !important;
}
.nav-yt:hover {
  border-color: var(--blue) !important;
  background: var(--bg-raised) !important;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.3px;
}
.btn-primary:hover { background: var(--blue-dim); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--border-bright);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--blue); background: var(--bg-raised); }

/* ── HERO ── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.experiment-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--blue);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1.0;
  letter-spacing: 1px;
  margin-bottom: 24px;
  max-width: 700px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ── EMAIL CAPTURE CARD ── */
.capture-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  max-width: 560px;
  position: relative;
  z-index: 10;
}
#beehiiv-form {
  position: relative;
  z-index: 11;
}
.capture-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--amber);
  margin-bottom: 10px;
}
.capture-dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.capture-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.capture-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus { border-color: var(--blue); }
.form-input::placeholder { color: var(--text-dim); }
.capture-fine {
  color: var(--text-dim);
  font-size: 12px;
  margin-top: 8px;
}

/* ── PILLARS ── */
.pillars {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar-card:hover {
  border-color: var(--blue);
  background: var(--bg-raised);
  transform: translateY(-2px);
}
.pillar-icon { font-size: 28px; margin-bottom: 4px; }
.pillar-name { font-weight: 600; font-size: 15px; }
.pillar-desc { color: var(--text-muted); font-size: 13px; line-height: 1.5; flex: 1; }
.pillar-arrow { color: var(--blue); font-size: 16px; margin-top: 8px; }

/* ── EXPERIMENT SECTION ── */
.experiment {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.experiment-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.experiment-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--text);
}
.experiment-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 28px;
}
.experiment-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--blue);
  line-height: 1;
}
.stat-num.accent-amber { color: var(--amber); }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 48px; background: var(--border); }

/* Terminal */
.experiment-terminal {
  background: #0D1117;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
}
.terminal-bar {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.t-dot.red    { background: #EF4444; }
.t-dot.yellow { background: #F59E0B; }
.t-dot.green  { background: #10B981; }
.t-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}
.terminal-body { padding: 20px; }
.t-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(37,42,51,0.5);
  font-size: 13px;
}
.t-line:last-child { border-bottom: none; }
.t-key { color: var(--text-muted); }
.t-keep  { color: var(--green); }
.t-test  { color: var(--amber); }
.t-cut   { color: var(--red); }
.t-pending { color: var(--text-dim); }
.t-blink .t-pending { animation: blink 1.2s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ── ABOUT STRIP ── */
.about-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}
.about-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.about-strip-text p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
}
.about-strip-text strong { color: var(--text); }

/* ── PAGE HERO ── */
.page-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
}
.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.page-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 540px;
}

/* ── STACK LEGEND ── */
.stack-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
}
.legend-item { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }

/* ── TOOLS SECTION ── */
.tools-section { padding: 60px 0; }

.tool-category { margin-bottom: 48px; }
.category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.category-icon { font-size: 20px; }
.category-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.tool-card.keep  { border-left: 3px solid var(--green); }
.tool-card.testing { border-left: 3px solid var(--amber); }
.tool-card.cut   { border-left: 3px solid var(--red); opacity: 0.75; }

.tool-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 16px;
}
.tool-name {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
}
.tool-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
}
.tool-verdict {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
}
.keep-badge  { background: rgba(16,185,129,0.1); color: var(--green); border: 1px solid rgba(16,185,129,0.3); }
.test-badge  { background: rgba(244,197,66,0.1);  color: var(--amber); border: 1px solid rgba(244,197,66,0.3); }
.cut-badge   { background: rgba(239,68,68,0.1);   color: var(--red);   border: 1px solid rgba(239,68,68,0.3); }

.tool-story { margin-bottom: 20px; }
.story-row {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(37,42,51,0.6);
  font-size: 14px;
}
.story-row:last-child { border-bottom: none; }
.story-label {
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  min-width: 120px;
  padding-top: 1px;
}
.story-val { color: var(--text-muted); line-height: 1.5; }

.tool-learned {
  background: rgba(244,197,66,0.05);
  border: 1px solid rgba(244,197,66,0.15);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
}
.learned-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.learned-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.learned-list li {
  color: var(--text-muted);
  font-size: 13px;
  padding-left: 16px;
  position: relative;
}
.learned-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
}

.tool-scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.score-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
.score-bar {
  height: 4px;
  background: var(--bg-raised);
  border-radius: 2px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
}
.score-fill.amber { background: var(--amber); }

.tool-cta {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(59,130,246,0.3);
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.tool-cta:hover { background: rgba(59,130,246,0.08); border-color: var(--blue); }

.cut-note {
  color: var(--text-dim);
  font-size: 13px;
  font-style: italic;
  margin-top: 12px;
}

/* ── INSIGHT CARD ── */
.insight-card {
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(244,197,66,0.06));
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 40px;
  margin: 32px 0;
  text-align: center;
}
.insight-quote {
  font-family: 'DM Sans', sans-serif;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.insight-source {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* ── CAPTURE SECTION ── */
.capture-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

/* ── ABOUT PAGE ── */
.about-section { padding: 60px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}
.about-lead {
  font-size: 20px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 300;
}
.about-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.inline-link { color: var(--blue); text-decoration: none; }
.inline-link:hover { text-decoration: underline; }
.about-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
}
.sidebar-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-list li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.sidebar-list li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-link {
  display: block;
  margin-top: 16px;
  color: var(--blue);
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
}
.disclosure-card p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: var(--bg-card);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-brand .logo { margin-bottom: 8px; display: block; }
.footer-brand p { color: var(--text-dim); font-size: 13px; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclosure {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 700px;
}
.footer-disclosure strong { color: var(--text-muted); }
.footer-copy { font-size: 12px; color: var(--text-dim); }

/* ── VERDICT COLORS (inline) ── */
.t-keep  { color: var(--green);  font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.t-test  { color: var(--amber);  font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.t-cut   { color: var(--red);    font-family: 'JetBrains Mono', monospace; font-size: 11px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .experiment-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 52px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-yt) { display: none; }
  .story-row { flex-direction: column; gap: 4px; }
  .story-label { min-width: unset; }
  .tool-scores { grid-template-columns: 1fr 1fr; }
  .experiment-stats { gap: 16px; }
}
