/* Main Styles */
:root {
    --primary: #3498db;
    --primary-dark: #2980b9;
    --secondary: #2ecc71;
    --accent: #f39c12;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-icon img {
    width: 35px;
    height: 35px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.logo-text span {
    color: #FFD700;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 0.95rem;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px 0;
    margin-bottom: 60px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #fff;
}

.hero p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 500px;
}

.cta-btn {
    background: #f39c12;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 400;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    background: #e67e22;
}

.hero-image {
    flex: 1;
}

.hero-img {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-img i {
    font-size: 3.5rem;
    color: #f39c12;
    margin-bottom: 20px;
}

.hero-img h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #fff;
}

.hero-img p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Unit List */
.unit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.unit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.unit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.unit-item i {
    color: #2ecc71;
    font-size: 1rem;
}

.unit-item span {
    font-size: 0.9rem;
    font-weight: 400;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.footer-section p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 8px;
    line-height: 1.5;
    font-weight: 300;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 20px;
    font-weight: 300;
}

/* User Info */
/* SEMBUNYIKAN SEMUA USER INFO - FIXED VERSION */
.user-info {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    z-index: -9999 !important;
}

/* Class .visible juga harus disembunyikan */
.user-info.visible {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Tombol logout */
.logout-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Hover state juga harus disembunyikan */
.logout-btn:hover {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    background: transparent !important;
}

/* Untuk elemen dengan ID spesifik */
#userInfo,
#userEmailDisplay,
#logoutButton {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* SEMUA elemen yang mengandung kata "user" atau "logout" */
[class*="user"],
[class*="User"],
[id*="user"],
[id*="User"],
[class*="logout"],
[id*="logout"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Reset semua properti yang mungkin membuat elemen terlihat */
.user-info *,
#userInfo *,
.logout-btn * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
}


/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Website Content Visibility */
.website-content {
    display: none;
}

.website-content.verified {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .footer-info {
        grid-template-columns: 1fr;
        text-align: center;
    }

    header {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .hero {
        padding: 20px 0;
    }

    .hero-img {
        padding: 30px 20px;
    }
}