
  :root {
    --primary-dark: #1e3c72;
    --primary-mid: #2a5298;
    --primary-light: #6a3093;
    --accent: #ff7e5f;
    --accent-hover: #feb47b;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --card-bg: rgba(255, 255, 255, 0.1);
    --sidebar-bg: rgba(42, 82, 152, 0.95);
  }

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

  body {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid), var(--primary-light));
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100%;
    overflow-x: hidden;
  }

  .reference-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 1001;
  }

  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 60, 114, 0.9);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
  }

  .nav-links {
    display: flex;
    gap: 25px;
  }

  .nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
  }

  .nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
  }

  .nav-link:hover {
    color: var(--accent);
  }

  .nav-link:hover:after {
    width: 100%;
  }

  .sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    width: 200px;
    height: calc(100% - 60px);
    background: var(--sidebar-bg);
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    overflow-y: auto;
    transition: transform 0.3s ease;
  }

  .sidebar-link {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 0;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: color 0.3s ease, padding-left 0.3s ease;
  }

  .sidebar-link:hover {
    color: var(--accent);
    padding-left: 10px;
  }

  .main-content {
    margin: 80px 20px 20px 220px;
    max-width: 1200px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30,60,114,0.8), rgba(106,48,147,0.8));
    z-index: -1;
  }

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }

  .hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 30px;
  }

  .hero-image {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    margin-bottom: 30px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
  }

  .hero-image:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  }

  article {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
  }

  article h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--accent);
    position: relative;
    padding-bottom: 10px;
  }

  article h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
  }

  article h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--text-light);
  }

  article p {
    margin-bottom: 20px;
    font-size: 1.1rem;
  }

  pre {
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    position: relative;
    border-left: 4px solid var(--accent);
  }

  pre:before {
    content: 'CSS';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: white;
    padding: 2px 10px;
    font-size: 12px;
    border-bottom-left-radius: 5px;
  }

  code {
    font-family: 'Courier New', monospace;
    color: #f8f8f2;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
  }

  .card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
  }

  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.3);
  }

  .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
  }

  .card:hover .card-image {
    transform: scale(1.03);
  }

  .data-flow {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(270deg, var(--primary-dark), var(--primary-mid), var(--primary-light));
    background-size: 600% 600%;
    animation: flow 10s ease infinite;
    border-radius: 10px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  }

  @keyframes flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  .button {
    background: var(--accent);
    border: none;
    border-radius: 30px;
    color: white;
    padding: 12px 25px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .button:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0,0,0,0.2);
  }

  .tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
  }

  .tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
  }

  .tech-item:hover {
    transform: scale(1.05);
  }

  .tech-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    object-fit: contain;
  }

  .footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
  }

  @media (max-width: 992px) {
    .tech-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .sidebar {
      transform: translateX(-100%);
      width: 250px;
    }
    
    .main-content {
      margin-left: 20px;
    }
    
    .tech-grid {
      grid-template-columns: 1fr;
    }
    
    .hero h1 {
      font-size: 2rem;
    }
    
    .hero p {
      font-size: 1rem;
    }
  }

  @media (max-width: 576px) {
    .hero {
      min-height: 300px;
    }
    
    .hero-image {
      width: 200px;
      height: 200px;
    }
    
    article {
      padding: 25px;
    }
  }

