/* HighPass FAQ Widget - Modern Professional Styles */

.hp-faq-container {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.hp-faq-wrapper {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.hp-faq-wrapper .hp-faq-item {
    width: 100%;
    box-sizing: border-box;
}

/* ===== EXPAND/COLLAPSE ALL BUTTONS ===== */
.hp-faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    gap: 16px;
}

.hp-faq-section-title {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    flex: 1;
}

.hp-faq-controls {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 0;
}

.hp-faq-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: #6b7280;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    user-select: none;
    gap: 6px;
}

.hp-faq-toggle-label {
    font-size: 13px;
    font-weight: 600;
}

.hp-faq-toggle-btn:hover {
    color: #1f2937;
    background: #e5e7eb;
    border-color: #d1d5db;
}

.hp-faq-toggle-btn.active {
    background: #1e90ff;
    color: #ffffff;
    border-color: #1e90ff;
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

.hp-faq-toggle-btn.active:hover {
    background: #0066cc;
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);
}

.hp-faq-toggle-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.hp-faq-toggle-icon-btn svg {
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.hp-faq-toggle-btn:hover .hp-faq-toggle-icon-btn svg {
    transform: scale(1.15);
}

.hp-faq-toggle-btn.active .hp-faq-toggle-icon-btn svg {
    transform: rotate(180deg);
}

.hp-faq-toggle-group {
    display: none;
}

@media (max-width: 768px) {
    .hp-faq-controls {
        justify-content: flex-end;
        margin-bottom: 16px;
    }

    .hp-faq-toggle-btn {
        padding: 7px 10px;
        font-size: 12px;
    }

    .hp-faq-toggle-icon-btn {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 480px) {
    .hp-faq-controls {
        margin-bottom: 14px;
    }

    .hp-faq-toggle-btn {
        padding: 6px 8px;
        font-size: 11px;
    }

    .hp-faq-toggle-icon-btn {
        width: 14px;
        height: 14px;
    }
}


/* ===== ACCORDION STYLE (Default Modern) ===== */
.hp-faq-accordion {
    width: 100%;
    margin: 50px auto;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.hp-faq-accordion .hp-faq-item {
    width: 100%;
    box-sizing: border-box;
}

.hp-faq-accordion .hp-faq-item {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hp-faq-accordion .hp-faq-item:last-child {
    margin-bottom: 0;
}

.hp-faq-accordion .hp-faq-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.hp-faq-accordion .hp-faq-item.active {
    border-color: #1e90ff;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.15);
}

.hp-faq-accordion .hp-faq-question {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: all 0.3s ease;
    padding: 24px 28px;
    background: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 17px;
    pointer-events: auto;
    width: 100%;
    text-align: left;
    gap: 24px;
}

.hp-faq-accordion .hp-faq-question:hover {
    background: #f9fafb;
}

.hp-faq-accordion .hp-faq-item.active .hp-faq-question {
    background: #f0f7ff;
    color: #1e90ff;
}

.hp-faq-accordion .hp-faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    visibility: hidden;
    background: #fafbfc;
    border-top: 1px solid #e5e7eb;
}

.hp-faq-accordion .hp-faq-item.hp-faq-active .hp-faq-answer-wrapper {
    overflow: visible;
    opacity: 1;
    visibility: visible;
}

/* Ensure active answers fully expand across all variants */
.hp-faq-item.hp-faq-active .hp-faq-answer-wrapper {
    max-height: none !important;
    overflow: visible;
    opacity: 1;
    visibility: visible;
}

.hp-faq-accordion .hp-faq-answer {
    padding: 4px 28px 26px 28px;
    color: #4b5563;
    line-height: 1.75;
    font-size: 15.5px;
}

.hp-faq-accordion .hp-faq-toggle-icon {
    flex-shrink: 0;
    margin-left: 15px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 16px;
}

.hp-faq-accordion .hp-faq-item.hp-faq-active .hp-faq-toggle-icon {
    transform: rotate(45deg);
    color: #1e90ff;
}

/* ===== TOGGLE/GRID STYLE ===== */
.hp-faq-toggle {
    width: 100%;
    box-sizing: border-box;
    display: grid;
    gap: 20px;
}

.hp-faq-toggle.hp-faq-columns-1 {
    grid-template-columns: 1fr;
}

.hp-faq-toggle.hp-faq-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.hp-faq-toggle.hp-faq-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.hp-faq-toggle .hp-faq-item {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.hp-faq-toggle .hp-faq-item:hover {
    border-color: #d1d5db;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hp-faq-toggle .hp-faq-item.active {
    border-color: #1e90ff;
    box-shadow: 0 10px 25px rgba(30, 144, 255, 0.15);
}

.hp-faq-toggle .hp-faq-question {
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    user-select: none;
    transition: all 0.3s ease;
    padding: 20px;
    background: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 15px;
    min-height: 60px;
    gap: 12px;
}

.hp-faq-toggle .hp-faq-question:hover {
    color: #1e90ff;
}

.hp-faq-toggle .hp-faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    visibility: hidden;
    flex: 1;
}

.hp-faq-toggle .hp-faq-item.hp-faq-active .hp-faq-answer-wrapper {
    overflow: visible;
    opacity: 1;
    visibility: visible;
}

.hp-faq-toggle .hp-faq-answer {
    padding: 0 20px 20px 20px;
    color: #4b5563;
    line-height: 1.6;
    font-size: 14px;
}

.hp-faq-toggle .hp-faq-toggle-icon {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 16px;
    width: 24px;
    height: 24px;
}

.hp-faq-toggle .hp-faq-item.hp-faq-active .hp-faq-toggle-icon {
    transform: rotate(45deg);
    color: #1e90ff;
}

/* ===== MODERN CARD STYLE ===== */
.hp-faq-modern {
    width: 100%;
    box-sizing: border-box;
    display: grid;
    gap: 24px;
}

.hp-faq-modern.hp-faq-columns-1 {
    grid-template-columns: 1fr;
}

.hp-faq-modern.hp-faq-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.hp-faq-modern.hp-faq-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.hp-faq-modern .hp-faq-item {
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hp-faq-modern .hp-faq-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 144, 255, 0.1);
    border-color: #1e90ff;
}

.hp-faq-modern .hp-faq-item.active {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    border-color: #1e90ff;
    box-shadow: 0 20px 40px rgba(30, 144, 255, 0.15);
}

.hp-faq-modern .hp-faq-question {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: all 0.3s ease;
    padding: 24px;
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 16px;
    position: relative;
}

.hp-faq-modern .hp-faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #1e90ff 0%, #0066cc 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hp-faq-modern .hp-faq-item.active .hp-faq-question::before {
    opacity: 1;
}

.hp-faq-modern .hp-faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    visibility: hidden;
}

.hp-faq-modern .hp-faq-item.hp-faq-active .hp-faq-answer-wrapper {
    overflow: visible;
    opacity: 1;
    visibility: visible;
}

.hp-faq-modern .hp-faq-answer {
    padding: 0 24px 24px 24px;
    color: #4b5563;
    line-height: 1.8;
    font-size: 15px;
}

.hp-faq-modern .hp-faq-toggle-icon {
    flex-shrink: 0;
    margin-left: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 144, 255, 0.08);
    color: #1e90ff;
    font-size: 16px;
}

.hp-faq-modern .hp-faq-item.hp-faq-active .hp-faq-toggle-icon {
    transform: rotate(45deg);
    background: rgba(30, 144, 255, 0.15);
}

/* ===== ELEGANT STYLE (Bordered Premium) ===== */
.hp-faq-elegant {
    max-width: 100%;
}

.hp-faq-elegant .hp-faq-item {
    margin-bottom: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    position: relative;
}

.hp-faq-elegant .hp-faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #1e90ff 0%, #0066cc 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hp-faq-elegant .hp-faq-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 8px 16px rgba(30, 144, 255, 0.08);
}

.hp-faq-elegant .hp-faq-item.active {
    border-color: #1e90ff;
    box-shadow: 0 12px 24px rgba(30, 144, 255, 0.12);
}

.hp-faq-elegant .hp-faq-item.active::before {
    opacity: 1;
}

.hp-faq-elegant .hp-faq-question {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: all 0.3s ease;
    padding: 18px 22px;
    background: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 15px;
    color: #1f2937;
}

.hp-faq-elegant .hp-faq-question:hover {
    background: linear-gradient(90deg, rgba(30, 144, 255, 0.02) 0%, transparent 100%);
    color: #1e90ff;
}

.hp-faq-elegant .hp-faq-item.active .hp-faq-question {
    background: linear-gradient(90deg, rgba(30, 144, 255, 0.08) 0%, transparent 100%);
    color: #1e90ff;
}

.hp-faq-elegant .hp-faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    visibility: hidden;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.hp-faq-elegant .hp-faq-item.hp-faq-active .hp-faq-answer-wrapper {
    overflow: visible;
    opacity: 1;
    visibility: visible;
}

.hp-faq-elegant .hp-faq-answer {
    padding: 18px 22px;
    color: #4b5563;
    line-height: 1.8;
    font-size: 15px;
}

.hp-faq-elegant .hp-faq-toggle-icon {
    flex-shrink: 0;
    margin-left: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 16px;
}

.hp-faq-elegant .hp-faq-item.hp-faq-active .hp-faq-toggle-icon {
    transform: rotate(45deg);
    color: #1e90ff;
}

/* ===== GRADIENT PREMIUM STYLE ===== */
.hp-faq-gradient {
    display: grid;
    gap: 20px;
}

.hp-faq-gradient .hp-faq-item {
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
    border: 1px solid rgba(30, 144, 255, 0.1);
    box-shadow: 0 8px 24px rgba(30, 144, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hp-faq-gradient .hp-faq-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e90ff 0%, #00d4ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hp-faq-gradient .hp-faq-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(30, 144, 255, 0.15);
    border-color: rgba(30, 144, 255, 0.2);
}

.hp-faq-gradient .hp-faq-item.active {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f4ff 100%);
    border-color: #1e90ff;
    box-shadow: 0 20px 40px rgba(30, 144, 255, 0.2);
}

.hp-faq-gradient .hp-faq-item.active::after {
    opacity: 1;
}

.hp-faq-gradient .hp-faq-question {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: all 0.3s ease;
    padding: 22px 26px;
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 16px;
    color: #1f2937;
}

.hp-faq-gradient .hp-faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    visibility: hidden;
}

.hp-faq-gradient .hp-faq-item.hp-faq-active .hp-faq-answer-wrapper {
    overflow: visible;
    opacity: 1;
    visibility: visible;
}

.hp-faq-gradient .hp-faq-answer {
    padding: 0 26px 22px 26px;
    color: #4b5563;
    line-height: 1.8;
    font-size: 15px;
}

.hp-faq-gradient .hp-faq-toggle-icon {
    flex-shrink: 0;
    margin-left: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    color: #1e90ff;
    font-size: 16px;
}

.hp-faq-gradient .hp-faq-item.hp-faq-active .hp-faq-toggle-icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
}

/* ===== OUTLINE STYLE ===== */
.hp-faq-outline {
    max-width: 100%;
}

.hp-faq-outline .hp-faq-item {
    margin-bottom: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: transparent;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-faq-outline .hp-faq-item:hover {
    border-color: #1e90ff;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.05);
}

.hp-faq-outline .hp-faq-item.active {
    border-color: #1e90ff;
    background: rgba(30, 144, 255, 0.02);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.08);
}

.hp-faq-outline .hp-faq-question {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: all 0.3s ease;
    padding: 16px 20px;
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 15px;
    color: #1f2937;
}

.hp-faq-outline .hp-faq-question:hover {
    color: #1e90ff;
}

.hp-faq-outline .hp-faq-item.active .hp-faq-question {
    color: #1e90ff;
}

.hp-faq-outline .hp-faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    visibility: hidden;
    border-top: 1px dashed #d1d5db;
}

.hp-faq-outline .hp-faq-item.hp-faq-active .hp-faq-answer-wrapper {
    overflow: visible;
    opacity: 1;
    visibility: visible;
    border-top-color: #1e90ff;
}

.hp-faq-outline .hp-faq-answer {
    padding: 14px 20px;
    color: #4b5563;
    line-height: 1.7;
    font-size: 14px;
}

.hp-faq-outline .hp-faq-toggle-icon {
    flex-shrink: 0;
    margin-left: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 16px;
}

.hp-faq-outline .hp-faq-item.hp-faq-active .hp-faq-toggle-icon {
    transform: rotate(45deg);
    color: #1e90ff;
}

/* ===== FILLED BACKGROUND STYLE ===== */
.hp-faq-filled {
    max-width: 100%;
}

.hp-faq-filled .hp-faq-item {
    margin-bottom: 14px;
    border: none;
    border-radius: 10px;
    background: #f3f4f6;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-faq-filled .hp-faq-item:hover {
    background: #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hp-faq-filled .hp-faq-item.active {
    background: linear-gradient(90deg, #1e90ff 0%, #0066cc 100%);
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.2);
}

.hp-faq-filled .hp-faq-question {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: all 0.3s ease;
    padding: 18px 22px;
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 15px;
    color: #1f2937;
}

.hp-faq-filled .hp-faq-item.active .hp-faq-question {
    color: #ffffff;
}

.hp-faq-filled .hp-faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    visibility: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hp-faq-filled .hp-faq-item.hp-faq-active .hp-faq-answer-wrapper {
    overflow: visible;
    opacity: 1;
    visibility: visible;
}

.hp-faq-filled .hp-faq-answer {
    padding: 16px 22px;
    color: #4b5563;
    line-height: 1.7;
    font-size: 14px;
}

.hp-faq-filled .hp-faq-item.active .hp-faq-answer {
    color: #ffffff;
}

.hp-faq-filled .hp-faq-toggle-icon {
    flex-shrink: 0;
    margin-left: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 16px;
}

.hp-faq-filled .hp-faq-item.hp-faq-active .hp-faq-toggle-icon {
    transform: rotate(45deg);
    color: #ffffff;
}

/* ===== MINIMAL STYLE ===== */
.hp-faq-minimal {
    max-width: 100%;
}

.hp-faq-minimal .hp-faq-item {
    border-bottom: 2px solid #e5e7eb;
    padding: 24px 0;
    transition: all 0.3s ease;
}

.hp-faq-minimal .hp-faq-item:first-child {
    padding-top: 0;
}

.hp-faq-minimal .hp-faq-item:last-child {
    border-bottom: none;
}

.hp-faq-minimal .hp-faq-question {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: all 0.3s ease;
    padding: 0;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 17px;
    color: #1f2937;
}

.hp-faq-minimal .hp-faq-question:hover {
    color: #1e90ff;
}

.hp-faq-minimal .hp-faq-item.active .hp-faq-question {
    color: #1e90ff;
}

.hp-faq-minimal .hp-faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
    opacity: 0;
    visibility: hidden;
}

.hp-faq-minimal .hp-faq-item.hp-faq-active .hp-faq-answer-wrapper {
    overflow: visible;
    opacity: 1;
    visibility: visible;
    margin-top: 16px;
}

.hp-faq-minimal .hp-faq-answer {
    padding: 0;
    color: #4b5563;
    line-height: 1.7;
    font-size: 15px;
}

.hp-faq-minimal .hp-faq-toggle-icon {
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 16px;
}

.hp-faq-minimal .hp-faq-item.hp-faq-active .hp-faq-toggle-icon {
    transform: rotate(45deg);
    color: #1e90ff;
}

/* ===== TABS STYLE ===== */
.hp-faq-tabs {
    display: flex;
    flex-direction: column;
}

.hp-faq-tabs .hp-faq-tabs-header {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 32px;
    overflow-x: auto;
    gap: 0;
}

.hp-faq-tabs .hp-faq-tab-button {
    padding: 16px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.hp-faq-tabs .hp-faq-tab-button:hover {
    color: #1f2937;
}

.hp-faq-tabs .hp-faq-tab-button.active {
    color: #1e90ff;
    border-bottom-color: #1e90ff;
}

.hp-faq-tabs .hp-faq-tabs-content {
    display: none;
}

.hp-faq-tabs .hp-faq-tabs-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hp-faq-tabs .hp-faq-item {
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hp-faq-tabs .hp-faq-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.hp-faq-tabs .hp-faq-item.active {
    border-color: #1e90ff;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.15);
}

.hp-faq-tabs .hp-faq-question {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    transition: all 0.3s ease;
    padding: 16px 20px;
    background: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 15px;
}

.hp-faq-tabs .hp-faq-question:hover {
    background: #f9fafb;
}

.hp-faq-tabs .hp-faq-item.active .hp-faq-question {
    background: #f0f7ff;
    color: #1e90ff;
}

.hp-faq-tabs .hp-faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
    border-top: 1px solid #e5e7eb;
}

.hp-faq-tabs .hp-faq-item.active .hp-faq-answer-wrapper {
    opacity: 1;
}

.hp-faq-tabs .hp-faq-answer {
    padding: 16px 20px;
    color: #4b5563;
    line-height: 1.7;
    font-size: 14px;
}

.hp-faq-tabs .hp-faq-toggle-icon {
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 18px;
}

.hp-faq-tabs .hp-faq-item.hp-faq-active .hp-faq-toggle-icon {
    transform: rotate(45deg);
    color: #1e90ff;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hp-faq-toggle.hp-faq-columns-3,
    .hp-faq-modern.hp-faq-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hp-faq-toggle.hp-faq-columns-2,
    .hp-faq-toggle.hp-faq-columns-3,
    .hp-faq-modern.hp-faq-columns-2,
    .hp-faq-modern.hp-faq-columns-3 {
        grid-template-columns: 1fr;
    }

    .hp-faq-accordion .hp-faq-question,
    .hp-faq-toggle .hp-faq-question,
    .hp-faq-modern .hp-faq-question,
    .hp-faq-tabs .hp-faq-question {
        padding: 14px 16px;
        font-size: 14px;
    }

    .hp-faq-accordion .hp-faq-answer,
    .hp-faq-toggle .hp-faq-answer,
    .hp-faq-modern .hp-faq-answer,
    .hp-faq-tabs .hp-faq-answer {
        padding: 12px 16px;
        font-size: 13px;
    }

    .hp-faq-modern .hp-faq-question {
        padding: 18px;
    }

    .hp-faq-modern .hp-faq-answer {
        padding: 0 18px 18px 18px;
    }

    .hp-faq-minimal .hp-faq-item {
        padding: 18px 0;
    }

    .hp-faq-toggle .hp-faq-toggle-icon,
    .hp-faq-modern .hp-faq-toggle-icon {
        margin-left: 10px;
    }

    .hp-faq-tabs .hp-faq-tabs-header {
        margin-bottom: 24px;
    }

    .hp-faq-tabs .hp-faq-tab-button {
        padding: 14px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hp-faq-accordion .hp-faq-item {
        margin-bottom: 10px;
    }

    .hp-faq-accordion .hp-faq-question {
        padding: 12px 14px;
        font-size: 13px;
        gap: 10px;
    }

    .hp-faq-accordion .hp-faq-answer {
        padding: 12px 14px;
        font-size: 12px;
    }

    .hp-faq-toggle {
        gap: 16px;
    }

    .hp-faq-toggle .hp-faq-question {
        padding: 12px 14px;
        font-size: 13px;
        min-height: auto;
    }

    .hp-faq-toggle .hp-faq-answer {
        padding: 0 14px 12px 14px;
        font-size: 12px;
    }

    .hp-faq-modern {
        gap: 16px;
    }

    .hp-faq-modern .hp-faq-question {
        padding: 14px;
        font-size: 13px;
    }

    .hp-faq-modern .hp-faq-answer {
        padding: 0 14px 14px 14px;
        font-size: 12px;
    }

    .hp-faq-modern .hp-faq-toggle-icon {
        margin-left: 8px;
        width: 32px;
        height: 32px;
    }

    .hp-faq-minimal .hp-faq-item {
        padding: 14px 0;
    }

    .hp-faq-minimal .hp-faq-question {
        font-size: 13px;
    }

    .hp-faq-minimal .hp-faq-answer {
        font-size: 12px;
    }

    .hp-faq-minimal .hp-faq-item.active .hp-faq-answer-wrapper {
        margin-top: 12px;
    }

    .hp-faq-tabs .hp-faq-tabs-header {
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .hp-faq-tabs .hp-faq-tab-button {
        padding: 10px 12px;
        font-size: 12px;
    }
}

/* ===== TEXT & CONTENT ===== */
.hp-faq-text {
    display: block;
    flex: 1;
    word-break: break-word;
}

.hp-faq-answer p {
    margin: 0 0 12px 0;
    line-height: 1.7 !important;
}

.hp-faq-answer p:last-child {
    margin-bottom: 0;
}

.hp-faq-answer ul,
.hp-faq-answer ol {
    margin: 12px 0;
    padding-left: 24px;
}

.hp-faq-answer li {
    margin-bottom: 8px;
}

.hp-faq-answer strong {
    font-weight: 700;
    color: #1f2937;
}

.hp-faq-answer em {
    font-style: italic;
    color: #4b5563;
}

.hp-faq-answer a {
    color: #1e90ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hp-faq-answer a:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* ==========================================
   Split layout: FAQ list + decorative side panel
   ========================================== */

.hp-faq-container--split {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 56px;
    align-items: start;
    width: 90%;
}

.hp-faq-main { min-width: 0; }

.hp-faq-side {
    position: relative;
    background: linear-gradient(160deg, #120028 0%, #1a1050 55%, #0a3d5c 100%);
    border-radius: 20px;
    padding: 32px 32px 36px;
    color: #f1f5f9;
    box-shadow: 0 20px 50px rgba(18, 0, 40, 0.25);
    overflow: hidden;
}

.hp-faq-side::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 0%, rgba(0, 150, 217, 0.35), transparent 55%);
    pointer-events: none;
}

.hp-faq-side__code {
    position: relative;
    background: rgba(6, 10, 30, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 18px 18px;
    margin-bottom: 24px;
    font-family: 'SFMono-Regular', Menlo, Consolas, 'Courier New', monospace;
    backdrop-filter: blur(2px);
}

.hp-faq-code__topbar {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.hp-faq-code__topbar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.hp-faq-code__topbar span:nth-child(1) { background: #ff5f57; opacity: 0.85; }
.hp-faq-code__topbar span:nth-child(2) { background: #febc2e; opacity: 0.85; }
.hp-faq-code__topbar span:nth-child(3) { background: #28c840; opacity: 0.85; }

.hp-faq-code__line {
    font-size: 12.5px;
    line-height: 1.75;
    color: #cbd5e1;
    white-space: pre;
}

.hp-faq-code__kw { color: #38bdf8; }
.hp-faq-code__fn { color: #93c5fd; }

.hp-faq-side__eyebrow {
    display: inline-block;
    position: relative;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #7dd3fc;
    margin-bottom: 10px;
}

.hp-faq-side__title {
    position: relative;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 14px;
    color: #ffffff;
}

.hp-faq-side__description {
    position: relative;
    font-size: 14.5px;
    line-height: 1.7;
    color: #cbd5e1;
    margin: 0 0 22px;
}

.hp-faq-side__features {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-faq-side__feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #e2e8f0;
}

.hp-faq-side__check {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 150, 217, 0.25);
    color: #38bdf8;
    margin-top: 1px;
}

@media (max-width: 900px) {
    .hp-faq-container--split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hp-faq-side {
        order: -1;
    }
}

