.faq-wrapper {
    background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
    padding: 80px 40px 40px 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-header {
    margin-bottom: 10px;
    position: relative;
}

.faq-title {
    font-size: 4rem;          /* ↓ from 5rem */    
    font-weight: 700;
    color: #000;
    /* margin: 0 0 20px 0; */
    line-height: 1;
    letter-spacing: -0.03em;
    position: relative;
    display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
}

.faq-title::after {
    content: '';
    position: absolute;
    bottom: -8px;               /* closer to text */
    left: 15%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;                /* thinner line */
    /* background: #000; */
    transition: width 0.8s ease;
}

.faq-title.animated::after {
    width: 80px;                /* ↓ from 120px */
}

.faq-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
    margin-top: 20px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.faq-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.01) 100%);
    transition: width 0.4s ease;
    z-index: 0;
}

.faq-card:hover::before {
    width: 100%;
}

.faq-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #000;
}

.faq-card.active {
    border-color: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.faq-card-header {
    padding: 32px;
    position: relative;
    z-index: 1;
}

.faq-number {
    font-size: 0.85rem;
    color: #999;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.faq-icon {
    font-size: 1.8rem;
    color: #000;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    font-weight: 300;
    line-height: 1;
}

.faq-card.active .faq-icon {
    transform: rotate(135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 32px;
}

.faq-card.active .faq-answer {
    max-height: 400px;
    padding: 0 32px 32px 32px;
}

.faq-answer-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.faq-card.active .faq-answer-text {
    opacity: 1;
    transform: translateY(0);
}

.faq-categories {
    display: flex;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-pill {
    padding: 12px 24px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    background: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.category-pill:hover {
    border-color: #000;
    color: #000;
    transform: translateY(-2px);
}

.category-pill.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.scroll-indicator {
    position: fixed;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-dot.active {
    background: #000;
    height: 24px;
    border-radius: 4px;
}

@media (max-width: 968px) {
    .faq-title {
        font-size: 3rem;
    }

    .scroll-indicator {
        display: none;
    }

    .faq-wrapper {
        padding: 60px 24px;
    }
}

@media (max-width: 640px) {
    .faq-title {
        font-size: 1.8rem;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .faq-card-header {
        padding: 24px;
    }

    .faq-card.active .faq-answer {
        padding: 0 24px 24px 24px;
    }
}