
        .btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          gap: var(--space-xs);
          font-family: var(--font-sans);
          font-weight: var(--font-weight-semibold);
          border-radius: var(--radius-md);
          border: none;
          cursor: pointer;
          transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
          text-decoration: none;
        }

        .btn:hover:not(:disabled) {
          transform: translateY(-2px);
        }

        .btn:active:not(:disabled) {
          transform: translateY(0);
        }

        .btn:disabled {
          opacity: 0.5;
          cursor: not-allowed;
        }

        /* Variants */
        .btn-primary {
          background: var(--gradient-primary);
          color: white;
        }

        .btn-primary:hover:not(:disabled) {
          box-shadow: var(--shadow-lg);
        }

        .btn-secondary {
          background: var(--color-bg-tertiary);
          color: var(--color-text-primary);
        }

        .btn-secondary:hover:not(:disabled) {
          background: var(--color-bg-secondary);
          box-shadow: var(--shadow-md);
        }

        .btn-outline {
          background: transparent;
          color: var(--color-accent-primary);
          border: var(--border-width-thick) solid var(--color-accent-primary);
        }

        .btn-outline:hover:not(:disabled) {
          background: var(--color-accent-primary);
          color: white;
        }

        .btn-ghost {
          background: transparent;
          color: var(--color-text-secondary);
        }

        .btn-ghost:hover:not(:disabled) {
          background: var(--color-bg-secondary);
          color: var(--color-text-primary);
        }

        /* Sizes */
        .btn-sm {
          padding: var(--space-xs) var(--space-md);
          font-size: var(--font-size-sm);
        }

        .btn-md {
          padding: var(--space-sm) var(--space-lg);
          font-size: var(--font-size-base);
        }

        .btn-lg {
          padding: var(--space-md) var(--space-xl);
          font-size: var(--font-size-lg);
        }
      


        .glass-nav {
          margin: 20px 20px 0;
          padding: 16px 32px;
          border-radius: 16px;
          position: sticky;
          top: 20px;
          z-index: 100;
        }

        .nav-container {
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 32px;
        }

        .nav-logo {
          text-decoration: none;
        }

        .logo-text {
          font-size: 24px;
          font-weight: 800;
          background: linear-gradient(135deg, #fff 0%, #8b5cf6 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          background-clip: text;
        }

        .nav-links {
          display: flex;
          align-items: center;
          gap: 32px;
          flex: 1;
          justify-content: center;
        }

        .nav-link {
          color: rgba(255, 255, 255, 0.8);
          text-decoration: none;
          font-size: 15px;
          font-weight: 500;
          transition: color 0.2s;
          text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .nav-link:hover,
        .nav-link.active {
          color: #fff;
        }

        .nav-cta {
          flex-shrink: 0;
        }

        /* Hamburger — hidden on desktop */
        .nav-hamburger {
          display: none;
          flex-direction: column;
          gap: 5px;
          padding: 8px;
          cursor: pointer;
          background: none;
          border: none;
        }

        .hamburger-line {
          display: block;
          width: 24px;
          height: 2px;
          background: rgba(255, 255, 255, 0.9);
          border-radius: 2px;
          transition: transform 0.3s, opacity 0.3s;
        }

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

        .hamburger-line.open:nth-child(2) {
          opacity: 0;
        }

        .hamburger-line.open:nth-child(3) {
          transform: rotate(-45deg) translate(5px, -5px);
        }

        /* Mobile dropdown — hidden on desktop */
        .nav-mobile-dropdown {
          display: none;
        }

        /* ===== MOBILE ===== */
        @media (max-width: 768px) {
          .glass-nav {
            margin: 10px 10px 0;
            padding: 12px 16px;
          }

          .nav-links {
            display: none;
          }

          .nav-cta {
            display: none;
          }

          .nav-hamburger {
            display: flex;
          }

          .nav-mobile-dropdown {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
          }

          .nav-mobile-link {
            display: block;
            padding: 10px 12px;
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            border-radius: 8px;
            transition: background 0.2s, color 0.2s;
          }

          .nav-mobile-link:hover,
          .nav-mobile-link.active {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
          }

          .nav-mobile-cta {
            margin-top: 8px;
            text-decoration: none;
          }
        }
      


        /* Cosmic Page Layout */
        .cosmic-page {
          position: relative;
          min-height: 100vh;
          overflow-x: hidden;
        }

        .content-layer {
          position: relative;
          z-index: 10;
          padding: 0;
        }

        /* Glassmorphism Effect */
        .glass {
          background: rgba(255, 255, 255, 0.03);
          backdrop-filter: blur(20px);
          border: 1px solid rgba(255, 255, 255, 0.1);
          box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

                /* Hero Section */
        .docs-hero.glass {
          margin: 20px;
          border-radius: 24px;
          padding: 80px 48px 60px;
          text-align: center;
        }

        .hero-title {
          font-size: 56px;
          font-weight: 800;
          color: #fff;
          text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
          margin-bottom: 24px;
        }

        .hero-subtitle {
          font-size: 20px;
          color: rgba(255, 255, 255, 0.9);
          text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
          max-width: 700px;
          margin: 0 auto 40px;
        }

        /* Search */
        .docs-search {
          max-width: 600px;
          margin: 0 auto;
        }

        .docs-search input {
          width: 100%;
          padding: 18px 24px;
          background: rgba(255, 255, 255, 0.05);
          border: 1px solid rgba(255, 255, 255, 0.2);
          border-radius: 16px;
          color: #fff;
          font-size: 16px;
          font-family: inherit;
          transition: all 0.3s;
          box-sizing: border-box;
        }

        .docs-search input:focus {
          outline: none;
          border-color: #8b5cf6;
          background: rgba(255, 255, 255, 0.08);
          box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
        }

        .docs-search input::placeholder {
          color: rgba(255, 255, 255, 0.5);
        }

        /* Categories */
        .docs-categories.glass {
          margin: 20px;
          border-radius: 24px;
          padding: 32px 48px;
        }

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

        .categories-tabs {
          display: flex;
          gap: 16px;
          justify-content: center;
          flex-wrap: wrap;
        }

        .category-tab {
          padding: 14px 28px;
          background: rgba(255, 255, 255, 0.03);
          border: 1px solid rgba(255, 255, 255, 0.1);
          border-radius: 12px;
          color: rgba(255, 255, 255, 0.8);
          font-size: 15px;
          font-weight: 600;
          cursor: pointer;
          transition: all 0.3s;
          display: flex;
          align-items: center;
          gap: 8px;
        }

        .category-tab:hover {
          background: rgba(255, 255, 255, 0.06);
          border-color: rgba(139, 92, 246, 0.3);
          color: #fff;
        }

        .category-tab.active {
          background: linear-gradient(135deg, #8b5cf6, #06b6d4);
          border-color: transparent;
          color: #fff;
          transform: translateY(-2px);
          box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
        }

        .tab-icon {
          font-size: 18px;
        }

        .tab-name {
          font-size: 15px;
        }

        /* Documentation Content */
        .docs-content-section.glass {
          margin: 20px;
          border-radius: 24px;
          padding: 60px 48px;
        }

        .docs-container {
          max-width: 1000px;
          margin: 0 auto;
        }

        .search-results-header {
          margin-bottom: 32px;
          text-align: center;
        }

        .search-results-header p {
          font-size: 16px;
          color: rgba(255, 255, 255, 0.8);
          font-weight: 600;
        }

        .section-title {
          font-size: 40px;
          font-weight: 800;
          color: #fff;
          margin-bottom: 40px;
          text-align: center;
          text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        }

        .docs-sections {
          display: flex;
          flex-direction: column;
          gap: 24px;
        }

        .doc-section {
          padding: 32px;
          border-radius: 16px;
          transition: all 0.3s;
        }

        .doc-section:hover {
          border-color: rgba(139, 92, 246, 0.5);
          transform: translateY(-2px);
        }

        .doc-title {
          font-size: 24px;
          font-weight: 700;
          color: #fff;
          margin-bottom: 16px;
        }

        .doc-category-badge {
          display: inline-block;
          padding: 4px 12px;
          background: rgba(139, 92, 246, 0.2);
          border: 1px solid rgba(139, 92, 246, 0.4);
          border-radius: 8px;
          font-size: 12px;
          font-weight: 600;
          color: #8b5cf6;
          margin-bottom: 12px;
        }

        .doc-content {
          font-size: 16px;
          color: rgba(255, 255, 255, 0.8);
          line-height: 1.7;
          margin: 0;
        }

        .no-results {
          text-align: center;
          padding: 60px 24px;
        }

        .no-results p {
          font-size: 18px;
          color: rgba(255, 255, 255, 0.7);
          margin-bottom: 24px;
        }

        .clear-search-btn {
          padding: 14px 32px;
          background: rgba(255, 255, 255, 0.05);
          border: 1px solid rgba(255, 255, 255, 0.2);
          border-radius: 12px;
          color: #fff;
          font-size: 15px;
          font-weight: 600;
          cursor: pointer;
          transition: all 0.3s;
        }

        .clear-search-btn:hover {
          background: rgba(255, 255, 255, 0.1);
          border-color: #8b5cf6;
          transform: translateY(-2px);
        }

        /* CTA Section */
        .docs-cta-section.glass {
          margin: 20px;
          border-radius: 24px;
          padding: 60px 48px;
          text-align: center;
        }

        .cta-container {
          max-width: 800px;
          margin: 0 auto;
        }

        .docs-cta-section p {
          font-size: 18px;
          color: rgba(255, 255, 255, 0.8);
          margin-bottom: 32px;
        }

        .cta-buttons {
          display: flex;
          gap: 16px;
          justify-content: center;
          flex-wrap: wrap;
        }

        .cta-button {
          padding: 16px 40px;
          border-radius: 12px;
          font-size: 16px;
          font-weight: 600;
          text-decoration: none;
          transition: all 0.3s;
          display: inline-block;
        }

        .cta-button.primary {
          background: linear-gradient(135deg, #8b5cf6, #06b6d4);
          color: #fff;
          border: none;
        }

        .cta-button.primary:hover {
          transform: translateY(-2px);
          box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
        }

        .cta-button.secondary {
          background: rgba(255, 255, 255, 0.05);
          border: 1px solid rgba(255, 255, 255, 0.2);
          color: #fff;
        }

        .cta-button.secondary:hover {
          background: rgba(255, 255, 255, 0.1);
          border-color: #8b5cf6;
          transform: translateY(-2px);
        }

        /* Footer */
        .footer {
          margin: 40px 20px;
          padding: 60px 48px;
          border-radius: 24px;
        }

        .footer-card {
          max-width: 1200px;
          margin: 0 auto;
        }

        .footer-content {
          display: grid;
          grid-template-columns: repeat(5, 1fr);
          gap: 48px;
          margin-bottom: 48px;
        }

        .footer-section h3 {
          font-size: 24px;
          font-weight: 800;
          margin-bottom: 8px;
          background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          background-clip: text;
        }

        .footer-tagline {
          font-size: 14px;
          color: rgba(255, 255, 255, 0.6);
        }

        .footer-section h4 {
          font-size: 16px;
          font-weight: 700;
          margin-bottom: 16px;
          color: #fff;
        }

        .footer-links {
          list-style: none;
          padding: 0;
          margin: 0;
        }

        .footer-links li {
          margin-bottom: 12px;
        }

        .footer-links a {
          color: rgba(255, 255, 255, 0.7);
          text-decoration: none;
          font-size: 15px;
          transition: color 0.2s;
        }

        .footer-links a:hover {
          color: #8b5cf6;
        }

        .footer-bottom {
          text-align: center;
          padding-top: 32px;
          border-top: 1px solid rgba(255, 255, 255, 0.1);
          color: rgba(255, 255, 255, 0.5);
          font-size: 14px;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
          .hero-title {
            font-size: 36px;
          }

          .hero-subtitle {
            font-size: 16px;
          }

          .section-title {
            font-size: 32px;
          }

          .docs-hero.glass,
          .docs-categories.glass,
          .docs-content-section.glass,
          .docs-cta-section.glass,
          .footer {
            padding: 40px 24px;
          }

          .categories-tabs {
            gap: 12px;
          }

          .category-tab {
            padding: 12px 20px;
            font-size: 14px;
          }

          .doc-section {
            padding: 24px;
          }

          .doc-title {
            font-size: 20px;
          }

          .cta-buttons {
            flex-direction: column;
            align-items: stretch;
          }

          .footer-content {
            grid-template-columns: repeat(2, 1fr);
            gap: 32px;
          }
        }

        @media (max-width: 480px) {
          .footer-content {
            grid-template-columns: 1fr;
          }
        }
      