/* Gateway Installer Page Styles */

/* Download Card */
.download-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #cbd5e1;
    border-radius: 16px;
    padding: 32px;
    margin-top: 24px;
}

.download-card__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.download-card__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.download-card__icon svg {
    width: 32px;
    height: 32px;
}

.download-card__info {
    flex-grow: 1;
}

.download-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.download-card__subtitle {
    color: #64748b;
    margin: 0;
    font-size: 16px;
}

.download-card__size {
    background: #ffffff;
    color: #475569;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.download-card__actions {
    display: flex;
    justify-content: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
}

.btn-download:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    text-decoration: none;
    color: white;
}

.btn-download svg {
    width: 24px;
    height: 24px;
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.requirement-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.requirement-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.requirement-card__icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.requirement-card h4 {
    color: #1e293b;
    font-weight: 600;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.requirement-card p {
    color: #64748b;
    margin: 0;
    font-size: 14px;
}

/* Step Sections */
.step-section {
    margin-bottom: 48px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.step-title {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #1e293b;
    padding: 24px 32px;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    border-bottom: 1px solid #e2e8f0;
}

.step-content {
    padding: 32px;
}

.step-content h4 {
    color: #374151;
    font-weight: 600;
    margin: 0 0 16px 0;
    font-size: 18px;
}

/* Equipment List */
.equipment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.equipment-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 16px;
}

.equipment-list li:last-child {
    border-bottom: none;
}

.equipment-icon {
    font-size: 24px;
    width: 32px;
    text-align: center;
}

/* Connection Diagram */
.connection-diagram {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.diagram-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.connection-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.connection-item {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    min-width: 120px;
}

.connection-arrow {
    color: #64748b;
    font-size: 20px;
    font-weight: bold;
}

/* Config Grid */
.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.config-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.config-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.config-icon {
    font-size: 24px;
}

.config-card h4 {
    color: #1e293b;
    font-weight: 600;
    margin: 0;
    font-size: 18px;
}

.config-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.config-card li {
    padding: 8px 0;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.config-card li:last-child {
    border-bottom: none;
}

.config-card code {
    background: #1e293b;
    color: #10b981;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}

/* Installation Steps */
.installation-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.install-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.install-step__number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.install-step__content h4 {
    color: #1e293b;
    font-weight: 600;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.install-step__content p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.feature-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.feature-item__icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.feature-item h4 {
    color: #1e293b;
    font-weight: 600;
    margin: 0 0 8px 0;
    font-size: 16px;
}

.feature-item p {
    color: #64748b;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-card__header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .config-grid {
        grid-template-columns: 1fr;
    }
    
    .connection-flow {
        flex-direction: column;
    }
    
    .connection-arrow {
        transform: rotate(90deg);
    }
    
    .requirements-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}
