:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --accent-primary: #3b82f6;
    --accent-secondary: #2563eb;
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-error: #ef4444;
    --border-radius: 12px;
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
  }
  
  body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  .container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease forwards;
  }
  
  .nav-links {
    display: flex;
    gap: 1.5rem;
  }
  
  .nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .nav-link:hover {
    color: var(--accent-primary);
  }
  
  .logo-small {
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(to right, #3b82f6, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
  }
  
  header {
    margin-bottom: 2.5rem;
    text-align: center;
    animation: fadeInDown 0.8s ease forwards;
  }
  
  .logo {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(to right, #3b82f6, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
  }
  
  .subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
  }
  
  .card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(20px);
  }
  
  .fade-in {
    animation: fadeIn 0.5s ease forwards;
  }
  
  .fade-in-delay-1 {
    animation: fadeIn 0.5s ease 0.2s forwards;
  }
  
  .fade-in-delay-2 {
    animation: fadeIn 0.5s ease 0.4s forwards;
  }
  
  h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
  }
  
  h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    color: var(--text-primary);
  }
  
  button, .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
  }
  
  .btn-primary {
    background-color: var(--accent-primary);
    color: white;
  }
  
  .btn-primary:hover:not(:disabled) {
    background-color: var(--accent-secondary);
  }
  
  .btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
  }
  
  .btn-secondary:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .hero {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #3b82f6, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
  }
  
  .btns-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .feature-card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }
  
  .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    margin-bottom: 1rem;
  }
  
  .feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
  }
  
  .faq-container {
    margin-bottom: 3rem;
  }
  
  .faq-item {
    margin-bottom: 1.5rem;
  }
  
  .faq-question {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
  }
  
  .code-preview {
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
  }
  
  .code-preview code {
    font-family: 'Fira Code', monospace;
    color: #f8fafc;
  }
  
  .comment { color: #64748b; }
  .keyword { color: #3b82f6; }
  .string { color: #10b981; }
  .function { color: #f59e0b; }
  
  .icon {
    display: inline-block;
    width: 18px;
    height: 18px;
  }
  
  footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeIn 0.5s ease 0.8s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  footer p {
    margin-bottom: 1rem;
  }
  
  .social-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
  }
  
  .social-link {
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
  }
  
  .social-link:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
  }
  
  .social-link-text {
    font-size: 0.9rem;
  }
  
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2rem;
    }
    
    .btns-container {
      flex-direction: column;
    }
    
    .btn {
      width: 100%;
    }
  }
  
  @media (max-width: 640px) {
    .card {
      padding: 1.25rem;
    }
    
    .social-links {
      flex-direction: row;
      gap: 1rem;
      justify-content: center;
    }
    
    nav {
      flex-direction: column;
      gap: 1rem;
    }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  /* Additional animations */
  @keyframes fadeInUp {
      from { 
          opacity: 0; 
          transform: translateY(40px); 
      }
      to { 
          opacity: 1; 
          transform: translateY(0); 
      }
  }

  @keyframes fadeInRight {
      from { 
          opacity: 0; 
          transform: translateX(-40px); 
      }
      to { 
          opacity: 1; 
          transform: translateX(0); 
      }
  }

  /* Highlight effect for sections */
  .highlight-section {
      animation: highlightPulse 1s ease;
  }

  @keyframes highlightPulse {
      0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.2); }
      50% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0.2); }
      100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
  }

  /* Smooth scrolling for the whole page */
  html {
      scroll-behavior: smooth;
  }

  /* Additional animation classes */
  .fade-in-up {
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.7s ease;
  }

  .fade-in-up.visible {
      opacity: 1;
      transform: translateY(0);
  }

  /* Style for body during scrolling */
  body.is-scrolling {
      transition: background-color 0.3s ease;
  }

  /* Improve card animations */
  .feature-card {
      transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
      opacity: 0;
  }

  .feature-card.animated {
      opacity: 1;
  }

  .feature-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  }

  /* Stagger animations for features */
  .features .feature-card:nth-child(2) {
      transition-delay: 0.1s;
  }

  .features .feature-card:nth-child(3) {
      transition-delay: 0.2s;
  }

  .features .feature-card:nth-child(4) {
      transition-delay: 0.3s;
  }

  .features .feature-card:nth-child(5) {
      transition-delay: 0.4s;
  }

  .features .feature-card:nth-child(6) {
      transition-delay: 0.5s;
  }