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

  :root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
  }

  body {
    font-family: "Inter", sans-serif;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--primary-white);
    overflow-x: hidden;
  }

  .orbitron {
    font-family: "Orbitron", monospace;
  }

  /* Navigation */
  nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-200);
  }

  nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }

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

  .nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-black);
    text-decoration: none;
    letter-spacing: -1px;
  }

  .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
  }

  .nav-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
  }

  .nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-black);
    transition: width 0.3s ease;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    color: var(--primary-black);
  }

  .nav-menu a:hover::after,
  .nav-menu a.active::after {
    width: 100%;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }

  .mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-black);
    margin: 3px 0;
    transition: 0.3s;
  }

  /* Article Header */
  .article-header {
    background: var(--primary-white);
    padding-top: 6rem;
  }

  .article-header-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
  }

  .article-category {
    display: inline-block;
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
  }

  .article-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
  }

  .article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }

  .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.95rem;
  }

  .author-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--gray-300), var(--gray-400));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-white);
  }

  .article-excerpt {
    font-size: 1.2rem;
    color: var(--gray-600);
    line-height: 1.6;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 25px;
  }

  /* Featured Image */
  .featured-image-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .featured-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .featured-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, var(--gray-200) 25%, transparent 25%),
      linear-gradient(-45deg, var(--gray-200) 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, var(--gray-200) 75%),
      linear-gradient(-45deg, transparent 75%, var(--gray-200) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 4rem;
  }

  .featured-image::after {
    content: "🔧";
    font-size: 4rem;
    opacity: 0.3;
  }

  /* Article Content */
  .article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    gap: 4rem;
  }

  .article-content {
    background: var(--primary-white);
  }

  .article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-black);
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
  }

  .article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-black);
    margin: 2.5rem 0 1rem;
    line-height: 1.4;
  }

  .article-content p {
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
  }

  .article-content blockquote {
    border-left: 4px solid var(--primary-black);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--gray-100);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gray-700);
    position: relative;
  }

  .article-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--gray-300);
    position: absolute;
    top: -10px;
    left: 10px;
    line-height: 1;
  }

  .article-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
  }

  .article-content li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
  }

  .highlight-box {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
  }

  .highlight-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-black);
  }

  .highlight-box h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 1rem;
  }

  /* Table of Contents Sidebar */
  .article-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
  }

  .toc-widget {
    background: var(--gray-100);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
  }

  .toc-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .toc-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
  }

  .toc-list {
    list-style: none;
    padding: 0;
  }

  .toc-list li {
    margin-bottom: 0.8rem;
  }

  .toc-list a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    border-left: 3px solid transparent;
    padding-left: 1rem;
  }

  .toc-list a:hover,
  .toc-list a.active {
    color: var(--primary-black);
    border-left-color: var(--primary-black);
    background: var(--primary-white);
    margin: 0 -1rem;
    padding-left: 2rem;
    border-radius: 0 4px 4px 0;
  }

  /* Share Widget */
  .share-widget {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
  }

  .share-title {
    color: var(--primary-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
  }

  .share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .share-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gray-800);
    color: var(--primary-white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-600);
  }

  .share-btn:hover {
    background: var(--primary-white);
    color: var(--primary-black);
    transform: translateY(-2px);
  }

  /* Back to Top */
  .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-black);
    color: var(--primary-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    visibility: hidden;
    z-index: 999;
  }

  .back-to-top.visible {
    opacity: 1;
    visibility: visible;
  }

  .back-to-top:hover {
    background: var(--gray-800);
    transform: translateY(-3px);
  }

  /* Footer */
  footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .nav-menu {
      display: none;
    }

    .mobile-menu {
      display: flex;
    }

    .article-container {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .article-sidebar {
      position: static;
      order: -1;
    }

    .article-meta {
      flex-direction: column;
      gap: 1rem;
    }
  }

  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in-up {
    animation: fadeInUp 0.6s ease-out;
  }

  .scroll-animate {
    transform: translateY(30px);
    transition: all 0.6s ease;
  }

  .scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
  }