/* --- Reset & Variabel --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --bg-color: #050505;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #6366f1;
    --accent-glow: #8b5cf6;
  }
  
  body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: none; /* Sembunyikan kursor default */
  }
  
  /* --- Custom Cursor --- */
  .cursor {
    width: 8px;
    height: 8px;
    background: var(--text-main);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
  }
  
  .cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s, background 0.3s;
  }
  
  /* Efek saat hover tombol */
  .cursor.hover-active { width: 0; height: 0; }
  .cursor-follower.hover-active { 
    width: 60px; height: 60px; 
    background: rgba(99, 102, 241, 0.2); 
    border-color: var(--accent);
  }
  
  /* --- Efek Background Glowing --- */
  .glow-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite alternate ease-in-out;
  }
  
  .glow-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: -100px;
    left: -100px;
  }
  
  .glow-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-glow);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
  }
  
  @keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
  }
  
  /* Noise Overlay untuk kesan elegan */
  .noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.05"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 0;
  }
  
  /* --- Layout Utama --- */
  main {
    position: relative;
    z-index: 1;
    padding: 2rem 5%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
  }
  
  /* Header */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
  }
  
  .logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
  }
  
  .logo .dot { color: var(--accent); }
  
  .status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }
  
  .pulse {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse-anim 1.5s infinite;
  }
  
  @keyframes pulse-anim {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
  }
  
  /* Hero Section */
  .hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 800px;
    margin-top: 5rem;
  }
  
  h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
  }
  
  .gradient-text {
    background: linear-gradient(135deg, #a78bfa, #6366f1, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 3s linear infinite;
  }
  
  @keyframes shine {
    to { background-position: 200% center; }
  }
  
  .hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 3rem;
  }
  
  /* Tombol Kreatif */
  .btn-magnetic {
    position: relative;
    padding: 1rem 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: transparent;
    border: none;
    border-radius: 50px;
    cursor: none;
    overflow: hidden;
    transition: transform 0.2s ease;
    z-index: 1;
  }
  
  .btn-magnetic::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow));
    z-index: -1;
    border-radius: 50px;
    transition: transform 0.3s ease;
  }
  
  .btn-magnetic::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow));
    z-index: -2;
    border-radius: 50px;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .btn-magnetic:hover::after { opacity: 1; }
  .btn-magnetic:active { transform: scale(0.95); }
  
  /* Footer */
  footer {
    margin-top: auto;
    padding-bottom: 2rem;
  }
  
  .footer-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
  }
  
  footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  
  /* --- Animasi Reveal --- */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
  }
  
  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Delay untuk tiap elemen */
  header .reveal:nth-child(1) { transition-delay: 0.1s; }
  header .reveal:nth-child(2) { transition-delay: 0.2s; }
  .hero h1 { transition-delay: 0.3s; }
  .hero p { transition-delay: 0.4s; }
  .cta-group { transition-delay: 0.5s; }
  footer.reveal { transition-delay: 0.6s; }
  
  /* Sembunyikan cursor custom di perangkat mobile */
  @media (max-width: 768px) {
    body { cursor: auto; }
    .cursor, .cursor-follower { display: none; }
    .btn-magnetic { cursor: pointer; }
    header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .hero { margin-top: 3rem; }
  }