* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* ===== Navbar Glass Desktop ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.glass-nav {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.75rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.glass-nav::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.55) 0, transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(126, 220, 255, 0.38) 0, transparent 60%),
        radial-gradient(circle at 20% 90%, rgba(14, 88, 109, 0.22) 0, transparent 60%);
    opacity: 0.9;
    mix-blend-mode: screen;
    animation: liquidMove 14s infinite alternate ease-in-out;
    pointer-events: none;
}

@keyframes liquidMove {
    0% {
        transform: translate3d(-8%, -4%, 0) scale(1);
    }

    50% {
        transform: translate3d(6%, 4%, 0) scale(1.05);
    }

    100% {
        transform: translate3d(-4%, 2%, 0) scale(1.02);
    }
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo-container img {
    height: 5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    position: relative;
    z-index: 10;
}

.nav-menu a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #0e586d;
}

.nav-menu a.active {
    color: #0e586d;
}

.glass-btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 2.4rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    background: radial-gradient(circle at 0% 0%, #42c0dd, #0e586d);
    box-shadow:
        0 10px 25px rgba(14, 88, 109, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(5, 34, 49, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        filter 0.2s ease;
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.glass-btn-login:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow:
        0 16px 35px rgba(14, 88, 109, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    filter: brightness(1.05);
}

.glass-btn-login:active {
    transform: translateY(1px) scale(0.99);
    box-shadow:
        0 6px 18px rgba(14, 88, 109, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* ===== NAV HOVER LIQUID HIGHLIGHT ===== */
.nav-links {
    position: relative;
}

.nav-highlight {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 40px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.16);
    box-shadow:
        0 0 0 1px rgba(129, 140, 248, 0.2),
        0 14px 30px rgba(15, 23, 42, 0.18);
    pointer-events: none;
    opacity: 0;
    transition:
        left 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
        width 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
        opacity 0.18s ease-out;
    z-index: 0;
}

.nav-links a {
    position: relative;
    z-index: 1;
}

/* ===== CONTAINER & FORM ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 140px 150px 80px;
    min-height: 100vh;
    border-radius: 0;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    color: #0d9488;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 600;
}

.header h2 {
    color: #0d9488;
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 600;
}

.header p {
    color: #666;
    font-size: 1.05em;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 5px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 180px;
}

.error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 5px;
}

.submit-btn {
    display: block;
    width: 200px;
    margin: 30px auto 0;
    padding: 15px 30px;
    background-color: #0d9488;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #0a7a6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ===== FOOTER (versi putih seperti gambar) ===== */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    align-items: flex-start;
}

.footer-brand img {
    height: 56px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
    max-width: 320px;
}

.footer-social {
    margin-top: 24px;
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background-color: #e0f2fe;
    color: #0e586d;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #0f172a;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a,
.footer-list span {
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: #0e586d;
}

.footer-list svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    margin-top: 40px;
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #4b5563;
}

.footer-links {
    display: flex;
    gap: 18px;
}

.footer-links a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #0e586d;
}

/* ===== NAVBAR MOBILE (SAMAKAN DGN HOME) ===== */
@media (max-width: 768px) {
    .nav-container {
        padding: 1.25rem 1rem;
    }

    .glass-nav {
        padding: 6px 16px;
        border-radius: 20px;
        height: 50px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        column-gap: 8px;
    }

    /* Matikan pseudo-element di mobile */
    .glass-nav::before {
        content: none;
    }

    /* Matikan highlight desktop di mobile */
    .nav-highlight {
        display: none !important;
    }

    .logo-container img {
        height: 30px;
    }

    .nav-menu {
        justify-content: center;
        gap: 1.2rem;
        font-size: 0.9rem;
    }

    /* Login button jadi bulat kecil */
    .glass-btn-login {
        width: 40px;
        height: 40px;
        border-radius: 999px;
        padding: 0;
        font-size: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
        justify-self: end;
    }

    /* Sembunyikan teks "Login", tampilkan "In" saja */
    .glass-btn-login::before {
        content: "In";
    }

    .glass-btn-login {
        font-size: 0;
    }

    .glass-btn-login::before {
        font-size: 0.75rem;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 140px 40px 60px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 140px 20px 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .header h1 {
        font-size: 2em;
    }

    .header h2 {
        font-size: 1.6em;
    }

    .header p {
        font-size: 1em;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}