/**
 * Shared landing page styles
 * Used by: landing/index, landing/gemeenten, landing/vastgoed,
 *          landing/zorg, landing/verzekeringen, innfuse/index
 */

/* ── Custom Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(15, 15, 26, 0.8); border-radius: 5px; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 5px;
    border: 2px solid rgba(15, 15, 26, 0.8);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #a78bfa 0%, #8b5cf6 100%); }
* { scrollbar-width: thin; scrollbar-color: #8b5cf6 rgba(15, 15, 26, 0.8); }

/* ── Base ─────────────────────────────────────────────────── */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    overflow-x: hidden;
}

/* ── Keyframes ────────────────────────────────────────────── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
@keyframes glow {
    from { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
    to { box-shadow: 0 0 40px rgba(139, 92, 246, 0.6); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollMouse {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* ── Navigation ───────────────────────────────────────────── */
.nav-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.mobile-menu-open { animation: slideDown 0.2s ease-out forwards; }
.dropdown-panel { background: linear-gradient(145deg, #1e1b2e 0%, #171424 100%); }

/* ── Typography & Decorations ─────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Cards & Surfaces ─────────────────────────────────────── */
.card-gradient { background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%); }
.border-glow { border: 1px solid rgba(139, 92, 246, 0.3); }
.feature-icon { background: linear-gradient(145deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.05) 100%); }
.pricing-popular {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
}
.widget-preview-container { background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%); }
.cookie-banner {
    background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}
.hero-bg-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}
.hero-bg-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
@media (hover: none), (max-width: 768px) {
    .hero-bg-image { background-attachment: scroll; }
}
.hero-bg-image.active { opacity: 1; }
.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

/* ── Animations ───────────────────────────────────────────── */
.scroll-mouse { animation: scrollMouse 2s ease-in-out infinite; }
.animate-glow { animation: glow 2s ease-in-out infinite alternate; }

/* ── Sector stats ─────────────────────────────────────────── */
.stat-number { font-size: 2rem; font-weight: 800; line-height: 1; }
@media (min-width: 640px) { .stat-number { font-size: 3rem; } }

/* ── InnFuse agent nodes ──────────────────────────────────── */
.agent-node { animation: float 6s ease-in-out infinite; }
.agent-node:nth-child(2) { animation-delay: -2s; }
.agent-node:nth-child(3) { animation-delay: -4s; }
.pulse-dot { animation: pulse-dot 2s ease-in-out infinite; }
.pulse-dot:nth-child(2) { animation-delay: -0.5s; }
.pulse-dot:nth-child(3) { animation-delay: -1s; }

/* ── Form focus ───────────────────────────────────────────── */
input:focus, select:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}
