/* SCARAL MASTER ENGINE INTEGRATION */
@import url('system/scaral-master.css');

/* ========================================
   QA PAGE STYLES (MODERN V7.6)
   ======================================== */

.qa-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.qa-header {
    text-align: center;
    margin-bottom: 60px;
}

.qa-grid {
    display: grid;
    gap: 20px;
}

.qa-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.qa-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--accent-teal);
    transition: 0.4s;
}

.qa-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 242, 255, 0.3);
    transform: translateX(5px);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.2);
}

.qa-card:hover::before {
    height: 100%;
}

.qa-card.expanded {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-teal);
    transform: none;
    box-shadow: 0 30px 60px rgba(0, 242, 255, 0.1);
}

.qa-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.qa-question {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    line-height: 1.4;
    flex: 1;
}

.qa-category {
    background: rgba(0, 242, 255, 0.1);
    color: var(--accent-teal);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 1px;
}

.qa-short-answer {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 15px 0;
}

.qa-meta {
    display: flex;
    gap: 25px;
    color: #64748b;
    font-size: 0.85rem;
}

.qa-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qa-detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
    padding-top: 0;
    visibility: hidden;
}

.qa-detail.active {
    max-height: 3000px;
    opacity: 1;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    visibility: visible;
}

.qa-detail h3 {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 25px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #00f2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.qa-detail p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 20px;
}

.comparison-table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    background: rgba(0, 242, 255, 0.05);
    color: var(--accent-teal);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.recommendation-box {
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1) 0%, transparent 100%);
    border-left: 4px solid var(--accent-teal);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    color: #cbd5e1;
    line-height: 1.7;
}

.helpful-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.helpful-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #cbd5e1;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.helpful-btn:hover {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    transform: translateY(-2px);
}

.helpful-btn.voted {
    background: var(--accent-teal);
    color: black;
    border-color: var(--accent-teal);
}

/* Responsive */
@media (max-width: 768px) {
    .qa-card-header {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 10px;
    }

    .qa-question {
        font-size: 1.2rem;
    }

    .qa-detail h3 {
        font-size: 1.4rem;
    }
}

/* Hero & Search Extensions */
.qa-hero {
    padding: 120px 20px 80px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 242, 255, 0.05) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.qa-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 50px;
    color: var(--accent-teal);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.search-container-v2 {
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    z-index: 10;
}

.search-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.search-glass:focus-within {
    border-color: var(--accent-teal);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.1);
}

.search-glass input {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    width: 100%;
    outline: none;
}

.search-glass i {
    color: var(--accent-teal);
    font-size: 1.4rem;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #00f2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Category Filters V2 - Premium Glass Mode */
.category-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    position: relative;
    z-index: 10;
}

.category-btn {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--accent-teal), #00d2ff);
    border-color: var(--accent-teal);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 242, 255, 0.4);
    font-weight: 800;
    transform: scale(1.05);
}