/* components/features-hub/features-hub.css */
.features-hub {
    background-color: #080808;
    padding: 100px 0 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.features-hub::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 214, 51, 0.02) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255, 214, 51, 0.02) 0%, transparent 30%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 20px);
    pointer-events: none;
}

.hub-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 2;
}

.hub-subtitle {
    font-size: 12px;
    font-weight: 800;
    color: #ffd633;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.hub-subtitle::before,
.hub-subtitle::after {
    content: '';
    position: absolute;
    top: 50%; width: 30px; height: 1px;
    background: #ffd633;
    opacity: 0.2;
}

.hub-subtitle::before { right: 100%; margin-right: 15px; }
.hub-subtitle::after { left: 100%; margin-left: 15px; }

.hub-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(255, 214, 51, 0.2);
}

.hub-header p {
    color: #a1a1aa;
    font-size: 16px;
    line-height: 1.6;
}

.hub-interface {
    position: relative;
    z-index: 2;
}

.hub-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    padding: 10px 5px;
    flex-wrap: wrap;
}

.hub-tab {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 214, 51, 0.1);
    color: #a1a1aa;
    padding: 14px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.hub-tab:hover {
    background: rgba(30, 30, 30, 0.9);
    color: #fff;
    transform: translateY(-2px);
    border-color: rgba(255, 214, 51, 0.3);
}

.hub-tab.active {
    background: #ffd633;
    color: #000;
    border-color: #ffd633;
    box-shadow: none;
}

.hub-content {
    min-height: 300px; 
    position: relative;
}

.hub-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.hub-grid.active {
    display: grid;
}

.features-hub .reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-hub.active .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

.hub-grid.active .tech-card {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-card {
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 24px;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    backdrop-filter: blur(5px);
}

.tc-icon {
    width: 56px; height: 56px;
    background: rgba(255, 214, 51, 0.08);
    color: #ffd633;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 214, 51, 0.1);
}

.tech-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.tech-card p {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
}

.tech-card:hover {
    background: rgba(22, 22, 22, 0.9);
    transform: translateY(-4px);
    border-color: rgba(255, 214, 51, 0.15);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.8);
}

@media (max-width: 900px) {
    .hub-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 15px 20px;
        margin: 0 -20px 30px -20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 214, 51, 0.2) transparent;
    }

    .hub-tabs::-webkit-scrollbar {
        height: 3px;
    }

    .hub-tabs::-webkit-scrollbar-track {
        background: transparent;
    }

    .hub-tabs::-webkit-scrollbar-thumb {
        background: rgba(255, 214, 51, 0.2);
        border-radius: 10px;
    }

    .hub-tab {
        flex: 0 0 auto;
    }
}