/* ==========================================================================
   GLOBAL STYLE & VARIABLES - THEMA DARK PURPLE NEON
   ========================================================================== */
:root {
    --bg-dark-main: #0a051b;      /* Warna dasar hitam keunguan pekat */
    --bg-dark-card: #130b2e;      /* Warna background card ungu tua */
    --purple-primary: #8a2be2;    /* Ungu neon utama */
    --purple-glow: #bd53ff;       /* Ungu terang untuk efek glow */
    --text-light: #ffffff;        /* Teks putih bersih */
    --text-muted: #a49cb9;        /* Teks abu-abu keunguan untuk deskripsi */
    --font-main: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark-main);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    /* Membuat pola grid garis tipis transparan seperti di gambar */
    background-image: 
        linear-gradient(rgba(138, 43, 226, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 43, 226, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Judul Utama Setiap Seksi (Profil, Politeknik, Proker) */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3.5rem;
    position: relative;
}

/* Garis bawah ungu neon kecil di setiap judul seksi */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: var(--purple-glow);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--purple-glow);
}
/* ==========================================================================
   FLOATING CONTACT PERSON BUTTON (UPDATED TO PURPLE)
   ========================================================================== */
.floating-cp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    /* GANTI JADI GRADASI UNGU */
    background: linear-gradient(135deg, #bd53ff, #8a2be2); 
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efek saat mouse diarahkan ke tombol */
.floating-cp:hover {
    transform: translateY(-5px) scale(1.05);
    /* BAYANGAN HOVER JADI UNGU */
    box-shadow: 0 10px 25px rgba(189, 83, 255, 0.6); 
    color: #ffffff;
}

/* Animasi gelombang (pulse) di belakang tombol */
.floating-cp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    /* WARNA GELOMBANG JADI UNGU TRANSPARAN */
    background: rgba(189, 83, 255, 0.5); 
    border-radius: 50%;
    z-index: -1;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    /* KEYFRAMES WARNA UNGU */
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(189, 83, 255, 0.7); }
    70% { transform: scale(1.4); box-shadow: 0 0 0 15px rgba(189, 83, 255, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(189, 83, 255, 0); }
}
/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (OPTIMIZED FOR INSTANT RESPONSE)
   ========================================================================== */

/* Kondisi Awal: Durasi 0.4s supaya jauh lebih cepat */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
}

/* Kondisi Aktif */
.reveal.active-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Variasi Kiri/Kanan dengan durasi 0.4s */
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.4s ease-out;
}
.reveal-left.active-reveal {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease-out;
}
.reveal-right.active-reveal {
    opacity: 1;
    transform: translateX(0);
}

/* Delay yang dipercepat supaya terasa "nyambung" */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }

