/* ==========================================
   HHPOKER - Custom Styles
   Design: Sunny Fresh Homepage
   Colors: Sky Blue (#0284c7) + Warm Yellow (#fbbf24, #f59e0b)
   ========================================== */

/* ===== Base Styles ===== */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ===== Navbar ===== */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.15);
}

#mobile-menu.show {
    display: block !important;
}

/* ===== Hero Sun Elements ===== */
.sun-decoration {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
    opacity: 0.15;
    pointer-events: none;
}

/* ===== Feature Cards - Bounce Animation ===== */
.feature-card:hover {
    transform: translateY(-8px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.feature-card:hover .fa-arrow-right {
    transform: translateX(4px);
    transition: transform 0.3s ease;
}

.feature-card .fa-arrow-right {
    transition: transform 0.3s ease;
}

/* ===== Progress Ring ===== */
.progress-ring-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.progress-ring-bg {
    transition: none;
}

.progress-ring-circle {
    transition: stroke-dashoffset 1.5s ease-out;
}

/* ===== FAQ Accordion ===== */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.faq-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-content.show {
    max-height: 500px;
}

.faq-number {
    flex-shrink: 0;
}

/* ===== CTA Button ===== */
.cta-download-btn {
    position: relative;
    overflow: hidden;
}

.cta-download-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-download-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Counter Animation ===== */
.progress-number {
    transition: all 0.1s ease;
}

/* ===== Star Rating ===== */
.fa-star,
.fa-star-half-stroke {
    color: #f59e0b;
}

/* ===== Responsive Fixes ===== */
@media (max-width: 768px) {
    #hero {
        min-height: 100vh;
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    .feature-card:hover {
        transform: translateY(-4px);
    }

    .faq-toggle {
        padding: 1rem;
    }

    .faq-content.show {
        padding-left: 1rem !important;
    }
}

@media (max-width: 640px) {
    #hero h1 {
        font-size: 2.25rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .progress-ring-wrapper {
        width: 100px;
        height: 100px;
    }

    .progress-ring-wrapper svg {
        width: 100px;
        height: 100px;
    }
}

/* ===== Gradient Text (optional utility) ===== */
.text-gradient-sky-warm {
    background: linear-gradient(135deg, #0284c7, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Floating Animation Delays ===== */
.animate-float:nth-child(2) {
    animation-delay: 0.5s;
}

.animate-float:nth-child(3) {
    animation-delay: 1s;
}

.animate-float:nth-child(4) {
    animation-delay: 1.5s;
}

/* ===== Smooth transitions for all interactive elements ===== */
a, button {
    transition: all 0.3s ease;
}

/* ===== Shadow enhancements ===== */
.shadow-3xl {
    box-shadow: 0 20px 60px rgba(2, 132, 199, 0.3);
}

/* ===== Focus styles ===== */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* ===== Print styles ===== */
@media print {
    #navbar,
    footer {
        position: static;
    }
}
