/* ==========================================
   HHPOKER俱乐部 - Shared Stylesheet
   ========================================== */

/* === Base === */
html { scroll-behavior: smooth; }

/* === Gradient Text === */
.gradient-teal {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Navbar Link Hover === */
.nav-link {
    position: relative;
    padding-bottom: 2px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0891b2, #06b6d4);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* === Mobile Nav === */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 100;
        padding: 80px 30px 30px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .nav-menu.open { right: 0; }
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 99;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .nav-overlay.show {
        opacity: 1;
        pointer-events: auto;
    }
}

/* === FAQ Accordion === */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-content {
    max-height: 350px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}
.faq-chevron {
    transition: transform 0.3s ease;
}

/* === Counter Animation === */
.counter {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === Card Hover Effects === */
.feature-card {
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
}
.feature-card:hover .feature-icon {
    transform: scale(1.1);
}
.feature-icon {
    transition: transform 0.3s ease;
}

.testimonial-card {
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-6px);
}

/* === Button Ripple === */
.btn-ripple {
    position: relative;
    overflow: hidden;
}
.btn-ripple::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10%);
    background-position: center;
    transition: background 0.5s;
    opacity: 0;
}
.btn-ripple:active::after {
    opacity: 1;
    background-size: 1000%;
    transition: background 0s;
}

/* === Pulse Dot === */
.pulse-dot {
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* === Glow Ring === */
.glow-ring {
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
}

/* === Page Hero Backgrounds === */
.page-hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

/* === Contact Form === */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.95rem;
}
.form-input:focus {
    border-color: #0891b2;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}
.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
    font-size: 0.9rem;
}

/* === Download Cards === */
.download-card {
    transition: all 0.3s ease;
    cursor: pointer;
}
.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(8, 145, 178, 0.15);
}

/* === About Stats Grid === */
.about-stat {
    transition: all 0.3s ease;
}
.about-stat:hover {
    transform: translateY(-4px);
}

/* === Section Spacing === */
.section-pad {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* === Scrollbar === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f3f4f6; }
::-webkit-scrollbar-thumb { background: #9ca3af; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #6b7280; }