@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
:root {
  --primary-color: #222222;
  --secondary-color: #ffffff;
  --accent-color: #ff4b4b;
  --text-color: #333333;
  --text-light: #666666;
  --text-dark: #000000;
  --background-color: #fafafa;
  --card-bg: #ffffff;
  --border-color: #eee;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8; }

:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-monospace: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75; }

:root {
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 2.5rem;
  --spacing-3xl: 3rem; }

:root {
  --container-width: 1400px;
  --header-height: 4rem;
  --sidebar-width: 300px;
  --content-max-width: 800px;
  --z-header: 1000;
  --z-modal: 1100;
  --z-toast: 1200;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1); }

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0; }

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block; }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */ }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent; }

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */ }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none; }

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */ }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible; }

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none; }

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */ }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline; }

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto; }

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */ }

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */ }

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block; }

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item; }

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none; }

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none; }

/* Base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; }
  body.menu-open {
    overflow: hidden; }

a {
  color: inherit;
  text-decoration: none; }

img {
  max-width: 100%;
  height: auto;
  display: block; }

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit; }

input,
textarea,
select {
  font: inherit;
  color: inherit; }

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease; }
  a:hover {
    color: var(--accent-color); }

ul,
ol {
  list-style-position: inside; }

table {
  width: 100%;
  border-collapse: collapse; }

:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px; }

:focus:not(:focus-visible) {
  outline: none; }

:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  line-height: 1.2;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark); }

h1 {
  font-size: var(--font-size-4xl); }
  @media (max-width: 768px) {
    h1 {
      font-size: var(--font-size-3xl); } }
h2 {
  font-size: var(--font-size-3xl); }
  @media (max-width: 768px) {
    h2 {
      font-size: var(--font-size-2xl); } }
h3 {
  font-size: var(--font-size-2xl); }
  @media (max-width: 768px) {
    h3 {
      font-size: var(--font-size-xl); } }
h4 {
  font-size: var(--font-size-xl); }

h5 {
  font-size: var(--font-size-lg); }

h6 {
  font-size: var(--font-size-base); }

p {
  margin-bottom: 1rem; }

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease; }
  a:hover {
    color: var(--accent-color); }

strong {
  font-weight: 600; }

em {
  font-style: italic; }

small {
  font-size: var(--font-size-sm); }

blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--primary-color);
  background-color: var(--background-color);
  font-style: italic; }
  blockquote p:last-child {
    margin-bottom: 0; }

code {
  font-family: 'Fira Code', monospace;
  font-size: 0.9em;
  padding: 0.2em 0.4em;
  background-color: var(--background-color);
  border-radius: var(--radius-sm); }

pre {
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: var(--background-color);
  border-radius: var(--radius-md);
  overflow-x: auto; }
  pre code {
    padding: 0;
    background-color: transparent; }

/* Helper Classes */
.text-left {
  text-align: left !important; }

.text-center {
  text-align: center !important; }

.text-right {
  text-align: right !important; }

.d-none {
  display: none !important; }

.d-block {
  display: block !important; }

.d-flex {
  display: flex !important; }

.d-inline {
  display: inline !important; }

.d-inline-block {
  display: inline-block !important; }

.flex-row {
  flex-direction: row !important; }

.flex-column {
  flex-direction: column !important; }

.justify-content-start {
  justify-content: flex-start !important; }

.justify-content-center {
  justify-content: center !important; }

.justify-content-end {
  justify-content: flex-end !important; }

.justify-content-between {
  justify-content: space-between !important; }

.align-items-start {
  align-items: flex-start !important; }

.align-items-center {
  align-items: center !important; }

.align-items-end {
  align-items: flex-end !important; }

.m-0 {
  margin: 0 !important; }

.mt-0 {
  margin-top: 0 !important; }

.mb-0 {
  margin-bottom: 0 !important; }

.ml-0 {
  margin-left: 0 !important; }

.mr-0 {
  margin-right: 0 !important; }

.p-0 {
  padding: 0 !important; }

.pt-0 {
  padding-top: 0 !important; }

.pb-0 {
  padding-bottom: 0 !important; }

.pl-0 {
  padding-left: 0 !important; }

.pr-0 {
  padding-right: 0 !important; }

.visible {
  visibility: visible !important; }

.invisible {
  visibility: hidden !important; }

.position-relative {
  position: relative !important; }

.position-absolute {
  position: absolute !important; }

.position-fixed {
  position: fixed !important; }

.w-100 {
  width: 100% !important; }

.h-100 {
  height: 100% !important; }

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }

.text-break {
  word-break: break-word !important;
  word-wrap: break-word !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0; }

.clearfix::after {
  display: block;
  clear: both;
  content: ""; }

.header-anchor {
  margin-left: 0.5em;
  color: #6366f1;
  text-decoration: none;
  opacity: 0.6;
  font-size: 0.8em;
  transition: opacity 0.2s; }

.header-anchor:hover {
  opacity: 1; }

/* High-contrast code block styles */
pre.chroma, pre code, code[class*="language-"], pre {
  background: #fff !important;
  color: #222 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  font-size: 1.08em !important;
  line-height: 1.7 !important;
  font-family: 'JetBrains Mono', 'Fira Code', Monaco, Consolas, 'Courier New', monospace !important;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.03); }

pre.chroma .ln, pre .ln {
  color: #b0b0b0 !important; }

pre.chroma .c, pre .c {
  color: #6a737d !important;
  font-style: italic; }

/* Comment */
pre.chroma .k, pre .k {
  color: #005cc5 !important;
  font-weight: bold; }

/* Keyword */
pre.chroma .s, pre .s {
  color: #d73a49 !important; }

/* String */
pre.chroma .n, pre .n {
  color: #222 !important; }

/* Name */
pre.chroma .o, pre .o {
  color: #d73a49 !important; }

/* Operator */
pre.chroma .mi, pre .mi {
  color: #005cc5 !important; }

/* Number */
pre.chroma .nf, pre .nf {
  color: #6f42c1 !important; }

/* Function */
pre.chroma .err, pre .err {
  color: #d73a49 !important;
  background: #ffeef0 !important; }

/* Background */
.bg {
  color: #f8f8f2;
  background-color: #272822; }

/* PreWrapper */
.chroma {
  color: #f8f8f2;
  background-color: #272822; }

/* Other */
/* Error */
.chroma .err {
  color: #960050;
  background-color: #1e0010; }

/* CodeLine */
/* LineLink */
.chroma .lnlinks {
  outline: none;
  text-decoration: none;
  color: inherit; }

/* LineTableTD */
.chroma .lntd {
  vertical-align: top;
  padding: 0;
  margin: 0;
  border: 0; }

/* LineTable */
.chroma .lntable {
  border-spacing: 0;
  padding: 0;
  margin: 0;
  border: 0; }

/* LineHighlight */
.chroma .hl {
  background-color: #3c3d38; }

/* LineNumbersTable */
.chroma .lnt {
  white-space: pre;
  -webkit-user-select: none;
  user-select: none;
  margin-right: 0.4em;
  padding: 0 0.4em 0 0.4em;
  color: #7f7f7f; }

/* LineNumbers */
.chroma .ln {
  white-space: pre;
  -webkit-user-select: none;
  user-select: none;
  margin-right: 0.4em;
  padding: 0 0.4em 0 0.4em;
  color: #7f7f7f; }

/* Line */
.chroma .line {
  display: flex; }

/* Keyword */
.chroma .k {
  color: #66d9ef; }

/* KeywordConstant */
.chroma .kc {
  color: #66d9ef; }

/* KeywordDeclaration */
.chroma .kd {
  color: #66d9ef; }

/* KeywordNamespace */
.chroma .kn {
  color: #f92672; }

/* KeywordPseudo */
.chroma .kp {
  color: #66d9ef; }

/* KeywordReserved */
.chroma .kr {
  color: #66d9ef; }

/* KeywordType */
.chroma .kt {
  color: #66d9ef; }

/* Name */
/* NameAttribute */
.chroma .na {
  color: #a6e22e; }

/* NameBuiltin */
/* NameBuiltinPseudo */
/* NameClass */
.chroma .nc {
  color: #a6e22e; }

/* NameConstant */
.chroma .no {
  color: #66d9ef; }

/* NameDecorator */
.chroma .nd {
  color: #a6e22e; }

/* NameEntity */
/* NameException */
.chroma .ne {
  color: #a6e22e; }

/* NameFunction */
.chroma .nf {
  color: #a6e22e; }

/* NameFunctionMagic */
/* NameLabel */
/* NameNamespace */
/* NameOther */
.chroma .nx {
  color: #a6e22e; }

/* NameProperty */
/* NameTag */
.chroma .nt {
  color: #f92672; }

/* NameVariable */
/* NameVariableClass */
/* NameVariableGlobal */
/* NameVariableInstance */
/* NameVariableMagic */
/* Literal */
.chroma .l {
  color: #ae81ff; }

/* LiteralDate */
.chroma .ld {
  color: #e6db74; }

/* LiteralString */
.chroma .s {
  color: #e6db74; }

/* LiteralStringAffix */
.chroma .sa {
  color: #e6db74; }

/* LiteralStringBacktick */
.chroma .sb {
  color: #e6db74; }

/* LiteralStringChar */
.chroma .sc {
  color: #e6db74; }

/* LiteralStringDelimiter */
.chroma .dl {
  color: #e6db74; }

/* LiteralStringDoc */
.chroma .sd {
  color: #e6db74; }

/* LiteralStringDouble */
.chroma .s2 {
  color: #e6db74; }

/* LiteralStringEscape */
.chroma .se {
  color: #ae81ff; }

/* LiteralStringHeredoc */
.chroma .sh {
  color: #e6db74; }

/* LiteralStringInterpol */
.chroma .si {
  color: #e6db74; }

/* LiteralStringOther */
.chroma .sx {
  color: #e6db74; }

/* LiteralStringRegex */
.chroma .sr {
  color: #e6db74; }

/* LiteralStringSingle */
.chroma .s1 {
  color: #e6db74; }

/* LiteralStringSymbol */
.chroma .ss {
  color: #e6db74; }

/* LiteralNumber */
.chroma .m {
  color: #ae81ff; }

/* LiteralNumberBin */
.chroma .mb {
  color: #ae81ff; }

/* LiteralNumberFloat */
.chroma .mf {
  color: #ae81ff; }

/* LiteralNumberHex */
.chroma .mh {
  color: #ae81ff; }

/* LiteralNumberInteger */
.chroma .mi {
  color: #ae81ff; }

/* LiteralNumberIntegerLong */
.chroma .il {
  color: #ae81ff; }

/* LiteralNumberOct */
.chroma .mo {
  color: #ae81ff; }

/* Operator */
.chroma .o {
  color: #f92672; }

/* OperatorWord */
.chroma .ow {
  color: #f92672; }

/* Punctuation */
/* Comment */
.chroma .c {
  color: #75715e; }

/* CommentHashbang */
.chroma .ch {
  color: #75715e; }

/* CommentMultiline */
.chroma .cm {
  color: #75715e; }

/* CommentSingle */
.chroma .c1 {
  color: #75715e; }

/* CommentSpecial */
.chroma .cs {
  color: #75715e; }

/* CommentPreproc */
.chroma .cp {
  color: #75715e; }

/* CommentPreprocFile */
.chroma .cpf {
  color: #75715e; }

/* Generic */
/* GenericDeleted */
.chroma .gd {
  color: #f92672; }

/* GenericEmph */
.chroma .ge {
  font-style: italic; }

/* GenericError */
/* GenericHeading */
/* GenericInserted */
.chroma .gi {
  color: #a6e22e; }

/* GenericOutput */
/* GenericPrompt */
/* GenericStrong */
.chroma .gs {
  font-weight: bold; }

/* GenericSubheading */
.chroma .gu {
  color: #75715e; }

/* GenericTraceback */
/* GenericUnderline */
/* TextWhitespace */
/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000;
  padding: 1rem; }

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem; }

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  text-decoration: none; }

.main-nav {
  display: flex;
  align-items: center; }
  .main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0; }
  .main-nav li {
    margin: 0; }
  .main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s; }
    .main-nav a:hover {
      color: #000; }

.auth-buttons {
  display: flex;
  gap: 1rem; }
  .auth-buttons button {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s; }
  .auth-buttons #login-button-head {
    background: transparent;
    border: 1px solid #eee;
    color: #333; }
    .auth-buttons #login-button-head:hover {
      background: #f5f5f5; }
  .auth-buttons #signup-button-head {
    background: #000;
    border: none;
    color: #fff; }
    .auth-buttons #signup-button-head:hover {
      background: #333; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0; }
  .menu-toggle span {
    width: 100%;
    height: 2px;
    background: #000;
    transition: all 0.3s; }
  .menu-toggle.active span:first-child {
    transform: translateY(8px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0; }
  .menu-toggle.active span:last-child {
    transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1024px) {
  .main-nav {
    display: none; }
  .auth-buttons {
    display: none; }
  .menu-toggle {
    display: flex; } }

@media (max-width: 768px) {
  .site-header {
    padding: 0.75rem; }
  .header-container {
    padding: 0 0.75rem; }
  .logo a {
    font-size: 1.25rem; } }

/* Navigation Styles */
.main-nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex; }

.main-nav li {
  margin-left: 2rem; }

.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease; }
  .main-nav a:hover {
    color: var(--primary-color); }

@media (max-width: 1024px) {
  .main-nav {
    display: none; }
    .main-nav.active {
      display: block;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background-color: var(--background-color);
      border-top: 2px solid var(--primary-color);
      padding: 1rem;
      z-index: 1000; }
      .main-nav.active ul {
        flex-direction: column; }
      .main-nav.active li {
        margin: 1rem 0; } }

.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
  padding: 4px;
  margin-right: 1rem;
  transition: all 0.3s ease; }
  .sidebar-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    margin: 2px 0;
    transition: all 0.3s ease; }
  .sidebar-toggle:hover span {
    background: var(--secondary); }
  .sidebar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px); }
  .sidebar-toggle.active span:nth-child(2) {
    opacity: 0; }
  .sidebar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, -2px); }
  .sidebar-toggle.sidebar-open {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8); }

.sidebar {
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  background: #fff;
  border-right: 1px solid #e5e7eb;
  overflow-y: auto;
  padding: 1.5rem 0; }
  .sidebar::-webkit-scrollbar {
    width: 4px; }
  .sidebar::-webkit-scrollbar-track {
    background: transparent; }
  .sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px; }
  .sidebar .book-brand {
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb; }
    .sidebar .book-brand a {
      display: flex;
      align-items: center;
      text-decoration: none; }
      .sidebar .book-brand a span {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1a1a1a; }
  .sidebar .book-search {
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
    position: relative; }
    .sidebar .book-search input {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      font-size: 0.875rem;
      background: #f9fafb;
      transition: all 0.2s ease; }
      .sidebar .book-search input::placeholder {
        color: #9ca3af; }
      .sidebar .book-search input:focus {
        outline: none;
        border-color: #6366f1;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); }
    .sidebar .book-search .book-search-spinner {
      position: absolute;
      right: 2rem;
      top: 50%;
      transform: translateY(-50%);
      width: 1rem;
      height: 1rem;
      border: 2px solid #e5e7eb;
      border-top-color: #6366f1;
      border-radius: 50%;
      animation: spin 0.75s linear infinite; }
      .sidebar .book-search .book-search-spinner.hidden {
        display: none; }
    .sidebar .book-search #book-search-results {
      position: absolute;
      top: 100%;
      left: 1.5rem;
      right: 1.5rem;
      background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      margin-top: 0.5rem;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      z-index: 10;
      max-height: 300px;
      overflow-y: auto;
      display: none; }
      .sidebar .book-search #book-search-results:not(:empty) {
        display: block;
        padding: 0.5rem 0; }
      .sidebar .book-search #book-search-results li {
        padding: 0.5rem 1rem;
        cursor: pointer; }
        .sidebar .book-search #book-search-results li:hover {
          background: #f3f4f6; }
  .sidebar .sidebar-menu .sidebar-header {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem; }
    .sidebar .sidebar-menu .sidebar-header .sidebar-title {
      font-size: 1.25rem;
      font-weight: 600;
      color: #1a1a1a;
      margin: 0; }
  .sidebar .sidebar-menu .sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0; }
    .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item {
      margin: 0; }
      .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item .sidebar-nav-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1.5rem;
        color: #4b5563;
        text-decoration: none;
        font-size: 0.9375rem;
        line-height: 1.4;
        transition: all 0.2s ease;
        border-left: 3px solid transparent; }
        .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item .sidebar-nav-link i {
          width: 16px;
          text-align: center;
          color: #6b7280; }
        .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item .sidebar-nav-link:hover {
          background: #f3f4f6;
          color: #4f46e5;
          border-left-color: #4f46e5; }
          .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item .sidebar-nav-link:hover i {
            color: #4f46e5; }
        .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item .sidebar-nav-link.active {
          background: #f3f4f6;
          color: #4f46e5;
          font-weight: 500;
          border-left-color: #4f46e5; }
          .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item .sidebar-nav-link.active i {
            color: #4f46e5; }
      .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item.sidebar-nav-section .sidebar-nav-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1.5rem;
        color: #4b5563;
        font-size: 0.9375rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        border-left: 3px solid transparent; }
        .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item.sidebar-nav-section .sidebar-nav-header i:first-child {
          width: 16px;
          text-align: center;
          color: #6b7280; }
        .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item.sidebar-nav-section .sidebar-nav-header .sidebar-nav-toggle {
          margin-left: auto;
          font-size: 0.75rem;
          transition: transform 0.2s ease; }
        .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item.sidebar-nav-section .sidebar-nav-header:hover {
          background: #f3f4f6;
          color: #4f46e5;
          border-left-color: #4f46e5; }
          .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item.sidebar-nav-section .sidebar-nav-header:hover i:first-child {
            color: #4f46e5; }
        .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item.sidebar-nav-section .sidebar-nav-header.active {
          background: #f3f4f6;
          color: #4f46e5;
          border-left-color: #4f46e5; }
          .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item.sidebar-nav-section .sidebar-nav-header.active i:first-child {
            color: #4f46e5; }
          .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item.sidebar-nav-section .sidebar-nav-header.active .sidebar-nav-toggle {
            transform: rotate(180deg); }
      .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item.sidebar-nav-section .sidebar-nav-submenu {
        list-style: none;
        padding: 0;
        margin: 0;
        background: #f9fafb;
        border-left: 3px solid #e5e7eb;
        margin-left: 1.5rem;
        display: none; }
        .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item.sidebar-nav-section .sidebar-nav-submenu.active {
          display: block; }
        .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item.sidebar-nav-section .sidebar-nav-submenu .sidebar-nav-subitem .sidebar-nav-sublink {
          display: block;
          padding: 0.5rem 1rem;
          color: #6b7280;
          text-decoration: none;
          font-size: 0.875rem;
          transition: all 0.2s ease;
          border-left: 2px solid transparent; }
          .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item.sidebar-nav-section .sidebar-nav-submenu .sidebar-nav-subitem .sidebar-nav-sublink:hover {
            background: #f3f4f6;
            color: #4f46e5;
            border-left-color: #4f46e5; }
          .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item.sidebar-nav-section .sidebar-nav-submenu .sidebar-nav-subitem .sidebar-nav-sublink.active {
            background: #f3f4f6;
            color: #4f46e5;
            font-weight: 500;
            border-left-color: #4f46e5; }

.main-content {
  margin-left: 280px;
  padding: 2rem;
  min-height: calc(100vh - var(--header-height, 60px)); }

@media (max-width: 768px) {
  .sidebar-toggle {
    display: block; }
  .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    z-index: 1000;
    transition: left 0.3s ease;
    border-right: 1px solid #e5e7eb;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto; }
    .sidebar.active {
      left: 0; }
    .sidebar .sidebar-menu .sidebar-header {
      padding: 1rem;
      border-bottom: 1px solid #e5e7eb;
      margin-bottom: 1rem; }
    .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item .sidebar-nav-link,
    .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item .sidebar-nav-header {
      padding: 0.75rem 1rem; }
    .sidebar .sidebar-menu .sidebar-nav .sidebar-nav-item .sidebar-nav-submenu {
      margin-left: 1rem; }
  .main-content {
    margin-left: 0; }
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease; }
    .sidebar-overlay.active {
      opacity: 1;
      visibility: visible; } }

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg); } }

.content {
  padding: 2rem 3rem;
  background: #fff;
  min-height: calc(100vh - var(--header-height)); }
  .content h1.page-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb; }
  .content .content-section {
    margin-bottom: 3rem; }
    .content .content-section h2 {
      font-size: 1.75rem;
      font-weight: 600;
      color: #1f2937;
      margin: 2rem 0 1rem; }
    .content .content-section h3 {
      font-size: 1.5rem;
      font-weight: 600;
      color: #374151;
      margin: 1.5rem 0 1rem; }
    .content .content-section h4 {
      font-size: 1.25rem;
      font-weight: 600;
      color: #4b5563;
      margin: 1.25rem 0 0.75rem; }
    .content .content-section p {
      font-size: 1rem;
      line-height: 1.7;
      color: #4b5563;
      margin: 1rem 0; }
  .content ul, .content ol {
    padding-left: 1.5rem;
    margin: 1rem 0; }
    .content ul li, .content ol li {
      margin: 0.5rem 0;
      color: #4b5563;
      line-height: 1.6; }
  .content pre {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    overflow-x: auto; }
    .content pre code {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      font-size: 0.875rem;
      line-height: 1.7;
      color: #1f2937; }
  .content code {
    background: #f1f5f9;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.875em;
    color: #dc2626; }
  .content a {
    color: #4f46e5;
    text-decoration: none;
    transition: color 0.2s ease; }
    .content a:hover {
      color: #4338ca;
      text-decoration: underline; }
  .content blockquote {
    border-left: 4px solid #4f46e5;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-radius: 0 8px 8px 0; }
    .content blockquote p {
      margin: 0;
      color: #4b5563;
      font-style: italic; }
  .content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden; }
    .content table th {
      background: #f8fafc;
      padding: 0.75rem 1rem;
      text-align: left;
      font-weight: 600;
      color: #1f2937;
      border-bottom: 1px solid #e5e7eb; }
    .content table td {
      padding: 0.75rem 1rem;
      border-bottom: 1px solid #e5e7eb;
      color: #4b5563; }
    .content table tr:last-child td {
      border-bottom: none; }
    .content table tr:nth-child(even) {
      background: #f9fafb; }
  .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0; }
  .content hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0; }

@media (max-width: 1024px) {
  .content {
    padding: 2rem; } }

@media (max-width: 768px) {
  .content {
    padding: 1.5rem; }
    .content h1.page-title {
      font-size: 1.875rem; }
    .content .content-section h2 {
      font-size: 1.5rem; }
    .content .content-section h3 {
      font-size: 1.25rem; }
    .content .content-section h4 {
      font-size: 1.125rem; } }

.book-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-color); }
  .book-navigation a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 4px;
    transition: all 0.2s ease; }
    .book-navigation a:hover {
      background: var(--secondary-color); }
    .book-navigation a.prev::before {
      content: '←';
      margin-right: var(--spacing-sm); }
    .book-navigation a.next::after {
      content: '→';
      margin-left: var(--spacing-sm); }

@media (max-width: 768px) {
  .book-navigation {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: stretch; }
    .book-navigation a {
      text-align: center;
      justify-content: center; } }

footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 2rem 0;
  margin-top: auto; }
  footer .footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem; }
    @media (max-width: 768px) {
      footer .footer-content {
        flex-direction: column;
        text-align: center; } }
  footer .footer-links {
    display: flex;
    gap: 1.5rem; }
    footer .footer-links a {
      color: var(--footer-link);
      text-decoration: none;
      transition: color 0.3s ease; }
      footer .footer-links a:hover {
        color: var(--footer-link-hover); }
    @media (max-width: 768px) {
      footer .footer-links {
        flex-direction: column;
        gap: 0.75rem; } }
  footer .footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8; }

/* Grid Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem; }

/* Columns Layout */
.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0; }

.column {
  flex: 1;
  min-width: 250px; }

/* Column variations */
.columns.is-centered {
  justify-content: center; }

.columns.is-vcentered {
  align-items: center; }

.column.is-narrow {
  flex: 0 1 auto; }

.column.is-full {
  flex: 0 0 100%; }

.column.is-half {
  flex: 0 0 calc(50% - 1rem); }

.column.is-one-third {
  flex: 0 0 calc(33.3333% - 1.33rem); }

.column.is-two-thirds {
  flex: 0 0 calc(66.6666% - 0.67rem); }

@media screen and (max-width: 768px) {
  .container {
    display: block;
    padding: 1rem; }
  .columns {
    flex-direction: column; }
  .column {
    width: 100% !important;
    flex: none !important; } }

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: 1px solid transparent; }
  .btn--primary {
    background-color: var(--primary-color);
    color: white; }
    .btn--primary:hover {
      background-color: var(--primary-color-dark); }
  .btn--secondary {
    background-color: var(--secondary-color);
    color: white; }
    .btn--secondary:hover {
      background-color: var(--secondary-color-dark); }
  .btn--outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color); }
    .btn--outline:hover {
      background-color: var(--primary-color);
      color: white; }
  .btn--sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem; }
  .btn--lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem; }
  .btn--block {
    width: 100%; }
  .btn:disabled, .btn--disabled {
    opacity: 0.65;
    pointer-events: none; }
  .btn i, .btn svg {
    margin-right: 0.5rem; }

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color); }
  .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color); }

.btn-danger {
  background-color: #ef4444;
  color: white; }
  .btn-danger:hover {
    background-color: #eb1515; }

.btn-large {
  padding: 12px 24px;
  font-size: 1rem; }

.btn-small {
  padding: 6px 12px;
  font-size: 0.8rem; }

.btn-block {
  display: block;
  width: 100%;
  margin: 1rem 0;
  text-align: center; }

/* Card Styles */
.card {
  background: var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease; }
  .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }

.card-header {
  margin-bottom: 1rem; }
  .card-header h2, .card-header h3, .card-header h4 {
    margin: 0;
    color: var(--primary-color); }

.card-content {
  color: var(--text-color);
  line-height: 1.6; }

.card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 1rem; }

/* Card variations */
.card-compact {
  padding: 1rem; }

.card-bordered {
  border: 1px solid var(--border-color);
  box-shadow: none; }

.card-primary {
  border-left: 4px solid var(--primary-color); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem; }

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem; }

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500; }

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--secondary-color);
  transition: border-color 0.2s ease; }
  .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05); }
  .form-control::placeholder {
    color: #a0aec0; }
  .form-control:disabled {
    background-color: #f7fafc;
    cursor: not-allowed; }

.form-text {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #718096; }

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem; }

/* Form Layout */
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem; }
  @media (max-width: 640px) {
    .form-row {
      flex-direction: column;
      gap: 0; } }
.form-col {
  flex: 1; }

/* Form Validation */
.form-control.is-invalid {
  border-color: #ef4444; }

.form-control.is-valid {
  border-color: #22c55e; }

/* Custom Form Elements */
.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem; }

.form-check-input {
  width: 1rem;
  height: 1rem; }

.form-check-label {
  font-size: 0.875rem;
  color: var(--text-color); }

/* Timeline Styles */
.timeline {
  position: relative;
  padding: 2rem 0; }
  .timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--border-color); }

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem; }
  .timeline-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--secondary-color); }
  .timeline-item:last-child {
    margin-bottom: 0; }

.timeline-date {
  font-size: 0.875rem;
  color: #718096;
  margin-bottom: 0.5rem; }

.timeline-title {
  color: var(--primary-color);
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600; }

.timeline-content {
  color: var(--text-color);
  line-height: 1.6; }
  .timeline-content p:last-child {
    margin-bottom: 0; }

/* Timeline variations */
.timeline-centered::before {
  left: 50%;
  transform: translateX(-50%); }

.timeline-centered .timeline-item {
  width: 50%;
  padding: 0 2rem; }
  .timeline-centered .timeline-item:nth-child(odd) {
    margin-left: 0;
    text-align: right; }
    .timeline-centered .timeline-item:nth-child(odd)::before {
      right: -5px;
      left: auto; }
  .timeline-centered .timeline-item:nth-child(even) {
    margin-left: 50%; }
    .timeline-centered .timeline-item:nth-child(even)::before {
      left: -5px; }

@media (max-width: 768px) {
  .timeline-centered::before {
    left: 0;
    transform: none; }
  .timeline-centered .timeline-item {
    width: 100%;
    padding-left: 2rem;
    padding-right: 0;
    margin-left: 0 !important;
    text-align: left !important; }
    .timeline-centered .timeline-item::before {
      left: -5px !important;
      right: auto !important; } }

.features {
  padding: 4rem 0;
  background-color: var(--bg-secondary); }
  .features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: var(--container-width);
    padding: 0 1rem; }
  .features__item {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease; }
    .features__item:hover {
      transform: translateY(-5px); }
  .features__icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem; }
  .features__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary); }
  .features__description {
    color: var(--text-secondary);
    line-height: 1.6; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--secondary-color);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease; }
  .mobile-menu.active {
    transform: translateX(0); }
  .mobile-menu nav {
    padding: 4rem 2rem 2rem;
    text-align: center;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; }
  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 7rem; }
  .mobile-menu li {
    margin-bottom: 2rem; }
  .mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: 400;
    display: block;
    letter-spacing: 0.5px; }
  .mobile-menu .challenges-item {
    position: relative;
    text-align: center; }
    .mobile-menu .challenges-item > span {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      gap: var(--spacing-sm);
      display: inline-flex;
      color: var(--text-color);
      font-size: var(--font-size-base);
      font-weight: 400;
      letter-spacing: 0.5px;
      cursor: pointer; }
  .mobile-menu .challenges-toggle {
    position: static;
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
    display: inline-flex;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    transform: none;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.3s ease; }
    .mobile-menu .challenges-toggle::after {
      content: '+';
      font-size: 1.5rem;
      line-height: 1;
      transition: transform 0.3s ease, content 0s ease; }
    .mobile-menu .challenges-toggle.active {
      transform: rotate(180deg); }
      .mobile-menu .challenges-toggle.active::after {
        content: '-';
        transform: rotate(180deg); }
  .mobile-menu .challenges-dropdown {
    display: none !important;
    padding: var(--spacing-md) 0;
    text-align: left;
    margin-top: var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    will-change: transform, opacity, max-height; }
    .mobile-menu .challenges-dropdown.active {
      display: block !important;
      max-height: 60vh;
      overflow-y: auto;
      opacity: 1;
      transform: translateY(0); }
    .mobile-menu .challenges-dropdown a {
      font-size: var(--font-size-sm);
      padding: var(--spacing-sm) var(--spacing-md);
      color: var(--text-light);
      border-bottom: 1px solid var(--border-color);
      display: block; }
      .mobile-menu .challenges-dropdown a:last-child {
        border-bottom: none; }
  .mobile-menu .auth-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    background: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: var(--spacing-md); }

#login-button-mobile {
  background-color: transparent;
  border: 1px solid var(--text-color);
  color: var(--text-color); }

#signup-button-mobile {
  background-color: var(--text-dark);
  color: var(--secondary-color); }

@media (max-width: 640px) {
  .mobile-menu nav {
    padding: var(--spacing-lg) var(--spacing-md); }
  .mobile-menu li {
    margin-bottom: var(--spacing-lg); }
  .mobile-menu .challenges-dropdown {
    padding: var(--spacing-sm); }
    .mobile-menu .challenges-dropdown a {
      padding: var(--spacing-xs) var(--spacing-sm); }
  .mobile-menu .auth-buttons {
    padding: var(--spacing-sm) var(--spacing-md); } }

.user-info {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: var(--spacing-sm); }

.profile-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--text-dark);
  color: var(--secondary-color);
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-weight: 500;
  transition: background-color 0.2s ease; }
  .profile-circle:hover {
    background-color: var(--text-light); }

.profile-initial {
  font-weight: 500;
  text-transform: uppercase; }

.profile-container {
  position: relative; }

.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow-color);
  min-width: 180px;
  display: none;
  padding: var(--spacing-sm) 0;
  border: 1px solid var(--border-color);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease; }
  .profile-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0); }

.dropdown-item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--text-color);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: all 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-weight: 400;
  line-height: 1.5; }
  .dropdown-item:hover {
    background-color: var(--background-color);
    color: var(--text-dark); }

.dropdown-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: var(--spacing-xs) 0; }
