/* Main Container Styles */
.svg-png-converter {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Hero Section */
.svg-png-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.svg-png-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.svg-png-subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.svg-png-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.svg-png-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.svg-png-feature-icon {
    font-size: 1.3rem;
}

/* Upload Area */
.svg-png-tool-container {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.svg-png-upload-area {
    margin-bottom: 30px;
}

.svg-png-upload-box {
    border: 2px dashed #a777e3;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(167, 119, 227, 0.05);
}

.svg-png-upload-box:hover {
    background-color: rgba(167, 119, 227, 0.1);
    border-color: #6e8efb;
}

.svg-png-upload-icon {
    width: 50px;
    height: 50px;
    fill: #a777e3;
    margin-bottom: 15px;
}

.svg-png-upload-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #555;
}

.svg-png-upload-box p {
    color: #777;
    margin-bottom: 0;
}

#svgFileInput {
    display: none;
}

/* Settings */
.svg-png-settings {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.svg-png-setting {
    flex: 1;
    min-width: 200px;
}

.svg-png-setting label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.svg-png-setting input,
.svg-png-setting select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.svg-png-setting input:focus,
.svg-png-setting select:focus {
    border-color: #a777e3;
    outline: none;
}

/* Preview Container */
.svg-png-preview-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.svg-png-preview-box {
    flex: 1;
    min-width: 300px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.svg-png-preview-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #555;
    font-size: 1.2rem;
}

.svg-png-preview {
    width: 100%;
    min-height: 200px;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.svg-png-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Download Button */
.svg-png-download-container {
    margin-top: 20px;
    text-align: center;
}

.svg-png-download-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #6e8efb;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.svg-png-download-btn:hover {
    background-color: #5a7df5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.3);
}

/* Info Boxes */
.svg-png-info-section {
    margin-bottom: 50px;
}

.svg-png-section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #444;
    position: relative;
}

.svg-png-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
    margin: 15px auto 0;
    border-radius: 2px;
}

.svg-png-info-boxes {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.svg-png-info-box {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.svg-png-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.svg-png-info-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.svg-png-info-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #555;
}

.svg-png-info-box p {
    color: #666;
    line-height: 1.6;
}

/* Content Section */
.svg-png-content-section {
    margin-bottom: 50px;
}

.svg-png-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.svg-png-content-text {
    flex: 2;
    min-width: 300px;
}

.svg-png-content-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.svg-png-content-subtitle {
    font-size: 1.3rem;
    color: #555;
    margin-top: 25px;
    margin-bottom: 15px;
}

.svg-png-steps {
    padding-left: 20px;
    color: #666;
}

.svg-png-steps li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.svg-png-shape {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #6e8efb, #a777e3);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 6s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    100% {
        transform: translateY(0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* FAQ Section */
.svg-png-faq-section {
    margin-bottom: 50px;
}

.svg-png-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.svg-png-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.svg-png-faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background-color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.svg-png-faq-question:hover {
    background-color: #f9f9f9;
}

.svg-png-faq-icon {
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.svg-png-faq-question.active .svg-png-faq-icon {
    transform: rotate(45deg);
}

.svg-png-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
}

.svg-png-faq-answer p {
    padding: 20px 0;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.svg-png-faq-item.active .svg-png-faq-answer {
    max-height: 500px;
    padding: 0 20px;
}

/* Related Tool */
.svg-png-related-tool {
    margin-bottom: 50px;
    text-align: center;
}

.svg-png-related-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #444;
}

.svg-png-related-card {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.svg-png-related-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #555;
}

.svg-png-related-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.svg-png-related-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #a777e3;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.svg-png-related-btn:hover {
    background-color: #9566d1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(167, 119, 227, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .svg-png-hero h1 {
        font-size: 2rem;
    }
    
    .svg-png-subtitle {
        font-size: 1rem;
    }
    
    .svg-png-features {
        gap: 15px;
    }
    
    .svg-png-preview-container {
        flex-direction: column;
    }
    
    .svg-png-content-wrapper {
        flex-direction: column;
    }
    
    .svg-png-shape {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .svg-png-hero {
        padding: 30px 15px;
    }
    
    .svg-png-tool-container {
        padding: 20px 15px;
    }
    
    .svg-png-info-box,
    .svg-png-preview-box {
        min-width: 100%;
    }
    
    .svg-png-settings {
        flex-direction: column;
        gap: 15px;
    }
}