/* --- ROOT VARIABLES & BASIC SETUP --- */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --color-primary: #0099ff;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --border-color: #333333;
    --page-padding: 60px; /* Padding atas dan bawah halaman */
    --card-gap: 40px;     /* Jarak antar kartu */
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    background-color: var(--bg-primary); 
    color: var(--text-primary); 
    line-height: 1.7; 
}

.container { 
    width: 90%; 
    max-width: 900px; 
    margin: 0 auto; 
}

/* --- ANIMATION CLASS --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out 0.1s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER --- */
.header {
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { 
    font-size: 1.8rem; 
    font-weight: 800; 
    color: var(--text-primary); 
    text-decoration: none; 
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, background-color 0.3s;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 50px;
}

.nav-link:hover {
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

/* --- MAIN CONTENT --- */
.content-section {
    padding: var(--page-padding) 0 0; 
}

h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 8px;
    white-space: nowrap;
}

.subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1rem;
}

main > .container > p.fade-in {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--page-padding);
}

/* --- CARD STYLING --- */
section:not(.contact-section) {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 35px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

section:not(.contact-section):hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

section + section {
    margin-top: var(--card-gap);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-header svg {
    width: 32px;
    height: 32px;
    fill: var(--color-primary);
    flex-shrink: 0;
}

h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

section p, section ul {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 800px;
    padding-left: 0; 
}

ul {
    list-style-position: outside;
    padding-left: 20px;
}

li {
    margin-bottom: 12px;
    position: relative;
}

li::marker {
    color: var(--color-primary);
    font-weight: bold;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

.highlight {
    background-color: rgba(0, 153, 255, 0.15);
    color: var(--color-primary);
    padding: 0.1em 0.4em;
    border-radius: 4px;
    font-weight: 600;
}

/* --- CONTACT SECTION --- */
.contact-section {
    margin-top: var(--card-gap); 
    text-align: center;
    background-color: var(--bg-secondary);
    padding: 40px 20px;
    border-radius: 12px;
}

.contact-section .section-header {
    justify-content: center;
}
.contact-section p {
    padding-left: 0;
}

.contact-button { 
    background: #25D366; 
    color: #fff; 
    padding: 15px 35px; 
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: 600; 
    font-size: 1.1rem; 
    transition: transform 0.3s, box-shadow 0.3s; 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    margin-top: 10px; 
    white-space: nowrap; /* Menjaga teks tetap dalam satu baris */
}

.contact-button:hover { 
    transform: scale(1.05); 
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.5); 
}

/* Telegram Button Specific Styles */
.telegram-button {
    background-color: #229ED9; 
    box-shadow: 0 0 25px rgba(34, 158, 217, 0.3); 
}

.telegram-button:hover {
    background-color: #198ac7; 
    box-shadow: 0 0 25px rgba(34, 158, 217, 0.5);
}

/* Style for image icons (for both WhatsApp and Telegram) */
.button-icon {
    width: 24px; 
    height: 24px; 
    display: block; 
    flex-shrink: 0; 
}


/* --- FOOTER --- */
.footer { 
    text-align: center; 
    padding: 20px 0; /* Diubah agar sama dengan halaman utama */
    margin-top: var(--card-gap); 
    border-top: 1px solid var(--border-color); 
    color: var(--text-secondary);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    :root {
        --page-padding: 50px;
        --card-gap: 30px;
    }
    .content-section { padding-top: var(--page-padding); }
    
    h1 {
        font-size: clamp(2rem, 10vw, 2.2rem);
    }
    h2 {
        font-size: 1.5rem;
    }
    
    section:not(.contact-section) {
        padding: 25px;
    }
    
    .section-header svg {
        width: 28px;
        height: 28px;
    }
    ul {
        padding-left: 20px;
    }
    /* Penyesuaian tombol untuk layar lebih kecil */
    .contact-button {
        font-size: 1rem; /* Kecilkan sedikit ukuran font */
        padding: 12px 25px; /* Sesuaikan padding */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.9rem;
    }
    h2 {
        font-size: 1.3rem;
    }
    /* Penyesuaian tombol untuk layar sangat kecil */
    .contact-button {
        font-size: 0.9rem; /* Bisa dikecilkan lagi jika masih terlalu lebar */
        padding: 10px 20px; /* Sesuaikan padding */
    }
}
