/* DiscoverlyLab - Main Stylesheet */

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
#mobile-menu {
    transition: max-height 0.4s ease;
    max-height: 0;
    overflow: hidden;
}
#mobile-menu.open {
    max-height: 500px;
}

/* Neon Glow */
.neon-glow {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

/* Geometric Background */
.geometric-bg {
    background-image:
        linear-gradient(135deg, rgba(99, 102, 241, 0.08) 25%, transparent 25%),
        linear-gradient(225deg, rgba(139, 92, 246, 0.08) 25%, transparent 25%),
        linear-gradient(45deg, rgba(99, 102, 241, 0.08) 25%, transparent 25%),
        linear-gradient(315deg, rgba(139, 92, 246, 0.08) 25%, transparent 25%);
    background-size: 80px 80px;
    background-position: 0 0, 0 40px, 40px -40px, -40px 0;
}

/* Pulse Animation */
.pulse-dot {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

/* Dream Job Card */
.dream-job-card {
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.dream-job-card:hover {
    box-shadow: 0 0 60px -10px rgba(99, 102, 241, 0.6);
    border-color: rgba(99, 102, 241, 0.5);
}

/* FAQ Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease;
    opacity: 0;
}
.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding-top: 1rem;
}
.faq-icon {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Policy Border */
.border-left-gradient {
    border-left: 4px solid;
    border-image: linear-gradient(to bottom, #6366F1, #8B5CF6) 1;
}

/* WhatsForm Drawer */
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.drawer-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}
#inhtm-form-box {
    position: fixed;
    top: 0;
    right: -500px;
    width: 480px;
    height: 100%;
    background: white;
    z-index: 2001;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
#inhtm-form-box.drawer-open {
    right: 0;
}
#inhtm-form-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
    border: none;
}
.drawer-close:hover {
    background: #d1d5db;
    color: #1f2937;
}
@media (max-width: 768px) {
    #inhtm-form-box {
        width: 100%;
    }
}

/* Pagination */
.pagination-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    font-weight: 600;
    transition: all 0.2s;
}
.dark .pagination-btn {
    border-color: #334155;
    background: #0f172a;
    color: #94a3b8;
}
.pagination-btn:hover:not(:disabled) {
    border-color: #6366F1;
    color: #6366F1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.dark .pagination-btn:hover:not(:disabled) {
    color: #818CF8;
}
.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
}
.dark .pagination-btn:disabled {
    background: #1e293b;
}
