/* How It Works Page Specific Styles */

.diagram-container {
    background: linear-gradient(135deg, rgba(37, 80, 94, 0.1), rgba(82, 183, 185, 0.05));
    border: 2px solid rgba(82, 183, 185, 0.3);
    padding: 3rem;
    margin: 3rem 0;
}

.diagram-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Process Steps */
.step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step::after {
    content: '';
    position: absolute;
    left: 50px;
    top: 100px;
    width: 2px;
    height: calc(100% + 4rem);
    background: linear-gradient(180deg, var(--support-teal-bright), transparent);
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--brand-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-sand);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.step-content {
    padding: 2rem;
    background: rgba(37, 80, 94, 0.1);
    border-left: 4px solid var(--support-teal-bright);
}

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--support-teal-bright);
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.step-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-box {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(82, 183, 185, 0.2);
}

.detail-label {
    font-size: 0.85rem;
    color: var(--support-orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.detail-value {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Technical Specs */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.spec-category {
    padding: 2.5rem;
    background: rgba(37, 80, 94, 0.1);
    border: 1px solid rgba(82, 183, 185, 0.2);
}

.spec-category h3 {
    font-size: 1.5rem;
    color: var(--support-orange);
    margin-bottom: 2rem;
    font-weight: 700;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(164, 207, 205, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #e1ddd1;
}

.spec-value {
    color: var(--support-teal-bright);
    font-weight: 600;
}

/* Integration */
.integration-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.integration-logo {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(82, 183, 185, 0.2);
    min-width: 200px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s;
}

.integration-logo:hover {
    border-color: var(--support-teal-bright);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(82, 183, 185, 0.2);
}

.integration-logo img {
    max-height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .step {
        grid-template-columns: 80px 1fr;
        gap: 2rem;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .step {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step::after {
        display: none;
    }
    
    .step-number {
        margin: 0 auto;
    }
}
