/* assets/style.css */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --card-shadow: 0 20px 40px rgba(0,0,0,0.1);
    --hover-shadow: 0 30px 60px rgba(0,0,0,0.15);
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* SEO Content Styles */
.atoz-seo-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
}

.atoz-seo-content h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
}

.atoz-seo-content h2 {
    font-size: 1.8em;
    color: #444;
    margin: 30px 0 20px;
}

.atoz-seo-content h3 {
    font-size: 1.3em;
    color: #555;
    margin: 20px 0 10px;
}

.atoz-seo-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* Converter Section */
.atoz-converter-wrapper {
    background: var(--primary-gradient);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.atoz-converter-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><circle cx="50" cy="50" r="40"/></svg>');
    background-size: 60px;
}

.atoz-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 1;
}

.atoz-card h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 2em;
}

/* Form Elements */
.atoz-conversion-type {
    margin-bottom: 25px;
}

.atoz-conversion-type label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.atoz-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition);
    background: white;
    cursor: pointer;
}

.atoz-select:hover {
    border-color: #667eea;
}

.atoz-select:focus {
    outline: none;
    border-color: #764ba2;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Upload Area */
.atoz-upload-area {
    border: 3px dashed #e0e0e0;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    margin-bottom: 25px;
    cursor: pointer;
}

.atoz-upload-area:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.atoz-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.atoz-upload-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.atoz-upload-area p {
    color: #666;
    font-size: 1.1em;
}

.atoz-or {
    color: #999;
    font-size: 0.9em;
    text-transform: uppercase;
}

.atoz-browse-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.atoz-browse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.atoz-file-info {
    font-size: 0.9em !important;
    color: #999 !important;
    margin-top: 10px;
}

.atoz-selected-file {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 12px;
    color: #2e7d32;
    font-weight: 500;
}

/* Convert Button */
.atoz-convert-btn {
    width: 100%;
    background: var(--secondary-gradient);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(240, 98, 146, 0.3);
    position: relative;
    overflow: hidden;
}

.atoz-convert-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(240, 98, 146, 0.4);
}

.atoz-convert-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loader {
    display: inline-block;
    margin-left: 10px;
}

.btn-loader img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

/* Result Section */
.atoz-result {
    margin-top: 30px;
    text-align: center;
}

.atoz-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.success-icon {
    background: #4caf50;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.success-text {
    color: #4caf50;
    font-size: 1.2em;
    font-weight: 600;
}

.atoz-download-btn {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.atoz-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

/* Error Message */
.atoz-error {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
}

/* Footer Message */
.atoz-footer-message {
    text-align: center;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 12px;
    margin-top: 40px;
}

.atoz-footer-message p {
    color: #666;
    font-size: 0.95em;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .atoz-container {
        padding: 20px 15px;
    }
    
    .atoz-seo-content {
        padding: 25px;
    }
    
    .atoz-seo-content h1 {
        font-size: 1.8em;
    }
    
    .atoz-converter-wrapper {
        padding: 30px 20px;
    }
    
    .atoz-card {
        padding: 25px;
    }
    
    .atoz-upload-area {
        padding: 25px;
    }
    
    .atoz-upload-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .atoz-seo-content h1 {
        font-size: 1.5em;
    }
    
    .atoz-select, .atoz-convert-btn {
        font-size: 14px;
    }
    
    .atoz-browse-btn {
        padding: 12px 30px;
    }
}