@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    background-color: #050505;
    color: #e5e7eb;
    overflow-x: hidden; 
}


::-webkit-scrollbar {
    width: 12px !important;
    display: block !important;
}

::-webkit-scrollbar-track {
    background: #111111 !important; 
    border-left: 1px solid rgba(212, 175, 55, 0.1) !important;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #AA771C, #D4AF37, #AA771C) !important;
    border-radius: 10px !important;
    border: 3px solid #111111 !important; 
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3) !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #F9D423 !important;
}


* {
    scrollbar-width: auto !important;
    scrollbar-color: #D4AF37 #111111 !important;
}


.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-element.visible {
    opacity: 1;
    transform: translateY(0);
}


.shadow-premium {
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.8);
    border: 1px solid rgba(212, 175, 55, 0.1); 
}

.shadow-premium-hover:hover {
    box-shadow: 0 0 30px -5px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}


.glass-dark {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-dark-solid {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(212, 175, 55, 0.3);
}


.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


.text-gradient-gold {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #F9D423 0%, #FF4E50 100%);
    background-image: linear-gradient(to right, #F0E68C, #D4AF37, #AA771C);
}


.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}
.accordion-content.open {
    max-height: 500px;
    padding-bottom: 1rem;
}
.accordion-icon {
    transition: transform 0.3s ease;
}
.accordion-button[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}


.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}
.custom-shape-divider-bottom .shape-fill {
    fill: #050505; 
}


.masonry-grid {
    column-count: 1;
    column-gap: 1.5rem;
}
@media (min-width: 640px) {
    .masonry-grid {
        column-count: 2;
    }
}
@media (min-width: 1024px) {
    .masonry-grid {
        column-count: 3;
    }
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}


.ai-widget-container {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 520px;
    max-height: calc(100vh - 140px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.ai-widget-container.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.ai-header {
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(5, 5, 5, 0.8);
    scrollbar-color: rgba(212, 175, 55, 0.3) #050505;
}

.ai-chat-body::-webkit-scrollbar {
    width: 4px;
}

.ai-chat-body::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 10px;
}

.ai-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: messageIn 0.3s ease-out;
}

@keyframes messageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-message.bot {
    align-self: flex-start;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.1);
    color: #e5e7eb;
    border-bottom-left-radius: 4px;
}

.ai-message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, #D4AF37, #AA771C);
    color: #050505;
    font-weight: 500;
    border-bottom-right-radius: 4px;
}

.ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.suggestion-btn {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #D4AF37;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #D4AF37;
    transform: translateY(-2px);
}

.ai-footer {
    padding: 16px;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-toggle-btn {
    position: fixed;
    bottom: 24px;
    right: 100px; 
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37, #AA771C);
    color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.ai-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
}

.ai-toggle-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: inherit;
    opacity: 0.4;
    z-index: -1;
    animation: aiPulse 2s infinite;
}

@keyframes aiPulse {
    0% { transform: scale(1); opacity: 0.4; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #D4AF37;
    border-radius: 50%;
    animation: typing 1.4s infinite;
    opacity: 0.4;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-4px); opacity: 1; }
}

.ai-chat-body strong {
    color: #D4AF37;
    font-weight: 700;
}

.ai-chat-body em {
    color: #F0E68C;
    font-style: normal;
}

#ai-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.ai-message br {
    display: block;
    content: "";
    margin-top: 8px;
}


@media (max-width: 767px) {
    #mobile-menu {
        display: block !important; 
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        z-index: 40; 
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid rgba(212, 175, 55, 0.2);
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.6);
        pointer-events: none;
        padding-top: 100px;
        border-radius: 0 !important; 
    }

    #mobile-menu.open {
        transform: translateX(0);
        pointer-events: auto;
    }
}

@media (min-width: 768px) {
    #mobile-menu {
        display: none !important;
    }
}


.hamburger-line {
    width: 22px;
    height: 2px;
    background-color: #ffffff; 
    display: block;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

@media (max-width: 767px) {
    #mobile-menu-button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
    }
}

@media (min-width: 768px) {
    #mobile-menu-button {
        display: none !important;
    }
}

#mobile-menu-button.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

#mobile-menu-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

#mobile-menu-button.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@keyframes menuGlow {
    0%,100% {
        box-shadow: 0 0 0 rgba(212,175,55,0);
    }
    50% {
        box-shadow: 0 0 15px rgba(212,175,55,.5);
    }
}

#mobile-menu-button {
    animation: menuGlow 2s infinite;
}