/* Glassmorphic Search & Auth */
.search-box {
    background: var(--glass);
    border-radius: 12px;
    padding: 0.4rem 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.search-box:focus-within {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.search-box input {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 0.85rem;
    outline: none;
    width: 120px;
}

.btn-practice {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-practice:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-post {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 8px;
    transition: var(--transition);
}

.btn-post:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

.v-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0.5rem;
}

.btn-signin {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-signin:hover {
    color: var(--primary);
}

.btn-primary-small {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: var(--transition);
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    filter: brightness(1.1);
}

/* Modal Styles Simulation */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: #fff;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #fff;
    transform: rotate(90deg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Auth Modal Specific Styles */
.auth-tabs {
    display: flex;
    gap: 1.5rem;
}

.auth-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    padding-bottom: 0.5rem;
    position: relative;
    transition: 0.3s;
}

.auth-tab.active {
    color: #fff;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.auth-form {
    display: none;
    animation: fadeIn 0.4s ease;
}

.auth-form.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* User Profile Dropdown */
.nav-auth {
    position: relative;
    display: flex;
    align-items: center;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 0.85rem;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 220px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    display: none;
    flex-direction: column;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

.user-dropdown-menu.active {
    display: flex;
}

.dropdown-item {
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.dropdown-item.logout {
    color: #ff4444;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4px;
    border-radius: 0 0 8px 8px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Role Selector Styling */
.role-selector {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 5px;
    width: 100%;
}

.role-option {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.role-option input {
    position: absolute;
    opacity: 0;
}

.role-option span {
    display: block;
    padding: 10px;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.role-option input:checked + span {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

/* Add a subtle pulse animation to Post Job */
@keyframes buttonPulse {
    0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(244, 63, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.btn-post {
    animation: buttonPulse 2s infinite;
}

.btn-post:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Work Types Section */
.work-types {
    padding: 5rem 10%;
    background: var(--bg-dark);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.type-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
}

.type-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255,255,255,0.02);
}

.type-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.type-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
}

.btn-nav {
    background: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: white !important;
    opacity: 1 !important;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 10;
    max-width: 950px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes floatingHero {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2.5rem;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -3px;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 70%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 30px rgba(99, 102, 241, 0.3));
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 4rem;
    font-weight: 400;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.3rem 3.5rem;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 15px 35px var(--primary-glow);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--glass);
    color: white;
    padding: 1.3rem 3.5rem;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: center;
    gap: 5rem;
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.01);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Jobs Section */
.jobs {
    padding: 8rem 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-auto-rows: 1fr; /* AGAR SEMUA KARTU DALAM SATU BARIS SAMA TINGGI */
    gap: 2rem;
}

.job-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
    cursor: pointer;
}

.job-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    min-height: 3.4rem; /* MENJAGA RUANG UNTUK JUDUL 2 BARIS */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
    pointer-events: none; /* AGAR TIDAK MENGHALANGI KLIK */
}

.job-card:hover::before {
    opacity: 0.05;
}

.job-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}


.company {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: block;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* PENTING: Mendorong footer ke dasar kartu */
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.salary {
    font-weight: 700;
    color: #10b981;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
/* Search Bar */
.search-container {
    max-width: 800px;
    margin: -3rem auto 4rem;
    padding: 1rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
}

.search-container input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
}

.search-container select {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 12px;
    padding: 0 1rem;
    outline: none;
    cursor: pointer;
}

/* Company Marquee */
.marquee {
    overflow: hidden;
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.marquee-content {
    display: flex;
    gap: 5rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.marquee-content span {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* About Section */
.about {
    padding: 8rem 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 900;
}

/* Newsletter */
.newsletter {
    margin: 8rem 10%;
    padding: 5rem;
    background: radial-gradient(circle at top right, var(--primary-glow), transparent),
                var(--bg-card);
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 2.5rem auto 0;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: white;
    outline: none;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 30px;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: modalSlide 0.4s ease;
}

@keyframes modalSlide {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.8rem;
    border-radius: 8px;
    color: white;
    outline: none;
}

/* FAQ Section */
.faq {
    padding: 8rem 10%;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    color: var(--text-muted);
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 200px;
}

.faq-item.active {
    border-color: var(--primary);
}

/* Testimonials */
.testimonials {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.01);
    position: relative;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Tetap kotak-kotak */
    gap: 2rem;
    padding: 2rem 10%;
    justify-items: center;
}

.testimonial-card {
    width: 100%;
    max-width: 800px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
}

/* Mouse Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: transform 0.1s ease-out;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Ad Slots */
.ad-slot {
    width: 100%;
    max-width: 970px; /* Standard Super Leaderboard width */
    min-height: 90px;
    margin: 4rem auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--glass-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ad-slot::before {
    content: 'ADVERTISEMENT';
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
    opacity: 0.4;
}

.ad-slot::after {
    content: 'Standard 728 x 90 or 970 x 250 Ad Space';
    color: var(--text-muted);
    font-size: 0.85rem;
    opacity: 0.3;
}

/* Specific size for mobile */
@media (max-width: 768px) {
    .ad-slot {
        max-width: 336px; /* Large Rectangle width */
        min-height: 280px;
    }
    .ad-slot::after {
        content: 'Mobile 300 x 250 Ad Space';
    }
}


/* Blog Section */
.blog-preview {
    padding: 8rem 10%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.blog-img {
    height: 200px;
    background: linear-gradient(45deg, var(--bg-dark), var(--primary-glow));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 10px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }
}

/* User Avatars */
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
}
/* Trusted By Marquee */
.trusted-by {
    padding: 3rem 0;
    text-align: center;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trusted-by p {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.logo-marquee {
    overflow: hidden;
    padding: 1rem 0;
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    margin: 0 3rem;
    opacity: 0.5;
    transition: var(--transition);
}

.marquee-track span:hover {
    opacity: 1;
    color: var(--primary);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Live Activity Toast */
.live-toast {
    position: fixed;
    bottom: 9rem;
    left: 2rem;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 100000; /* Tingkatkan z-index sangat tinggi */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    pointer-events: none;
}

.live-toast.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.toast-content p, .toast-content span {
    font-size: 0.75rem;
    color: var(--text-main);
    margin: 0;
}


/* Super-App Hub Styling */
.super-app-hub {
    padding: 6rem 10%;
    background: #020617;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.hub-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 3rem;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hub-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.hub-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}

.hub-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.hub-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hub-card ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hub-card ul li i {
    color: #10b981;
    font-size: 0.8rem;
}

.btn-text {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

/* Data Center Styling */
.data-center {
    padding: 5rem 10%;
    background: #0f172a;
    border-top: 1px solid var(--glass-border);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.data-item {
    text-align: center;
}

.data-item h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.data-viz {
    height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.viz-bar {
    width: 25px;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: 4px;
    animation: barGrow 2s ease-out forwards;
    transform-origin: bottom;
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.carbon-meter {
    font-size: 2.5rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 1rem;
}

.carbon-meter .count {
    font-family: 'Outfit', sans-serif;
}

.data-item.safety {
    background: rgba(244, 63, 94, 0.05);
    border: 1px dashed #f43f5e;
    padding: 2rem;
    border-radius: 20px;
}

.data-item.safety h4 {
    color: #f43f5e;
}

.data-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
/* Main Footer Styling */
.main-footer {
    padding: 6rem 10% 2rem;
    background: #020617;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
    filter: none;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-brand .social-links {
    display: flex;
    gap: 1.5rem;
}

.footer-brand .social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-brand .social-links a:hover {
    color: var(--primary);
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Match Score Style */
.match-score {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Categories Section Styling */
.categories-section {
    padding: 4rem 10%;
    background: rgba(2, 6, 23, 0.5);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-top: 3rem;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.category-item span {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.cat-check {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: var(--transition);
}

/* Interactive States */
.category-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-item:hover span {
    color: #fff;
}

.category-item.active {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.category-item.active span {
    color: #fff;
    font-weight: 700;
}

.category-item.active .cat-check {
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
}




