/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --nav-bg: #130D3A; /* Warna background navbar sesuai request */
    --body-bg: #151828; /* Warna latar dasar yang senada dengan desain gelap */
    --text-main: #FFFFFF;
    --text-muted: #B0B3C6;
    --accent-cyan: #3EE0DC;
    --btn-purple: #5C55E9;
    --btn-hover: #4A44CC;
}

body {
    background-color: var(--body-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

/* ================= Navbar ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background-color: var(--nav-bg);
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

/* Efek saat discroll */
.navbar.scrolled {
    padding: 15px 8%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    background-color: rgba(19, 13, 58, 0.95); /* Sedikit transparan saat scroll */
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    /* gap: 12px; bisa dihapus jika di dalam container sekarang hanya ada <img> saja */
}

.logo-img {
    height: 45px; /* Naikkan ukurannya di sini. Coba 40px - 50px untuk mencari ukuran yang paling pas */
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--btn-purple);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-signin {
    text-decoration: none;
    background-color: var(--btn-purple);
    color: var(--text-main);
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 85, 233, 0.2);
}

.btn-signin:hover {
    background-color: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 85, 233, 0.4);
}

/* ================= Hamburger Menu ================= */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ================= Hero Section ================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 8% 0;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    position: relative;
}

/* Gradient overlay agar teks tetap terbaca meskipun ada background image */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(21,24,40,1) 0%, rgba(21,24,40,0.85) 40%, rgba(21,24,40,0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 45px;
    font-weight: 300;
}


@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ================= Scroll Reveal Animations ================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay {
    transition-delay: 0.2s;
}


/* ================= Responsive (Tablet & Mobile) ================= */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 44px; }
    .nav-links { gap: 20px; }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--nav-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 30px;
    }

    .hero-section::before {
        background: linear-gradient(180deg, rgba(21,24,40,0.9) 0%, rgba(21,24,40,0.7) 100%);
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }
    
    .cta-link {
        justify-content: center;
    }

    /* Hamburger Animation */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ================= Our Users Section ================= */
.our-users-section {
    background-color: #FFFFFF; /* Warna putih kontras dari Hero */
    padding: 60px 8%;
    border-bottom: 1px solid #F0F0F0;
}

.users-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.users-title {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A; /* Warna teks gelap */
    white-space: nowrap;
}

.users-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
    flex-wrap: wrap;
}

.user-logo {
    height: 75px; /* Ukuran logo diperbesar (sebelumnya 50px, bisa Anda sesuaikan lagi jika kurang besar) */
    width: auto;
    object-fit: contain;
    /* Properti filter grayscale dihapus agar logo langsung tampil dengan warna aslinya */
    transition: transform 0.3s ease; /* Transisi dibuat fokus pada efek scale/membesar */
    cursor: pointer;
}

/* Hover Effect Logo */
.user-logo:hover {
    transform: scale(1.1); /* Logo akan sedikit membesar saat di-hover/diklik */
}

/* ================= Features Section ================= */
.features-section {
    background-color: #FFFFFF;
    padding: 80px 8% 100px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px; /* Jarak antara icon dan teks */
    padding: 30px;
    border-radius: 12px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Hover effect pada Card (Halus & Modern) */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid #F0F0F0;
}

.feature-icon i {
    font-size: 28px;
    color: var(--btn-purple, #5C55E9); /* Menggunakan warna ungu tombol agar senada */
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1) rotate(-5deg); /* Efek animasi kecil pada ikon saat hover */
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-content p {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
    font-weight: 400;
}

/* ================= Responsive (Tablet & Mobile) ================= */
@media (max-width: 992px) {
    .users-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .users-logos {
        justify-content: center;
    }

    .features-container {
        grid-template-columns: repeat(2, 1fr); /* 2 Kolom untuk Tablet */
    }
}

@media (max-width: 768px) {
    .features-container {
        grid-template-columns: 1fr; /* 1 Kolom ke bawah untuk Mobile */
        gap: 20px;
    }

    .feature-card {
        padding: 20px 10px;
    }
    
    .user-logo {
        height: 40px; /* Perkecil sedikit di HP */
    }
}

/* ================= Detailed Features Section ================= */
.detailed-features-section {
    background-color: #FFFFFF;
    padding: 40px 8% 120px; /* Padding atas disesuaikan agar menyambung dengan section sebelumnya */
    overflow-x: hidden; /* Mencegah scrollbar horizontal saat animasi berjalan */
}

.detailed-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 120px; /* Jarak antar fitur yang lega (whitespace) */
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

/* Membalik posisi untuk layout Zig-Zag */
.detail-row.reverse {
    flex-direction: row-reverse;
}

/* Bagian Gambar */
.image-col {
    flex: 1.3; /* Mengambil ruang sedikit lebih besar dari teks */
    display: flex;
    justify-content: center;
}

.image-col img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Border tipis khas screenshot UI */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); /* Soft shadow premium */
    border: 1px solid #F5F5F5;
    transition: transform 0.5s ease;
}

.image-col img:hover {
    transform: translateY(-8px); /* Efek mengambang saat gambar di-hover */
}

/* Bagian Teks */
.text-col {
    flex: 1;
    max-width: 420px;
}

.text-col h3 {
    font-size: 38px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.text-col p {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
    font-weight: 400;
}

/* --- Modifikasi Animasi Reveal (Slide dari Kiri & Kanan) --- */
/* Class ini digabungkan dengan class .reveal bawaan Anda */
.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

/* Memastikan state aktif mengembalikan posisi ke normal */
.reveal.active {
    opacity: 1;
    transform: translate(0); 
}

/* ================= Responsive (Tablet & Mobile) ================= */
@media (max-width: 992px) {
    .detail-row {
        gap: 40px;
    }
    .detailed-container {
        gap: 80px;
    }
    .text-col h3 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    /* Mobile: Gambar selalu di atas, teks di bawah, terlepas dari class .reverse */
    .detail-row, .detail-row.reverse {
        flex-direction: column;
        gap: 40px;
    }
    
    .image-col {
        order: 1; /* Memaksa gambar selalu tampil di urutan pertama */
        width: 100%;
    }

    .text-col {
        order: 2; /* Memaksa teks selalu tampil di bawah gambar */
        max-width: 100%;
    }

    .text-col h3 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .detailed-container {
        gap: 70px;
    }
}

/* ================= Footer Section ================= */
.footer-section {
    background-color: var(--nav-bg, #161C2D); /* Warna background gelap senada dengan Hero dan Navbar */
    color: var(--text-main, #FFFFFF);
    padding: 80px 8% 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

.footer-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px; /* Ubah nilai ini dari 40px menjadi 15px atau 20px */
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Jarak antar baris kontak */
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px; /* Jarak antara ikon dan teks */
    font-size: 15px;
}

/* Pengaturan Icon Footer */
.contact-item i {
    color: var(--btn-purple, #5C55E9); /* Warna ungu dari desain */
    font-size: 18px;
    margin-top: 4px; 
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Pengaturan Teks Link Kontak */
.contact-item a {
    color: var(--text-muted, #B0B3C6);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.6;
}

/* Garis bawah khusus untuk email sesuai referensi */
.email-link {
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

/* Hover Effects untuk Kontak */
.contact-item a:hover {
    color: #FFFFFF;
}

.contact-item:hover i {
    transform: scale(1.15);
    filter: brightness(1.2); /* Icon sedikit lebih terang saat di-hover */
}

/* ================= Copyright Section ================= */
.footer-bottom {
    width: 100%;
    max-width: 1000px;
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Garis separator transparan */
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted, #B0B3C6);
    font-size: 13px;
    font-weight: 300;
}

/* Link untuk Verbeter */
.verbeter-link {
    color: var(--accent-cyan, #3EE0DC); /* Warna cyan agar link stand out */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.verbeter-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ================= Responsive ================= */
@media (max-width: 768px) {
    .footer-section {
        padding: 60px 5% 30px;
    }
    
    .footer-title {
        font-size: 28px;
    }

    .contact-item {
        font-size: 14px;
    }
    
    .footer-bottom p {
        font-size: 12px;
        line-height: 1.6;
    }
}