/* Tab System Styles - Light Theme */

.tab-button {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.15s ease;
    font-family: 'Satoshi', 'Inter', sans-serif;
}

.tab-button:hover {
    color: var(--text-secondary);
}

.tab-button.active {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Tab Panel Styling */
.tab-content-wrapper {
    position: relative;
    min-height: 650px;
}

.tab-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    pointer-events: none;
}

.tab-panel.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Analysis Tabs (Real-Time Insights) - Light theme */
.analysis-tabs {
    display: flex;
    gap: 2px;
    background: var(--bg-tertiary);
    padding: 4px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid var(--border-subtle);
}

/* Scope compact tab styles to analysis tabs only */
.analysis-tabs .tab-button {
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    font-family: 'Satoshi', 'Inter', sans-serif;
}

.analysis-tabs .tab-button.active {
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.analysis-tabs .tab-button:hover {
    background: transparent;
    color: var(--text-secondary);
}

.analysis-tabs .tab-button.active:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* Remove clickable cursor from real-time insights mockup tabs */
.feature-section[data-feature="2"] .tab-button {
    cursor: default;
}

/* "How It Works" Vertical Tab System */
.feature-section[data-feature="how-it-works"] .feature-text {
    max-width: 450px;
}

/* Vertical Tab Button Styling - Light theme */
.feature-section[data-feature="how-it-works"] .tab-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-left: 3px solid transparent;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.feature-section[data-feature="how-it-works"] .tab-button:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-strong);
    color: var(--text-primary);
}

.feature-section[data-feature="how-it-works"] .tab-button.active {
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.25);
    border-left: 3px solid var(--accent-primary);
    color: var(--text-primary);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.feature-section[data-feature="how-it-works"] .tab-number {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--bg-tertiary);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.15s ease;
    color: var(--text-muted);
}

.feature-section[data-feature="how-it-works"] .tab-button.active .tab-number {
    background: var(--accent-primary);
    color: white;
}

.feature-section[data-feature="how-it-works"] .tab-text {
    font-size: 0.9375rem;
    line-height: 1.2;
}

.feature-section[data-feature="how-it-works"] .tab-check {
    width: 1.25rem;
    height: 1.25rem;
    opacity: 0;
    position: absolute;
    right: 1rem;
    transition: opacity 0.15s ease;
    color: var(--accent-secondary);
    margin-left: auto;
}

.feature-section[data-feature="how-it-works"] .tab-button.visited .tab-check,
.feature-section[data-feature="how-it-works"] .tab-button.active .tab-check {
    opacity: 1;
}
