/* General Body & Theme Styles */
body {
    font-family: 'Inter', sans-serif;
}
.gradient-text {
    background: linear-gradient(to right, #3b82f6, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Modal Styles */
.modal { transition: opacity 0.3s ease, visibility 0.3s ease; }
.modal-content { transition: transform 0.3s ease, opacity 0.4s ease; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal.is-open .modal-content { transform: scale(1) translateY(0); }

/* Custom Urgency Slider Styles */
input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    border: 4px solid var(--thumb-color, #14b8a6);
    transition: background .3s ease-in-out, border-color .3s ease-in-out;
}
input[type=range]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    border: 4px solid var(--thumb-color, #14b8a6);
    transition: background .3s ease-in-out, border-color .3s ease-in-out;
}

/* Success Checkmark Animation */
.success-checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.success-checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}
@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

/* Interactive SVG Styles */
.calm-rotate, .calm-fade {
    animation-play-state: paused;
    transform-origin: center;
    transition: all 0.5s ease-in-out;
}
#interactive-svg:hover .calm-rotate,
#interactive-svg:hover .calm-fade {
    animation-play-state: running;
}
.calm-rotate { animation: rotate 30s linear infinite; }
.calm-rotate-reverse { animation: rotate-reverse 40s linear infinite; }
.calm-fade { animation: fade 8s ease-in-out infinite; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotate-reverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes fade { 0%, 100% { opacity: 0.1; } 50% { opacity: 0.6; } }

/* NEW STYLES FOR MEGA MENU & COUNTERS */
.mega-menu {
    background-color: rgba(17, 24, 39, 0.85); /* Darker, less transparent background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.mega-menu-link.active {
    color: #14b8a6; /* Teal color for active link */
    font-weight: 700;
}