

@keyframes modalEnter {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

.connection-tab {
    background: #f3f4f6;
    color: #6b7280;
}

.connection-tab:hover {
    color: #0066cc;
    background: #e5f3ff;
}

.connection-tab.active {
    background: #0066cc;
    color: #ffffff;
}

.connection-content {
    animation: fadeIn 0.3s ease;
}

.connection-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.connection-step:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 102, 204, 0.15);
}

.step-number {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

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

.step-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.step-list li {
    padding: 0.5rem 0;
    color: #4b5563;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.step-list li i {
    width: 1.25rem;
    height: 1.25rem;
    color: #0066cc;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.step-list .highlight {
    font-weight: 700;
    color: #1d1d1f;
}

.code-block {
    position: relative;
    background: #1d1d1f;
    color: #e5e7eb;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    margin: 1rem 0;
    overflow-x: auto;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.code-block code {
    color: #e5e7eb;
}

.tip-text {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: #f0f9ff;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    color: #0369a1;
    font-size: 0.9rem;
    margin-top: 1rem;
    border-left: 3px solid #0066cc;
}

.tip-text i {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.tip-text code {
    background: rgba(0, 102, 204, 0.15);
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
}

.vnc-clients {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.client-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 102, 204, 0.3);
}

.client-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.client-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.client-card p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.client-card strong {
    color: #0066cc;
}

.platform-guide {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.platform-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.platform-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-item h4 i {
    width: 1.25rem;
    height: 1.25rem;
    color: #0066cc;
}

.platform-item ol {
    margin: 0;
    padding-left: 1.5rem;
}

.platform-item li {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.platform-item code {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    color: #1d1d1f;
}

.platform-item kbd {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    padding: 0.15rem 0.4rem;
    font-family: 'SF Mono', 'Monaco', 'Courier New', monospace;
    font-size: 0.8rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .connection-step {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .step-number {
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
    }

    .step-content h3 {
        font-size: 1rem;
    }

    .step-content p,
    .step-list li {
        font-size: 0.875rem;
    }

    .code-block {
        padding: 1rem;
        font-size: 0.8rem;
    }

    .vnc-clients {
        grid-template-columns: 1fr;
    }

    .platform-guide {
        gap: 1rem;
    }

    .platform-item li {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .step-content h3 {
        font-size: 0.95rem;
    }

    .step-content p,
    .step-list li,
    .platform-item li {
        font-size: 0.8rem;
    }
}

