/* ============================================================
   FIELDMOUSE — Slide Deck Stylesheet
   Shared styles for all HTML/CSS/JS slide decks
   Brand: Blue #7BBDD4 | Charcoal #3D3F42 | Font: Montserrat
   ============================================================ */

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

/* ── RESET & VARIABLES ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue:       #7bbdd4;
  --blue-mid:   #5aa3bf;
  --blue-dk:    #2c6478;
  --blue-text:  #1e6b8a;
  --charcoal:   #3d3f42;
  --charcoal-dk:#2a2c2f;
  --light:      #f4f7f9;
  --white:      #ffffff;
  --white-75:   rgba(255, 255, 255, 0.75);
  --grey:       #636569;
  --border:     #e2eaee;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  background: var(--charcoal-dk);
}

/* ── DECK CONTAINER ──
   Fixed 16:9 "canvas" — the deck is laid out at 1280×720 and then scaled
   as a single unit by js (fitDeck) to fill whatever screen it's shown on,
   so content never clips or reflows. Letterbox bars (if the screen isn't
   16:9) fall back to the dark page background. */
.deck {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1280px;
  height: 720px;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  overflow: hidden;
}

/* ── SLIDES ── */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 72px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateX(60px);
}

.slide.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

.slide.exit {
  opacity: 0;
  transform: translateX(-60px);
}

/* ── SLIDE THEMES ── */
.slide-dark   { background: var(--charcoal); }
.slide-darker { background: var(--charcoal-dk); }
.slide-light  { background: var(--light); }
.slide-white  { background: var(--white); }
.slide-blue   { background: linear-gradient(135deg, var(--blue-dk) 0%, var(--blue-mid) 100%); }

/* Grid overlay for dark slides */
.slide-dark::before,
.slide-darker::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123,189,212,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,189,212,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* ── PROGRESS BAR ── */
.progress-bar {
  position: fixed;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--blue);
  transition: width 0.4s ease;
  z-index: 100;
}

/* ── SLIDE COUNTER ── */
.counter {
  position: fixed;
  bottom: 20px;
  right: 28px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.25);
  z-index: 100;
}

/* ── NAV ARROWS ── */
.nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-size: 18px;
}
.nav-btn:hover { background: rgba(123,189,212,0.15); border-color: var(--blue); color: var(--blue); }
.nav-btn.prev { left: 20px; }
.nav-btn.next { right: 20px; }
.nav-btn:disabled { opacity: 0.15; cursor: default; }
.nav-btn:disabled:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.4); }

/* ── DOT NAV ── */
.dots {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 100;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active { background: var(--blue); transform: scale(1.4); }

/* ── KEYBOARD HINT ── */
.kbd-hint {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.15);
  z-index: 100;
}

/* ── TYPOGRAPHY HELPERS ── */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  display: inline-block;
  border: 1px solid rgba(123,189,212,0.4);
  padding: 6px 15px;
  border-radius: 100px;
}

.eyebrow-dark {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue-dk);
  margin-bottom: 20px;
}

.slide-title-xl {
  font-size: 66px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: white;
  margin-bottom: 24px;
}

.slide-title-xl span { color: var(--blue); }

.slide-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: white;
  margin-bottom: 18px;
}

.slide-title.dark { color: var(--charcoal); }
.slide-title span { color: var(--blue); }
.slide-title.dark span { color: var(--blue-dk); }

.slide-lead {
  font-size: 18px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.slide-lead.dark { color: var(--charcoal); }

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 1000px;
  margin-top: 32px;
}

.card-grid-2 { grid-template-columns: 1fr 1fr; }
.card-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.card-grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px 22px;
}

.card.light-card {
  background: white;
  border: 1px solid var(--border);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: rgba(123,189,212,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.card.light-card h3 { color: var(--charcoal); }

.card p {
  font-size: 14px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.86);
  line-height: 1.65;
}

.card.light-card p { color: var(--charcoal); }

/* ── FEATURE LIST ── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  width: 100%;
}

.feat-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feat-row .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(123,189,212,0.15);
  border: 1px solid rgba(123,189,212,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.feat-row .check svg { display: block; }

.feat-row h4 {
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.feat-row p {
  font-size: 14px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.86);
  line-height: 1.6;
}

/* ── SPLIT LAYOUT ── */
.split {
  display: flex;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1000px;
}

.split-text { flex: 1; }
.split-visual { flex: 1; display: flex; flex-direction: column; gap: 16px; }

/* ── STAT ROW ── */
.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  justify-content: center;
}

.stat-block {
  text-align: center;
}

.stat-block .num {
  font-size: 42px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-block .lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ── PILL / BADGE ── */
.pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(123,189,212,0.16);
  color: var(--blue);
  border-radius: 100px;
  padding: 5px 13px;
}

/* ── SECTION ICON (large) ── */
.section-icon-wrap {
  width: 72px;
  height: 72px;
  background: rgba(123,189,212,0.1);
  border: 1px solid rgba(123,189,212,0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* ── PRODUCT BADGE STRIP ── */
.badge-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.badge-strip .badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(123,189,212,0.4);
  color: rgba(255,255,255,0.7);
  padding: 7px 15px;
  border-radius: 4px;
}

/* ── TIMELINE / STEPS ── */
.steps-row {
  display: flex;
  gap: 0;
  align-items: flex-start;
  width: 100%;
  max-width: 900px;
  position: relative;
  margin-top: 32px;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 44px;
  right: 44px;
  height: 1px;
  background: rgba(123,189,212,0.25);
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(123,189,212,0.1);
  border: 1px solid rgba(123,189,212,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.step-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
}

.step-item p {
  font-size: 13px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.86);
  line-height: 1.6;
}

/* ── CTA SLIDE CONTENT ── */
.cta-content {
  text-align: center;
  z-index: 1;
  position: relative;
  max-width: 640px;
}

.cta-content .cta-title {
  font-size: 46px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-content .cta-lead {
  font-size: 18px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: white;
  color: var(--blue-dk);
  padding: 14px 38px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.btn-white:hover { opacity: 0.9; }

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.88);
  padding: 14px 38px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  background: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ── TABLE ── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.spec-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 0 0 10px;
  text-align: left;
  border-bottom: 1px solid rgba(123,189,212,0.4);
}

.spec-table td {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
}

.spec-table td:first-child {
  font-weight: 600;
  color: white;
  padding-right: 20px;
  width: 45%;
}

/* ── WHITE SLIDE OVERRIDES ── */
/* Text elements that are white by default need dark equivalents on white backgrounds */
.slide-white .step-item h4,
.slide-white .step-num { color: var(--charcoal); }
.slide-white .step-item p { color: var(--charcoal); }
.slide-white .feat-row h4 { color: var(--charcoal); }
.slide-white .feat-row p { color: var(--charcoal); }
.slide-white .stat-block .lbl { color: var(--charcoal); }
.slide-white .stat-block .num { color: var(--blue-dk); }
.slide-white .spec-table th {
  color: var(--charcoal);
  border-bottom-color: rgba(123,189,212,0.6);
}
.slide-white .spec-table td {
  color: var(--charcoal);
  border-bottom-color: var(--border);
}
.slide-white .spec-table td:first-child { color: var(--charcoal); }


/* ── PRINT / PDF ──────────────────────────────────────────────
   Lays the deck out as one 16:9 slide per page, with every slide
   visible and the brand backgrounds preserved.
   In the browser print dialog: keep Margins = "None" (handled here
   anyway) and turn ON "Background graphics", then Save as PDF.    */
@media print {
  @page { size: 1280px 720px; margin: 0; }

  html, body { overflow: visible; height: auto; background: #fff; }

  /* Drop the scaled fixed canvas — flow the slides normally */
  .deck {
    position: static !important;
    width: auto;
    height: auto;
    transform: none !important;
    overflow: visible;
  }

  /* Every slide fills exactly one page */
  .slide {
    position: relative;
    inset: auto;
    width: 1280px;
    height: 720px;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto;
    overflow: hidden;
    break-after: page;
    page-break-after: always;            /* legacy alias */
    -webkit-print-color-adjust: exact;   /* keep dark/blue backgrounds */
    print-color-adjust: exact;
  }
  .slide:last-child { break-after: auto; page-break-after: auto; }

  /* Hide the on-screen presentation chrome */
  .progress-bar, .nav-btn, .dots, .counter, .kbd-hint { display: none !important; }
}
