@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400..700;1,9..40,400..700&family=Manrope:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #ffffff;
  --ink-secondary: #e2e8f0;
  --muted: #a1a1aa;
  --dark-bg: #09090b;
  --dark-surface: #121217;
  --dark-card: #18181f;
  --dark-card-border: rgba(255, 255, 255, 0.08);
  
  /* Red & Black Palette */
  --brand: #dc2626;
  --brand-hover: #b91c1c;
  --brand-light: #ef4444;
  --brand-glow: rgba(220, 38, 38, 0.4);
  --brand-gradient: linear-gradient(135deg, #991b1b 0%, #dc2626 50%, #ef4444 100%);
  
  --emerald: #10b981;
  --amber: #f59e0b;
  --rose: #f43f5e;
  
  --transition-deck: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: var(--dark-bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', 'DM Sans', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #ffffff;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   DECK CORE (Bisita Architecture in Red & Black)
   ========================================================================== */

.deck {
  position: fixed;
  inset: 0;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

.deck-track {
  height: 100%;
  width: 100%;
  transition: var(--transition-deck);
  will-change: transform;
}

.slide {
  height: 100vh;
  width: 100vw;
  padding: 85px 64px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--dark-bg);
  color: #ffffff;
}

.slide.bg-mesh-dark {
  background: radial-gradient(1100px 750px at 80% 20%, #450a0a 0%, #09090b 70%);
}

.slide.bg-mesh-red {
  background: radial-gradient(1200px 800px at 85% 15%, #3f0909 0%, #0c0a0c 65%, #09090b 100%);
}

.slide.bg-mesh-subtle {
  background: radial-gradient(900px 600px at 20% 80%, #2b0808 0%, #09090b 75%);
}

.slide-inner {
  width: min(1200px, 100%);
  max-height: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================================
   DECK FLOATING CONTROLS
   ========================================================================== */

/* Top Bar */
.deck-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  padding: 0 36px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.deck-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

/* Logo Fix: Keep original colors and sharp drop shadow against dark/colored screens */
.deck-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.75));
  display: block;
}

.deck-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(220, 38, 38, 0.15);
  color: #f87171;
  border: 1px solid rgba(220, 38, 38, 0.35);
  text-transform: uppercase;
}

.deck-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  font-family: 'Manrope', sans-serif;
}

.deck-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.deck-count {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  color: #a1a1aa;
}

.deck-fs-btn {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  transition: var(--transition-smooth);
}

.deck-fs-btn:hover {
  background: rgba(220, 38, 38, 0.2);
  border-color: var(--brand);
}

/* Right Navigation Dots */
.deck-dots {
  position: fixed;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 50;
  color: #ffffff;
}

.deck-dot {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.25);
  border: 0;
  border-radius: 99px;
  width: 9px;
  height: 9px;
  transition: opacity 0.3s ease, height 0.3s ease, background-color 0.3s ease;
  position: relative;
  padding: 0;
}

.deck-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.deck-dot.active {
  background: var(--brand-light);
  height: 28px;
  box-shadow: 0 0 12px var(--brand-glow);
}

.deck-dot-tooltip {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #18181f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-smooth);
}

.deck-dot:hover .deck-dot-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Bottom Arrows */
.deck-arrows {
  position: fixed;
  bottom: 24px;
  right: 32px;
  display: flex;
  gap: 8px;
  z-index: 50;
}

.deck-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.deck-arrow-btn:hover:not(:disabled) {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 15px var(--brand-glow);
  transform: translateY(-2px);
}

.deck-arrow-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

/* Bottom Hint */
.deck-hint {
  position: fixed;
  bottom: 28px;
  left: 36px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #71717a;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Manrope', sans-serif;
}

/* Bottom Progress Bar */
.deck-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #991b1b, #dc2626, #ef4444);
  box-shadow: 0 0 10px var(--brand-glow);
  z-index: 55;
  transition: width 0.75s cubic-bezier(0.76, 0, 0.24, 1);
}

/* ==========================================================================
   COMMON COMPONENT STYLES INSIDE SLIDES
   ========================================================================== */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: #f87171;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 12px var(--brand-light);
}

.slide-title {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  margin-bottom: 16px;
  max-width: 900px;
  color: #ffffff;
}

.slide-lead {
  font-size: clamp(15px, 1.3vw, 18px);
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 28px;
  color: #a1a1aa;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--brand-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(220, 38, 38, 0.6);
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
}

.btn-secondary {
  background: var(--dark-card);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: #272732;
  border-color: var(--brand);
  transform: translateY(-2px);
}

.btn-dark {
  background: #18181f;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-dark:hover {
  background: #22222c;
  border-color: var(--brand);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* Two-Column Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.split-layout.flipped {
  grid-template-columns: 0.9fr 1.1fr;
}

/* Cover Slide Ambient Background (non-card, seamlessly blended) */
.cover-ambient-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.cover-ambient-img {
  position: absolute;
  top: 0;
  right: -5%;
  width: 65%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.16;
  filter: contrast(1.15) brightness(0.9);
  mask-image: radial-gradient(ellipse at 75% 50%, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0) 72%);
  -webkit-mask-image: radial-gradient(ellipse at 75% 50%, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0) 72%);
}

.hero-status-panel {
  background: rgba(18, 18, 23, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 2;
}

/* Store Badge Buttons */
.store-badge-btn {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.store-badge-btn:hover {
  border-color: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
  background: #0e0e14;
}

.visual-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-card-border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.visual-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 14px;
}

.feature-pill-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-pill-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: #e2e8f0;
}

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.2);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Stats Row */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-val {
  font-size: 32px;
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
  line-height: 1;
  color: #ffffff;
}

.stat-lbl {
  font-size: 12px;
  color: #a1a1aa;
  margin-top: 6px;
  font-weight: 500;
}

/* Grid Cards (4 columns or 3 columns) */
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-card-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.grid-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.2);
}

.grid-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.15);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.grid-card-title {
  font-size: 17px;
  margin-bottom: 8px;
  color: #ffffff;
}

.grid-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #a1a1aa;
}

/* Branch Filter Cards */
.branch-pill-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.branch-tab-btn {
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--dark-card);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #a1a1aa;
  transition: var(--transition-smooth);
}

.branch-tab-btn.active {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  box-shadow: 0 0 10px var(--brand-glow);
}

.branches-scroll-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 6px;
}

.branch-mini-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-card-border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.branch-mini-card:hover {
  border-color: rgba(220, 38, 38, 0.4);
}

/* Toast */
.toast-box {
  position: fixed;
  bottom: 30px;
  right: 90px;
  background: #18181f;
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  z-index: 100;
  transform: translateY(80px);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.toast-box.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   MOBILE & RESPONSIVE BEHAVIOR
   ========================================================================== */

@media (max-width: 1024px) {
  .slide {
    padding: 85px 36px 50px;
  }
  .split-layout, .split-layout.flipped {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .branches-scroll-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .visual-card img {
    height: 260px;
  }
}

@media (max-width: 860px) {
  html, body {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
  }
  .deck {
    position: static;
    overflow: visible;
    width: 100%;
    height: auto;
  }
  .deck-track {
    transform: none !important;
    transition: none;
    height: auto;
  }
  .slide {
    height: auto;
    min-height: 100vh;
    padding: 85px 20px 60px;
  }
  .deck-dots, .deck-arrows, .deck-hint {
    display: none !important;
  }
  .deck-bar {
    background: rgba(9, 9, 11, 0.95);
    padding: 0 16px;
    height: 60px;
  }
  .deck-section-title {
    display: none;
  }
  .card-grid-4, .card-grid-3, .branches-scroll-container {
    grid-template-columns: 1fr;
  }
  .slide-title {
    font-size: 32px;
  }
}
