/* Parnexus Brand Theme for reveal.js */

:root {
  --parnexus-black: #0a0a0a;
  --parnexus-dark: #111111;
  --parnexus-gold: #c9a84c;
  --parnexus-gold-light: #d4b96a;
  --parnexus-white: #f5f5f5;
  --parnexus-grey: #888888;
  --parnexus-red: #e74c3c;
  --parnexus-green: #27ae60;
  --parnexus-blue: #3498db;
}

/* Global Reveal overrides */
.reveal-viewport {
  background: var(--parnexus-black) !important;
}

.reveal {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 32px;
  color: var(--parnexus-white);
}

.reveal h1, .reveal h2, .reveal h3, .reveal h4 {
  font-family: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  color: var(--parnexus-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.reveal h1 {
  font-size: 2.2em;
  text-shadow: 0 0 40px rgba(201, 168, 76, 0.3);
}

.reveal h2 {
  font-size: 1.5em;
  border-bottom: 2px solid var(--parnexus-gold);
  padding-bottom: 0.3em;
  display: inline-block;
}

.reveal h3 {
  font-size: 1.1em;
  color: var(--parnexus-gold);
}

.reveal p, .reveal li {
  font-size: 0.72em;
  line-height: 1.6;
  color: #ddd;
}

.reveal ul { list-style: none; padding-left: 0; }
.reveal ul li::before {
  content: "▸ ";
  color: var(--parnexus-gold);
  font-weight: bold;
}

.reveal strong { color: var(--parnexus-gold); }

.reveal a {
  color: var(--parnexus-gold);
  text-decoration: underline;
}

/* Section header slides */
.reveal .section-header {
  text-align: center;
}
.reveal .section-header h2 {
  font-size: 2em;
  border: none;
  color: var(--parnexus-gold);
}

/* Gold accent line */
.gold-line {
  width: 120px;
  height: 2px;
  background: var(--parnexus-gold);
  margin: 20px auto;
}

/* Title slide */
.title-slide {
  text-align: center;
}
.title-slide img {
  max-width: 300px;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.2));
}
.title-slide h1 {
  margin-bottom: 0.2em;
}
.title-slide .subtitle {
  font-size: 0.7em;
  color: var(--parnexus-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.title-slide .date {
  font-size: 0.5em;
  color: var(--parnexus-grey);
  margin-top: 30px;
}

/* Tables */
.reveal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.6em;
  margin: 20px 0;
}
.reveal table th {
  background: rgba(201, 168, 76, 0.2);
  color: var(--parnexus-gold);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--parnexus-gold);
}
.reveal table td {
  padding: 8px 14px;
  border-bottom: 1px solid #222;
  color: #ccc;
}
.reveal table tr:hover td {
  background: rgba(201, 168, 76, 0.05);
}

/* Code blocks */
.reveal pre {
  background: #1a1a1a;
  border: 1px solid #333;
  border-left: 3px solid var(--parnexus-gold);
  border-radius: 4px;
  font-size: 0.5em;
  width: 100%;
  box-sizing: border-box;
}
.reveal code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  color: #e0e0e0;
}
.reveal pre code {
  max-height: 500px;
  padding: 16px !important;
}

/* Alert / warning banners */
.alert-critical {
  background: rgba(231, 76, 60, 0.15);
  border: 2px solid var(--parnexus-red);
  border-radius: 8px;
  padding: 20px 28px;
  margin: 15px 0;
  text-align: left;
}
.alert-critical .alert-title {
  color: var(--parnexus-red);
  font-weight: 700;
  font-size: 0.85em;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.alert-critical p, .alert-critical li {
  font-size: 0.62em;
  color: #ddd;
}

.alert-info {
  background: rgba(52, 152, 219, 0.12);
  border: 2px solid var(--parnexus-blue);
  border-radius: 8px;
  padding: 20px 28px;
  margin: 15px 0;
  text-align: left;
}

.alert-success {
  background: rgba(39, 174, 96, 0.12);
  border: 2px solid var(--parnexus-green);
  border-radius: 8px;
  padding: 20px 28px;
  margin: 15px 0;
  text-align: left;
}

/* Checkmark / cross lists */
.check-list { list-style: none !important; padding-left: 0 !important; }
.check-list li::before { content: "✓ " !important; color: var(--parnexus-green) !important; }
.cross-list { list-style: none !important; padding-left: 0 !important; }
.cross-list li::before { content: "✗ " !important; color: var(--parnexus-red) !important; }

/* Card grid for AI ideas */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.card {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 8px;
  padding: 18px;
  text-align: left;
}
.card h4 {
  font-size: 0.6em;
  color: var(--parnexus-gold) !important;
  margin: 0 0 8px 0;
  text-transform: none;
  letter-spacing: 0;
}
.card p {
  font-size: 0.48em !important;
  margin: 0;
  color: #bbb !important;
}

/* Mermaid diagrams */
.mermaid {
  font-size: 0.65em;
}
.mermaid svg {
  max-height: 500px;
}

/* Status badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.5em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-have { background: rgba(39, 174, 96, 0.25); color: var(--parnexus-green); }
.badge-need { background: rgba(231, 76, 60, 0.25); color: var(--parnexus-red); }
.badge-quick { background: rgba(52, 152, 219, 0.25); color: var(--parnexus-blue); }
.badge-strategic { background: rgba(201, 168, 76, 0.25); color: var(--parnexus-gold); }
.badge-complex { background: rgba(155, 89, 182, 0.25); color: #9b59b6; }

/* Timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 30px 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: linear-gradient(to right, var(--parnexus-red), var(--parnexus-gold), var(--parnexus-green), var(--parnexus-blue));
}
.timeline-phase {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}
.timeline-phase .phase-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--parnexus-gold);
  margin: 22px auto 12px;
  border: 3px solid var(--parnexus-black);
}
.timeline-phase h4 {
  font-size: 0.55em;
  color: var(--parnexus-gold) !important;
  margin: 0 0 6px;
  text-transform: none;
  letter-spacing: 0;
}
.timeline-phase p {
  font-size: 0.42em !important;
  color: #999 !important;
  margin: 0;
}

/* Comparison columns */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.comparison-col {
  text-align: left;
}
.comparison-col h4 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.7em;
}
.comparison-col.current h4 { color: var(--parnexus-red) !important; }
.comparison-col.proposed h4 { color: var(--parnexus-green) !important; }

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: left;
}

/* Slide number styling */
.reveal .slide-number {
  color: var(--parnexus-gold);
  font-size: 14px;
  background: transparent;
}

/* Progress bar */
.reveal .progress span {
  background: var(--parnexus-gold);
}

/* Fragment animations */
.reveal .fragment.highlight-gold.visible {
  color: var(--parnexus-gold);
}

/* Speaker notes */
.reveal .speaker-notes {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

/* Value leak styling */
.value-leak {
  background: rgba(231, 76, 60, 0.1);
  border: 2px dashed var(--parnexus-red);
  border-radius: 8px;
  padding: 14px;
  margin: 10px 0;
  text-align: center;
}

/* Icon grid for asset classes */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.asset-item {
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 6px;
  padding: 12px 8px;
  text-align: center;
  font-size: 0.5em;
  color: #ccc;
}
.asset-item .icon { font-size: 1.8em; margin-bottom: 4px; }

/* Membership tier image */
.tier-image {
  max-width: 85%;
  margin: 15px auto;
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 76, 0.3);
}

/* PIN gate overlay */
#pin-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--parnexus-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
#pin-gate img {
  max-width: 200px;
  filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.2));
}
#pin-gate h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--parnexus-white);
  font-size: 1.4em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 0;
  border: none;
}
#pin-gate .pin-input-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}
#pin-gate .pin-digit {
  width: 52px;
  height: 64px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.6em;
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 8px;
  color: var(--parnexus-gold);
  outline: none;
  caret-color: var(--parnexus-gold);
  transition: border-color 0.2s;
}
#pin-gate .pin-digit:focus {
  border-color: var(--parnexus-gold);
}
#pin-gate .pin-error {
  color: var(--parnexus-red);
  font-family: 'Inter', sans-serif;
  font-size: 0.85em;
  min-height: 1.2em;
}
#pin-gate .pin-hint {
  color: var(--parnexus-grey);
  font-family: 'Inter', sans-serif;
  font-size: 0.75em;
}

/* Responsive */
@media (max-width: 768px) {
  .card-grid, .comparison, .two-col { grid-template-columns: 1fr; }
  .asset-grid { grid-template-columns: repeat(3, 1fr); }
  .reveal { font-size: 24px; }
}
