:root {
    --primary: #064E3B;
    --secondary: #14532D;
    --accent-gold: #C5A059;
    --light: #F8FAFC;
    --dark: #1E293B;
    --primary-gradient: linear-gradient(135deg, #064E3B 0%, #14532D 100%);
    --accent-glow: 0 0 25px rgba(197, 160, 89, 0.3);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1E293B;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
}

/* Glassmorphism 2.0 - Liquid Style */
.glass-effect {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: #ffffff;
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(6, 78, 59, 0.12);
    border-color: var(--accent-gold);
}

.sticky-header-glass {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-action-bar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

::selection {
    background: var(--selection-bg);
    color: white;
}

/* Scroll Animations Logic */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-on-scroll.active,
.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-reveal {
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(to bottom, #14532D, #059669); 
    border-radius: 10px;
    border: 2px solid #f8fafc;
}

/* Image comparaison tweaks */
img-comparison-slider {
    outline: none;
    --divider-width: 4px;
    --divider-color: #ffffff;
    --default-handle-color: #ffffff;
    border-radius: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
    scroll-behavior: smooth;
}

/* Premium Button Shine */
.btn-shine {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-shine:active {
    transform: scale(0.95);
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(45deg);
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.btn-shine:hover::after {
    left: 100%;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* FAQ Accordion Styles */
details summary::-webkit-details-marker {
    display: none;
}

details summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding-right: 3rem !important;
}

details summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

details summary:hover {
    background-color: rgba(20, 83, 45, 0.03);
}

/* Testimonials Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-container {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    width: 100%;
}

/* Optional: Fade effect on edges */
.marquee-container::before,
.marquee-container::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, white, transparent);
}

.marquee-container::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, white, transparent);
}

/* Pricing Cards Table */
.pricing-card {
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--accent-gold);
    transform: scale(1.05);
    z-index: 10;
}

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

/* Badge Gold */
.badge-gold {
    background: linear-gradient(135deg, #C5A059 0%, #9F7E3F 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

@media (max-width: 1024px) {
    .marquee-track {
        animation-duration: 25s;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
}
