:root {
    --pastel-green: #88D8B0;
    --pastel-green-dark: #6ebf97;
    --brand-navy: #1e293b;
    --slate-gray: #64748b;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.view-hidden {
    display: none !important;
}

.view-active {
    display: block !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--pastel-green);
}

/* Header & Navigation Fixes */
nav {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link {
    transition: all 0.3s ease;
}

.mobile-nav-link:active {
    background-color: var(--pastel-green);
    color: white !important;
}

#mobile-menu.translate-x-full {
    pointer-events: none;
}

#mobile-menu:not(.translate-x-full) {
    pointer-events: auto;
}

/* Dropdown Menu Animations */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Feature Cards & Pricing */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.animate-fade-in {
    animation: fadeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Fix for mobile button spacing */
@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2.75rem !important;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content .flex {
        align-items: center;
        justify-content: center;
    }
}

/* Custom shadow for brand navy elements */
.shadow-3xl {
    box-shadow: 0 35px 60px -15px rgba(30, 41, 59, 0.3);
}
