/* ============================================
   HHPOKER - Custom Styles
   ============================================ */

/* Hero Gradient Background */
.hero-gradient {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 30%, #4338ca 60%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* CTA Gradient Background */
.cta-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 30%, #818cf8 70%, #4f46e5 100%);
    position: relative;
    overflow: hidden;
}

.cta-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Feature Card Hover Effect */
.feature-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.15), 0 10px 20px rgba(79, 70, 229, 0.08) !important;
    border-color: rgba(79, 70, 229, 0.3) !important;
}

/* FAQ Accordion Styles */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item.active {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(79, 70, 229, 0.3) !important;
}

.faq-toggle i {
    transition: transform 0.3s ease;
}

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

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
    display: block !important;
}

/* Navbar Scroll Effect */
#navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Navbar initial transparent state */
#navbar {
    background: transparent;
}

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

/* Counter Animation - no extra CSS needed, handled by JS */

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonial Card Hover */
.bg-white.rounded-2xl.p-8.shadow-lg {
    transition: all 0.3s ease;
}

.bg-white.rounded-2xl.p-8.shadow-lg:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Stat Counter Styling */
.counter {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* Footer hover effects */
footer a:hover {
    text-decoration: none;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .hero-gradient {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .feature-card {
        margin-bottom: 0;
    }

    footer .grid {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    .hero-gradient {
        text-align: center;
    }
}
