:root {
      --primary-color: #7b3f9d;
      --secondary-color: #934fb9;
      --accent-color: #f8f0ff;
      --text-color: #333;
      --light-text: #fff;
      --dark-bg: #2a2a2a;
      --light-bg: #f9f9f9;
      --border-radius: 8px;
      --box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      --sidebar-width: 280px;
      --header-height: 70px;
    }

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

    body {
      font-family: 'Montserrat', sans-serif;
      color: var(--text-color);
      background-color: var(--light-bg);
      line-height: 1.6;
    }

    a {
      text-decoration: none;
      color: var(--primary-color);
    }

    ul {
      list-style: none;
    }

    /* ========== GLOBAL HEADER ========== */
    .global-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: var(--header-height);
      background: var(--light-text);
      box-shadow: var(--box-shadow);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      z-index: 1000;
    }

    .header-left {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .hamburger-btn {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
    }

    .hamburger-btn span {
      display: block;
      width: 24px;
      height: 3px;
      background: var(--text-color);
      margin: 5px 0;
      border-radius: 2px;
      transition: 0.3s;
    }

    .hamburger-btn.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-btn.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger-btn.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 700;
      font-size: 1.25rem;
      color: var(--primary-color);
    }
    
    .logo-img {
      max-height: 40px;
      width: auto;
    }

    .logo svg {
      width: 32px;
      height: 32px;
    }

    .docs-badge {
      background: var(--accent-color);
      color: var(--primary-color);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
    }

    .header-nav {
      display: flex;
      gap: 24px;
    }

    .header-nav a {
      color: var(--text-color);
      font-weight: 500;
      transition: color 0.2s;
    }

    .header-nav a:hover {
      color: var(--primary-color);
    }

    .support-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      border: 2px solid var(--primary-color);
      background: transparent;
      color: var(--primary-color);
      border-radius: var(--border-radius);
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
    }

    .support-btn:hover {
      background: var(--primary-color);
      color: var(--light-text);
    }

    .support-btn svg {
      width: 18px;
      height: 18px;
    }

    /* ========== LAYOUT ========== */
    .layout-container {
      display: flex;
      margin-top: var(--header-height);
      min-height: calc(100vh - var(--header-height));
    }

    /* ========== SIDEBAR ========== */
    .sidebar {
      width: var(--sidebar-width);
      background: var(--light-text);
      border-right: 1px solid #e5e7eb;
      padding: 24px;
      position: sticky;
      top: var(--header-height);
      height: calc(100vh - var(--header-height));
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .search-bar {
      position: relative;
    }

    .search-bar input {
      width: 100%;
      padding: 12px 40px 12px 16px;
      border: 1px solid #e5e7eb;
      border-radius: var(--border-radius);
      font-family: inherit;
      font-size: 0.9rem;
    }

    .search-bar svg {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      width: 20px;
      height: 20px;
      color: #9ca3af;
    }

    .sidebar-nav {
      flex: 1;
    }

    .nav-section {
      margin-bottom: 20px;
    }

    .nav-section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0;
      font-weight: 600;
      font-size: 0.75rem;
      color: #6b7280;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      cursor: pointer;
    }

    .nav-section-header svg {
      width: 16px;
      height: 16px;
      transition: transform 0.2s;
    }

    .nav-section-header.active svg {
      transform: rotate(180deg);
    }

    .nav-section-links {
      margin-top: 8px;
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.3s ease;
    }

    .nav-section-links.open {
      /*max-height: 500px;*/
      max-height: max-content;
    }

    .nav-section-links a {
      display: block;
      padding: 8px 0;
      color: var(--text-color);
      font-size: 0.9rem;
      transition: color 0.2s;
    }

    .nav-section-links a:hover {
      color: var(--primary-color);
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 4px;
    }
    
    .current-active-item {
      color: var(--primary-color);
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 4px;
    }

    .sidebar-cta {
      border: 2px solid var(--accent-color);
      border-radius: var(--border-radius);
      padding: 20px;
      text-align: center;
    }

    .sidebar-cta h4 {
      color: var(--text-color);
      margin-bottom: 16px;
      font-size: 1rem;
    }

    .sidebar-cta .btn-primary {
      width: 100%;
      padding: 12px;
      background: var(--primary-color);
      color: var(--light-text);
      border: none;
      border-radius: var(--border-radius);
      font-weight: 600;
      cursor: pointer;
      margin-bottom: 12px;
      transition: background 0.2s;
      display: block;
    }

    .sidebar-cta .btn-primary:hover {
      background: var(--secondary-color);
    }

    .sidebar-cta .btn-link {
      color: var(--primary-color);
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
    }

    .copyright {
      font-size: 0.75rem;
      color: #9ca3af;
      text-align: center;
      padding-top: 16px;
      border-top: 1px solid #e5e7eb;
    }

    /* ========== MAIN CONTENT ========== */
    .main-content {
      flex: 1;
      padding: 48px;
      max-width: 1200px;
    }

    /* Hero Section */
    .hero {
      display: flex;
      gap: 48px;
      align-items: center;
      margin-bottom: 64px;
    }

    .hero-text {
      flex: 1;
    }

    .hero-label {
      color: var(--primary-color);
      font-weight: 600;
      font-size: 0.9rem;
      margin-bottom: 8px;
    }

    .hero h1 {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--text-color);
      margin-bottom: 16px;
      line-height: 1.2;
    }

    .hero-subtitle {
      font-size: 1.25rem;
      color: var(--primary-color);
      font-weight: 600;
      margin-bottom: 16px;
    }

    .hero p {
      color: #6b7280;
      font-size: 1rem;
      margin-bottom: 24px;
      line-height: 1.7;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
    }

    .btn {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 14px 28px;
      border-radius: var(--border-radius);
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.2s;
      border: none;
      max-width: fit-content;
    }

    .btn-primary {
      background: var(--primary-color);
      color: var(--light-text);
    }

    .btn-primary:hover {
      background: var(--secondary-color);
    }

    .btn-outline {
      background: transparent;
      color: var(--text-color);
      border: 2px solid #e5e7eb;
    }

    .btn-outline:hover {
      border-color: var(--primary-color);
      color: var(--primary-color);
    }

    .btn svg {
      width: 20px;
      height: 20px;
    }

    .hero-image {
      flex: 1;
      position: relative;
    }

    .hero-image img {
      width: 100%;
      height: auto;
      border-radius: var(--border-radius);
      box-shadow: var(--box-shadow);
    }

    .hero-bg-shape {
      position: absolute;
      top: -20px;
      right: -20px;
      width: 200px;
      height: 200px;
      background: var(--accent-color);
      border-radius: 50%;
      z-index: -1;
    }

    /* Getting Started Section */
    .getting-started {
      display: flex;
      gap: 48px;
      align-items: center;
      margin-bottom: 64px;
    }

    .getting-started h2 {
      font-size: 1.75rem;
      font-weight: 700;
      margin-bottom: 16px;
    }

    .getting-started .text-col {
      flex: 1;
    }

    .getting-started .text-col p {
      color: #6b7280;
      line-height: 1.7;
      margin-bottom: 16px;
    }

    .getting-started .image-col {
      flex: 1;
    }

    .getting-started .image-col img {
      width: 100%;
      height: auto;
    }

    /* Category Grid */
    .category-section {
      margin-bottom: 64px;
    }

    .category-section h2 {
      font-size: 1.75rem;
      font-weight: 700;
      margin-bottom: 32px;
      text-align: center;
    }

    .category-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .category-card {
      background: var(--light-text);
      border: 1px solid #e5e7eb;
      border-radius: var(--border-radius);
      padding: 24px;
      transition: all 0.2s;
      box-shadow: var(--box-shadow);
    }

    .category-card:hover {
      border-color: var(--primary-color);
      transform: translateY(-2px);
    }

    .category-icon {
      width: 48px;
      height: 48px;
      background: var(--accent-color);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
    }

    .category-icon svg {
      width: 24px;
      height: 24px;
      color: var(--primary-color);
    }

    .category-card h3 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .category-card p {
      color: #6b7280;
      font-size: 0.9rem;
      margin-bottom: 16px;
      line-height: 1.5;
    }

    .category-card .explore-link {
      color: var(--primary-color);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .category-card .explore-link svg {
      width: 16px;
      height: 16px;
      transition: transform 0.2s;
    }

    .category-card .explore-link:hover svg {
      transform: translateX(4px);
    }

    /* Support Banner */
    .support-banner {
      background: var(--primary-color);
      border-radius: var(--border-radius);
      padding: 40px;
      display: flex;
      align-items: center;
      gap: 24px;
      color: var(--light-text);
    }

    .support-banner-icon {
      width: 64px;
      height: 64px;
      background: var(--light-text);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .support-banner-icon svg {
      width: 32px;
      height: 32px;
      color: var(--primary-color);
    }

    .support-banner-content {
      flex: 1;
    }

    .support-banner h2 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .support-banner p {
      opacity: 0.9;
      margin-bottom: 16px;
    }

    .support-banner .btn {
      background: var(--light-text);
      color: var(--primary-color);
      border: none;
    }

    .support-banner .btn:hover {
      background: var(--accent-color);
    }

    /* ========== MOBILE STYLES ========== */
    @media (max-width: 1024px) {
      .category-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .hamburger-btn {
        display: block;
      }

      .header-nav {
        display: none;
      }

      .support-btn {
        display: none;
      }

      .sidebar {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        max-width: 320px;
        height: calc(100vh - var(--header-height));
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        box-shadow: var(--box-shadow);
      }

      .sidebar.open {
        transform: translateX(0);
      }

      .sidebar-overlay {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
      }

      .sidebar-overlay.open {
        display: block;
      }

      .main-content {
        padding: 24px;
      }

      .hero {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 48px;
      }

      .hero h1 {
        font-size: 1.75rem;
      }

      .hero-buttons {
        flex-direction: column;
      }

      .hero-buttons .btn {
        width: 100%;
        justify-content: center;
      }

      .getting-started {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 48px;
      }

      .category-grid {
        grid-template-columns: 1fr;
      }

      .support-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
      }

      .support-banner .btn {
        width: 100%;
        justify-content: center;
      }
    }

    @media (max-width: 480px) {
      .global-header {
        padding: 0 16px;
      }

      .logo {
        font-size: 1rem;
      }

      .logo svg {
        width: 24px;
        height: 24px;
      }

      .main-content {
        padding: 16px;
      }

      .hero h1 {
        font-size: 1.5rem;
      }

      .hero-subtitle {
        font-size: 1rem;
      }
    }
    
    @font-face{font-display:swap;font-family:'Montserrat';font-style:normal;font-weight:400;src:url('../fonts/montserrat/montserrat-v26-latin-regular.woff2')format('woff2')}
    @font-face{font-display:swap;font-family:'Montserrat';font-style:normal;font-weight:500;src:url('../fonts/montserrat/montserrat-v26-latin-500.woff2')format('woff2')}
    @font-face{font-display:swap;font-family:'Montserrat';font-style:normal;font-weight:600;src:url('../fonts/montserrat/montserrat-v26-latin-600.woff2')format('woff2')}
    @font-face{font-display:swap;font-family:'Montserrat';font-style:normal;font-weight:700;src:url('../fonts/montserrat/montserrat-v26-latin-700.woff2')format('woff2')}
    @font-face{font-display:swap;font-family:'Big Shoulders';font-style:normal;font-weight:500;src:url('../fonts/big-shoulders/big-shoulders-display-medium.woff2')format('woff2')}
