/* Tab Navigation */
.tab-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tab-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2px;
    padding: 2px 16px;
}

.tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.tab i {
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.tab:hover {
    color: #4c6ef5;
    background: rgba(76, 110, 245, 0.04);
}

.tab:hover i {
    opacity: 1;
}

.tab.active {
    color: #4c6ef5;
    border-bottom-color: #4c6ef5;
    font-weight: 600;
}

.tab.active i {
    opacity: 1;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Tab section scroll offset for sticky nav */
.tab-section {
    scroll-margin-top: 56px;
}

/* Tab sections background adjustments */
.tab-content .gradient-hero {
    min-height: calc(100vh - 52px);
}

/* Deerhunter & Automation specific overrides */
.tab-content-hero {
    min-height: 70vh;
}

/* Responsive */
@media (max-width: 640px) {
    .tab-nav-inner {
        gap: 0;
        padding: 2px 8px;
    }
    .tab {
        padding: 12px 12px;
        font-size: 0.8rem;
        gap: 5px;
    }
    .tab i {
        font-size: 0.85rem;
    }
}

/* Service/Feature card enhancements for new tabs */
.feature-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Pill badges for tech stack tags */
.tech-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #6b7280;
    margin: 4px 6px;
    background: none;
    border: none;
    border-radius: 0;
}

.tech-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    object-fit: contain;
}

.tech-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
    line-height: 1.1;
}

/* Value proposition badges */
.value-badge {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-badge i {
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}
