/* Custom Glassmorphism & Animations for Solverto */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #041E42;       /* Solverto Navy */
    --primary-light: #1e3a6f; /* Lighter Navy */
    --primary-dark: #020e25;  /* Darker Navy */
    --accent: #CFAF5B;        /* Solverto Gold */
    --accent-light: #e0c684;
    --accent-dark: #a88a3f;
    --dark: #0f172a;          /* Slate 900 */
    --light: #f8fafc;         /* Slate 50 */
    --text-main: #334155;     /* Slate 700 */
    --text-light: #64748b;    /* Slate 500 */
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #f8fafc;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 50%, var(--accent) 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Glassmorphism - Premium */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px -10px rgba(4, 30, 66, 0.12);
}

.glass-dropdown {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(226, 232, 240, 1);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

/* Animated Background Shapes */
.animated-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    background: linear-gradient(120deg, #f5f7fb 0%, #eef1f8 100%);
    overflow: hidden;
}

.animated-bg::before,
.animated-bg::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: drift 20s infinite alternate cubic-bezier(0.5, 0, 0.5, 1);
}

.animated-bg::before {
    background: rgba(207, 175, 91, 0.18);
    top: -200px;
    left: -200px;
}

.animated-bg::after {
    background: rgba(4, 30, 66, 0.18);
    bottom: -200px;
    right: -200px;
    animation-direction: alternate-reverse;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 50px); }
}

/* Feature Cards & Hovers */
.feature-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: white;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 25px 50px -12px rgba(4, 30, 66, 0.22);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(4, 30, 66, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(207, 175, 91, 0.5);
    filter: brightness(1.15);
}

/* FAQ Accordion */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-content {
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.5s ease-in-out, opacity 0.4s ease 0.1s;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.2); }

/* Mobile Optimizations */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
    }
    h2 { font-size: 2rem !important; }
    .max-w-7xl {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}

/* Footer Link Underline */
.footer-link {
    position: relative;
    transition: color 0.3s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}
