/* ===== DEMO PAGES SPECIFIC STYLES ===== */
:root {
  --gold: #c9a96e;
  --gold-light: #e0c68c;
  --bg-dark: #0e0e0e;
  --bg-card: #1a1a1a;
  --text: #e0e0e0;
  --text-muted: #a0a0a0;
  --border: #2a2a2a;
  --focus-ring: 0 0 0 2px var(--gold);
}

/* ---------- demos.php ---------- */
.demos-hero {
  padding: 6rem 2rem 4rem;
  text-align: center;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
}
.demos-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
}
.demos-hero .hero-lead {
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 500;
  max-width: 720px;
  margin: 0 auto 2rem;
}
.demos-hero p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

.demos-catalogue {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: border-color 0.2s;
}
.demo-card:hover {
  border-color: var(--gold-light);
}
.demo-card .demo-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  padding: 0.15em 0.8em;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}
.demo-card h2 {
  font-size: 1.8rem;
  color: #fff;
  margin: 0 0 0.25rem;
}
.demo-card .product-name {
  color: var(--gold-light);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.demo-card .demo-description {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 700px;
}
.demo-card .demo-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}
.demo-card .demo-action:hover,
.demo-card .demo-action:focus {
  background: var(--gold);
  color: #000;
}

.demo-philosophy {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 2rem;
}
.demo-philosophy h2 {
  font-size: 1.8rem;
  color: #fff;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.philosophy-item {
  border-left: 3px solid var(--gold-light);
  padding-left: 1.5rem;
}
.philosophy-item h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.philosophy-item p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- demo.php ---------- */
.demo-product-hero {
  background: var(--bg-dark);
  padding: 5rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.demo-product-hero h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  color: #fff;
  font-weight: 700;
}
.demo-product-hero .result-statement {
  color: var(--gold);
  font-size: 1.4rem;
  max-width: 700px;
  margin: 1.5rem auto;
  line-height: 1.4;
}

.demo-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.demo-section h2 {
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.25rem;
  margin-bottom: 1.5rem;
}
.one-truth-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
}
.truth-scenario {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  flex: 1 1 200px;
}
.truth-scenario h3 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.truth-scenario p {
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.95rem;
}
.pool-memory {
  background: var(--bg-card);
  border-left: 4px solid var(--gold);
  padding: 1.5rem;
  margin: 2rem 0;
}
.phone-principle {
  background: transparent;
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
}
.phone-principle p {
  color: var(--text);
}
.key-highlight {
  margin: 2rem 0;
}
.key-timeline {
  font-family: monospace;
  background: #111;
  padding: 1.5rem;
  border-radius: 4px;
  color: var(--text);
}
.key-timeline div {
  padding: 0.3rem 0;
  border-bottom: 1px solid #222;
}
.profiler-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  margin-top: 2rem;
}
.profiler-form h2 {
  border: none;
  margin-bottom: 1rem;
}
.question-block {
  margin-bottom: 2rem;
}
.question-block label {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.option-grid input[type="radio"],
.option-grid input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}
.option-chip {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #121212;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.option-grid input:checked + .option-chip {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  font-weight: 600;
}
.option-grid input:focus-visible + .option-chip {
  outline: var(--focus-ring);
  outline-offset: 2px;
}
.profiler-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.btn-primary {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 0.9rem 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 0.9rem 2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-secondary:hover {
  background: var(--gold);
  color: #000;
}

@media (max-width: 600px) {
  .demo-card,
  .demo-section {
    padding: 1.5rem;
  }
  .one-truth-demo {
    flex-direction: column;
    gap: 1rem;
  }
  .option-grid {
    gap: 0.3rem;
  }
  .option-chip {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
}