   /* Color System  */
:root {
    /* Primary */
    --color-primary: #4f46e5;
    --color-primary-dark: #4338ca;
    --color-primary-light: #eef2ff;

    /* Text */
    --color-text-primary: #111827;
    --color-text-secondary: #374151;
    --color-text-muted: #6b7280;

    /* Background */
    --color-bg: #ffffff;
    --color-surface: #f9fafb;

    /* Borders */
    --color-border: #c5c8d0;
    --color-divider: #d1d5db;

    /* Status */
    --color-success: #16a34a;
    --color-warning: #d97706;
    --color-error: #dc2626;
}

   /* Base Reset */

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

html {
    font-size: 16px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--color-surface);
    color: var(--color-text-primary);
    line-height: 1.6;
}



/* font sizes */
h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
}
p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.page-container{
    max-width: 1200px;
    margin: 0 auto;
}



/* navbar style */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem 1rem 2rem;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.navbar-links {
  display: flex;
  gap: 1rem;
  list-style: none; 
  margin: 0;
  padding: 0;
}

.navbar-links a {
  text-decoration: none;
  color: var(--color-text-primary);
  font-weight: 500;
  font-size: clamp(0.875rem, 1.3vw, 2rem);
}
.navbar-links a:hover {
  color: var(--color-text-muted);
}
.navbar-brand {
  font-size: clamp(1.25rem, 2vw, 3rem);
  font-weight: bold;
  color: var(--color-text-primary);
  text-decoration: none;
}





.chapter-detail-page{
    padding: 2rem 4rem 4rem 2rem;
}

@media (max-width: 1200px) {
    .home-page {
        padding: 4rem 2rem 4rem 2rem;
    }

    .features{
        flex-direction: column;
    }

}