/* ========================================
   HHPoker Landing Page — Custom Styles
   Design: Clean SaaS Pro (Indigo Theme)
   ======================================== */

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

/* ---- Navbar Scroll Effect ---- */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

/* ---- Feature Card Hover ---- */
.feature-card:hover {
    transform: translateY(-6px);
}

/* ---- FAQ Accordion ---- */
.faq-item .faq-answer {
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle i {
    transform: rotate(180deg);
    color: #4F46E5;
}

.faq-item.active .faq-toggle {
    color: #4F46E5;
}

/* ---- Stat Counter Animation ---- */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-counter {
    display: inline-block;
}

.stat-counter.counted {
    animation: countUp 0.6s ease-out;
}

/* ---- Mobile Menu ---- */
#mobile-menu.show {
    display: block;
}

/* ---- Image Loading ---- */
img {
    max-width: 100%;
    height: auto;
}

/* ---- Button Ripple (optional) ---- */
@media (prefers-reduced-motion: no-preference) {
    .feature-card,
    .faq-item button,
    a[href^="#"] {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* ---- Responsive Fine-Tuning ---- */
@media (max-width: 640px) {
    #navbar nav {
        padding-left: 0;
        padding-right: 0;
    }
}
