/* --- RESET & VARIABLES --- */
:root {
    --primary-color: #00f2ff; /* Cyan Neon */
    --secondary-color: #7000ff; /* Ungu Futuristik */
    --accent-color: #ff0055; /* Merah/Pink Aksen */
    --bg-dark: #05070a; /* Latar Belakang Gelap Pekat */
    --bg-card: #0f1623; /* Latar Kartu */
    --text-light: #ffffff;
    --text-gray: #a0aec0;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
header {
    background-color: rgba(5, 7, 10, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* LOGO STYLE */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo img {
    height: 50px; /* Tinggi logo di navigasi */
    width: auto;
    object-fit: contain;
    filter: brightness(1.2); /* Sedikit lebih terang agar menonjol */
    transition: var(--transition);
}

.logo:hover img {
    filter: drop-shadow(0 0 8px var(--primary-color)) brightness(1.5);
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 0 8px var(--primary-color);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- LAYOUT & TYPOGRAPHY --- */
main {
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    min-height: 80vh;
}

/* CENTERED H2 HEADER DESIGN */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-top: 2rem;
    animation: fadeInDown 1s ease-out;
}

.page-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.header-divider {
    height: 4px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 15px var(--secondary-color);
}

/* --- CONTENT SECTIONS --- */
.content-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    opacity: 0; /* Untuk animasi scroll */
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section:nth-child(even) {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
}

.content-text h3 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.content-text p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    text-align: justify;
}

.content-image {
    flex: 1;
    position: relative;
}

.content-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.content-image::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.5;
}

/* --- CARDS --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 242, 255, 0.1);
    border-color: rgba(255,255,255,0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* --- FOOTER --- */
footer {
    background-color: #020305;
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 5rem;
}

footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    nav.mobile-active {
        display: flex;
    }
    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .menu-toggle {
        display: block;
    }
    .content-section, .content-section:nth-child(even) {
        flex-direction: column;
    }
    .page-header h2 {
        font-size: 2rem;
    }
}

/* Keyframes */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}