/* Custom Properties dan Reset Dasar */
:root {
    --primary-blue: #007bff; /* Biru untuk Masuk & tombol utama */
    --cta-bg-blue: #3b5998; /* Biru gelap untuk CTA bagian bawah */
    --cta-gradient-start: #3b5998; /* Gradien untuk CTA bagian bawah */
    --cta-gradient-end: #663399; /* Ungu untuk gradien CTA bagian bawah */
    --text-dark: #333;
    --text-light: #555;
    --background-light: #f9f9f9;
    --border-color: #eee;
    --footer-bg: #2d3142;
    --footer-text: #ccc;
    --link-hover: #0056b3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #e7f1ff;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
}

ul {
    list-style: none;
}

/* --- Tombol Dasar --- */
.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.primary-btn {
    background-color: var(--primary-blue);
    color: #fff;
    border: 1px solid var(--primary-blue);
}

.primary-btn:hover {
    background-color: var(--link-hover);
    border-color: var(--link-hover);
}

.cta-btn {
    background-color: var(--primary-blue);
    color: #fff;
    border: 1px solid var(--primary-blue);
}

.cta-btn:hover {
    background-color: var(--link-hover);
    border-color: var(--link-hover);
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
    margin-left: 15px;
}

.secondary-btn:hover {
    background-color: #f0f0f0;
}

/* === Navbar === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
}

/* === Hero Section === */
.hero-section {
    padding: 150px 50px 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 44px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* === Statistics Section (Ikon Diperbarui) === */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 40px 50px;
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding-bottom: 15px; 
}

/* Gaya untuk wadah ikon di bagian statistik */
.stat-icon {
    width: 50px;
    height: 50px;
    background-color: #e6f0ff; /* Background biru muda */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px; /* Tengahkan ikon dan beri jarak ke angka */
}

.stat-icon i {
    font-size: 20px;
    color: var(--primary-blue); /* Warna ikon biru */
}

.stat-item .number {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-item .label {
    font-size: 14px;
    color: var(--text-light);
}

/* === Features Section === */
.features-section {
    padding: 80px 50px;
    text-align: center;
    background-color: var(--background-light);
}

.features-section h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.features-section .subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.feature-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-top: 5px solid transparent; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Gaya Ikon Fitur (Menggunakan Bootstrap Icons) */
.feature-card i {
    font-size: 28px;
    margin-bottom: 15px;
    display: block;
}

/* Warna Ikon Fitur */
.icon-blue { color: var(--primary-blue); }
.icon-green { color: #28a745; }
.icon-purple { color: #6f42c1; }
.icon-orange { color: #fd7e14; }
.icon-yellow { color: #ffc107; }
.icon-pink { color: #e83e8c; }

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* === CTA Bottom Section === */
.cta-bottom {
    background: #2563eb;
    color: #fff;
    padding: 80px 50px;
    text-align: center;
}

.cta-bottom h2 {
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-bottom p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-bottom-btn {
    background-color: #fff;
    color: var(--cta-gradient-start);
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    margin-right: 15px;
}

.cta-bottom-btn:hover {
    background-color: #f0f0f0;
}

.cta-bottom-btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 25px;
    font-size: 16px;
}

.cta-bottom-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* === Footer === */
footer {
    background-color: #111827;
    color: var(--footer-text);
    padding: 40px 50px 20px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto 30px;
}

.footer-col {
    flex: 1;
    padding-right: 30px;
}

.footer-col.about {
    flex: 2; 
    max-width: 400px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--footer-text);
}

.footer-col ul li a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    opacity: 0.7;
}

/* Media Queries untuk Responsivitas dasar */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-section {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    .hero-section {
        padding: 120px 20px 50px;
    }
    .hero-section h1 {
        font-size: 36px;
    }
    .stats-section {
        flex-direction: column;
        gap: 30px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    .footer-col {
        padding-right: 0;
    }
    .footer-col.about {
        max-width: none;
    }
}