/* ============================================================
   Canada.28 - Cinematic Fullpage Scroll Styles
   ============================================================ */

/* ==================== BASE & RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

html::-webkit-scrollbar {
    width: 6px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: default;
}

/* ==================== SNAP SECTIONS ==================== */
.snap-section {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ==================== SECTION PROGRESS INDICATOR ==================== */
.section-progress {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-dot:hover {
    background: rgba(255, 107, 107, 0.5);
    border-color: #ff6b6b;
    transform: scale(1.5);
}

.progress-dot.active {
    background: #ff6b6b;
    border-color: #ff6b6b;
    box-shadow: 0 0 16px rgba(255, 107, 107, 0.6);
}

.progress-glow {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff6b6b;
    top: 0;
    left: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    pointer-events: none;
}

@keyframes progressGlow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(255, 107, 107, 0.4), 0 0 20px rgba(255, 107, 107, 0.2);
    }
    50% {
        box-shadow: 0 0 16px rgba(255, 107, 107, 0.8), 0 0 36px rgba(255, 107, 107, 0.4);
    }
}

.progress-dot.active {
    animation: progressGlow 2s ease-in-out infinite;
}

/* ==================== NAVBAR ==================== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b6b;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Mobile Overlay Active */
#mobileOverlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileOverlay.active .mobile-link {
    transform: translateY(0);
    opacity: 1;
}

#mobileOverlay.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileOverlay.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileOverlay.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileOverlay.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileOverlay.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }
#mobileOverlay.active .mobile-link:nth-child(6) { transition-delay: 0.35s; }

/* ==================== HERO PARALLAX ==================== */
.hero-section {
    min-height: 100vh;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    will-change: transform;
}

.hero-bg-1 {
    background: radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.25) 0%, transparent 70%),
                radial-gradient(ellipse at 70% 30%, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
}

.hero-bg-2 {
    background: radial-gradient(ellipse at 60% 70%, rgba(255, 107, 107, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 40%);
}

.hero-bg-3 {
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.parallax-slow {
    /* for JS-based parallax */
}

.parallax-medium {
    /* for JS-based parallax */
}

.parallax-fast {
    /* for JS-based parallax */
}

/* ==================== ANIMATIONS ==================== */

/* Cinematic Reveal */
.cinematic-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    animation: cinematicReveal 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes cinematicReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Section Reveal Animation */
.section-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
                filter 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
    filter: blur(4px);
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Section heading reveal */
.section-heading {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out,
                transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: 0.1s;
}

.section-heading.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== FEATURES GRID ==================== */
.feature-card {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                background 0.5s ease,
                border-color 0.5s ease,
                box-shadow 0.5s ease;
}

.feature-card.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-card:hover {
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.1);
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    min-height: 80vh;
}

.stats-bg {
    position: absolute;
    inset: -20%;
    background: linear-gradient(135deg,
        rgba(37, 99, 235, 0.08) 0%,
        rgba(255, 107, 107, 0.06) 25%,
        rgba(15, 23, 42, 0.95) 50%,
        rgba(37, 99, 235, 0.05) 75%,
        rgba(255, 107, 107, 0.07) 100%
    );
    background-size: 200% 200%;
    animation: statsBgShift 20s ease-in-out infinite;
}

@keyframes statsBgShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 50% 0%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 100%; }
}

.stat-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out,
                transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.stat-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.counter {
    display: inline-block;
}

/* ==================== TESTIMONIAL CAROUSEL ==================== */
.testimonial-track {
    position: relative;
    min-height: 380px;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(80px) scale(0.92);
    pointer-events: none;
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
                filter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    filter: blur(4px);
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
    filter: blur(0);
    position: relative;
}

.testimonial-slide.exit-left {
    opacity: 0;
    transform: translateX(-80px) scale(0.92);
    filter: blur(4px);
}

.testimonial-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.testimonial-indicator.active {
    background: #ff6b6b;
    width: 32px;
    border-radius: 5px;
}

.testimonial-indicator:hover {
    background: rgba(255, 107, 107, 0.5);
}

/* ==================== FAQ ACCORDION ==================== */
.faq-item {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 107, 107, 0.2);
}

.faq-item.active {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08);
}

.faq-question {
    cursor: pointer;
    user-select: none;
}

.faq-question:hover {
    color: #ff6b6b;
}

.faq-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ==================== PULSE DOT ==================== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

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

/* ==================== SCROLL INDICATOR ==================== */
.scroll-indicator {
    animation: scrollFade 2s ease-in-out infinite;
}

@keyframes scrollFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.scroll-dot {
    animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(14px);
        opacity: 0.3;
    }
}

/* ==================== PARALLAX EFFECT (JS driven) ==================== */
@media (prefers-reduced-motion: no-preference) {
    .hero-bg-1,
    .hero-bg-2,
    .hero-bg-3,
    .stats-bg,
    .parallax-slow,
    .parallax-medium,
    .parallax-fast {
        transition: transform 0.1s linear;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .section-progress {
        right: 12px;
        gap: 12px;
    }

    .progress-dot {
        width: 10px;
        height: 10px;
    }

    .stats-section {
        min-height: auto;
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .section-progress {
        display: none;
    }

    .snap-section {
        min-height: 100vh;
    }

    .stats-section {
        min-height: auto;
        padding: 60px 0;
    }

    .testimonial-track {
        min-height: 440px;
    }
}

@media (max-width: 480px) {
    .testimonial-track {
        min-height: 500px;
    }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
        scroll-snap-type: none;
    }

    .cinematic-reveal,
    .section-reveal,
    .feature-card,
    .stat-item,
    .testimonial-slide {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    .scroll-indicator {
        animation: none;
    }

    .scroll-dot {
        animation: none;
    }
}

/* ==================== MOBILE HAMBURGER ANIMATION ==================== */
#mobileMenuBtn i.fa-xmark {
    animation: iconSpin 0.3s ease;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(180deg); }
}

/* ==================== CTA SECTION DECORATIONS ==================== */
#cta-section .parallax-slow,
#cta-section .parallax-fast {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== FOOTER HOVER EFFECTS ==================== */
footer a:hover {
    text-decoration: none;
}
<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>

