:root {
    --primary-color: #4a6cf7;
    --primary-hover: #3a5ce5;
    --secondary-color: #f0f4ff;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --background-color: #ffffff;
    --card-background: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --primary-color: #5a7bff;
    --primary-hover: #4a6cef;
    --secondary-color: #2a2a3e;
    --text-color: #e0e0e0;
    --text-light: #b0b0b0;
    --border-color: #3a3a4e;
    --background-color: #1a1a2e;
    --card-background: #16213e;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--card-background);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.logo img {
    height: 40px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav a:hover, .nav a.active {
    color: var(--primary-color);
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font-family: inherit;
    color: var(--text-color);
    transition: var(--transition);
}

.language-toggle:hover {
    background-color: var(--secondary-color);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: var(--shadow);
    min-width: 150px;
    z-index: 10;
    display: none;
    margin-top: 5px;
}

.language-dropdown.active {
    display: block;
}

.language-dropdown li {
    list-style: none;
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.language-dropdown a:hover {
    background-color: var(--secondary-color);
}

.flag-icon {
    display: inline-block;
    width: 20px;
    height: 15px;
    border-radius: 2px;
    overflow: hidden;
}

.flag-icon svg {
    width: 100%;
    height: 100%;
}

.lang-text {
    display: inline-block;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--secondary-color);
}

/* Main Content Styles */
.main {
    padding: 40px 0;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Hero CTA Styles */
.hero-cta {
    margin-top: 30px;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Quick Guide Section */
.quick-guide-section {
    margin-bottom: 60px;
    text-align: center;
}

.quick-guide-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step p {
    color: var(--text-light);
}

.guide-cta {
    margin-top: 20px;
}

/* Tips Section */
.tips-section {
    margin-bottom: 60px;
}

.tips-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tip-card {
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tip-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.tip-card p {
    color: var(--text-light);
}

/* Converter Section */
.converter-section {
    margin-bottom: 60px;
}

.converter-container {
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--primary-color);
    background-color: var(--secondary-color);
}

.upload-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.upload-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.upload-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #e0e8ff;
}

/* Conversion Options */
.conversion-options {
    margin-top: 30px;
}

.conversion-options h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.option-group select, .option-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--background-color);
    color: var(--text-color);
}

.option-group input[type="range"] {
    width: 100%;
    margin-bottom: 5px;
}

.custom-size {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.size-input {
    flex: 1;
    min-width: 150px;
}

.size-input label {
    display: block;
    margin-bottom: 5px;
}

.size-input input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--background-color);
    color: var(--text-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* Preview Area */
.preview-area {
    margin-top: 30px;
}

.preview-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.preview-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.preview-item img {
    width: 100%;
    height: auto;
    display: block;
}

.preview-item-info {
    padding: 15px;
    background-color: var(--secondary-color);
}

.preview-item-name {
    font-weight: 500;
    margin-bottom: 5px;
}

.preview-item-details {
    font-size: 0.9rem;
    color: var(--text-light);
}

.download-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Features Section */
.features-section {
    margin-bottom: 60px;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: var(--card-background);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--secondary-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 20px 20px;
}

/* Page Title Styles */
.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-form-container h2, .contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: inherit;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-details p {
    margin-bottom: 5px;
}

.contact-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-faq {
    margin-top: 30px;
}

.contact-faq h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Privacy and Terms Page Styles */
.privacy-content, .terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-intro, .terms-intro {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.privacy-section, .terms-section {
    margin-bottom: 30px;
}

.privacy-section h2, .terms-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.privacy-section h3, .terms-section h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    margin-top: 20px;
}

.privacy-section ul, .terms-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-section li, .terms-section li {
    margin-bottom: 8px;
}

/* Help Center Page Styles */
.help-search {
    margin-bottom: 40px;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-container {
    position: relative;
}

.search-input-container i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-input-container input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 1rem;
}

.help-categories {
    margin-bottom: 40px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.category-tab {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-weight: 500;
}

.category-tab.active {
    background-color: var(--primary-color);
    color: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.article-card {
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-category {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.article-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.article-content h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.article-content h3 a:hover {
    color: var(--primary-color);
}

.article-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
}

.popular-topics {
    margin-bottom: 50px;
}

.popular-topics h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.topic-card {
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.topic-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.topic-card h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.topic-card h3 a:hover {
    color: var(--primary-color);
}

.topic-card p {
    color: var(--text-light);
}

.help-faq {
    margin-bottom: 50px;
}

.help-faq h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-support {
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.support-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.support-content p {
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Styles */
.footer {
    background-color: var(--card-background);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

/* Loading Spinner */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--primary-color);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification Toast */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--card-background);
    color: var(--text-color);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid #4caf50;
}

.toast.error {
    border-left: 4px solid #f44336;
}

.toast.info {
    border-left: 4px solid #2196f3;
}

/* RTL Support */
[dir="rtl"] .header-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .header-controls {
    flex-direction: row-reverse;
}

[dir="rtl"] .feature-card i {
    transform: scaleX(-1);
}

[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

[dir="rtl"] .toast {
    right: auto;
    left: 20px;
    transform: translateX(-120%);
}

[dir="rtl"] .toast.show {
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo {
        order: 1;
        flex-basis: 100%;
        justify-content: center;
    }
    
    .nav {
        order: 2;
        flex-basis: 100%;
        justify-content: center;
    }
    
    .header-controls {
        order: 3;
        flex-basis: 100%;
        justify-content: center;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .guide-steps {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
/* Photo Editor Styles */
.photo-editor-section {
    margin-bottom: 60px;
}

.editor-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.editor-workspace {
    display: flex;
    flex-direction: column;
}

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.toolbar-group {
    display: flex;
    gap: 5px;
    padding: 0 10px;
    border-right: 1px solid #e0e0e0;
}

.toolbar-group:last-child {
    border-right: none;
}

.tool-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333333;
}

.tool-btn:hover {
    background-color: #f0f4ff;
    border-color: #4a6cf7;
    color: #4a6cf7;
}

.tool-btn.active {
    background-color: #4a6cf7;
    border-color: #4a6cf7;
    color: white;
}

.canvas-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background-color: #f8f9fa;
    overflow: auto;
}

#photoCanvas {
    max-width: 100%;
    max-height: 600px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tool-options-panel {
    padding: 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.tool-options-panel h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.option-group {
    margin-bottom: 15px;
}

.option-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.option-group input, .option-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #ffffff;
}

.option-group input[type="range"] {
    margin-bottom: 5px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.filter-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-option:hover {
    border-color: #4a6cf7;
    background-color: #f0f4ff;
}

.filter-option.selected {
    border-color: #4a6cf7;
    background-color: #f0f4ff;
}

.filter-preview {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.filter-preview.grayscale {
    background: linear-gradient(to right, #000000, #ffffff);
}

.filter-preview.sepia {
    background: linear-gradient(to right, #8b7355, #ffffff);
}

.filter-preview.vintage {
    background: linear-gradient(to right, #d2b48c, #ffffff);
}

.filter-preview.cold {
    background: linear-gradient(to right, #b0c4de, #ffffff);
}

.filter-preview.warm {
    background: linear-gradient(to right, #ffa500, #ffffff);
}

.filter-preview.dramatic {
    background: linear-gradient(to right, #000000, #808080, #ffffff);
}

.editor-actions {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

/* How To Section */
.how-to-section {
    margin-bottom: 60px;
}

.how-to-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.how-to-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #4a6cf7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step p {
    color: #666666;
}

/* Tips Section */
.tips-section {
    margin-bottom: 60px;
}

.tips-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tip-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-5px);
}

.tip-card i {
    font-size: 2.5rem;
    color: #4a6cf7;
    margin-bottom: 20px;
}

.tip-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.tip-card p {
    color: #666666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .editor-toolbar {
        justify-content: center;
    }
    
    .toolbar-group {
        padding: 0 5px;
    }
    
    .tool-btn {
        width: 36px;
        height: 36px;
    }
    
    .filter-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .filter-preview {
        width: 40px;
        height: 40px;
    }
    
    .how-to-steps {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .editor-actions {
        flex-direction: column;
        gap: 10px;
    }
}
#debugInfo {
    margin-top: 20px;
    padding: 10px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: monospace;
    font-size: 12px;
    color: #333;
    max-height: 200px;
    overflow-y: auto;
}

.upload-area.dragover {
    border-color: #4a6cf7 !important;
    background-color: #f0f4ff !important;
}