/* Setup Page Styles - Following MCP Analytics Design System */

/* Setup Hero */
.setup-hero {
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    margin-top: 65px; /* Account for sticky header */
}

.setup-hero-content {
    position: relative;
    z-index: 1;
}

.setup-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.setup-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Platform Selector */
.platform-selector {
    background: var(--bg-white);
    padding: 60px 0;
    min-height: 600px;
}

.platform-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.platform-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.platform-tab i {
    font-size: 1.125rem;
}

.platform-tab:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.platform-tab.active {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
}


/* Setup Content */
.setup-content {
    display: none;
}

.setup-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Setup Steps */
.setup-steps {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.setup-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-content code {
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    color: var(--primary-orange);
    font-family: 'Geist Mono', monospace;
    font-size: 0.9rem;
}

/* Code Block */
.code-block {
    position: relative;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    margin: 1rem 0;
}

.code-block pre {
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    background: transparent;
    color: var(--text-primary);
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.copy-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-white);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
}

.copy-btn.copied {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

/* Auth Flow List */
.auth-flow {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.auth-flow li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
}

.auth-flow i {
    color: var(--primary-orange);
    width: 20px;
    text-align: center;
}

/* Auth Features */
.auth-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.auth-feature {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.auth-feature:hover {
    transform: translateY(-4px);
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-xl);
}

.auth-feature i {
    font-size: 2rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.auth-feature h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.auth-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Next Steps Section */
.next-steps {
    background: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

.next-steps h2 {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
    font-weight: 700;
}

.next-steps > .container > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.example-commands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.command-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.command-card code {
    color: var(--primary-orange);
    font-family: 'Geist Mono', monospace;
    font-size: 0.95rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-secondary {
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Compatible Clients Note */
.compatible-clients {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-left: 3px solid var(--primary-orange);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .setup-title {
        font-size: 2rem;
    }
    
    .setup-subtitle {
        font-size: 1.1rem;
    }
    
    .platform-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .setup-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .auth-features {
        grid-template-columns: 1fr;
    }
    
    .example-commands {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}