/* Reset Dasar */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: #fff; /* Warna teks default menjadi putih */
    background-color: #252525; /* Warna latar belakang body menjadi gelap */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Landing Page */
.landing-header {
    background-color: #252525; /* Warna latar belakang header menjadi gelap */
    padding: 20px 0;
    border-bottom: 1px solid #444; /* Warna garis bawah header yang lebih sesuai */
}

.landing-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-header .logo img {
    height: 68px;
}

.landing-header .logo a {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff; /* Warna teks logo menjadi putih */
    text-decoration: none;
}

.landing-header .auth-buttons {
    display: flex;
    gap: 10px;
}

/* Tombol Autentikasi (Login & Daftar) */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.login {
    background: linear-gradient(#b71c07 0%, #a31503 50%, #9b1100 100%);
}

.daftar {
    background: linear-gradient(#ebbd10 0%, #d9a103 50%, #cb8e01 100%);
}

.button:hover {
    opacity: 0.8;
}

/* Hero Section dengan Grid untuk Gambar Kiri, Teks Kanan */
.hero {
    background-color: #333; 
    padding: 60px 0;
}

.hero .container {
    max-width: 1200px; 
    padding: 20px; 
}

.hero-grid {
    display: flex;
    align-items: center; 
    gap: 30px; 
    flex-direction: row; 
}

.hero-image {
    flex: 1; 
}

.hero-image img {
    display: block; 
    max-width: 90%; 
    height: auto;
    border-radius: 5px; 
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-size: 2.2em; 
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff; 
}

.hero-content .subheadline {
    font-size: 1.1em;
    color: #ddd; 
    margin-bottom: 25px;
}

.hero-content .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.hero-content .cta-button {
    display: inline-block;
    padding: 12px 25px; 
    text-decoration: none;
    color: #333; 
    border-radius: 5px;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.hero-content .cta-buttons .daftar {
    background: linear-gradient(#ebbd10 0%, #d9a103 50%, #cb8e01 100%); 
}

.hero-content .cta-buttons .login {
    background: linear-gradient(#b71c07 0%, #a31503 50%, #9b1100 100%); 
}

.hero-content .cta-button:hover {
    opacity: 0.9;
}

.hero-content .cta-note {
    font-size: 0.9em;
    color: #fff; /* Warna catatan CTA */
    margin-top: 10px;
}

.hero-content .cta-note a {
    color: #ebbd10;
    text-decoration: none;
    font-weight:bold;
}

.hero-content .cta-note a:hover {
    text-decoration: underline;
}

/* Responsif untuk layar yang lebih kecil */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }

    .hero-grid {
        flex-direction: column; 
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin-top: 20px; 
    }

    .hero-content .cta-buttons {
        align-items: center;
    }

    .hero-image {
        max-width: 80%; 
        margin: 0 auto; 
    }

    .hero-content h1 {
        font-size: 1.8em;
    }

    .hero-content .subheadline {
        font-size: 1em;
    }
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: #2e2e2e; /* Latar belakang features yang lebih gelap */
}

.features h2 {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #fff; /* Warna teks features menjadi putih */
}

.features .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.features .feature-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #444; /* Warna border item features yang lebih sesuai */
    border-radius: 5px;
    background-color: #333; /* Latar belakang item features yang lebih gelap */
}

.features .feature-item img {
    max-width: 80px;
    height: auto;
    margin-bottom: 15px;
}

.features .feature-item h3 {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff; /* Warna teks item features menjadi putih */
}

.features .feature-item p {
    color: #ddd; /* Warna paragraf item features yang lebih terang */
}

/* CTA Bottom Section */
.cta-bottom {
    background-color: #333; /* Latar belakang CTA bottom yang lebih gelap */
    padding: 60px 0;
    text-align: center;
}

.cta-bottom .container {
    max-width: 800px;
}

.cta-bottom h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff; /* Warna teks CTA bottom menjadi putih */
}

.cta-bottom p {
    font-size: 1.1em;
    color: #ddd; /* Warna paragraf CTA bottom yang lebih terang */
    margin-bottom: 30px;
}

.cta-bottom .cta-button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    color: #333; /* Warna teks tombol CTA bottom */
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    background: linear-gradient(#ebbd10 0%, #d9a103 50%, #cb8e01 100%); /* Warna tombol CTA bottom */
    transition: background-color 0.3s ease;
}

.cta-bottom .cta-button:hover {
    opacity: 0.9;
}

/* Footer Landing Page */
.landing-footer {
    background-color: #252525; /* Warna latar belakang footer yang gelap */
    color: #ddd; /* Warna teks footer yang lebih terang */
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid #444; /* Warna garis atas footer yang lebih sesuai */
}

.landing-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.landing-footer .footer-links a {
    color: #aaa;
    text-decoration: none;
    margin: 5px 10px; /* Kasih jarak atas-bawah juga */
    padding: 10px 12px; /* Perbesar area klik */
    display: inline-block; /* Biar padding berfungsi */
    font-size: 16px; /* Ukuran teks nyaman buat mobile */
}

.landing-footer .footer-links a:hover {
    text-decoration: underline;
}

/* Article Section */
.article-section {
    padding: 60px 0;
    background-color: #2e2e2e; 
    border-top: 1px solid #444; 
}

.article-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-section h2 {
    font-size: 2em;
    font-weight: bold;
    color: #fff; 
    margin-bottom: 20px;
    text-align: center;
}

.article-section h3 {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff; 
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-section p {
    color: #fff; 
    line-height: 1.7;
    margin-bottom: 15px;
}

.article-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.article-section li {
    color: #ddd; 
    line-height: 1.7;
}

.article-section a {
    color: #fff; 
    text-decoration: underline; 
    font-weight:bold;
}


.article-section .inline-cta {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1em;
    color: #333; 
    background: linear-gradient(#ebbd10 0%, #d9a103 50%, #cb8e01 100%); 
    border-radius: 5px;
    text-decoration: none;
}

.article-section .inline-cta:hover {
    opacity: 0.9;
}

/* Responsif untuk layar yang lebih kecil */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero .subheadline {
        font-size: 1em;
    }

    .features {
        padding: 40px 0;
    }

    .features h2 {
        font-size: 1.8em;
    }

    .features .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .cta-bottom {
        padding: 40px 0;
    }

    .cta-bottom h2 {
        font-size: 1.8em;
    }

    .cta-button {
        max-width: 75%; /* Memastikan tombol CTA tidak terlalu lebar di mobile */
        margin-left: auto;
        margin-right: auto;
    }

    .landing-header .container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .landing-header .auth-buttons {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

    .landing-header .auth-buttons a {
        width: auto;
        padding: 10px 15px;
        font-size: 0.9em;
    }
}