.converter-section {
    position: relative;
    overflow: hidden;
}

.converter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.bg-primary-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.converter-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ac8a03 50%, #6bcf7f 100%);;
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.converter-card:hover {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
}

/* File Upload Styles */
.file-upload-area {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: #f8fafc;
}

.file-upload-area:hover {
    border-color: #667eea;
    background: #f1f5f9;
}

.file-upload-area.dragover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: scale(1.02);
}

.file-upload-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.file-upload-content {
    pointer-events: none;
    transition: all 0.3s ease;
}

.upload-icon {
    color: #667eea;
    transition: transform 0.3s ease;
}

.file-upload-area:hover .upload-icon {
    transform: scale(1.1);
}

.file-upload-preview {
    padding: 1.5rem;
}

.preview-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.preview-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.preview-info {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: #1e293b;
}

.btn-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Format Cards */
.format-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.format-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.format-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.format-display {
    text-align: center;
}

.format-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}

.format-select-wrapper {
    position: relative;
}

.format-select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    appearance: none;
}

.format-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

/* Button Styles */
.btn-convert {
    background: linear-gradient(135deg, #e9a718 0%, #db273f 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-convert:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-convert:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
}

.btn-convert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-convert:hover::before {
    left: 100%;
}

.btn-download {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* Progress Styles */
.progress-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.progress-wrapper {
    position: relative;
}

.progress-bar-bg {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-dots {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #667eea;
    transform: scale(1.2);
}

/* Conversion Cards */


.conversion-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.conversion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.conversion-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.conversion-icon.webp {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.conversion-icon.png {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
}

.conversion-icon.jpeg {
    background: linear-gradient(135deg, #1dd1a1, #10ac84);
}

.conversion-icon.avif {
    background: linear-gradient(135deg, #f368e0, #ff9ff3);
}

.conversion-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.conversion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.conversion-list li {
    padding: 0.5rem 0;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
}

.conversion-list li:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .converter-card {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .preview-content {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-remove {
        top: 0;
        right: 0;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Digital Signature Highlight Section */
.digital-signature-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.signature-content {
    color: white;
}

.signature-content .badge {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.signature-feature {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.signature-visual {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.signature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Feature Categories */
.feature-category {
    margin-bottom: 2rem;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

/* Highlight Digital Signature Features */
.feature-check.highlight-signature {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-left: 4px solid #2196f3;
    border-radius: 8px;
    margin: 0.5rem 0;
    padding: 1rem;
    transition: all 0.3s ease;
}

.feature-check.highlight-signature:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.2);
}

.feature-check.highlight-signature i {
    color: #2196f3;
    font-size: 1.2rem;
}

.feature-check.highlight-signature span {
    font-weight: 600;
    color: #1976d2;
}

/* Highlight Comparison Row */
.comparison-row.highlight-comparison {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-left: 4px solid #ff9800;
}

.comparison-row.highlight-comparison .comparison-feature {
    font-weight: 700;
    color: #e65100;
}

/* Enhanced Premium Card */
.premium-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 35px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Premium Content */
.premium-content {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    height: 100%;
    position: relative;
}

.premium-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    text-align: center;
}

.price-tag {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-period {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.premium-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-text h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: white;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Premium Features */
.premium-features {
    background: white;
    height: 100%;
}

.features-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-check:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.feature-check i {
    color: #28a745;
    font-size: 1.1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.feature-check span {
    color: #2c3e50;
    font-weight: 500;
}

.feature-check.highlight {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-left: 4px solid #FFD700;
}

.feature-note {
    color: #6c757d;
    font-style: italic;
    margin-left: 0.5rem;
}

/* Buttons */
.btn-premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    border-radius: 16px;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
    color: #000;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn-premium:hover::before {
    left: 100%;
}

/* Platform Support */
.platform-support {
    border-top: 2px solid #e9ecef;
    padding-top: 1.5rem;
}

.platform-icons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.platform-icon {
    text-align: center;
    transition: all 0.3s ease;
}

.platform-icon:hover {
    transform: scale(1.1);
}

.platform-icon i {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: block;
}

.platform-icon span {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

/* Comparison Section */
.comparison-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-section h4 {
    color: white;
}

.comparison-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    font-weight: 600;
    padding: 1.5rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.comparison-row:hover {
    background: #f8f9fa;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-feature {
    font-weight: 500;
    color: #2c3e50;
}

.comparison-free,
.comparison-premium {
    text-align: center;
    font-weight: 500;
}

.comparison-free {
    color: #6c757d;
}

.comparison-premium {
    color: #28a745;
}

/* Responsive Design */
@media (max-width: 768px) {
    .digital-signature-highlight .row {
        flex-direction: column;
    }
    
    .premium-card .row {
        flex-direction: column;
    }
    
    .premium-content,
    .premium-features {
        padding: 2rem !important;
    }
    
    .platform-icons {
        gap: 1rem;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr 1fr 1fr;
        font-size: 0.875rem;
        padding: 1rem;
    }
    
    .comparison-section {
        padding: 2rem 1rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}
