/* Solutions Page Styles */

.solutions-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem 2rem; /* Added top padding to avoid nav overlap */
}

.solutions-container {
    max-width: 700px;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 3rem;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Section */
.solutions-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.solutions-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.solutions-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.solutions-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin: 0;
}

/* Content Section */
.solutions-content {
    margin-bottom: 2rem;
}

/* Loading State */
.solutions-loading {
    text-align: center;
    padding: 3rem 0;
}

.solutions-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top-color: #667eea;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.solutions-loading p {
    color: #718096;
    font-size: 1rem;
}

/* Success State */
.solutions-success {
    text-align: center;
}

.solutions-success-icon {
    font-size: 4rem;
    color: #48bb78;
    margin-bottom: 1rem;
}

.solutions-success h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.solutions-filename {
    font-size: 1rem;
    color: #718096;
    font-family: 'Courier New', monospace;
    background: #f7fafc;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 2rem;
}

.solutions-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.solutions-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: white;
}

.solutions-download-btn:active {
    transform: translateY(0);
}

.solutions-download-btn i {
    font-size: 1.25rem;
}

/* Instructions Box */
.solutions-instructions {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    text-align: left;
}

.solutions-instruction-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.solutions-instruction-header i {
    color: #667eea;
    font-size: 1.25rem;
}

.solutions-instructions ol {
    margin: 0;
    padding-left: 1.5rem;
    color: #4a5568;
    line-height: 1.8;
}

.solutions-instructions li {
    margin-bottom: 0.5rem;
}

.solutions-instructions strong {
    color: #2d3748;
    font-weight: 600;
}

/* Error State */
.solutions-error {
    text-align: center;
}

.solutions-error-icon {
    font-size: 4rem;
    color: #f56565;
    margin-bottom: 1rem;
}

.solutions-error h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 1rem 0;
}

.solutions-error-message {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 2rem;
}

.solutions-error-message strong {
    color: #2d3748;
    font-family: 'Courier New', monospace;
}

.solutions-help {
    text-align: left;
    background: #fff5f5;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #f56565;
    margin-bottom: 2rem;
}

.solutions-help h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1rem 0;
}

.solutions-help ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #4a5568;
    line-height: 1.8;
}

.solutions-help li {
    margin-bottom: 0.5rem;
}

.solutions-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    background: white;
    color: #667eea;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #667eea;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.solutions-contact-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.solutions-contact-btn i {
    font-size: 1.1rem;
}

/* Footer */
.solutions-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.solutions-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.solutions-back-link:hover {
    color: #667eea;
}

.solutions-back-link i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .solutions-container {
        padding: 2rem 1.5rem;
    }

    .solutions-title {
        font-size: 1.75rem;
    }

    .solutions-subtitle {
        font-size: 1rem;
    }

    .solutions-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .solutions-download-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .solutions-success h2,
    .solutions-error h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .solutions-page {
        padding: 5rem 1rem 1rem; /* Maintain top padding for nav bar on mobile */
    }

    .solutions-container {
        padding: 1.5rem 1rem;
    }

    .solutions-title {
        font-size: 1.5rem;
    }

    .solutions-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .solutions-download-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}
