/* docs.css — Clean, Elite, On-Brand */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --red: #ff2a2a;
    --red-light: #ff4d4d;
    --gray: #c0c0c0;
    --dark: #0a0a0a;
    --darker: #000;
  }

  ::selection {
    background-color: rgba(255, 0, 0, 0.3);
    color: white;
    text-shadow: none;
  }
  
  ::-moz-selection {
    background-color: #e600004d;
    color: white;
    text-shadow: none;
  }

  /* Works on Chrome, Edge, and Safari */
  ::-webkit-scrollbar {
    width: 12px;
  }

  /* The track (the background of the scrollbar) */
  ::-webkit-scrollbar-track {
    background: #000000; /* A dark color that matches your page background */
  }

  /* The draggable scrolling handle */
  ::-webkit-scrollbar-thumb {
    background-color: #ff0000; /* The core red color */
    border-radius: 20px; /* Fully rounded edges */
    border: 3px solid #1A1A1A; /* Creates a nice padding effect */
    box-shadow: 0 0 10px #000000, 0 0 5px #FF0000; /* The red glow */
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background-color: #ff0000; /* A brighter red on hover */
    box-shadow: 0 0 15px #FF6B6B, 0 0 10px #FF4D4D; /* A more intense glow */
  }

  /* Handle on active state (when you're clicking and dragging) */
  ::-webkit-scrollbar-thumb:active {
    background-color: #f80000;
    box-shadow: 0 0 20px #000000, 0 0 15px #FF6B6B;
  }
  
  body {
    background-color: var(--darker);
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  /* Navbar */
  .navbar {
    position: fixed;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    border-radius: 14px;
    background: rgba(12, 12, 12, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 30, 30, 0.25);
    z-index: 1000;
  }
  
  .nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .logo img {
    height: 32px;
    filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.5));
  }
  
  .site-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
  }
  
  .nav-links {
    display: flex;
    gap: 28px;
  }
  
  .nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
  }
  
  .nav-link:hover {
    color: var(--red);
  }
  
  /* Hero */
  .docs-hero {
    padding: 180px 40px 100px;
    text-align: center;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: #ff2a2a;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
    color: #b0b0b0;
    max-width: 650px;
    margin: 0 auto;
  }
  
  /* Docs Layout */
  .docs-content {
    padding-bottom: 80px;
  }
  
  .container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 0 40px;
  }
  
  /* Sidebar */
  .docs-sidebar {
    position: sticky;
    top: 100px;
  }
  
  .sidebar-title {
    font-size: 1.1rem;
    color: var(--red);
    margin-bottom: 20px;
    font-weight: 600;
  }
  
  .sidebar-nav {
    list-style: none;
  }
  
  .sidebar-nav li {
    margin-bottom: 12px;
  }
  
  .sidebar-nav a {
    color: #aaa;
    text-decoration: none;
    font-size: 1rem;
    padding: 6px 0;
    display: block;
    transition: color 0.2s;
  }
  
  .sidebar-nav a:hover,
  .sidebar-nav a:focus {
    color: var(--red);
  }
  
  .sidebar-nav a:focus {
    outline: 1px solid var(--red);
    outline-offset: 2px;
  }
  
  /* Main Content */
  .docs-main {
    max-width: 900px;
  }
  
  .doc-section {
    margin-bottom: 80px;
  }
  
  .section-heading {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 24px;
    position: relative;
  }
  
  .section-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
  }
  
  /* Feature Grid */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
  }
  
  .feature-card {
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.2s;
  }
  
  .feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 40, 40, 0.3);
  }
  
  .feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  
  .feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #fff;
  }
  
  /* Specs List */
  .specs-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 32px 0;
  }
  
  @media (min-width: 768px) {
    .specs-list {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .spec-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(30, 30, 30, 0.3);
    border-radius: 12px;
    border-left: 3px solid var(--red);
  }
  
  .spec-badge {
    font-size: 1.5rem;
    flex-shrink: 0;
  }
  
  .spec-item strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
  }
  
  .spec-item p {
    color: #aaa;
    font-size: 0.95rem;
  }
  
  code {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
  }
  
  /* Analytics */
  .analytics-preview {
    display: flex;
    gap: 20px;
    margin: 32px 0;
    flex-wrap: wrap;
  }
  
  .stat-card {
    background: rgba(255, 40, 40, 0.08);
    border: 1px solid rgba(255, 40, 40, 0.2);
    border-radius: 12px;
    padding: 24px 32px;
    text-align: center;
    flex: 1;
    min-width: 180px;
  }
  
  .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 8px;
  }
  
  .stat-label {
    color: #aaa;
    font-size: 1rem;
  }
  
  .checklist {
    list-style: none;
    margin-top: 24px;
  }
  
  .checklist li {
    padding: 12px 0 12px 32px;
    position: relative;
  }
  
  .checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
  }
  
  /* Collab */
  .collab-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 32px 0;
  }
  
  .collab-item {
    text-align: center;
    padding: 24px;
    background: rgba(30, 30, 30, 0.3);
    border-radius: 16px;
  }
  
  .collab-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--red);
  }
  
  .collab-item h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #fff;
  }
  
  /* API */
  .api-block {
    background: rgba(20, 20, 20, 0.6);
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
  }
  
  pre {
    background: #0d0d0d;
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.95rem;
  }
  
  .integrations {
    margin-top: 32px;
  }
  
  .integrations h3 {
    margin-bottom: 20px;
  }
  
  .integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }
  
  .integration {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    font-weight: 500;
  }
  
  /* Footer */
  .docs-footer {
    text-align: center;
    padding: 40px;
    color: #777;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
  }
  
  /* Responsive */
  @media (max-width: 900px) {
    .container {
      grid-template-columns: 1fr;
      padding: 0 20px;
    }
  
    .docs-sidebar {
      position: static;
      margin-bottom: 40px;
    }
  
    .sidebar-nav li {
      display: inline-block;
      margin-right: 16px;
    }
  }