@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    /* Palet Warna Hitam & Biru */
    --bg-main: #030303; /* Hitam pekat */
    --bg-card: #0a0c10; /* Hitam kebiruan sangat gelap */
    --bg-card-hover: #11151c;
    --primary: #007bff; /* Biru inti */
    --primary-glow: rgba(0, 123, 255, 0.4);
    --secondary: #00d2ff; /* Biru cyan/neon */
    --text-main: #ffffff;
    --text-muted: #8b949e;
    --border: #1f2937;
    --border-glow: #0044ff;
    --gradient: linear-gradient(135deg, #007bff, #00d2ff);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Custom Scrollbar Biru */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Header Glassmorphism */
header {
    background-color: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 123, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--secondary);
}

/* Layout Umum */
section {
    padding: 6rem 5%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title span {
    color: var(--primary);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 10rem 5% 6rem 5%;
    position: relative;
    background: radial-gradient(circle at center, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-badge {
    background: transparent;
    border: 1px solid var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0, 123, 255, 0);
}

.contact-badge:hover {
    background: rgba(0, 123, 255, 0.1);
    box-shadow: inset 0 0 15px rgba(0, 123, 255, 0.3), 0 0 15px rgba(0, 123, 255, 0.2);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

/* Kartu dengan Efek Neon Glow */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Garis aksen biru di atas kartu */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.company-name {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.date-tag {
    display: inline-block;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    color: var(--secondary);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.card ul {
    list-style: none;
}

.card ul li {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.card ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.2rem;
    line-height: 1;
}

/* Grid Keahlian */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
}

.skill-tag {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.2rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 123, 255, 0.05);
    color: var(--secondary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.2);
    transform: translateY(-3px);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
    background-color: var(--bg-main);
}

/* Mobile Responsif */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(3, 3, 3, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--primary);
        flex-direction: column;
        gap: 0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1.2rem 5%;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .card {
        padding: 1.5rem;
    }
    /* --- TAMPILAN TOMBOL LOGIN DI NAVBAR --- */
.login-btn {
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid var(--primary);
    padding: 0.5rem 1.2rem !important;
    border-radius: 6px;
    color: var(--secondary) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

/* Menghilangkan efek garis bawah default menu pada tombol login */
.nav-links a.login-btn::after {
    display: none;
}

/* Efek menyala (Glow) saat tombol disorot mouse */
.login-btn:hover {
    background: var(--primary);
    color: var(--text-main) !important;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

/* Penyesuaian jarak tombol saat dibuka di layar HP */
@media (max-width: 768px) {
    .login-btn {
        margin: 1rem 5%;
        width: 90%;
        justify-content: center;
        background: var(--primary);
        color: var(--text-main) !important;
    }
}
/* --- TOMBOL DOWNLOAD SERTIFIKAT --- */
.btn-download {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background-color: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: var(--secondary);
    color: var(--bg-main);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
}
}