/* Custom Premium Design System Rules for SalesDoc */

/* Smooth theme transitions */
body, header, footer, section, .glass-panel, input, textarea, button, .nav-link {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0b0f19;
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #374151;
}

/* Glassmorphism panel base styling */
.glass-panel {
    background: rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.dark .glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}


/* Glow effects representing AI precision */
.ambient-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.glow-indigo {
    background: radial-gradient(circle, #69a844 0%, transparent 70%);
}

.glow-violet {
    background: radial-gradient(circle, #8cc26c 0%, transparent 70%);
}

/* Background floating animations */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.animate-float {
    animation: floatSlow 8s ease-in-out infinite;
}

/* Navigation active class */
.nav-link {
    position: relative;
    color: #475569;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #0f172a;
}
.dark .nav-link {
    color: #94a3b8;
}
.dark .nav-link:hover {
    color: #ffffff;
}
.nav-link.active {
    color: #69a844;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #69a844;
    border-radius: 2px;
}

/* Wave separators */
.wave-svg {
    width: 100%;
    height: 100%;
}
.wave-layer {
    transition: transform 0.5s ease;
}

/* Custom interactive grid cards */
.interactive-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.interactive-card:hover {
    transform: translateY(-6px);
    border-color: rgba(105, 168, 68, 0.4);
    box-shadow: 0 20px 40px -15px rgba(105, 168, 68, 0.15);
}
