    :root {
      /* Material Design 3 Color System - Dark Theme */
      --md-sys-color-primary: #A8C7FA;
      --md-sys-color-on-primary: #062E6F;
      --md-sys-color-primary-container: #284777;
      --md-sys-color-on-primary-container: #D3E3FD;
      
      --md-sys-color-secondary: #BEC6DC;
      --md-sys-color-on-secondary: #283141;
      --md-sys-color-secondary-container: #3E4759;
      --md-sys-color-on-secondary-container: #DAE2F9;
      
      --md-sys-color-tertiary: #DEBCDF;
      --md-sys-color-on-tertiary: #3F2844;
      --md-sys-color-tertiary-container: #573E5C;
      --md-sys-color-on-tertiary-container: #FBD7FC;
      
      --md-sys-color-surface: #111318;
      --md-sys-color-surface-dim: #111318;
      --md-sys-color-surface-bright: #37393E;
      --md-sys-color-surface-container-lowest: #0C0E13;
      --md-sys-color-surface-container-low: #191C20;
      --md-sys-color-surface-container: #1D2024;
      --md-sys-color-surface-container-high: #282A2F;
      --md-sys-color-surface-container-highest: #32353A;
      
      --md-sys-color-on-surface: #E2E2E6;
      --md-sys-color-on-surface-variant: #C3C6CF;
      --md-sys-color-outline: #8D9199;
      --md-sys-color-outline-variant: #43474E;
      
      --md-sys-color-success: #7DD67D;
      --md-sys-color-error: #F44336;
      
      /* Motion */
      --md-sys-motion-duration-short: 150ms;
      --md-sys-motion-duration-medium: 300ms;
      --md-sys-motion-easing-emphasized: cubic-bezier(0.2, 0, 0, 1);
      
      /* Spacing */
      --space-xs: 4px;
      --space-sm: 8px;
      --space-md: 16px;
      --space-lg: 24px;
      --space-xl: 32px;
      --space-2xl: 48px;
      --space-3xl: 64px;
      
      /* Border Radius */
      --radius-sm: 8px;
      --radius-md: 16px;
      --radius-lg: 24px;
      --radius-xl: 28px;
      --radius-full: 9999px;
    }

    /* Light Theme */
    body.light-theme {
      --md-sys-color-primary: #3b5998;
      --md-sys-color-on-primary: #ffffff;
      --md-sys-color-primary-container: #D3E3FD;
      --md-sys-color-on-primary-container: #062E6F;
      
      --md-sys-color-surface: #FAFAFA;
      --md-sys-color-surface-dim: #F0F0F0;
      --md-sys-color-surface-bright: #FFFFFF;
      --md-sys-color-surface-container-lowest: #FFFFFF;
      --md-sys-color-surface-container-low: #F5F5F5;
      --md-sys-color-surface-container: #EEEEEE;
      --md-sys-color-surface-container-high: #E0E0E0;
      --md-sys-color-surface-container-highest: #D6D6D6;
      
      --md-sys-color-on-surface: #1C1B1F;
      --md-sys-color-on-surface-variant: #49454F;
      --md-sys-color-outline: #79747E;
      --md-sys-color-outline-variant: #C4C7C5;
      
      --md-sys-color-tertiary: #7B5EA7;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: var(--md-sys-color-surface);
      color: var(--md-sys-color-on-surface);
      line-height: 1.6;
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* Liquid background effect */
    .liquid-bg {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: -1;
      overflow: hidden;
    }

    .liquid-blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.3;
      animation: float 20s ease-in-out infinite;
    }

    .liquid-blob-1 {
      width: 600px;
      height: 600px;
      background: linear-gradient(135deg, var(--md-sys-color-primary) 0%, var(--md-sys-color-tertiary) 100%);
      top: -200px;
      right: -100px;
      animation-delay: 0s;
    }

    .liquid-blob-2 {
      width: 400px;
      height: 400px;
      background: linear-gradient(135deg, var(--md-sys-color-tertiary) 0%, var(--md-sys-color-secondary) 100%);
      bottom: -100px;
      left: -100px;
      animation-delay: -7s;
    }

    @keyframes float {
      0%, 100% { transform: translate(0, 0) scale(1); }
      25% { transform: translate(30px, -30px) scale(1.05); }
      50% { transform: translate(-20px, 20px) scale(0.95); }
      75% { transform: translate(20px, 40px) scale(1.02); }
    }

    /* Navigation */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: var(--space-md) var(--space-xl);
      background: rgba(17, 19, 24, 0.9);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--md-sys-color-outline-variant);
    }

    body.light-theme .nav {
      background: rgba(250, 250, 250, 0.9);
    }

    .nav-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      font-weight: 600;
      font-size: 1.25rem;
      color: var(--md-sys-color-primary);
      text-decoration: none;
    }

    .nav-logo .material-symbols-rounded {
      font-size: 28px;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: var(--space-md);
    }

    .nav-link {
      display: flex;
      align-items: center;
      gap: var(--space-xs);
      color: var(--md-sys-color-on-surface-variant);
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 500;
      transition: color var(--md-sys-motion-duration-short);
    }

    .nav-link:hover {
      color: var(--md-sys-color-primary);
    }

    .nav-link .material-symbols-rounded {
      font-size: 20px;
    }

    /* Light theme: dark text on light nav background */
    body.light-theme .nav-link {
      color: var(--md-sys-color-on-surface);
    }

    body.light-theme .nav-link:hover {
      color: var(--md-sys-color-primary);
    }

    /* Theme Toggle */
    .theme-toggle {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: none;
      background: var(--md-sys-color-surface-container-high);
      color: var(--md-sys-color-on-surface);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }
    
    .theme-toggle:hover {
      background: var(--md-sys-color-surface-container-highest);
    }

    /* Language Switcher */
    .lang-switcher {
      display: flex;
      gap: var(--space-xs);
      background: var(--md-sys-color-surface-container-high);
      padding: 4px;
      border-radius: var(--radius-full);
    }

    .lang-btn {
      padding: 6px 12px;
      border: none;
      background: transparent;
      color: var(--md-sys-color-on-surface-variant);
      border-radius: var(--radius-full);
      cursor: pointer;
      font-size: 0.75rem;
      font-weight: 600;
      transition: all var(--md-sys-motion-duration-short);
    }

    .lang-btn:hover {
      color: var(--md-sys-color-on-surface);
    }

    .lang-btn.active {
      background: var(--md-sys-color-primary);
      color: var(--md-sys-color-on-primary);
    }

    /* Main Content */
    .main-content {
      padding-top: 80px;
      min-height: 100vh;
    }

    /* Hero Section */
    .hero {
      padding: var(--space-3xl) var(--space-xl);
      text-align: center;
    }

    .hero-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: var(--space-sm);
      background: var(--md-sys-color-surface-container);
      padding: 8px 16px;
      border-radius: var(--radius-full);
      margin-bottom: var(--space-lg);
      font-size: 0.875rem;
      color: var(--md-sys-color-on-surface-variant);
    }

    .hero-badge .material-symbols-rounded {
      font-size: 20px;
      color: var(--md-sys-color-primary);
    }

    .hero-title {
      font-size: clamp(2rem, 6vw, 3rem);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: var(--space-lg);
      background: linear-gradient(135deg, var(--md-sys-color-primary) 0%, var(--md-sys-color-tertiary) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-subtitle {
      font-size: 1.125rem;
      color: var(--md-sys-color-on-surface-variant);
      max-width: 600px;
      margin: 0 auto;
    }

    /* Documentation Section */
    .docs-section {
      padding: var(--space-2xl) var(--space-xl);
    }

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

    /* Section Card */
    .docs-card {
      background: rgba(30, 32, 36, 0.6);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-radius: var(--radius-xl);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: var(--space-xl);
      margin-bottom: var(--space-lg);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    body.light-theme .docs-card {
      background: rgba(255, 255, 255, 0.8);
      border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .docs-card-header {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      margin-bottom: var(--space-lg);
    }

    .docs-card-icon {
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--md-sys-color-primary-container);
      border-radius: var(--radius-md);
    }

    .docs-card-icon .material-symbols-rounded {
      font-size: 24px;
      color: var(--md-sys-color-on-primary-container);
    }

    .docs-card-title {
      font-size: 1.5rem;
      font-weight: 600;
    }

    .docs-card-desc {
      color: var(--md-sys-color-on-surface-variant);
      font-size: 0.9375rem;
    }

    /* Features Grid */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: var(--space-md);
      margin-bottom: var(--space-lg);
    }

    .feature-item {
      display: flex;
      align-items: flex-start;
      gap: var(--space-md);
      padding: var(--space-md);
      background: var(--md-sys-color-surface-container);
      border-radius: var(--radius-md);
      transition: transform 0.2s;
    }

    .feature-item:hover {
      transform: translateY(-2px);
    }

    .feature-icon {
      font-size: 24px;
    }

    .feature-title {
      font-weight: 600;
      margin-bottom: var(--space-xs);
    }

    .feature-desc {
      font-size: 0.875rem;
      color: var(--md-sys-color-on-surface-variant);
    }

    /* Code Block */
    .code-block {
      background: var(--md-sys-color-surface-container-highest);
      border-radius: var(--radius-md);
      padding: var(--space-md);
      overflow-x: auto;
      font-family: 'Fira Code', monospace;
      font-size: 0.875rem;
      border: 1px solid var(--md-sys-color-outline-variant);
      margin: var(--space-md) 0;
      position: relative;
    }

    .code-block code {
      color: var(--md-sys-color-primary);
    }

    .code-block .comment {
      color: var(--md-sys-color-outline);
    }

    .code-block-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: var(--space-sm) var(--space-md);
      background: var(--md-sys-color-surface-container-high);
      border-bottom: 1px solid var(--md-sys-color-outline-variant);
      border-radius: var(--radius-md) var(--radius-md) 0 0;
      margin: calc(-1 * var(--space-md)) calc(-1 * var(--space-md)) var(--space-md) calc(-1 * var(--space-md));
      font-size: 0.75rem;
      color: var(--md-sys-color-on-surface-variant);
    }

    .copy-btn {
      display: flex;
      align-items: center;
      gap: var(--space-xs);
      padding: 4px 8px;
      background: transparent;
      border: none;
      color: var(--md-sys-color-on-surface-variant);
      cursor: pointer;
      border-radius: var(--radius-sm);
      font-size: 0.75rem;
      transition: all 0.15s;
    }

    .copy-btn:hover {
      background: var(--md-sys-color-surface-container-highest);
      color: var(--md-sys-color-primary);
    }

    .copy-btn .material-symbols-rounded {
      font-size: 16px;
    }

    /* Table */
    .docs-table-wrapper {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    
    .docs-table {
      width: 100%;
      min-width: 400px;
      border-collapse: collapse;
      margin: var(--space-md) 0;
    }

    .docs-table th,
    .docs-table td {
      padding: var(--space-sm) var(--space-md);
      text-align: left;
      border-bottom: 1px solid var(--md-sys-color-outline-variant);
      white-space: nowrap;
    }

    .docs-table th {
      font-weight: 600;
      color: var(--md-sys-color-on-surface);
      background: var(--md-sys-color-surface-container);
    }

    .docs-table td {
      color: var(--md-sys-color-on-surface-variant);
    }

    .docs-table code {
      background: var(--md-sys-color-surface-container-high);
      padding: 2px 8px;
      border-radius: var(--radius-sm);
      font-family: 'Fira Code', monospace;
      font-size: 0.875rem;
      color: var(--md-sys-color-primary);
    }

    /* Architecture Diagram */
    .architecture-diagram {
      background: var(--md-sys-color-surface-container-highest);
      border-radius: var(--radius-md);
      padding: var(--space-lg);
      overflow-x: auto;
      font-family: 'Fira Code', monospace;
      font-size: 0.75rem;
      line-height: 1.4;
      white-space: pre;
      color: var(--md-sys-color-on-surface-variant);
      border: 1px solid var(--md-sys-color-outline-variant);
    }

    /* Alert Box */
    .alert {
      display: flex;
      align-items: flex-start;
      gap: var(--space-md);
      padding: var(--space-md);
      border-radius: var(--radius-md);
      margin: var(--space-md) 0;
    }

    .alert-info {
      background: rgba(168, 199, 250, 0.1);
      border: 1px solid rgba(168, 199, 250, 0.3);
    }

    .alert-info .material-symbols-rounded {
      color: var(--md-sys-color-primary);
    }

    .alert-content {
      flex: 1;
    }

    .alert-title {
      font-weight: 600;
      margin-bottom: var(--space-xs);
    }

    .alert-text {
      font-size: 0.875rem;
      color: var(--md-sys-color-on-surface-variant);
    }

    /* Footer */
    .footer {
      position: relative;
      z-index: 1;
      padding: var(--space-xl) var(--space-lg);
      border-top: 1px solid var(--md-sys-color-outline-variant);
      margin-top: var(--space-2xl);
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: var(--space-md);
    }

    .footer-links {
      display: flex;
      gap: var(--space-lg);
      align-items: center;
    }

    .footer-link {
      color: var(--md-sys-color-on-surface-variant);
      text-decoration: none;
      font-size: 0.875rem;
      transition: color 0.15s ease;
    }

    .footer-link:hover {
      color: var(--md-sys-color-primary);
    }

    .footer-copy {
      color: var(--md-sys-color-on-surface-variant);
      font-size: 0.875rem;
    }

    .footer-copy a {
      color: var(--md-sys-color-primary);
      text-decoration: none;
    }

    .footer-copy a:hover {
      text-decoration: underline;
    }

    /* Burger Menu */
    .burger-btn {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 40px;
      height: 40px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 8px;
      z-index: 1001;
    }
    .burger-btn span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--md-sys-color-on-surface);
      border-radius: 2px;
      transition: all 0.3s;
    }
    .burger-btn span:nth-child(1) { margin-bottom: 6px; }
    .burger-btn span:nth-child(3) { margin-top: 6px; }
    .burger-btn.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 6px);
    }
    .burger-btn.active span:nth-child(2) { opacity: 0; }
    .burger-btn.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -6px);
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 60px;
      left: 0;
      right: 0;
      bottom: 0;
      background: var(--md-sys-color-surface);
      z-index: 999;
      padding: var(--space-xl);
      flex-direction: column;
      gap: var(--space-md);
      overflow-y: auto;
    }
    .mobile-menu.active { display: flex; }
    .mobile-menu a {
      color: var(--md-sys-color-on-surface);
      text-decoration: none;
      font-size: 1.125rem;
      font-weight: 500;
      padding: var(--space-md);
      border-radius: var(--radius-md);
      transition: background 0.2s;
    }
    .mobile-menu a:hover { background: var(--md-sys-color-surface-container); }

    /* Responsive */
    @media (max-width: 768px) {
      .burger-btn { display: flex; }
      .nav-actions .nav-link { display: none; }
      .nav-content {
        flex-wrap: wrap;
        gap: var(--space-md);
      }
      
      .nav-link span:not(.material-symbols-rounded) {
        display: none;
      }
      
      .hero {
        padding: var(--space-2xl) var(--space-md);
      }
      
      .docs-section {
        padding: var(--space-lg) var(--space-md);
      }
      
      .docs-card {
        padding: var(--space-lg);
      }
      
      .features-grid {
        grid-template-columns: 1fr;
      }
      
      .footer-content {
        flex-direction: column;
        text-align: center;
      }
      
      .footer-links {
        flex-wrap: wrap;
        justify-content: center;
      }
    }

    @media (max-width: 500px) {
      .nav {
        padding: var(--space-sm) var(--space-md);
      }
      
      .nav-logo .logo-text {
        display: none;
      }
      
      .hero-title {
        font-size: 1.75rem;
      }
      
      .docs-card {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
      }
      
      .docs-card-title {
        font-size: 1.25rem;
      }
      
      .architecture-diagram {
        font-size: 0.625rem;
      }
    }
    
    @media (max-width: 360px) {
      .nav {
        padding: var(--space-xs) var(--space-sm);
      }
      
      .nav-link {
        padding: var(--space-xs) var(--space-sm);
      }
      
      .lang-btn {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.75rem;
      }
      
      .theme-toggle {
        width: 36px;
        height: 36px;
      }
      
      .hero-title {
        font-size: 1.5rem;
      }
      
      .hero-subtitle {
        font-size: 0.875rem;
      }
      
      .architecture-diagram {
        font-size: 0.5rem;
      }
      
      .docs-table th,
      .docs-table td {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.75rem;
      }
      
      .docs-table code {
        font-size: 0.7rem;
        padding: 1px 4px;
      }
    }

    /* Animations */
    .fade-in {
      animation: fadeIn 0.6s ease-out forwards;
      opacity: 0;
    }

    .fade-in-delay-1 { animation-delay: 0.1s; }
    .fade-in-delay-2 { animation-delay: 0.2s; }
    .fade-in-delay-3 { animation-delay: 0.3s; }
    .fade-in-delay-4 { animation-delay: 0.4s; }
    .fade-in-delay-5 { animation-delay: 0.5s; }

    @keyframes fadeIn {
      to { opacity: 1; transform: translateY(0); }
      from { transform: translateY(20px); }
    }
