/* Import Base CSS (Reset & Variable Global) */
@import url("./base.css");

/* Import Font Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Override Font Default */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden; /* Mencegah scroll samping */
}

/* Container Standar (Untuk konten lain) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= NAVBAR LEBAR ================= */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    /* KUNCI 1: LEBARKAN NAVBAR */
    max-width: 1400px; /* Lebih lebar dari standar */
    width: 100%;
    margin: 0 auto;
    padding: 0 40px; /* Jarak dari pinggir layar */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 36px;
    font-weight: 800;
    color: #FFC107;

    margin-left: -80px;
    
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.link-login {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
}

.btn-register {
    background: #7678ED;
    color: #fff;
    padding: 10px 25px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-register:hover {
    background: #634bd1;
    transform: translateY(-2px);
}

/* ================= HERO SECTION LEBAR ================= */
.hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    /* KUNCI 2: LEBARKAN HERO AREA */
    max-width: 1450px; /* Dibuat sangat lebar */
    width: 100%;
    margin: 0 auto;
    padding: 0 40px; /* Jarak aman kiri kanan */
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* --- KIRI: TEKS (DITARIK KE KIRI) --- */
.hero-text {
    flex: 1.5;
    max-width: 850px;
    
    /* Paksa Rata Kiri */
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    text-align: left !important;
    justify-content: flex-start;

    /* KUNCI 3: GESER PAKSA KE KIRI (Negative Margin) */
    margin-left: -20px; 
}

.main-heading {
    font-size: 64px; 
    line-height: 1.1;
    font-weight: 800;
    color: #FF6B00;
    
    margin: 0 0 10px -4px; 
    padding: 0;
    width: 100%;
    text-align: left ;
}

.sub-heading {
    font-size: 42px;
    font-weight: 600;
    color: #FF6B00;
    margin: 0 0 30px 0;
    padding: 0;
    width: 100%;
    text-align: left !important;
}

.hero-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
    text-align: left !important;
}

/* Tombol Besar Ungu */
.btn-purple-lg {
    display: inline-block;
    background-color: #7678ED;
    color: #fff;
    padding: 15px 45px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(123, 97, 255, 0.3);
    transition: 0.3s;
    text-decoration: none;
}

.btn-purple-lg:hover {
    background-color: #634bd1;
    transform: translateY(-4px);
}

/* Statistik */
.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 50px;
    width: 100%;
    justify-content: flex-start !important;
}

.stat-box strong {
    display: block; font-size: 36px; font-weight: 800; color: #FF6B00; text-align: left;
}
.stat-box span {
    display: block; font-size: 20px; color: #FF6B00; text-align: left;
}


/* --- KANAN: GAMBAR (DITARIK KE KANAN) --- */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Dorong isi ke kanan mentok */
    position: relative;
    
    /* KUNCI 4: GESER PAKSA KE KANAN */
    margin-right: -100px;
}

.floating-img {
    width: 100%;
    max-width: 700px; /* Gambar diperbesar sedikit */
    height: auto;
    animation: float 4s ease-in-out infinite; 
    margin-left: 400px;
}

/* Definisi Animasi */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* ================= RESPONSIVE (HP) ================= */
@media (max-width: 900px) {
    .nav-container { padding: 0 20px; }
    
    .hero-container {
        flex-direction: column-reverse; 
        text-align: center;
        padding: 40px 20px;
    }
    
    .hero-text {
        align-items: center !important;
        text-align: center !important;
        max-width: 100%;
        margin-left: 0; /* Reset geseran di HP */
    }

    .main-heading { 
        font-size: 40px; 
        text-align: center !important;
        margin: 0 0 10px 0;
    }
    
    .sub-heading { 
        font-size: 28px; 
        text-align: center !important;
    }
    
    .hero-desc {
        text-align: center !important;
        margin: 0 auto 30px auto;
    }
    
    .hero-stats {
        justify-content: center !important;
    }
    
    .hero-visual {
        justify-content: center;
        margin-right: 0; /* Reset geseran di HP */
    }

    .floating-img {
        max-width: 80%;
        margin-bottom: 30px;
    }
}