/* Integration Collective - Industry Glossary (scoped under .glossary-page, STICKY VERSION) */

/* Header - COMPACT */
.glossary-page .ic-header {
    text-align: center;
    padding: 24px 20px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 12px;
    border: 2px solid #FDB913;
    margin-bottom: 20px;
}

.glossary-page .ic-logo {
    font-size: 12px;
    color: #FDB913;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.glossary-page .ic-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 6px;
    background: linear-gradient(90deg, #FDB913, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glossary-page .ic-header p {
    color: #999;
    font-size: 14px;
}

/* Search Section - STICKY */
.glossary-page .search-section {
    position: sticky;
    top: 0;
    z-index: 99;
    background: #0a0a0a;
    padding: 16px 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #1a1a1a;
}

.glossary-page .search-bar {
    position: relative;
    margin-bottom: 16px;
}

.glossary-page .search-bar input {
    width: 100%;
    padding: 14px 50px 14px 18px;
    font-size: 15px;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    background: #1a1a1a;
    color: #fff;
    transition: all 0.3s ease;
}

.glossary-page .search-bar input:focus {
    outline: none;
    border-color: #FDB913;
    box-shadow: 0 0 0 3px rgba(253, 185, 19, 0.1);
}

.glossary-page .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

/* Filters - Compact */
.glossary-page .filters {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.glossary-page .filter-btn {
    padding: 8px 16px;
    border: 2px solid #2a2a2a;
    border-radius: 20px;
    background: #1a1a1a;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
}

.glossary-page .filter-btn:hover {
    border-color: #FDB913;
    color: #FDB913;
}

.glossary-page .filter-btn.active {
    background: linear-gradient(90deg, #FDB913, #FFD700);
    border-color: transparent;
    color: #000;
    font-weight: 700;
}

/* Alphabet Navigation - Compact */
.glossary-page .alphabet-nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.glossary-page .alphabet-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    background: #1a1a1a;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glossary-page .alphabet-btn:hover {
    background: #2a2a2a;
    color: #FDB913;
    border-color: #FDB913;
}

.glossary-page .alphabet-btn.active {
    background: #FDB913;
    color: #000;
    border-color: #FDB913;
}

/* Stats Bar - Compact */
.glossary-page .gl-stats-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
}

.glossary-page .gl-stat {
    flex: 1;
    text-align: center;
}

.glossary-page .gl-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #FDB913;
    margin-bottom: 4px;
}

.glossary-page .gl-stat-label {
    display: block;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Terms Grid */
.glossary-page .terms-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 60px;
}

.glossary-page .term-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.glossary-page .term-card:hover {
    border-color: #FDB913;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(253, 185, 19, 0.1);
}

.glossary-page .term-name {
    font-size: 24px;
    font-weight: 700;
    color: #FDB913;
    margin-bottom: 8px;
}

.glossary-page .term-category {
    display: inline-block;
    padding: 4px 12px;
    background: #2a2a2a;
    border-radius: 12px;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.glossary-page .term-definition {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 12px;
}

.glossary-page .term-related {
    padding-top: 12px;
    border-top: 1px solid #2a2a2a;
    font-size: 13px;
    color: #666;
}

.glossary-page .term-related strong {
    color: #999;
}

.glossary-page .related-link {
    color: #FDB913;
    text-decoration: none;
    margin-right: 8px;
    transition: color 0.2s ease;
}

.glossary-page .related-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* No Results */
.glossary-page .no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.glossary-page .no-results h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #999;
}

/* CTA Section */
.glossary-page .cta-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 12px;
    border: 2px solid #FDB913;
}

.glossary-page .cta-section h3 {
    font-size: 24px;
    color: #FDB913;
    margin-bottom: 12px;
}

.glossary-page .cta-section p {
    color: #999;
    margin-bottom: 24px;
}

.glossary-page .cta-button {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(90deg, #FDB913, #FFD700);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease;
}

.glossary-page .cta-button:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .glossary-page .ic-header h1 {
        font-size: 28px;
    }

    .glossary-page .gl-stats-bar {
        flex-direction: column;
        gap: 12px;
    }

    .glossary-page .term-name {
        font-size: 20px;
    }

    .glossary-page .alphabet-nav {
        gap: 3px;
    }

    .glossary-page .alphabet-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .glossary-page .search-section {
        padding: 12px 0;
    }
}
