
        .main-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
            position: relative;
            z-index: 1;
        }

        .app-header {
            text-align: center;
            margin-bottom: 40px;
            padding: 40px 0;
            background: var(--white);
            border-radius: 20px;
            box-shadow: var(--shadow);
            animation: headerFadeInDown 0.8s ease-out;
            margin-top: 60px;
        }

        @keyframes headerFadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .header-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            margin-bottom: 20px;
        }

        .header-logo i {
            font-size: 42px;
            color: var(--primary-color);
            animation: logoPulse 2s infinite;
        }

        @keyframes logoPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .app-title {
            font-size: 3rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 12px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .app-tagline {
            font-size: 1.25rem;
            color: var(--text-light);
            max-width: 700px;
            margin: 0 auto;
            font-weight: 400;
        }

        .base-card {
            background: var(--white);
            border-radius: 16px;
            box-shadow: var(--shadow);
            padding: 30px;
            margin-bottom: 24px;
            transition: var(--transition);
            animation: cardFadeInUp 0.8s ease-out;
            animation-fill-mode: both;
            position: relative;
            overflow: hidden;
        }

        .base-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .base-card:hover::before {
            transform: scaleX(1);
        }

        .base-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .base-card:nth-child(1) { animation-delay: 0.1s; }
        .base-card:nth-child(2) { animation-delay: 0.2s; }
        .base-card:nth-child(3) { animation-delay: 0.3s; }
        .base-card:nth-child(4) { animation-delay: 0.4s; }
        .base-card:nth-child(5) { animation-delay: 0.5s; }
        .base-card:nth-child(6) { animation-delay: 0.6s; }
        .base-card:nth-child(7) { animation-delay: 0.7s; }
        .base-card:nth-child(8) { animation-delay: 0.8s; }

        @keyframes cardFadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .card-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--bg-light);
        }

        .card-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--white);
            font-size: 18px;
        }

        .card-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-dark);
        }

        .upload-zone {
            border: 3px dashed #e5e7eb;
            border-radius: 16px;
            padding: 60px 20px;
            text-align: center;
            transition: var(--transition);
            cursor: pointer;
            background: var(--bg-light);
            position: relative;
            overflow: hidden;
        }

        .upload-zone:hover {
            border-color: var(--primary-color);
            background: rgba(99, 102, 241, 0.05);
            transform: scale(1.01);
        }

        .upload-zone.dragover {
            border-color: var(--primary-color);
            background: rgba(99, 102, 241, 0.1);
            transform: scale(1.02);
        }

        .upload-icon {
            font-size: 64px;
            color: var(--primary-color);
            margin-bottom: 24px;
            animation: iconFloat 3s ease-in-out infinite;
        }

        @keyframes iconFloat {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        .upload-text {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text-dark);
        }

        .upload-subtext {
            color: var(--text-light);
            margin-bottom: 24px;
            font-size: 1.1rem;
        }

        .file-input {
            display: none;
        }

        .primary-button {
            background: var(--primary-color);
            color: var(--white);
            border: none;
            padding: 14px 32px;
            font-size: 16px;
            font-weight: 600;
            border-radius: 12px;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .primary-button::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;
        }

        .primary-button:hover::before {
            left: 100%;
        }

        .primary-button:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
        }

        .primary-button:disabled {
            background: var(--text-light);
            cursor: not-allowed;
            transform: none;
        }

        .secondary-button {
            background: var(--bg-light);
            color: var(--text-dark);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }

        .secondary-button:hover {
            background: #e5e7eb;
        }

        .success-button {
            background: var(--success-color);
        }

        .success-button:hover {
            background: #059669;
        }

        .danger-button {
            background: #ef4444;
        }

        .danger-button:hover {
            background: #dc2626;
        }

        .icon-button {
            width: 48px;
            height: 48px;
            padding: 0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }

        .stat-item {
            background: var(--bg-light);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .stat-item::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .stat-item:hover::after {
            opacity: 1;
        }

        .stat-item:hover {
            transform: translateY(-5px);
        }

        .stat-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 5px;
            position: relative;
            z-index: 1;
        }

        .stat-label {
            color: var(--text-light);
            font-size: 0.9rem;
            position: relative;
            z-index: 1;
        }

        .options-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .option-item {
            background: var(--bg-light);
            border-radius: 12px;
            padding: 20px;
            transition: var(--transition);
        }

        .option-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        }

        .option-label {
            font-weight: 600;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.95rem;
            margin-bottom: 10px;
        }

        .option-label i {
            color: var(--primary-color);
            font-size: 18px;
        }

        select, input[type="range"], input[type="number"], input[type="color"] {
            width: 100%;
            padding: 12px;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            font-size: 16px;
            background: var(--white);
            transition: var(--transition);
            font-family: inherit;
        }

        select:focus, input[type="range"]:focus, input[type="number"]:focus, input[type="color"]:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        .quality-control {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .quality-value {
            background: var(--white);
            padding: 8px 16px;
            border-radius: 8px;
            font-weight: 600;
            min-width: 60px;
            text-align: center;
            border: 2px solid #e5e7eb;
        }

        .images-container {
            margin-top: 20px;
        }

        .images-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .images-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .images-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            max-height: 400px;
            overflow-y: auto;
            padding: 10px;
        }

        .image-item {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
            background: var(--white);
            animation: imageAppear 0.5s ease-out;
        }

        @keyframes imageAppear {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .image-item:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
        }

        .image-preview {
            width: 100%;
            height: 150px;
            object-fit: cover;
            display: block;
            transition: var(--transition);
        }

        .image-item:hover .image-preview {
            transform: scale(1.05);
        }

        .image-info {
            background: var(--white);
            padding: 12px;
            font-size: 0.9rem;
            color: var(--text-light);
        }

        .image-name {
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .remove-button {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(239, 68, 68, 0.95);
            color: white;
            border: none;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            opacity: 0;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .image-item:hover .remove-button {
            opacity: 1;
            animation: buttonPopIn 0.3s ease-out;
        }

        @keyframes buttonPopIn {
            0% { transform: scale(0); }
            80% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .remove-button:hover {
            background: #dc2626;
            transform: scale(1.1);
        }

        .add-more-button {
            background: var(--success-color);
            color: var(--white);
            border: none;
            border-radius: 12px;
            padding: 12px 24px;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .add-more-button:hover {
            background: #059669;
            transform: translateY(-2px);
            box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
        }

        .preview-container {
            text-align: center;
            margin: 30px 0;
            padding: 30px;
            background: var(--bg-light);
            border-radius: 16px;
            display: none;
            animation: containerFadeIn 0.5s ease-out;
            overflow-x: auto;
        }

        @keyframes containerFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .preview-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--text-dark);
        }

        .preview-image {
            max-width: 100%;
            max-height: 800px;
            border-radius: 12px;
            box-shadow: var(--shadow);
            border: 4px solid var(--white);
        }

        .action-buttons {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 30px;
        }

        .download-container {
            text-align: center;
            padding: 30px;
            background: rgba(16, 185, 129, 0.1);
            border-radius: 16px;
            margin-top: 30px;
            display: none;
            animation: containerSlideUp 0.5s ease-out;
        }

        @keyframes containerSlideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .download-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 16px;
            color: var(--text-dark);
        }

        .toast-notification {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--white);
            padding: 20px 24px;
            border-radius: 12px;
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            gap: 16px;
            transform: translateY(150%);
            opacity: 0;
            transition: var(--transition);
            z-index: 1000;
            max-width: 450px;
            border-left: 4px solid transparent;
        }

        .toast-notification.show {
            transform: translateY(0);
            opacity: 1;
            animation: toastShake 0.5s ease-out;
        }

        @keyframes toastShake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }

        .toast-notification.success {
            border-left-color: var(--success-color);
        }

        .toast-notification.error {
            border-left-color: #ef4444;
        }

        .toast-notification.warning {
            border-left-color: #f59e0b;
        }

        .toast-icon {
            font-size: 24px;
            animation: iconPulse 1s infinite;
        }

        @keyframes iconPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }

        .toast-notification.success .toast-icon {
            color: var(--success-color);
        }

        .toast-notification.error .toast-icon {
            color: #ef4444;
        }

        .toast-notification.warning .toast-icon {
            color: #f59e0b;
        }

        .toast-message {
            font-weight: 500;
            color: var(--text-dark);
        }

        .progress-container {
            margin: 30px 0;
            display: none;
        }

        .progress-inner {
            background: var(--bg-light);
            border-radius: 16px;
            padding: 30px;
            box-shadow: var(--shadow);
        }

        .progress-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .progress-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-dark);
        }

        .progress-percentage {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        .progress-bar {
            height: 12px;
            background: #e5e7eb;
            border-radius: 6px;
            overflow: hidden;
            margin-bottom: 20px;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            width: 0%;
            transition: width 0.3s ease;
            border-radius: 6px;
            position: relative;
            overflow: hidden;
        }

        .progress-fill::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            animation: progressShimmer 2s infinite;
        }

        @keyframes progressShimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .progress-steps {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }

        .progress-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            flex: 1;
        }

        .step-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #e5e7eb;
            color: var(--text-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            transition: var(--transition);
        }

        .step-icon.active {
            background: var(--primary-color);
            color: var(--white);
            animation: stepPulse 1s infinite;
        }

        @keyframes stepPulse {
            0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
            50% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
        }

        .step-icon.completed {
            background: var(--success-color);
            color: var(--white);
        }

        .step-name {
            font-size: 0.85rem;
            color: var(--text-light);
            text-align: center;
        }

        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-light);
        }

        .empty-state i {
            font-size: 64px;
            margin-bottom: 20px;
            color: var(--text-light);
            opacity: 0.5;
        }

        .empty-state p {
            font-size: 1.1rem;
        }

        .processing-animation {
            display: none;
            text-align: center;
            padding: 40px;
        }

        .processing-icon {
            font-size: 80px;
            color: var(--primary-color);
            margin-bottom: 20px;
            animation: processingSpin 2s linear infinite;
        }

        @keyframes processingSpin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .processing-text {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 10px;
        }

        .processing-subtext {
            color: var(--text-light);
            font-size: 1rem;
        }

        /* Features Section */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
            margin-top: 24px;
        }

        .feature-item {
            background: var(--bg-light);
            border-radius: 12px;
            padding: 24px;
            transition: var(--transition);
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .feature-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .feature-item:hover::before {
            transform: scaleX(1);
        }

        .feature-item:hover {
            transform: translateY(-5px);
            border-color: var(--primary-color);
            box-shadow: 0 8px 16px rgba(99, 102, 241, 0.15);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--white);
            font-size: 24px;
            margin-bottom: 16px;
            transition: var(--transition);
        }

        .feature-item:hover .feature-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .feature-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .feature-description {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.5;
        }

        /* Privacy Section */
        .privacy-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 24px;
        }

        .privacy-item {
            background: var(--bg-light);
            border-radius: 12px;
            padding: 20px;
            transition: var(--transition);
            display: flex;
            align-items: flex-start;
            gap: 16px;
        }

        .privacy-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        }

        .privacy-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--success-color), #059669);
            color: var(--white);
            font-size: 18px;
            flex-shrink: 0;
        }

        .privacy-content h4 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 6px;
        }

        .privacy-content p {
            color: var(--text-light);
            font-size: 0.9rem;
            line-height: 1.4;
        }

        /* Security Badges */
        .security-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 24px;
            justify-content: center;
        }

        .security-badge {
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
            border: 2px solid var(--success-color);
            border-radius: 20px;
            padding: 8px 16px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--success-color);
            transition: var(--transition);
        }

        .security-badge:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(16, 185, 129, 0.2);
        }

        .security-badge i {
            font-size: 16px;
        }

        /* Use Cases */
        .use-cases-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 24px;
        }

        .use-case-item {
            background: var(--bg-light);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            transition: var(--transition);
        }

        .use-case-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        }

        .use-case-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
            color: var(--white);
            font-size: 20px;
            margin: 0 auto 12px;
        }

        .use-case-title {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 6px;
        }

        .use-case-description {
            color: var(--text-light);
            font-size: 0.85rem;
        }

        @media (max-width: 768px) {
            .options-grid {
                grid-template-columns: 1fr;
            }
            
            .app-title {
                font-size: 2rem;
            }

            .images-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .progress-steps {
                flex-direction: column;
                gap: 15px;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .privacy-grid {
                grid-template-columns: 1fr;
            }
        }
