.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
    transition: font-variation-settings 0.3s ease;
}

.material-symbols-outlined.filled {
    font-variation-settings: 'FILL' 1;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dark ::-webkit-scrollbar-track {
    background: #1a2230;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 5px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #374151;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

/* AI Button Effect */
.ai-button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 4px 6px -1px rgba(19, 91, 236, 0.1), 0 2px 4px -1px rgba(19, 91, 236, 0.06);
}

.ai-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: skewX(-20deg);
    transition: 0.6s;
    z-index: -1;
}

@media (hover: hover) {
    .ai-button:hover::after {
        left: 100%;
        transition: 0.6s;
    }

    .ai-button:hover {
        box-shadow: 0 10px 15px -3px rgba(19, 91, 236, 0.4), 0 4px 6px -2px rgba(19, 91, 236, 0.2);
        transform: translateY(-2px) scale(1.02);
    }
}

.ai-button:active {
    transform: translateY(0) scale(0.98);
}

.ai-button:focus-visible {
    outline: 2px solid #135bec;
    outline-offset: 2px;
}

/* FAQ Accordion Icons */
details[open] .plus-icon {
    display: none;
}

details:not([open]) .minus-icon {
    display: none;
}

details>summary {
    list-style: none;
    cursor: pointer;
}

details>summary::-webkit-details-marker {
    display: none;
}

/* CTA Card Effects */
.cta-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.dark .cta-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (hover: hover) {
    .cta-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    .dark .cta-card:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
        border-color: rgba(19, 91, 236, 0.3);
    }

    .cta-card:hover::before {
        left: 100%;
    }
}

.cta-card:focus-within {
    border-color: #135bec;
    box-shadow: 0 0 0 2px rgba(19, 91, 236, 0.2);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.6s;
    pointer-events: none;
}

/* Glassmorphism Utility */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.dark .glass {
    background: rgba(16, 22, 34, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Pulse animation for button */
@keyframes pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.cta-button {
    animation: pulse-white 2s infinite;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Gradient Text Utility */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #135bec, #60a5fa);
}

/* AI Graph Button Effect - Glowing RGB Border */
@keyframes glowing-border {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.ai-graph-btn {
    position: relative;
    background: #111;
    z-index: 0;
    border-radius: 10px;
    overflow: visible;
    touch-action: manipulation;
}

.ai-graph-btn::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    background: linear-gradient(45deg,
            #ff0000,
            #ff7300,
            #fffb00,
            #48ff00,
            #00ffd5,
            #002bff,
            #7a00ff,
            #ff00c8,
            #ff0000);
    background-size: 400%;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    animation: glowing-border 20s linear infinite;
    border-radius: 12px;
    filter: blur(5px);
    opacity: 0.8;
    will-change: background-position;
}

.ai-graph-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #135bec;
    z-index: -1;
    border-radius: 10px;
}

/* Graph Icon Drop Effect */
.ai-graph-btn .material-symbols-outlined {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    animation: icon-pulse 2s infinite;
}

@keyframes icon-pulse {

    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1));
        transform: scale(1.1);
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

    .ai-button,
    .cta-card,
    .material-symbols-outlined,
    .animate-fade-in,
    .ai-graph-btn::before,
    .ai-graph-btn .material-symbols-outlined {
        transition: none !important;
        animation: none !important;
    }
}