/* Minimalist Flat Presentation CSS */
:root {
  --co-white: #ffffff;
  --co-dark: #1f2024;
  --co-blue: #2B4CFF;
  --co-light-blue: #a3b8ff;
  --co-gray: #7a7c85;
  --co-light-gray: #f4f5f7;

  --font-main: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--co-dark);
  color: var(--co-dark);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  line-height: 1.35;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

/* Base Typography */
h1,
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  font-size: 1rem;
}

.mega-title {
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.mega-title-sm {
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.huge-number {
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Utilities */
.text-white {
  color: var(--co-white) !important;
}

.text-blue {
  color: var(--co-blue) !important;
}

.text-dark {
  color: var(--co-dark) !important;
}

.text-gray {
  color: var(--co-gray) !important;
}

.text-light-blue {
  color: var(--co-light-blue) !important;
}

.bg-white {
  background-color: var(--co-white) !important;
}

.bg-blue {
  background-color: var(--co-blue) !important;
  color: var(--co-white);
}

.bg-dark {
  background-color: var(--co-dark) !important;
  color: var(--co-white);
}

.bg-light-gray {
  background-color: var(--co-light-gray) !important;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mt-5 {
  margin-top: 5rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-4 {
  margin-bottom: 3rem;
}

.p-2 {
  padding: 2rem;
}

.p-3 {
  padding: 3rem;
}

.p-4 {
  padding: 4rem;
}

.mr-2 {
  margin-right: 1rem;
}

.text-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

.sm-text {
  font-size: 0.95rem;
}

/* Layouts */
.split-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 1rem;
}

.slide-question {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.bg-dark .split-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.bg-blue .split-header {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.split-pane {
  display: flex;
  width: 100%;
  gap: 2rem;
}

.split-pane.align-center {
  align-items: center;
}

.pane-left,
.pane-right {
  flex: 1;
}

.pane-half {
  flex: 1;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-card {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 1rem;
}

.bg-dark .grid-card,
.bg-blue .grid-card {
  border-top-color: rgba(255, 255, 255, 0.2);
}

/* Specific Components */
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
}

.bg-dark .stat-row,
.bg-blue .stat-row {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.stat-row.border-none {
  border-bottom: none;
}

.stat-label {
  font-size: 1.2rem;
}

.bullet-list {
  list-style: none;
}

.bullet-list li {
  padding: 0.75rem 0;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.border-list {
  list-style: none;
}

.border-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.border-list.text-dark li {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.large-list li {
  font-size: 1.4rem;
}

/* Slide System */
.slider-container {
  width: 100%;
  height: 100vh;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 3rem 8vw 2rem 8vw;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.slide.active {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.slide-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.content-middle {
  justify-content: center;
}

/* Footer Meta Elements */
.footer-container {
  width: 100%;
  max-width: 1400px;
  margin: 3rem auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex: 0 0 auto;
  padding-bottom: 2rem;
}

.footer-left {
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-right {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Minimalist Nav */
.slider-nav-minimal {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10000;
}

.nav-minimal {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.progress-bar-minimal {
  width: 150px;
  height: 3px;
  background: rgba(122, 124, 133, 0.3);
}

.progress-fill {
  height: 100%;
  background: var(--co-blue);
  width: 0%;
  transition: width 0.3s ease;
}

/* Responsiveness */
@media (max-width: 1024px) {
  h2 {
    font-size: 2.5rem;
  }

  .mega-title {
    font-size: 3.5rem;
  }

  .mega-title-sm {
    font-size: 3rem;
  }

  .split-pane {
    flex-direction: column;
    gap: 2rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .slide {
    padding: 4rem 5vw 6rem;
    overflow-y: auto;
  }
}

/* Compact Slide Print/Display overrides */
.compact-slide h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.compact-slide .slide-question {
  font-size: 1.1rem;
}

.compact-slide h4 {
  font-size: 1.1rem;
}

.compact-slide p.sm-text {
  font-size: 0.95rem;
  line-height: 1.3;
}

.compact-slide .split-pane {
  gap: 2vw;
  margin-top: 1rem;
}

.compact-slide .mb-2 {
  margin-bottom: 0.8rem;
}

.compact-slide .mb-4 {
  margin-bottom: 1.2rem;
}

.compact-slide .mt-4 {
  margin-top: 1.5rem;
}

.compact-slide .grid-card {
  padding: 1rem;
}

.compact-slide .bullet-list li {
  padding: 0.15rem 0 !important;
  font-size: 0.95rem;
}

.compact-slide .pane-right,
.compact-slide .pane-left {
  padding: 1rem;
}