<style>

  
/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
html {
    scroll-behavior: smooth;
}
  
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 80px 0;
    position: relative;
}

/* Penyelarasan Judul Ke Tengah Universal */
.section-title-wrapper {
    display: block;
    width: max-content;
    position: relative;
    margin: 0 auto 50px auto; 
    text-align: center;
}

.section-title {
    font-size: 40px;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, #38bdf8, #0ea5e9);
    border-radius: 2px;
}

/* ==========================================================================
   2. FIXED MATRIX RAIN EFFECTS
   ========================================================================== */
#binaryRainGlobal {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.show-animation .container,
.split-animation .container {
    position: relative;
    z-index: 2;
}

#contact, footer {
    background: #0f172a;
    position: relative;
    z-index: 3;
}

.split-animation {
    background: transparent;
}

.split-animation::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #0f172a; 
    z-index: 1;
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
header {
    position: sticky;
    top: 0;
    background: #111827ee;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1e293b;
    z-index: 999;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #38bdf8;
}

.logo span {
    color: #ffffff;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    color: #cbd5e1;
    position: relative;
    padding-bottom: 4px;
    transition: color .3s;
}

.menu a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #38bdf8;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.menu a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.menu a:hover {
    color: #38bdf8;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
    padding: 100px 0;
    text-align: center;
    background: transparent;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    background: linear-gradient(to right, #38bdf8, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 700px;
    margin: auto;
    font-size: 20px;
    color: #94a3b8;
}

.button {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 40px;
    border-radius: 12px;
    background: #38bdf8;
    color: #0f172a;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
    transition: all .3s ease;
}

.button:hover {
    transform: translateY(-3px);
    background: #7dd3fc;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

/* ==========================================================================
   5. PROJECTS SECTION (Fixed 3D Coverflow Slide Stage)
   ========================================================================== */
.slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Container dikunci tanpa scroll manual agar kalkulasi JS tidak terdistorsi */
.cards-scroll-container {
    width: 100%;
    overflow: hidden; 
    padding: 40px 0;
}

/* Panggung Flex Utama yang bergeser dinamis dengan tumpuan sumbu tengah */
.cards {
    display: flex;
    gap: 30px;
    position: relative;
    /* Titik tolak awal pergeseran dikunci di as tengah container */
    left: 50%;
    margin-left: -180px; /* Setengah dari lebar asli kartu (360px / 2) */
    transform: translateX(0);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
}

/* Pengaturan Dasar Kartu Pasif (Mengecil & Meredup Samar) */
.card {
    flex: 0 0 360px; 
    background: #111827;
    border: 1px solid #1e293b;
    border-radius: 18px;
    padding: 28px;
    
    transform: scale(0.9);
    opacity: 0.35;
    filter: blur(1.5px);
    box-shadow: none;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.5s ease, 
                border-color 0.5s ease, 
                box-shadow 0.5s ease, 
                filter 0.5s ease;
}

/* Efek Otomatis Saat Kartu Memegang Status Kelas .active */
.card.active {
    transform: scale(1.05) translateY(-5px); 
    opacity: 1; 
    filter: blur(0);
    border-color: #38bdf8; 
    background: #111827;
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.14), 0 0 20px rgba(56, 189, 248, 0.05);
}

/* Tombol Navigasi Panah */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid #1e293b;
    color: #e2e8f0;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: .3s;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: #38bdf8;
    color: #0f172a;
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.slider-arrow.prev { left: -25px; }
.slider-arrow.next { right: -25px; }

/* Indicator Dots Carousel */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: #38bdf8;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

/* Detail internal kartu */
.badge {
    display: inline-block;
    background: #1e293b;
    color: #38bdf8;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card p {
    color: #94a3b8;
    font-size: 15px;
}

.status {
    margin-top: 20px;
    font-size: 14px;
}

.progress {
    width: 100%;
    height: 8px;
    background: #1e293b;
    border-radius: 20px;
    margin-top: 10px;
    overflow: hidden;
}

.progress div {
    height: 100%;
    background: #38bdf8;
}

/* ==========================================================================
   6. ABOUT & CONTACT SECTIONS
   ========================================================================== */
#about {
    background: transparent;
}

.about-title span {
    color: #38bdf8;
}

.about {
    max-width: 900px;
    margin: auto;
    text-align: center;
    color: #94a3b8;
    font-size: 18px;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
footer {
    border-top: 1px solid #1e293b;
    margin-top: 80px;
    padding: 40px 0;
    text-align: center;
    color: #64748b;
}

footer strong {
    color: #38bdf8;
}

/* ==========================================================================
   8. FLOATING WHATSAPP BUTTON (3.5s Alternate Cycle)
   ========================================================================== */
.whatsapp-container {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px; 
    z-index: 9999;
}

.whatsapp-bubble {
    color: #38bdf8; 
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13px; 
    font-weight: 600;
    position: relative;
    white-space: nowrap;
    pointer-events: none;
    background: rgba(17, 24, 39, 0.7); 
    border: 1px solid rgba(56, 189, 248, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: bubbleAlternateCustom 3.5s infinite ease-in-out;
}

.whatsapp-bubble::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(17, 24, 39, 0.7);
}

.whatsapp-bubble::before {
    content: "";
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(56, 189, 248, 0.3);
    z-index: -1;
}

.whatsapp-float {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .3s ease;
    background: rgba(37, 211, 102, 0.15); 
    border: 1px solid rgba(37, 211, 102, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: iconAlternateCustom 3.5s infinite ease-in-out; 
}

.whatsapp-float i {
    color: #25D366; 
    font-size: 30px;
    line-height: 1;
    transition: .3s;
}

.whatsapp-container:hover .whatsapp-float {
    background: #25D366; 
    border-color: #25D366;
    transform: scale(1.08);
    animation: none; 
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5); 
}

.whatsapp-container:hover .whatsapp-float i {
    color: white; 
}

.whatsapp-container:hover .whatsapp-bubble {
    animation: none;
    opacity: 1;
    transform: scale(1);
    background: #111827;
    border-color: #38bdf8;
    color: #38bdf8;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.15);
}

.whatsapp-container:hover .whatsapp-bubble::after {
    border-color: transparent transparent transparent #111827;
}

@keyframes iconAlternateCustom {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    20% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    21%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes bubbleAlternateCustom {
    0%, 28.5%, 100% { opacity: 0; transform: translateX(6px) scale(0.95); }
    57%, 65.5% { opacity: 1; transform: translateX(0) scale(1); }
}

  
  
  
  
/* ==========================================================================
   9. RESPONSIVE MEDIA QUERIES (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 38px;
    }

    .menu {
        display: none;
    }

    /* --- PERBAIKAN RADIKAL SLIDER MOBILE (ANTI TERPOTONG) --- */
    .slider-wrapper {
        display: block; /* Mengubah flex menjadi block agar ruang lebih fleksibel */
        width: 100%;
    }

    .cards-scroll-container {
        overflow: hidden; 
        width: 100%;
        height: auto; /* Membebaskan tinggi pembungkus agar mengikuti tinggi asli kartu */
        padding: 40px 0 60px 0; /* Memberikan ruang napas atas-bawah untuk efek pembesaran scale(1.05) */
    }

    .cards {
        gap: 20px;
        margin-left: -41vw; 
        height: auto; /* Memastikan panggung tidak mengunci tinggi vertikal */
        align-items: stretch; /* Memaksa semua kartu memiliki tinggi yang sama rata mengikuti kartu terpanjang */
    }

    .card {
        flex: 0 0 82vw; 
        padding: 24px 20px; 
        border-radius: 16px;
        height: auto; /* Membiarkan tinggi kartu melar otomatis sesuai teks di dalamnya */
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Memaksa status dan progress bar selalu rapi di paling bawah kartu */
    }
    
    /* Optimasi ukuran teks internal kartu di HP */
    .card h3 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .card p {
        font-size: 14px; 
        line-height: 1.6;
        margin-bottom: 15px; /* Memberikan jarak sebelum status bar */
    }

    .badge {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 12px;
        align-self: flex-start;
    }

    .status {
        margin-top: auto; /* Menarik posisi status ke bagian paling bawah kartu secara otomatis */
        font-size: 13.5px;
    }

    .slider-arrow {
        display: none;
    }

    /* --- FLOATING WHATSAPP FOR MOBILE --- */
    .whatsapp-container {
        right: 18px;
        bottom: 18px;
        gap: 10px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float i {
        font-size: 26px;
    }

    .whatsapp-bubble {
        padding: 6px 12px;
        font-size: 12px;
    }

    .split-animation::before {
        top: 0;
        bottom: auto;
        height: 110px; 
        background: #0f172a;
    }
    
    .split-animation {
        background: #0f172a;
    }
}
  
</style>