/* Reset + Variables */
:root {
    --bg: #0a0a0a;
    --card: #1e293b;
    --text: #e2e8f0;
    --accent: #3b82f6;
    --accent-glow: #10b981;
    --border: #334155;
    --text-muted: #94a3b8;
    --glass: rgba(30, 41, 59, 0.5);
  }
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: "Inter", -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  /* Sticky Nav (Semua Halaman) */
  .sticky-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: var(--glass);
    border-bottom: 1px solid var(--border);
    will-change: transform;
  }
  .nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.2s;
  }
  .nav-links a:hover {
    color: var(--accent);
  }
  
  /* Hero/Header */
  .hero {
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, var(--card) 0%, var(--bg) 100%);
  }
  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* Grid Cards (Optimized) */
  #projects-grid {
    max-width: 1400px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
  }
  .project-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    will-change: transform;
  }
  .project-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
  }
  .project-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
  }
  .project-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
  }
  .cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-glow));
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
  }
  .stack {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
  }
  .stack span {
    background: rgba(71, 85, 105, 0.5);
    padding: 0.375rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
  }
  
  /* Project Detail */
  #detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
  }
  .content {
    background: var(--glass);
    padding: 3rem;
    border-radius: 20px;
    border-left: 5px solid var(--accent);
    margin-top: 3rem;
  }
  
  /* Footer Modern 2-Tier */
  .footer-top {
    background: linear-gradient(135deg, var(--card), var(--bg));
    padding: 6rem 2rem 3rem;
    border-top: 1px solid var(--border);
  }
  .footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
  }
  .footer-section h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
  }
  .footer-section p,
  .footer-links a {
    color: var(--text-muted);
  }
  .footer-links {
    list-style: none;
  }
  .footer-links li {
    margin-bottom: 0.75rem;
  }
  .footer-links a {
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover {
    color: var(--accent);
  }
  .social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
  }
  .footer-bottom {
    background: var(--card);
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
    } /* Mobile hamburger nanti */
    .hero {
      padding: 4rem 1rem 3rem;
    }
    #projects-grid {
      grid-template-columns: 1fr;
      padding: 0 1rem;
      gap: 1.5rem;
    }
    .footer-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
  }
  