/* ===== Custom Styles for HHpoker Landing Page ===== */

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

/* Navbar Glassmorphism */
#header {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#header.scrolled {
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* Hero Gradient Background */
.hero-bg {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 40%, #1E293B 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Pulse Glow */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
    }
}

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

/* Feature Card Hover */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.feature-card:hover .feature-icon {
    background-color: #3B82F6;
    color: white;
    transform: scale(1.1);
}

.feature-icon {
    transition: all 0.3s ease;
    background-color: #EFF6FF;
    color: #3B82F6;
}

/* Stats Counter */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-item {
    animation: countUp 0.6s ease-out forwards;
}

/* Testimonial Card */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

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

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

.faq-answer.open {
    max-height: 300px;
}

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

.faq-icon.rotate {
    transform: rotate(180deg);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #1E293B 100%);
}

.about-icon-box {
    transition: all 0.3s ease;
}

.about-icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #1E293B 100%);
}

.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.1);
}

.contact-card:hover .contact-card-icon {
    background-color: #3B82F6;
    color: white;
}

.contact-card-icon {
    transition: all 0.3s ease;
}

/* Form Focus Styles */
.input-focus:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    outline: none;
}

/* Scroll Reveal Placeholder */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.2), transparent);
}

/* Download button special styling */
.download-btn {
    position: relative;
    overflow: hidden;
}

.download-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.download-btn:hover::after {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-bg {
        text-align: center;
    }
}
