/* snosi presentation - Frost/Winter theme
 *
 * Deep midnight background with ice-blue accents.
 * All font sizes use pt for predictable sizing.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
  --background-color: #0c1222;
  --section-divider-bg: #0a0f1c;

  /* Typography */
  --heading-font: "Inter", Helvetica, sans-serif;
  --body-font: "Inter", Helvetica, sans-serif;
  --mono-font: "JetBrains Mono", "Courier New", monospace;
  --base-font-size: 32px;
  --text-size: 16pt;
  --h1-size: 48pt;
  --h2-size: 32pt;
  --h3-size: 22pt;
  --footnote-size: 11pt;

  /* Colors - Frost palette */
  --primary-color: #5cc8d7;     /* Ice blue */
  --secondary-color: #a3e4d7;   /* Pale mint */
  --accent-color: #f0a500;      /* Warm amber */
  --text-color: #e0e8f0;        /* Cool white */
  --muted-color: #7b8ca3;       /* Slate */
  --line-color: #1e2d45;        /* Dark slate */
  --card-bg: #131c2e;           /* Card background */
  --card-border: #1e2d45;       /* Card border */

  /* Layout */
  --slide-padding: 60px;
  --slide-padding-top: 40px;
  --content-gap: 25px;

  --box-radius: 8px;
}

/* ===========================================
   BASE STYLES
   =========================================== */

.reveal {
  font-family: var(--body-font);
  font-size: var(--base-font-size);
}

.reveal strong,
.reveal b {
  font-weight: 600;
  color: var(--primary-color);
}

.reveal-viewport {
  background-color: var(--background-color);
}

.reveal-viewport.is-section-divider .slide-background.present {
  background-color: var(--section-divider-bg) !important;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  font-family: var(--heading-font);
  text-transform: none;
  color: var(--text-color);
  font-weight: 600;
  line-height: 1.2;
}

.reveal h1 { font-size: var(--h1-size); }
.reveal h2 { font-size: var(--h2-size); margin-bottom: 0; }
.reveal h3 { font-size: var(--h3-size); }

.reveal p,
.reveal li,
.reveal td,
.reveal th,
.reveal blockquote {
  font-size: var(--text-size);
  color: var(--text-color);
  line-height: 1.6;
}

/* Monospace */
.reveal code {
  font-family: var(--mono-font);
  font-size: 14pt;
  color: var(--primary-color);
  background: rgba(92, 200, 215, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.reveal pre {
  width: 100%;
  margin: 15px 0;
}

.reveal pre code {
  display: block;
  padding: 15px 20px;
  background: #0a0f1c;
  border: 1px solid var(--card-border);
  border-radius: var(--box-radius);
  font-size: 12pt;
  line-height: 1.5;
  color: var(--text-color);
}

/* ===========================================
   LISTS
   =========================================== */

.reveal ul {
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
}

.reveal ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.reveal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
}

.reveal ul ul li::before {
  background: var(--muted-color);
  width: 6px;
  height: 6px;
}

.reveal blockquote p {
  font-size: inherit;
}

/* ===========================================
   SLIDE LAYOUT
   =========================================== */

.reveal .slides section {
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  padding: var(--slide-padding-top) var(--slide-padding) var(--slide-padding) var(--slide-padding) !important;
  box-sizing: border-box;
  text-align: left;
}

.reveal .slides section.stack {
  padding: 0 !important;
}

.reveal .slides section > .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: var(--content-gap);
  text-align: left;
}

.reveal .slides .footnote {
  position: absolute;
  bottom: 15px;
  left: var(--slide-padding);
  right: var(--slide-padding);
}

.reveal .slides .footnote p {
  font-size: var(--footnote-size) !important;
  color: var(--muted-color) !important;
  font-style: italic;
  opacity: 0.7;
}

/* ===========================================
   SECTION DIVIDERS
   =========================================== */

.reveal .slides section.section-divider {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center;
}

.reveal .slides section.section-divider h1 {
  font-size: 56pt;
  text-align: center;
  color: var(--primary-color);
}

.reveal .slides section.section-divider p {
  font-size: 20pt;
  color: var(--muted-color);
}

/* Subtle gradient line under divider titles */
.reveal .slides section.section-divider h1::after {
  content: '';
  display: block;
  width: 120px;
  height: 3px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* ===========================================
   TEXT UTILITIES
   =========================================== */

.text-lg { font-size: 18pt !important; }
.text-xl { font-size: 20pt !important; }
.text-2xl { font-size: 24pt !important; }
.text-3xl { font-size: 28pt !important; }
.text-4xl { font-size: 32pt !important; }

.text-muted { color: var(--muted-color) !important; }
.text-center { text-align: center !important; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.15em; }
.font-light { font-weight: 300; }
.font-bold { font-weight: 600; }
.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }

/* ===========================================
   BLOCKQUOTES
   =========================================== */

.reveal blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  background: none;
  box-shadow: none;
  width: 100%;
  max-width: none;
}

.reveal blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  color: var(--muted-color);
}

/* ===========================================
   CUSTOM COMPONENTS
   =========================================== */

/* Card - reusable info box */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--box-radius);
  padding: 20px 24px;
}

/* Card with colored top accent */
.card-accent {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--primary-color);
  border-radius: var(--box-radius);
  padding: 20px 24px;
}

/* Icon circle for feature cards */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20pt;
  margin-bottom: 12px;
  flex-shrink: 0;
}

/* Comparison columns */
.compare-bad {
  background: var(--card-bg);
  border: 1px solid #5a2020;
  border-top: 3px solid #e74c3c;
  border-radius: var(--box-radius);
  padding: 20px 24px;
}

.compare-good {
  background: var(--card-bg);
  border: 1px solid #1a3a2a;
  border-top: 3px solid #2ecc71;
  border-radius: var(--box-radius);
  padding: 20px 24px;
}

/* Pipeline step */
.pipeline-step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--box-radius);
  padding: 14px 16px;
  text-align: center;
}

/* Arrow between pipeline steps */
.pipeline-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18pt;
}

/* Decorative top line on content slides */
.reveal .slides section:not(.section-divider)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

/* Title slide subtitle styling */
.reveal .slides section.section-divider .subtitle {
  font-size: 18pt;
  color: var(--muted-color);
  font-weight: 300;
  margin-top: 10px;
}
