/* ─────────────────────────────────────────────────────────
   Spatial Prints — Presentation Styles
   ───────────────────────────────────────────────────────── */

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

/* ── VARIABLES ───────────────────────────────────────────── */
:root {
  /* Brand colours (from logo) */
  --navy:         #1a2d5a;
  --navy-deep:    #0d1b3e;
  --navy-mid:     #2d4080;
  --teal:         #3bbfb5;
  --teal-mid:     #2ea89f;
  --cyan:         #5bc8e8;
  --purple:       #8b6fcb;
  --coral:        #f0956a;

  /* Logo gradient (cube colours) */
  --grad:         linear-gradient(135deg, #5bc8e8, #8b6fcb, #f0956a);
  --grad-h:       linear-gradient(90deg,  #5bc8e8, #8b6fcb, #f0956a);
  --grad-nav:     linear-gradient(90deg,  #3bbfb5, #5bc8e8);

  /* Surfaces */
  --bg:           #f2f5fb;
  --surface:      #ffffff;
  --card:         #ffffff;
  --card-alt:     #f7f9fd;

  /* Borders */
  --border:       #dde4f0;
  --border-light: #eef1f8;

  /* Text */
  --text-primary: #0d1b3e;
  --text-body:    #374151;
  --text-muted:   #6b7280;
  --text-light:   #9ca3af;

  /* Shadows (navy-tinted) */
  --shadow-xs:    0 1px 2px rgba(26,45,90,0.06);
  --shadow-sm:    0 2px 6px rgba(26,45,90,0.08);
  --shadow-md:    0 4px 14px rgba(26,45,90,0.10);
  --shadow-lg:    0 10px 32px rgba(26,45,90,0.12);

  /* Tints */
  --teal-tint:    rgba(59,191,181,0.10);
  --teal-border:  rgba(59,191,181,0.28);
  --navy-tint:    rgba(26,45,90,0.07);
  --navy-border:  rgba(26,45,90,0.15);
  --cyan-tint:    rgba(91,200,232,0.10);
  --purple-tint:  rgba(139,111,203,0.10);
  --coral-tint:   rgba(240,149,106,0.10);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
button svg, button use { pointer-events: none; }
img    { max-width: 100%; display: block; }

/* ── BASE ────────────────────────────────────────────────── */
html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* ── DECK ────────────────────────────────────────────────── */
#deck {
  width: 100vw;
  height: 100vh;
  position: relative;
}

/* ── SLIDES ──────────────────────────────────────────────── */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(20px, 4vw, 56px) clamp(20px, 6vw, 80px) clamp(72px, 10vh, 96px);
  opacity: 0;
  transform: translateX(50px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
  overflow: hidden;
  background: var(--surface);
}
.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.slide.exit {
  opacity: 0;
  transform: translateX(-50px);
}

/* ── BACKGROUND PATTERN ──────────────────────────────────── */
.bg-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(26,45,90,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Title & closing slide: subtle gradient wash */
.bg-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(59,191,181,0.09)  0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(91,200,232,0.07)  0%, transparent 50%),
    radial-gradient(ellipse at 65% 80%, rgba(139,111,203,0.06) 0%, transparent 45%);
  pointer-events: none;
}

/* ── CONTENT WRAPPER ─────────────────────────────────────── */
.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
}

/* ── SLIDE LOGO (top-left on content slides) ─────────────── */
.slide-logo {
  position: absolute;
  top: clamp(12px, 2.2vh, 24px);
  left: clamp(20px, 3vw, 40px);
  z-index: 10;
}
.slide-logo img {
  height: clamp(28px, 3.5vw, 40px);
  width: auto;
  object-fit: contain;
}

/* ── SVG ICON SYSTEM ─────────────────────────────────────── */
.icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm  { width: 16px; height: 16px; stroke-width: 2.5; }
.icon-md  { width: 20px; height: 20px; stroke-width: 2;   }
.icon-lg  { width: 24px; height: 24px; stroke-width: 1.75;}
.icon-xl  { width: 32px; height: 32px; stroke-width: 1.5; }

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 14px;
}
.icon-box-navy   { background: var(--navy-tint);   color: var(--navy);   }
.icon-box-teal   { background: var(--teal-tint);   color: var(--teal-mid);  }
.icon-box-cyan   { background: var(--cyan-tint);   color: var(--navy-mid);  }
.icon-box-purple { background: var(--purple-tint); color: var(--purple); }
.icon-box-coral  { background: var(--coral-tint);  color: var(--coral);  }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(9px, 1.1vw, 11px);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: clamp(14px, 2vh, 22px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(9px, 1.1vw, 11px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-mid);
  background: var(--teal-tint);
  border: 1px solid var(--teal-border);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: clamp(14px, 2vh, 22px);
}
.tag-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -1px;
  color: var(--navy-deep);
}
h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--navy-deep);
}
h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(14px, 1.6vw, 19px);
  font-weight: 700;
  color: var(--navy);
}
h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 600;
  color: var(--navy);
}

.lead {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.75;
}
.body-text {
  font-size: clamp(12px, 1.25vw, 15px);
  color: var(--text-muted);
  line-height: 1.8;
}
.small-text {
  font-size: clamp(10px, 1.1vw, 12px);
  color: var(--text-light);
}

/* Gradient text */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.teal-text   { color: var(--teal-mid); }
.navy-text   { color: var(--navy);     }
.coral-text  { color: var(--coral);    }
.purple-text { color: var(--purple);   }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider {
  width: 56px;
  height: 3px;
  background: var(--grad-h);
  border-radius: 2px;
  margin: clamp(14px, 1.8vh, 20px) 0;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(16px, 2vw, 26px) clamp(18px, 2.2vw, 28px);
  box-shadow: var(--shadow-sm);
}
.card-alt {
  background: var(--card-alt);
  border: 1px solid var(--border-light);
}
.card-top-teal   { border-top: 2.5px solid var(--teal);   }
.card-top-cyan   { border-top: 2.5px solid var(--cyan);   }
.card-top-purple { border-top: 2.5px solid var(--purple); }
.card-top-coral  { border-top: 2.5px solid var(--coral);  }
.card-top-navy   { border-top: 2.5px solid var(--navy);   }

/* ── HIGHLIGHT BOX ───────────────────────────────────────── */
.highlight-box {
  background: var(--teal-tint);
  border: 1px solid var(--teal-border);
  border-radius: 12px;
  padding: clamp(14px, 1.8vw, 22px) clamp(16px, 2vw, 24px);
}
.highlight-box-navy {
  background: var(--navy-tint);
  border-color: var(--navy-border);
}
.highlight-box-grad {
  background: linear-gradient(135deg, rgba(91,200,232,0.08), rgba(139,111,203,0.06));
  border-color: rgba(139,111,203,0.2);
}

/* ── PILL BADGES ─────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.pill-teal   { background: var(--teal-tint);   color: var(--teal-mid); border: 1px solid var(--teal-border);  }
.pill-navy   { background: var(--navy-tint);   color: var(--navy);     border: 1px solid var(--navy-border);  }
.pill-cyan   { background: var(--cyan-tint);   color: var(--navy-mid); border: 1px solid rgba(91,200,232,0.3);  }
.pill-purple { background: var(--purple-tint); color: var(--purple);   border: 1px solid rgba(139,111,203,0.3); }
.pill-coral  { background: var(--coral-tint);  color: #c06830;         border: 1px solid rgba(240,149,106,0.3); }

/* ── CHECK LIST ──────────────────────────────────────────── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vh, 12px);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(12px, 1.3vw, 15px);
  color: var(--text-body);
  line-height: 1.6;
}
.check-list li .icon-sm {
  color: var(--teal-mid);
  margin-top: 2px;
}

/* ── TECH BADGES ─────────────────────────────────────────── */
.tech-strip { display: flex; gap: 7px; flex-wrap: wrap; }
.tech-badge {
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ── GRID UTILITIES ──────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}
.grid-2-wide {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}

/* ── STAT BLOCK ──────────────────────────────────────────── */
.stat-block { text-align: center; padding: clamp(10px, 1.5vh, 20px); }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  line-height: 1;
}
.stat-label {
  font-size: clamp(10px, 1.1vw, 12px);
  color: var(--text-light);
  margin-top: 5px;
  font-weight: 500;
}

/* ── PROCESS STEPS ───────────────────────────────────────── */
.process-step {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.6vw, 18px);
  padding: clamp(14px, 1.5vw, 18px) clamp(16px, 2vw, 22px);
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  background: var(--grad);
  color: #ffffff;
}

/* ── USE CASE CARDS ──────────────────────────────────────── */
.usecase-card {
  padding: clamp(16px, 1.8vw, 22px);
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-top: 2.5px solid var(--teal);
}
.usecase-card .usecase-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* ── COMPARE TABLE ───────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table thead th {
  text-align: left;
  padding: 10px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-mid);
  font-weight: 700;
  border-bottom: 1.5px solid var(--teal-border);
}
.compare-table td {
  padding: 11px 14px;
  font-size: clamp(11px, 1.2vw, 14px);
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child   { font-weight: 600; color: var(--text-primary); }
.compare-table .chk { color: var(--teal-mid); font-weight: 700; font-size: 15px; }
.compare-table .crs { color: #d1d5db;         font-weight: 700; font-size: 15px; }
.compare-table tr.sp-row td {
  background: linear-gradient(90deg, rgba(59,191,181,0.07), transparent);
  font-weight: 700;
  color: var(--teal-mid);
}
.compare-table tr.sp-row .chk { color: var(--teal-mid); }

/* ── BLOCKQUOTE ──────────────────────────────────────────── */
blockquote {
  border-left: 3px solid var(--teal);
  padding: 2px 0 2px 18px;
  font-size: clamp(13px, 1.4vw, 16px);
  font-style: italic;
  color: var(--text-body);
  line-height: 1.7;
  margin: clamp(14px, 2vh, 20px) 0;
}

/* ── CONTACT STRIP ───────────────────────────────────────── */
.contact-strip {
  display: flex;
  gap: clamp(12px, 2.5vw, 28px);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(11px, 1.3vw, 14px);
  color: var(--text-muted);
  font-weight: 500;
}
.contact-item .icon-md { color: var(--teal-mid); }
.contact-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
}

/* ── PRICING TIERS ───────────────────────────────────────── */
.pricing-card {
  text-align: center;
  min-width: clamp(120px, 14vw, 160px);
  padding: clamp(14px, 1.8vw, 22px) clamp(16px, 2vw, 24px);
}
.pricing-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

/* ── PRODUCT CAROUSEL ────────────────────────────────────── */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
#carousel-img {
  width: 100%;
  height: clamp(220px, 46vh, 420px);
  object-fit: contain;
  display: block;
  background: var(--bg);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 0.15s, box-shadow 0.15s;
}
.carousel-btn:hover { background: #fff; box-shadow: var(--shadow-lg); }
.carousel-btn:disabled { opacity: 0.25; cursor: not-allowed; }
.carousel-btn-prev { left: 12px;  }
.carousel-btn-next { right: 12px; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}
#carousel-dots { display: flex; gap: 6px; }
.carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--teal);
  transform: scale(1.35);
}
#product-counter {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px;
  min-width: 48px;
  text-align: center;
}

.carousel-disclaimer {
  margin-top: 12px;
  padding: 10px 16px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}
.carousel-disclaimer p {
  font-size: clamp(10px, 1.05vw, 11.5px);
  color: var(--text-light);
  line-height: 1.6;
  text-align: center;
}

/* ── NAVIGATION BAR ──────────────────────────────────────── */
#nav {
  position: fixed;
  bottom: clamp(16px, 3vh, 28px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 16px);
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  padding: clamp(8px, 1.2vh, 11px) clamp(16px, 2vw, 22px);
  border-radius: 100px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
#nav button {
  background: none;
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
#nav button:hover { color: var(--navy); background: var(--navy-tint); }
#nav button:disabled { opacity: 0.25; cursor: not-allowed; }
#slide-counter {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  min-width: 46px;
  text-align: center;
}
#dots { display: flex; gap: 5px; align-items: center; }
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.dot.active {
  background: var(--teal);
  transform: scale(1.4);
}
.nav-fullscreen-btn {
  background: none;
  border: none;
  color: var(--text-light);
  display: flex;
  align-items: center;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-fullscreen-btn:hover { color: var(--navy); background: var(--navy-tint); }

/* ── KEYBOARD HINT ───────────────────────────────────────── */
#keyboard-hint {
  position: fixed;
  top: clamp(10px, 1.8vh, 20px);
  right: clamp(16px, 2.5vw, 28px);
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
#swipe-hint {
  display: none;
  position: fixed;
  bottom: clamp(80px, 10vh, 88px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
}

/* ── SLIDE HEADER ────────────────────────────────────────── */
.slide-header { margin-bottom: clamp(20px, 2.5vh, 36px); }

/* ── TITLE SLIDE SPECIFICS ───────────────────────────────── */
.title-logo {
  height: clamp(56px, 9vw, 100px);
  width: auto;
  object-fit: contain;
  margin-bottom: clamp(20px, 3.5vh, 40px);
}
.title-pill-row {
  display: flex;
  gap: clamp(7px, 1vw, 12px);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(18px, 3vh, 34px);
}

/* ── SPECIAL GRADIENT BORDER CARD ───────────────────────── */
.grad-card-wrap {
  padding: 1.5px;
  border-radius: 15px;
  background: var(--grad);
}
.grad-card-inner {
  background: var(--card);
  border-radius: 14px;
  padding: clamp(16px, 2vw, 24px);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 700px) {
  .slide {
    padding: 16px 16px clamp(72px, 12vh, 88px);
    justify-content: flex-start;
    padding-top: clamp(52px, 8vh, 72px);
    overflow-y: auto;
  }
  .grid-2     { grid-template-columns: 1fr; }
  .grid-3     { grid-template-columns: 1fr; }
  .grid-2-wide{ grid-template-columns: 1fr; }
  .hide-mobile { display: none !important; }
  .contact-sep { display: none; }
  #keyboard-hint { display: none; }
  #swipe-hint { display: block; }
  .title-logo { height: clamp(48px, 14vw, 72px); }
  blockquote { display: none; }
  #carousel-img { height: clamp(180px, 36vw, 260px); }
}

@media (max-width: 900px) and (min-width: 701px) {
  .grid-3     { grid-template-columns: repeat(2, 1fr); }
  .grid-2-wide{ grid-template-columns: 1fr; }
}
