/* Shopify Partner Deck – Shared Styles
   Dark glassmorphism + Syntropy health-tech branding
   Speaker-notes toggled with [S] key */

/* =============== CSS Variables =============== */
:root {
  --syn-teal:    #0D9488;
  --syn-teal-l:  #14B8A6;
  --syn-blue:    #4A90E2;
  --syn-green:   #7ED321;
  --syn-dark:    #0B1120;
  --syn-dark-2:  #111827;
  --syn-dark-3:  #1E293B;
  --syn-slate:   #94A3B8;
  --syn-light:   #F1F5F9;
  --syn-white:   #FFFFFF;
  --glass-bg:    rgba(255, 255, 255, 0.06);
  --glass-border:rgba(255, 255, 255, 0.10);
  --glass-glow:  rgba(13, 148, 136, 0.15);
  --radius:      16px;
  --slide-pad:   clamp(30px, 5vw, 60px);
}

/* =============== Base Reset =============== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100vw; height: 100vh;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(145deg, var(--syn-dark) 0%, var(--syn-dark-2) 50%, #0F172A 100%);
  color: var(--syn-light);
  -webkit-font-smoothing: antialiased;
}

/* =============== Slide Container =============== */
.slide {
  width: 100vw; height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: var(--slide-pad);
  position: relative;
  overflow: hidden;
}

.slide-inner {
  max-width: 1100px; width: 100%;
  z-index: 2;
}

/* =============== Background Glow =============== */
.glow-tl {
  position: absolute; top: -180px; left: -180px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--glass-glow) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.glow-br {
  position: absolute; bottom: -180px; right: -180px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.12) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

/* =============== Typography =============== */
h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--syn-teal-l) 0%, var(--syn-blue) 100%);
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600; color: var(--syn-light);
  margin-bottom: 12px;
}

h3 {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600; color: var(--syn-teal-l);
  margin-bottom: 8px;
}

.subtitle {
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--syn-slate); font-weight: 400;
  line-height: 1.5; margin-bottom: 24px;
}

.label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--syn-teal-l); margin-bottom: 12px;
}

/* =============== Glass Cards =============== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  transition: all 0.35s ease;
}
.glass:hover {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.10);
}

/* =============== Grids =============== */
.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(16px, 2vw, 28px);
}
.grid-4 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.5vw, 24px);
}

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* =============== Screenshot Frame =============== */
.screenshot-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px var(--glass-glow);
  position: relative;
}
.screenshot-frame img {
  width: 100%; height: auto; display: block;
}
.screenshot-frame .browser-bar {
  background: var(--syn-dark-3);
  padding: 8px 14px;
  display: flex; align-items: center; gap: 6px;
}
.screenshot-frame .browser-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.screenshot-frame .dot-r { background: #EF4444; }
.screenshot-frame .dot-y { background: #F59E0B; }
.screenshot-frame .dot-g { background: #22C55E; }
.screenshot-frame .browser-url {
  flex: 1; background: rgba(255,255,255,0.08);
  border-radius: 6px; padding: 4px 10px;
  font-size: 11px; color: var(--syn-slate);
  font-family: 'JetBrains Mono', monospace;
  margin-left: 10px;
}

/* =============== Metrics / Stats =============== */
.stat {
  text-align: center;
}
.stat-value {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800; color: var(--syn-teal-l);
  line-height: 1;
}
.stat-label {
  font-size: 13px; color: var(--syn-slate);
  margin-top: 6px; font-weight: 500;
}

/* =============== Badges =============== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
  background: rgba(13, 148, 136, 0.15);
  color: var(--syn-teal-l);
  border: 1px solid rgba(13, 148, 136, 0.25);
}

/* =============== Buttons =============== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: none; transition: all 0.3s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--syn-teal) 0%, var(--syn-blue) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13, 148, 136, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--syn-teal-l);
  border: 1px solid rgba(13, 148, 136, 0.4);
}
.btn-outline:hover {
  background: rgba(13, 148, 136, 0.1);
}

/* =============== Logo / Header =============== */
.slide-header {
  position: absolute; top: 24px; left: var(--slide-pad);
  display: flex; align-items: center; gap: 10px;
  z-index: 10;
}
.slide-header img {
  height: 32px; opacity: 0.7;
}
.slide-header span {
  font-size: 13px; font-weight: 600; color: var(--syn-slate);
  letter-spacing: 1px; text-transform: uppercase;
}

/* =============== Slide Number =============== */
.slide-number {
  position: absolute; bottom: 20px; right: var(--slide-pad);
  font-size: 12px; color: rgba(148, 163, 184, 0.5);
  font-weight: 500; z-index: 10;
}

/* =============== Accent Bar =============== */
.accent-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--syn-teal) 0%, var(--syn-blue) 50%, var(--syn-green) 100%);
  z-index: 10;
}

/* =============== Flow / Steps =============== */
.flow {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; justify-content: center;
}
.flow-step {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 14px; font-weight: 500;
}
.flow-arrow {
  color: var(--syn-teal-l); font-size: 18px;
  opacity: 0.6;
}

/* =============== Icon circles =============== */
.icon-circle {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, rgba(74, 144, 226, 0.15) 100%);
}

/* =============== Lists =============== */
.check-list {
  list-style: none; padding: 0;
}
.check-list li {
  padding: 8px 0; font-size: 15px; color: var(--syn-slate);
  display: flex; align-items: flex-start; gap: 10px;
}
.check-list li::before {
  content: "✓"; color: var(--syn-teal-l);
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}

/* =============== Speaker Notes =============== */
.speaker-notes {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  max-height: 35vh; overflow-y: auto;
  background: rgba(17, 24, 39, 0.97);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--syn-teal);
  padding: 20px var(--slide-pad);
  z-index: 100;
  font-size: 14px; line-height: 1.7;
  color: var(--syn-slate);
}
.speaker-notes.visible {
  display: block;
}
.speaker-notes h4 {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 2px; color: var(--syn-teal-l);
  margin-bottom: 10px;
}
.speaker-notes ul {
  padding-left: 18px;
}
.speaker-notes li {
  margin-bottom: 6px;
}
.speaker-notes .note-hint {
  position: absolute; top: 8px; right: 20px;
  font-size: 10px; color: rgba(148,163,184,0.4);
}

/* Keyboard hint */
.key-hint {
  position: fixed; bottom: 10px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px; color: rgba(148,163,184,0.3);
  z-index: 5; pointer-events: none;
}
.key-hint.hidden { display: none; }

/* =============== Responsive =============== */
@media (max-width: 768px) {
  .slide { padding: clamp(20px, 4vw, 40px); }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
}
