/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    padding: 40px 0;
}

.logo h1 {
    font-size: 2.5rem;
    color: #3a86ff;
    margin-bottom: 10px;
}

.logo i {
    margin-right: 10px;
}

.tagline {
    font-size: 1.2rem;
    color: #555;
}

/* Main Content Styles */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}

.download-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.download-box h2 {
    margin-bottom: 20px;
    color: #333;
}

.input-group {
    display: flex;
    margin-bottom: 20px;
}

.input-group input {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #3a86ff;
}

.input-group button {
    background-color: #3a86ff;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 0 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.input-group button:hover {
    background-color: #2667cc;
}

.supported-sites {
    margin-top: 20px;
}

.supported-sites p {
    margin-bottom: 10px;
    color: #666;
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.8rem;
}

.platform-icons i {
    color: #555;
    transition: color 0.3s;
}

.platform-icons i:hover {
    color: #3a86ff;
}

.fa-youtube:hover {
    color: #ff0000;
}

.fa-facebook:hover {
    color: #1877f2;
}

.fa-instagram:hover {
    color: #c32aa3;
}

.fa-twitter:hover {
    color: #1da1f2;
}

.fa-tiktok:hover {
    color: #000000;
}

/* Download Options Styles */
.download-options, .download-status {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.download-options h3, .download-status h3 {
    margin-bottom: 20px;
    color: #333;
}

.quality-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    text-align: left;
}

.quality-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.quality-option:hover {
    background-color: #f9f9f9;
}

.quality-option input {
    margin-right: 10px;
}

#confirm-download, #cancel-download {
    background-color: #3a86ff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#confirm-download:hover, #cancel-download:hover {
    background-color: #2667cc;
}

#cancel-download {
    background-color: #ff3a5e;
}

#cancel-download:hover {
    background-color: #cc2667;
}

/* Progress Bar Styles */
.progress-container {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #3a86ff;
    width: 0%;
    transition: width 0.3s ease;
}

#progress-text {
    margin-bottom: 20px;
    font-weight: bold;
}

/* How It Works Section */
.how-it-works {
    text-align: center;
    margin-bottom: 60px;
}

.how-it-works h2 {
    margin-bottom: 40px;
    color: #333;
    font-size: 2rem;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 200px;
    background-color: white;
    border-radius: 10px;
    padding: 25px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-size: 2rem;
    color: #3a86ff;
    margin-bottom: 15px;
}

.step h3 {
    margin-bottom: 10px;
    color: #333;
}

/* Features Section */
.features {
    text-align: center;
    margin-bottom: 60px;
}

.features h2 {
    margin-bottom: 40px;
    color: #333;
    font-size: 2rem;
}

.feature-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    flex: 1;
    min-width: 200px;
    background-color: white;
    border-radius: 10px;
    padding: 25px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2rem;
    color: #3a86ff;
    margin-bottom: 15px;
}

.feature h3 {
    margin-bottom: 10px;
    color: #333;
}

/* Footer Styles */
footer {
    background-color: #2b2d42;
    color: white;
    padding: 50px 0 20px;
    border-radius: 10px 10px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 30px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-links, .footer-legal {
    min-width: 150px;
}

.footer-links h3, .footer-legal h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #d1d1d1;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #3a86ff;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3a3a3a;
    font-size: 0.9rem;
    color: #a0a0a0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }

    .input-group input {
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .input-group button {
        border-radius: 5px;
        padding: 12px;
    }

    .steps, .feature-list {
        flex-direction: column;
    }

    .step, .feature {
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links, .footer-legal {
        margin-top: 20px;
    }

    .platform-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 2rem;
    }

    .download-box, .download-options, .download-status {
        padding: 20px 15px;
    }

    .platform-icons {
        font-size: 1.5rem;
        gap: 15px;
    }
}