:root {
  --bg-color: #050a14;
  --bg-gradient: radial-gradient(circle at center, #0a192f 0%, #050a14 100%);
  --surface: #0a1324;
  --accent: #64ffda;
  --accent-secondary: #00d2ff;
  --text: #e6f1ff;
  --text-muted: #8892b0;
  --glass: rgba(10, 19, 36, 0.8);
  --glass-border: rgba(100, 255, 218, 0.2);
  --card-shadow: 0 10px 30px -15px rgba(100, 255, 218, 0.3);
  --glow-color: rgba(100, 255, 218, 0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-theme {
  --bg-color: #f0f4f8;
  --bg-gradient: radial-gradient(circle at center, #ffffff 0%, #f0f4f8 100%);
  --surface: #ffffff;
  --accent: #00897b;
  --accent-secondary: #1976d2;
  --text: #1a202c;
  --text-muted: #4a5568;
  --glass: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 137, 123, 0.2);
  --card-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
  --glow-color: rgba(0, 137, 123, 0.05);
}

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

body {
  font-family: "Montserrat", "Roboto", sans-serif;
  background-color: var(--bg-color);
  color: var(--text);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  -webkit-font-smoothing: antialiased;
}

.slide-container {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 4rem;
  background: var(--bg-gradient);
  position: relative;
  overflow-y: auto;
}

/* Background elements */
.slide-container::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  z-index: 0;
}

.content {
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  color: var(--accent-secondary);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

/* Layout helpers */
.grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 12px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--card-shadow);
}

/* Toolbar */
.toolbar {
  position: fixed;
  top: 2rem;
  right: 2rem;
  display: flex;
  gap: 1rem;
  z-index: 1000;
}

.toggle-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
  user-select: none;
}

.toggle-btn:hover {
  background: var(--accent);
  color: var(--bg-color);
}

.nav {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 1rem;
  z-index: 100;
}
.nav-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--accent);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn:hover {
  background: var(--accent);
  color: var(--bg-color);
}

.progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--accent);
  z-index: 101;
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

th {
  color: var(--accent);
  font-weight: 600;
}

/* Lists */
ul {
  list-style: none;
}

li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
}
