.faq-section {
    padding: 80px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.blueprint-dots {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    pointer-events: none;
    background-image: radial-gradient(#0f766e 2px, transparent 2px);
    background-size: 40px 40px;
}

.section-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Header (Consistent style) */
.header-section-faq {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 32px;
}

@media (min-width: 768px) {
    .header-section-faq {
        flex-direction: row;
        align-items: flex-end;
    }
}

.section-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-indicator {
    width: 48px;
    height: 4px;
    background-color: var(--color-primary);
}

.section-label {
    color: var(--color-primary);
    font-weight: 900;
    font-size: 14px;
    text-transform:  none;
    letter-spacing: 0.4em;
}

.section-title-faq {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 950;
    color: #111827;
    text-transform:  none;
    letter-spacing: -0.05em;
    
    line-height: 1.25; /* Tăng line-height lên 1.25 để thoáng hơn */
    margin: 0;
}

.text-highlight {
    color: var(--color-primary);
}

.header-right {
    text-align: right;
}

.desktop-only {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-only {
        display: block;
    }
}

.header-decoration-grid {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
    justify-content: flex-end;
}

.grid-line {
    width: 4px;
    height: 12px;
    background-color: #e5e7eb;
}

.system-version {
    font-size: 10px;
    font-weight: 800;
    color: #9ca3af;
    text-transform:  none;
    letter-spacing: 0.2em;
    margin: 0;
}

/* Layout */
.faq-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 1024px) {
    .faq-layout {
        flex-direction: row;
    }
    .faq-sidebar { width: 33.33%; }
    .faq-content { width: 66.66%; }
}

.sticky-sidebar {
    position: sticky;
    top: 40px;
}

.sidebar-desc {
    font-size: 16px;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.mascot-box {
    width: 100%;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.mascot-inner {
    width: 100%;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.animate-float {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.mascot-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.mascot-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background-color: #111827;
    color: white;
    padding: 16px;
    font-size: 10px;
    font-weight: 900;
    text-transform:  none;
    letter-spacing: 0.2em;
    text-align: center;
}

 

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.3s ease;
}

.accordion-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.accordion-item.active {
    background-color: #f8fafc;
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center; /* Change to center to better align with the icon and title */
    gap: 16px;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
}

.item-id {
    font-size: 13px;
    font-weight: 900;
    color: #0f766e;
    opacity: 0.4;
    letter-spacing: 0.2em;
    margin-top: 4px;
}

.item-main {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-wrapper {
    display: inline-flex;
    padding: 8px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.accordion-item.active .icon-wrapper {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.item-title {
    font-size: 18px;
    font-weight: 500;
    text-transform:  none;
    letter-spacing: 0.02em;
    color: #111827;
    transition: color 0.3s ease;
    margin: 0;
    line-height: 1.4;
}

.accordion-item.active .item-title {
    color: #0f766e;
}

.toggle-icon {
    margin-top: 8px;
    padding: 4px;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-item.active .toggle-icon {
    transform: rotate(180deg);
    background-color: #111827;
    color: white;
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-panel {
    max-height: 3000px;
}

.panel-content {
    padding: 0 48px 48px 104px;
}

.content-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(17, 24, 39, 0.1);
    margin-bottom: 32px;
}

.item-answer {
    font-size: 18px;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.6;
    font-style: normal;
    max-width: 720px;
    margin: 0;
}

.item-answer-paragraph {
    margin: 0 0 14px;
}

.item-answer-paragraph:last-child {
    margin-bottom: 0;
}

.item-answer-list {
    margin: 0 0 14px 24px;
    padding: 0;
}

.item-answer-list li {
    margin-bottom: 6px;
}

.item-answer-list li:last-child {
    margin-bottom: 0;
}

/* Support CTA */
.faq-support-cta {
    margin-top: 64px;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-bg-subtle) 100%);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .faq-support-cta {
        flex-direction: row;
        padding: 48px;
    }
}

.faq-support-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary-gradient);
}

.faq-cta-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--color-primary-gradient);
    opacity: 0.05;
    border-radius: 50%;
}

.faq-cta-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.faq-cta-subtitle {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.faq-cta-btn {
    background: var(--color-primary-gradient);
    color: white;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--ease-medium);
    letter-spacing: 0.05em;
    text-transform:  none;
    box-shadow: var(--shadow-primary);
}

.faq-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.3);
}
  

.faq-cta-btn:hover {
    background-color: #0f766e;
    color: white;
}

/* Footer tags */
.footer-tags {
    margin-top: 64px;
    border-top: 2px solid #111827;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag-group {
    display: flex;
    gap: 32px;
}

.tech-tag {
    font-size: 10px;
    font-weight: 900;
    text-transform:  none;
    letter-spacing: 0.3em;
    color: #9ca3af;
}

.status-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #0f766e;
    border-radius: 50%;
}

.pulse { animation: status-pulse 2s infinite; }

@keyframes status-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(15, 118, 110, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(15, 118, 110, 0); }
}

.status-text {
    font-size: 10px;
    font-weight: 900;
    text-transform:  none;
    letter-spacing: 0.3em;
    color: #0f766e;
}

.hidden-mobile { display: none; }
@media (min-width: 1024px) { .hidden-mobile { display: block; } }
