:root {
  --bg: #ffffff;
  --panel: #f8f9fa;
  --muted: #6c757d;
  --text: #212529;
  --accent: #0066cc;
  --ok: #28a745;
  --warn: #fd7e14;
  --bad: #dc3545;
  --card: #ffffff;
  --border: #dee2e6;
  --sidebar-width: 280px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Crimson Text", Georgia, serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Replaced slide-based layout with sidebar navigation layout */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--panel);
  border-right: 2px solid var(--border);
  padding: 32px 24px;
  z-index: 100;
  overflow-y: auto;
}

.sidebar-header h2 {
  font-size: 24px;
  margin: 0 0 32px;
  color: var(--accent);
  font-weight: 700;
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  margin-bottom: 8px;
}

.nav-link {
  display: block;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  background: var(--accent);
  color: white;
}

.main-content {
  margin-left: var(--sidebar-width);
  padding: 40px 60px;
  max-width: 1200px;
}

.content-section {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.content-section.active {
  display: block;
}

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

.content-section h1 {
  font-size: 48px;
  margin: 0 0 24px;
  font-weight: 700;
  color: var(--accent);
}

.content-section h2 {
  font-size: 32px;
  margin: 32px 0 20px;
  font-weight: 600;
  color: var(--text);
}

.content-section h3 {
  font-size: 24px;
  margin: 24px 0 16px;
  font-weight: 600;
  color: var(--accent);
}

.intro-text {
  font-size: 22px;
  line-height: 1.7;
  margin-bottom: 32px;
  color: var(--muted);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.problem-card {
  background: var(--card);
  border: 2px solid var(--border);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.problem-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.impact-section {
  background: var(--panel);
  padding: 32px;
  border-radius: 12px;
  margin: 40px 0;
}

.persona-card {
  background: var(--accent);
  color: white;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 32px;
}

.persona-card h2 {
  color: white;
  margin: 0 0 16px;
}

.scenario-list {
  font-size: 18px;
  padding-left: 24px;
}

.scenario-list li {
  margin-bottom: 8px;
}

.process-steps {
  display: flex;
  gap: 24px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel);
  padding: 16px 20px;
  border-radius: 8px;
  flex: 1;
  min-width: 200px;
}

.step-number {
  background: var(--accent);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: "Source Sans Pro", sans-serif;
}

.process-impact {
  font-style: italic;
  color: var(--bad);
  font-weight: 600;
}

.solution-description {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.feature-card {
  background: var(--card);
  border: 2px solid var(--border);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
}

.feature-card ul {
  margin: 0;
  padding-left: 20px;
}

.feature-card li {
  margin-bottom: 8px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin: 32px 0;
}

.screenshot-item img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

.screenshot-item p {
  font-family: "Source Sans Pro", sans-serif;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

.scope-list {
  background: var(--panel);
  padding: 24px;
  border-radius: 8px;
  margin: 24px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.metric-card {
  background: var(--card);
  border: 2px solid var(--border);
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.metric-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 600;
}

.metric-timeline {
  font-size: 14px;
  color: var(--muted);
  font-family: "Source Sans Pro", sans-serif;
}

.journey-steps {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}

.journey-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--panel);
  padding: 24px;
  border-radius: 12px;
}

.journey-step .step-number {
  margin-top: 4px;
}

.journey-step h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.journey-step p {
  margin: 0;
  color: var(--muted);
}

.diagram-item {
  margin: 32px 0;
  text-align: center;
}

.diagram-item img {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.tool-card {
  background: var(--card);
  border: 2px solid var(--border);
  padding: 24px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  display: block;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
  color: var(--text);
}

.tool-card h3 {
  margin: 0 0 12px;
  color: var(--accent);
}

.tool-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.tool-type {
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer {
  margin-left: var(--sidebar-width);
  background: var(--panel);
  border-top: 2px solid var(--border);
  padding: 32px 60px;
  text-align: center;
}

.footer-content p {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  text-decoration: none;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 500;
  padding: 12px 20px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent);
  color: white;
}

.social-icon {
  width: 24px;
  height: 24px;
}

.demo-link a {
  background: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.demo-link a:hover {
  background: var(--text);
  color: white;
}

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 2px solid var(--border);
  }

  .main-content {
    margin-left: 0;
    padding: 20px;
  }

  .footer {
    margin-left: 0;
    padding: 20px;
  }

  .content-section h1 {
    font-size: 32px;
  }

  .content-section h2 {
    font-size: 24px;
  }

  .process-steps {
    flex-direction: column;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }
}
