/* File: assets/css/landing.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #2563eb;       
    --primary-dark: #1d4ed8;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --nav-height: 70px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* === NAVBAR (RESPONSIVE) === */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    height: var(--nav-height);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    font-size: 20px; font-weight: 700; color: var(--primary);
    text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-link { text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 15px; transition: 0.3s; }
.nav-link:hover { color: var(--primary); }

.nav-buttons { display: flex; align-items: center; gap: 15px; margin-left: 20px; }
.btn-cta {
    background: var(--primary); color: white !important;
    padding: 10px 24px; border-radius: 50px; text-decoration: none;
    font-weight: 600; font-size: 14px; transition: 0.3s;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}
.btn-cta:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* HAMBURGER */
.hamburger { display: none; cursor: pointer; }
.hamburger span {
    display: block; width: 25px; height: 3px; background: var(--text-dark);
    margin: 5px 0; transition: 0.3s; border-radius: 3px;
}

/* === MOBILE STYLE === */
@media (max-width: 768px) {
    .hamburger { display: block; z-index: 1001; }
    
    /* Animasi X */
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    .nav-menu {
        position: fixed; top: var(--nav-height); left: 0; width: 100%;
        background: white; flex-direction: column; align-items: center;
        padding: 20px 0; border-bottom: 1px solid #eee;
        gap: 0;
        transform: translateY(-150%); /* Sembunyi ke atas */
        transition: transform 0.4s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    .nav-menu.active { transform: translateY(0); }
    
    .nav-link { width: 100%; text-align: center; padding: 15px 0; border-bottom: 1px solid #f8fafc; }
    .nav-buttons { flex-direction: column; width: 100%; margin: 20px 0; gap: 15px; }
    .btn-cta { width: 80%; text-align: center; }
}

/* === HERO & CONTENT === */
.hero {
    text-align: center; padding: 100px 20px 60px;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === AUTH CARD (Login/Register) === */
.auth-wrapper {
    min-height: 85vh; display: flex; align-items: center; justify-content: center;
    padding: 40px 20px;
}
.auth-card {
    background: white; padding: 40px; border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    width: 100%; max-width: 420px; border: 1px solid #e2e8f0;
}
.form-group { margin-bottom: 20px; text-align: left; }
.form-control {
    width: 100%; padding: 12px; border: 1px solid #cbd5e1;
    border-radius: 8px; font-size: 14px; margin-top: 5px;
}
.btn-block {
    width: 100%; padding: 12px; background: var(--primary);
    color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer;
}

/* === FOOTER STYLES === */
.site-footer {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 { color: var(--primary); margin-bottom: 15px; }
.footer-brand p { color: var(--text-light); font-size: 14px; max-width: 300px; margin-bottom: 20px; }

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: 0.3s;
}
.social-links a:hover { background: var(--primary); color: white; }

.footer-links h4 { margin-bottom: 20px; font-size: 16px; }
.footer-links a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: 0.3s;
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    color: var(--text-light);
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 0 auto 20px; }
    .social-links { justify-content: center; }
}

[class^="fa-"], [class*=" fa-"] {
    font-family: 'Font Awesome 5 Free' !important; /* Memaksa font */
    font-weight: 900; /* Memaksa style solid (fas) */
    display: inline-block;
}
/* Memperbaiki tampilan ikon di dalam lingkaran sosial proof */
.social-proof-icon i {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900;
}
