/* Hub Styles - Premium Readability */
:root {
    --hub-bg: #050507;
    --hub-text: #e0e0e0;
    --hub-accent: #3b82f6;
    --hub-magma: #ff3300;
    --hub-card-bg: rgba(255, 255, 255, 0.03);
    --hub-border: rgba(255, 255, 255, 0.1);
}

.hub-body {
    background-color: var(--hub-bg);
    color: var(--hub-text);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
}

.hub-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.hub-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: white;
}

.hub-subtitle {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--hub-border);
    padding-bottom: 2rem;
}

.hub-h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    color: white;
    border-left: 4px solid var(--hub-magma);
    padding-left: 1rem;
}

.hub-h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.hub-p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #ccc;
}

/* AI Quick Answer Box */
.ai-answer-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--hub-accent);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ai-answer-label {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--hub-accent);
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lists */
.hub-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.hub-list li {
    margin-bottom: 1rem;
    padding-left: 24px;
    position: relative;
}

.hub-list li::before {
    content: '•';
    color: var(--hub-magma);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Tables */
.hub-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid var(--hub-border);
}

.hub-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--hub-card-bg);
}

.hub-table th,
.hub-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--hub-border);
    color: #ccc;
}

.hub-table th {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
}

/* Topic Clusters Grid */
.cluster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.cluster-card {
    background: var(--hub-card-bg);
    border: 1px solid var(--hub-border);
    padding: 1.5rem;
    border-radius: 12px;
    transition: 0.3s;
    text-decoration: none;
    color: white;
}

.cluster-card:hover {
    border-color: var(--hub-accent);
    transform: translateY(-5px);
}

.cluster-card h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--hub-accent);
}

.cluster-card p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* FAQ SECTION */
.faq-section {
    max-width: 800px;
    margin: 4rem auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

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

details {
    transition: all 0.3s ease;
}

/* Remove default marker */
details>summary {
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    padding: 1.5rem 0;
    cursor: pointer;
    position: relative;
    padding-right: 2rem;
    /* Space for icon */
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: var(--hub-accent);
}

/* Custom Icon */
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--hub-accent);
    transition: transform 0.3s ease;
}

details[open] .faq-question::after {
    transform: rotate(45deg);
    /* Turn + into x */
}

details[open] .faq-question {
    color: var(--hub-accent);
}

.faq-answer {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.7;
    padding-bottom: 1.5rem;
    padding-top: 0;
    margin-top: 0;
    opacity: 0.9;
}