/* ============================================
   HN Career Suite - Page Stylesheet
   hn-career-suite.css
   ============================================ */

/* --- Scroll Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- Pricing Card: Popular Highlight --- */
.pricing-popular {
    border: 2px solid var(--color-sage);
    position: relative;
    transform: scale(1.03);
    box-shadow: 0 25px 50px -12px rgba(156, 175, 136, 0.25);
}
@media (max-width: 768px) {
    .pricing-popular { transform: scale(1); }
}

.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

/* --- FAQ Accordion --- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.3s ease;
    padding: 0 1.5rem;
}
.faq-answer.open {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}
.faq-chevron {
    transition: transform 0.3s ease;
}
.faq-chevron.open {
    transform: rotate(180deg);
}

/* --- Portfolio Filter --- */
.filter-btn {
    transition: all 0.3s ease;
}
.filter-btn.active {
    background-color: var(--color-sage);
    color: white;
    box-shadow: 0 4px 12px rgba(156, 175, 136, 0.4);
}

.portfolio-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.portfolio-item.hidden-item {
    opacity: 0;
    transform: scale(0.9);
    position: absolute;
    pointer-events: none;
}

/* --- WhatsApp Floating Button --- */
@keyframes pulse-ring {
    0%   { transform: scale(0.8); opacity: 0.5; }
    80%  { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 90;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}
.wa-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: pulse-ring 2s ease-out infinite;
    z-index: -1;
}

/* --- Navbar Active Link --- */
.nav-link.active {
    color: var(--color-sage-dark);
}
.dark .nav-link.active {
    color: var(--color-sage);
}

/* --- Process Step Line --- */
.step-line {
    position: absolute;
    top: 28px;
    left: 50%;
    width: calc(100% - 56px);
    height: 3px;
    background: linear-gradient(90deg, var(--color-sage) 0%, #E2E8F0 100%);
    z-index: 0;
}
.dark .step-line {
    background: linear-gradient(90deg, var(--color-sage) 0%, #374151 100%);
}

/* --- Mobile Menu --- */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open {
    transform: translateX(0);
}

/* --- Testimonial Stars --- */
.star-gold { color: #f0a500; }

/* --- CTA Banner Gradient --- */
.cta-gradient {
    background: linear-gradient(135deg, var(--color-sage-dark) 0%, var(--color-sage) 100%);
}
