
    /* Main Container */
    .main-container {
      max-width: 100%;
      margin: 2rem auto;
      padding: 0 1rem;
    }

    /* Cards */
    .card {
      border: none;
      border-radius: 12px;
      box-shadow: var(--card-shadow);
      margin-bottom: 1.5rem;
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .card-header {
      background: linear-gradient(135deg, var(--primary-color) 0%, #1a0a5e 100%);
      color: white;
      border-radius: 12px 12px 0 0 !important;
      padding: 1rem 1.5rem;
    }

    .card-header h5 {
      margin: 0;
      font-weight: 600;
    }

    .card-body {
      padding: 1.5rem;
    }

    /* Quote Card */
    .quote-card {
      background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
      border-left: 4px solid var(--success-color);
    }

    .quote-card .card-body {
      font-style: italic;
      color: #2e7d32;
    }

    /* Profile Card */
    .profile-card {
      text-align: center;
    }

    .profile-card img {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      margin-bottom: 1rem;
      border: 4px solid var(--accent-color);
    }

    /* Code Blocks */
    .code-block {
      background: #282c34;
      border-radius: 8px;
      padding: 1.5rem;
      margin: 1.5rem 0;
      overflow-x: auto;
    }

    .code-block pre {
      margin: 0;
      color: #abb2bf;
      font-family: 'Courier New', monospace;
      font-size: 0.9rem;
      line-height: 1.6;
    }

    /* Syntax Highlighting */
    .keyword {
      color: #c678dd;
    }

    .string {
      color: #98c379;
    }

    .comment {
      color: #5c6370;
      font-style: italic;
    }

    .function {
      color: #61afef;
    }

    .number {
      color: #d19a66;
    }

    /* Section Headers */
    .section-header {
      color: var(--primary-color);
      border-bottom: 3px solid var(--accent-color);
      padding-bottom: 0.5rem;
      margin-bottom: 1.5rem;
      font-weight: 600;
    }

    /* Sidebar */
    .sidebar {
      position: sticky;
      top: 2rem;
    }

    .sidebar ul {
      list-style: none;
      padding-left: 0;
    }

    .sidebar ul li {
      padding: 0.5rem 0;
      border-bottom: 1px solid var(--border-color);
    }

    .sidebar ul li a {
      color: var(--text-dark);
      text-decoration: none;
      transition: color 0.3s;
    }

    .sidebar ul li a:hover {
      color: var(--accent-color);
    }

    /* Technique Cards */
    .technique-card {
      background: white;
      border-left: 4px solid var(--accent-color);
      margin-bottom: 2rem;
    }

    .technique-number {
      background: var(--accent-color);
      color: white;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      margin-right: 1rem;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .sidebar {
        position: static;
        margin-top: 2rem;
      }
    }

    /* Animation */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .animate-in {
      animation: fadeIn 0.6s ease-out;
    }

.diagram-container {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(249,115,22,0.15);
}

.diagram-pre {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
               "Liberation Mono", "Courier New", monospace;
  font-size: 13.5px;
  line-height: 1.55;
  color: #7c2d12;
  white-space: pre;
}
