* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    padding: 40px 20px;
    color: #2c3e50;
    background: linear-gradient(-45deg, #4361ee, rgb(255, 255, 255), #4361ee, #3f37c9);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    overflow-x: hidden;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header {
    background: linear-gradient(135deg, #6B73FF 0%, #000DFF 100%);
    color: white;
    padding: 25px 30px;
    text-align: center;
}

.header h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header p {
    opacity: 0.9;
    font-weight: 300;
}

.form-container {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

input[type="text"],
input[type="file"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: all 0.3s;
}

input[type="text"]:focus,
textarea:focus,
select:focus {
    border-color: #6B73FF;
    box-shadow: 0 0 0 3px rgba(107, 115, 255, 0.2);
    outline: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
}

.btn {
    background: linear-gradient(135deg, #6B73FF 0%, #000DFF 100%);
    color: white;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 115, 255, 0.4);
}

.btn i {
    margin-right: 8px;
}

#progress-container {
    display: none;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    animation: fadeIn 0.5s ease-out;
}

.progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
    width: 0%;
    transition: width 0.3s;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
}

.current-url {
    font-style: italic;
    margin-top: 5px;
    color: #666;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.results-container {
    margin-top: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 14px;
}

@media (max-width: 600px) {
    .container {
        border-radius: 12px;
    }
    .form-container {
        padding: 20px;
    }
    .header h2 {
        font-size: 24px;
    }
}