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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 500; }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    color: #667eea;
    border: 2px solid #667eea;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-upload {
    background: #4CAF50;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-upload:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-download {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download:not(.premium) {
    background: #f0f0f0;
    color: #333;
}

.btn-download.premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-brand .logo img {
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-auth {
    display: flex;
    gap: 1.5rem;
    margin-left: 2rem;
    align-items: center;
}

#nav-guest {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

#nav-user {
    display: flex;
    align-items: center;
}

.language-selector select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-button:hover {
    background: #e9ecef;
}

.user-name {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-divider {
    height: 1px;
    background: #e9ecef;
    margin: 8px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #e0e6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Upload Section */
.upload-section {
    margin-top: 2rem;
}

.upload-area {
    background: rgba(255, 255, 255, 0.1);
    border: 3px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.upload-area:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.upload-content h3 {
    margin: 1rem 0 0.5rem 0;
    font-size: 1.5rem;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.upload-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Processing Area Styles */
.processing-area {
    margin-top: 2rem;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Image Comparison Styles */
.image-comparison {
    margin-bottom: 3rem;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.image-before,
.image-after {
    text-align: center;
}

.image-label {
    margin-bottom: 1rem;
}

.image-label h4 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.image-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-frame img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    border-radius: 15px;
}

.comparison-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.arrow-icon {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    border: 2px solid #667eea;
}

.processing-indicator {
    display: none;
}

.processing-indicator.active {
    display: block;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loading-spinner p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Download Section Styles */
.download-section {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
}

.download-header {
    text-align: center;
    margin-bottom: 2rem;
}

.download-header h3 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.download-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.download-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.download-card {
    position: relative;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.download-card.free {
    background: #f8fff9;
    border: 3px solid #28a745;
    color: #1e7e34;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.1);
}

.download-card.free:hover {
    border-color: #1e7e34;
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.2);
    background: #f0fff4;
}

.download-card.free .card-header h4 {
    color: #1e7e34;
    font-weight: 700;
}

.download-card.free .price {
    color: #1e7e34;
    font-weight: 800;
}

.download-card.free .features-list li {
    color: #155724;
    font-weight: 500;
}

.download-card.premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.download-card.premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.download-card.featured {
    border-width: 3px;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffc107;
    color: #333;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}

.download-card.free .card-header h4 {
    color: #28a745;
}

.download-card.premium .card-header h4 {
    color: white;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.download-card.free .price {
    color: #28a745;
}

.download-card.premium .price {
    color: white;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.features-list li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #555;
}

.download-card.premium .features-list li {
    color: white;
}

.btn-download {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download.free {
    background: #28a745;
    color: white;
}

.btn-download.free:hover {
    background: #1e7e34;
    transform: translateY(-2px);
}

.btn-download.premium {
    background: white;
    color: #667eea;
}

.btn-download.premium:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.premium-note {
    text-align: center;
    margin-top: 1rem;
}

.premium-note p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

/* Features Section */
.features-section {
    background: white;
    padding: 4rem 0;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
}

/* How It Works Section */
.how-it-works {
    background: #f8fafb;
    padding: 5rem 0;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.5rem;
    font-weight: 600;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    filter: grayscale(0.2);
}

.step h3 {
    margin: 0.5rem 0;
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
}

.step p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Use Cases Section */
.use-cases {
    background: white;
    padding: 5rem 0;
}

.use-cases h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.5rem;
    font-weight: 600;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.use-case {
    background: #f8fafb;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.use-case-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #f8fafb 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.use-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.use-case-image img[src*="assets/images/"]:not([src*="placeholder"]) {
    opacity: 1;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    transition: opacity 0.3s ease;
}

.use-case-image:hover .image-placeholder {
    opacity: 0.8;
}

.image-placeholder span {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    filter: grayscale(0.3);
}

.image-placeholder small {
    font-size: 0.9rem;
    font-weight: 500;
    color: #5a6fd8;
}

.use-case-content {
    padding: 2rem;
}

.use-case-content h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
}

.use-case-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Why White Background Section */
.why-white-bg {
    background: linear-gradient(135deg, #f8fafb 0%, #e9ecef 50%, #f8fafb 100%);
    padding: 5rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.content-text h2 {
    margin-bottom: 2rem;
    color: #333;
    font-size: 2.5rem;
    font-weight: 600;
}

.content-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.content-text li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
}

.content-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.content-text strong {
    color: #333;
    font-weight: 600;
}

.content-image {
    position: relative;
    height: 400px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-image img[src*="assets/images/"]:not([src*="placeholder"]) {
    opacity: 1;
}

.comparison-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.before-placeholder,
.after-placeholder {
    background: white;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.before-placeholder:hover,
.after-placeholder:hover {
    transform: scale(1.02);
}

.before-placeholder span,
.after-placeholder span {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.before-placeholder small,
.after-placeholder small {
    font-size: 0.9rem;
    font-weight: 500;
    color: #667eea;
}

.arrow-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step {
        padding: 2rem 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .use-case-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .use-case-image {
        height: 180px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .content-image {
        height: 300px;
    }
    
    .comparison-placeholder {
        padding: 1.5rem;
    }
    
    .how-it-works h2,
    .use-cases h2,
    .content-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 0;
    }
    
    .navbar .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-auth {
        gap: 0.8rem;
        margin-left: 0.5rem;
    }
    
    #nav-guest {
        gap: 0.8rem;
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary,
    .btn-outline {
        padding: 8px 16px;
        font-size: 0.85rem;
        text-align: center;
        min-width: 80px;
    }
    
    .how-it-works,
    .use-cases,
    .why-white-bg {
        padding: 3rem 0;
    }
    
    .step {
        padding: 1.5rem 1rem;
    }
    
    .use-case-content {
        padding: 1.5rem;
    }
    
    .content-text li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }
    
    .content-text li::before {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .how-it-works h2,
    .use-cases h2,
    .content-text h2 {
        font-size: 1.8rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .link-group {
        text-align: center;
    }
}

/* Footer Section */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand .logo img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.link-group h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.link-group {
    margin-bottom: 1rem;
}

.link-group a {
    display: block;
    color: #bdc3c7;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.2rem 0;
}

.link-group a:hover {
    color: #667eea;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 0.85rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: #bdc3c7;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-auth {
        gap: 1rem;
        margin-left: 1rem;
    }
    
    #nav-guest {
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-outline {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0 1rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-brand {
        max-width: none;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .link-group {
        text-align: center;
    }
}

/* Responsive Design for Processing Area */
@media (max-width: 900px) {
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-arrow {
        order: 2;
    }
    
    .image-after {
        order: 3;
    }
    
    .arrow-icon {
        transform: rotate(90deg);
    }
    
    .download-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .processing-area {
        padding: 1.5rem;
    }
    
    .image-frame {
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .processing-area {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .comparison-container {
        gap: 1rem;
    }
    
    .image-frame {
        min-height: 200px;
    }
    
    .download-header h3 {
        font-size: 1.5rem;
    }
    
    .download-card {
        padding: 1.5rem;
    }
    
    .card-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

/* Force side-by-side layout on larger screens */
@media (min-width: 901px) {
    .download-cards {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .comparison-container {
        grid-template-columns: 1fr auto 1fr !important;
    }
} 