/* Theme Variables */
:root {
  --font-family-display: Arial, sans-serif;
  --font-weight-display: 600;
  --font-family-content: Arial, sans-serif;
  --font-weight-content: 400;
  --font-size-content: 16px;
  --line-height-content: 1.4;
}

/* LIGHT THEME (DEFAULT) */
body.theme-light {
  --color-bg-base: #ffffff;
  --color-bg-elevated: #f8fafc;
  --color-bg-surface: #f1f5f9;
  --color-bg-muted: #e2e8f0;
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #64748b;
  --color-text-accent: #0284c7;
  --color-primary: #0284c7;
  --color-primary-foreground: #ffffff;
  /* Slide card effect: smooth corners + soft shadow (blue-silver; optional: green or silver below) */
  --slide-radius: 16px;
  --slide-shadow: 0 10px 40px rgba(2, 132, 199, 0.08), 0 4px 20px rgba(100, 116, 139, 0.06), 0 0 0 1px rgba(148, 163, 184, 0.08);
  /* Green variant: 0 10px 40px rgba(5, 150, 105, 0.08), 0 4px 20px rgba(100, 116, 139, 0.06), 0 0 0 1px rgba(148, 163, 184, 0.08); */
  /* Silver variant: 0 10px 40px rgba(100, 116, 139, 0.1), 0 4px 20px rgba(71, 85, 105, 0.06), 0 0 0 1px rgba(203, 213, 225, 0.2); */
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-content);
  font-weight: var(--font-weight-content);
  font-size: var(--font-size-content);
  line-height: var(--line-height-content);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Slide Container */
.slide {
  width: 960px;
  height: 540px;
  margin: 0 auto 20px;
  display: flex;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--slide-radius);
  box-shadow: var(--slide-shadow);
}

/* Layout Utilities */
.row { flex-direction: row; }
.col { flex-direction: column; }
.center {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.space-between { justify-content: space-between; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.fill-width { flex: 1; }
.fill-height { flex: 1; display: flex; flex-direction: column; }

/* Spacing */
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }
.gap-xl { gap: 2rem; }

.p-16 { padding: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-display);
  line-height: 1.2;
  margin: 0;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

.text-6xl { font-size: 3.75rem; }
.text-4xl { font-size: 2.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }

.font-bold { font-weight: 700; }
.text-center { text-align: center; }

/* Lists */
ul {
  margin-left: 2rem;
  line-height: 1.8;
}

ul li { list-style: disc; }
li { margin-bottom: 0.75rem; }
li:last-child { margin-bottom: 0; }

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .slide {
    width: 100%;
    height: auto;
    min-height: 400px;
    padding: 2rem !important;
  }
  
  .text-6xl { font-size: 2.5rem; }
  .text-4xl { font-size: 1.75rem; }
  .text-2xl { font-size: 1.25rem; }
  .text-xl { font-size: 1.125rem; }
  .text-lg { font-size: 1rem; }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  .row {
    flex-direction: column !important;
  }
  
  ul {
    margin-left: 1.5rem;
  }
  
  li {
    margin-bottom: 0.5rem;
  }
}

@media screen and (max-width: 768px) {
  .slide {
    padding: 1.5rem !important;
    min-height: 350px;
  }
  
  .text-6xl { font-size: 2rem; }
  .text-4xl { font-size: 1.5rem; }
  .text-2xl { font-size: 1.125rem; }
  .text-xl { font-size: 1rem; }
  .text-lg { font-size: 0.9375rem; }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
  
  .gap-lg { gap: 1rem; }
  .gap-xl { gap: 1.25rem; }
  
  ul {
    margin-left: 1.25rem;
    line-height: 1.6;
  }
}

@media screen and (max-width: 480px) {
  .slide {
    padding: 1rem !important;
    min-height: 300px;
  }
  
  .text-6xl { font-size: 1.75rem; }
  .text-4xl { font-size: 1.25rem; }
  .text-2xl { font-size: 1rem; }
  .text-xl { font-size: 0.9375rem; }
  .text-lg { font-size: 0.875rem; }
  .text-sm { font-size: 0.8125rem; }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }
  
  .mb-6 { margin-bottom: 1rem; }
  .mb-8 { margin-bottom: 1.25rem; }
  .mt-8 { margin-top: 1.25rem; }
  
  ul {
    margin-left: 1rem;
  }
}

/* Logo styling */
.logo-header {
  height: 120px;
  width: auto;
  margin-bottom: 2rem;
}

.logo-footer {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  height: 120px;
  width: auto;
  opacity: 0.15;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
}

/* Table responsive design */
@media screen and (max-width: 768px) {
  table {
    font-size: 0.75rem;
  }
  
  table th,
  table td {
    padding: 0.5rem !important;
    font-size: 0.75rem !important;
  }
}

@media screen and (max-width: 480px) {
  table th,
  table td {
    padding: 0.375rem !important;
    font-size: 0.6875rem !important;
  }
}

/* Print/PDF optimization */
@media print {
  .slide {
    page-break-after: always;
    margin: 0;
    width: 960px;
    height: 540px;
    box-shadow: none;
    border-radius: 0;
  }
  
  table {
    page-break-inside: avoid;
  }
}

@media screen and (max-width: 768px) {
  .logo-header {
    height: 50px;
  }
  
  .logo-footer {
    height: 30px;
    bottom: 1rem;
    right: 1rem;
  }
}
