/**
 * Diagnostic Romandie - Styles CSS
 * ================================
 */

/* Base Font */
* {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Glass Effects */
.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
}

/* Gradients */
.gradient-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.gradient-primary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.gradient-hero {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
}

.gradient-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-slide-left {
    animation: slideLeft 0.5s ease-out;
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-pulse-slow {
    animation: pulseSlow 2s ease-in-out infinite;
}

@keyframes pulseSlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Service Card */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* CTA Button */
.btn-cta {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px -10px rgba(5, 150, 105, 0.5);
}

/* Stats Counter */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

/* Risk Card */
.risk-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.risk-card:hover {
    border-left-color: #dc2626;
    transform: translateX(8px);
}

/* Process Step */
.process-step {
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: scale(1.02);
}

/* Testimonial Card */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* FAQ Item */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #f8fafc;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #059669;
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu {
    transition: all 0.3s ease;
}

/* Hero Pattern */
.hero-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Pricing Card */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.featured {
    border: 2px solid #059669;
    box-shadow: 0 25px 50px -12px rgba(5, 150, 105, 0.25);
}

/* Form Inputs */
.form-input {
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Badge */
.badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
}

/* Sticky Header */
.header-sticky {
    transition: all 0.3s ease;
}

.header-sticky.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Service Icon */
.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Checklist */
.checklist-item {
    transition: all 0.2s ease;
}

.checklist-item:hover {
    transform: translateX(4px);
}

/* Canton Badge */
.canton-badge {
    transition: all 0.2s ease;
}

.canton-badge:hover {
    transform: scale(1.05);
    background: #059669;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .service-card:hover {
        transform: none;
    }
}
