/* ============================================================
   Loyarax — Shared Stylesheet
   ============================================================ */

body {
    background-color: #0f172a;
    color: #f8fafc;
    overflow-x: hidden;
    font-family: 'Outfit', sans-serif;
}

/* Glass Morphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #818cf8 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating Background Blobs */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.55;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* FAQ Accordion */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.35s ease;
}
.faq-item.active .faq-content {
    max-height: 300px;
    padding-bottom: 1.5rem;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Nav Active Link */
.nav-active {
    color: #fff !important;
}
.nav-active::after {
    content: '';
    display: block;
    height: 2px;
    margin-top: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #818cf8, #ec4899);
}

/* Gradient Border Card */
.gradient-card {
    position: relative;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(236,72,153,0.05));
    border: 1px solid rgba(99,102,241,0.25);
}

/* Page fade-in animation */
@keyframes pageIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.page-enter {
    animation: pageIn 0.55s ease forwards;
}

/* Category pill active state */
.cat-btn.active {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
    border-color: transparent;
}

/* Form input shared styles */
.form-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    color: #f8fafc;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.form-input::placeholder { color: #64748b; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #6366f1; }

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
