/* =========================================
   PREMIUM TECH BACKGROUND & SEO FRIENDLY
   ========================================= */

/* 1. IMPORT FONT GOOGLE (Fast Loading) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;800&family=Fira+Code:wght@500&display=swap');

:root {
    --bg-deep: #050505;
    --primary-green: #00ff9d;
    --accent-purple: #7000ff; /* Warna aksen modern */
    --text-main: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* UX yang baik untuk Google */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    overflow-x: hidden; /* Mencegah scroll horizontal */
    position: relative;
    min-height: 100vh;
}

/* =========================================
   PREMIUM ANIMATED BACKGROUND (CSS Only)
   Teknik ini ringan & cepat (Good for SEO)
   ========================================= */

/* Layer 1: Grid Pattern Tech */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Membuat pola kotak-kotak halus */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -2;
    pointer-events: none;
}

/* Layer 2: Animated Glowing Orbs */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Membuat efek cahaya blur (Mesh Gradient) */
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 157, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(112, 0, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 60%, rgba(0, 200, 255, 0.05) 0%, transparent 30%);
    z-index: -1;
    pointer-events: none;
    animation: backgroundPulse 15s ease-in-out infinite alternate;
}

/* Animasi background bernapas (sangat halus) */
@keyframes backgroundPulse {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* =========================================
   HEADER / SIDEBAR MODIFICATION
   ========================================= */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 10, 10, 0.8); /* Dark Glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.sidebar h2 {
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo Dot Animation */
.sidebar h2::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--primary-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-green);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Menu Navigasi Modern */
.sidebar a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hover Effect: Garis bawah grow dari tengah */
.sidebar a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.sidebar a:hover::after {
    width: 100%;
}

/* =========================================
   CONTENT AREA (HERO SECTION)
   ========================================= */

.content {
    margin-left: 0;
    padding: 120px 20px 50px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    /* Gradient Text Modern */
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px;
}

/* Highlight kata penting (jika ada span di HTML) */
h1 span {
    background: linear-gradient(90deg, var(--primary-green), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Modern Button dengan efek glow */
.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-green);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px; /* Square-ish modern look */
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.btn:hover {
    background: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.2);
    transform: translateY(-2px);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

@media screen and (max-width: 768px) {
    .sidebar {
        padding: 0 20px;
        height: auto;
        flex-direction: column;
        padding: 15px 0;
        position: relative; /* Di mobile bisa scroll */
        background: #0a0a0a;
    }

    .sidebar h2 {
        margin-bottom: 15px;
    }

    .sidebar a {
        margin: 5px 15px;
        font-size: 0.85rem;
    }

    .content {
        padding: 50px 20px;
    }

    h1 {
        font-size: 2rem;
    }
}