        :root {
            /* Color System */
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --secondary: #4cc9f0;
            --success: #4ade80;
            --success-dark: #22c55e;
            --error: #ef4444;
            --background: #f8fafc;
            --card-bg: #ffffff;
            --surface: #f1f5f9;
            --text: #1e293b;
            --text-light: #64748b;
            --text-muted: #94a3b8;
            --border: #e2e8f0;
            --border-light: #f1f5f9;
            
            /* Spacing System (8px base) */
            --space-1: 8px;
            --space-2: 16px;
            --space-3: 24px;
            --space-4: 32px;
            --space-5: 40px;
            --space-6: 48px;
            --space-8: 64px;
            
            /* Effects */
            --shadow-sm: 0 2px 8px rgba(67, 97, 238, 0.08);
            --shadow: 0 4px 16px rgba(67, 97, 238, 0.12);
            --shadow-lg: 0 8px 24px rgba(67, 97, 238, 0.16);
            --transition: all 0.3s ease;
            --radius: 16px;
            --radius-sm: 12px;
            --radius-lg: 20px;
        }

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

        body {
            font-family: 'Inter', sans-serif;
            background: var(--background);
            color: var(--text);
            line-height: 1.5;
            font-size: 14px;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: var(--space-2);
        }

        /* Header Compacto */
        header {
            text-align: center;
            padding: var(--space-3) 0;
            margin-bottom: var(--space-4);
        }

        .logo {
            display: inline-flex;
            align-items: center;
            gap: var(--space-2);
            margin-bottom: var(--space-2);
        }

        .logo-icon {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-sm);
        }

        .logo-icon i {
            font-size: 18px;
            color: white;
        }

        .logo-text {
            font-weight: 700;
            font-size: 24px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .tagline {
            font-size: 15px;
            color: var(--text-light);
            max-width: 500px;
            margin: 0 auto;
        }

        /* Layout Principal Mejorado */
        .main-app {
            display: grid;
            gap: var(--space-3);
            margin-bottom: var(--space-6);
        }

        .app-section {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            overflow: hidden;
        }

        .section-header {
            padding: var(--space-3) var(--space-4);
            border-bottom: 1px solid var(--border-light);
            background: var(--surface);
        }

        .section-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: var(--space-2);
            margin: 0;
        }

        .section-title i {
            color: var(--primary);
            font-size: 16px;
        }

        .section-content {
            padding: var(--space-4);
        }

        /* Upload Section Optimizada */
        .upload-area {
            border: 2px dashed var(--border);
            border-radius: var(--radius);
            padding: var(--space-4) var(--space-3);
            text-align: center;
            background: var(--surface);
            transition: var(--transition);
            cursor: pointer;
            position: relative;
            min-height: 160px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .upload-area.active {
            border-color: var(--primary);
            background: rgba(67, 97, 238, 0.04);
        }

        .upload-icon {
            font-size: 32px;
            color: var(--primary);
            margin-bottom: var(--space-2);
        }

        .upload-text {
            font-size: 16px;
            margin-bottom: var(--space-1);
            color: var(--text);
            font-weight: 500;
        }

        .upload-hint {
            font-size: 13px;
            color: var(--text-light);
            margin-bottom: var(--space-3);
        }

        .upload-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: var(--space-2) var(--space-4);
            border-radius: 50px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: var(--space-1);
        }

        .upload-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
            box-shadow: var(--shadow-sm);
        }

        #pdfInput {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }

        /* Features Compactas */
        .features {
            margin-top: var(--space-3);
            display: flex;
            flex-direction: column;
            gap: var(--space-2);
        }

        .feature {
            display: flex;
            align-items: center;
            gap: var(--space-2);
            font-size: 13px;
            color: var(--text-light);
        }

        .feature i {
            color: var(--success);
            font-size: 14px;
            width: 16px;
            flex-shrink: 0;
        }

        /* Compression Options Optimizadas */
        .compression-options {
            display: flex;
            flex-direction: column;
            gap: var(--space-2);
            margin-bottom: var(--space-4);
        }

        .card {
            background: var(--card-bg);
            border: 2px solid var(--border);
            border-radius: var(--radius);
            padding: var(--space-3);
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: var(--space-3);
            position: relative;
        }

        .card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
            border-color: var(--primary);
        }

        .card.selected {
            border-color: var(--success);
            background: #f0fdf4;
            box-shadow: var(--shadow-sm);
        }

        .card-icon {
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: white;
            flex-shrink: 0;
        }

        .card:nth-child(1) .card-icon {
            background: linear-gradient(135deg, #4ade80, #22d3ee);
        }

        .card:nth-child(2) .card-icon {
            background: linear-gradient(135deg, #60a5fa, #818cf8);
        }

        .card:nth-child(3) .card-icon {
            background: linear-gradient(135deg, #f97316, #f59e0b);
        }

        .card-content {
            flex-grow: 1;
            min-width: 0;
        }

        .card h3 {
            margin: 0 0 var(--space-1);
            font-size: 15px;
            font-weight: 600;
            color: var(--text);
        }

        .card p {
            font-size: 13px;
            color: var(--text-light);
            margin: 0;
            line-height: 1.4;
        }

        .recommended-tag {
            background: var(--success);
            color: white;
            padding: 4px var(--space-2);
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            position: absolute;
            top: -8px;
            right: var(--space-2);
        }

        .action-btn {
            background: var(--success);
            color: white;
            border: none;
            padding: var(--space-3) var(--space-4);
            border-radius: var(--radius);
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--space-2);
        }

        .action-btn:hover {
            background: var(--success-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

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

        /* Progress Section Compacta */
        .progress-section {
            display: none;
        }

        .progress-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: var(--space-3);
        }

        .progress-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: var(--space-2);
        }

        .progress-stats {
            font-size: 14px;
            color: var(--text-light);
            font-weight: 500;
        }

        .progress-bar-container {
            background: #e2e8f0;
            border-radius: 50px;
            height: 12px;
            overflow: hidden;
            margin-bottom: var(--space-4);
            position: relative;
        }

        .progress-bar {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            height: 100%;
            width: 0%;
            transition: width 0.5s ease;
            position: relative;
        }

        .progress-percentage {
            position: absolute;
            width: 100%;
            text-align: center;
            line-height: 12px;
            color: white;
            font-weight: 600;
            font-size: 11px;
        }

        /* Size Info Compacto */
        .size-info {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--space-2);
            margin-bottom: var(--space-4);
        }

        .size-item {
            background: var(--surface);
            border-radius: var(--radius);
            padding: var(--space-3);
            text-align: center;
        }

        .size-label {
            font-size: 12px;
            color: var(--text-light);
            margin-bottom: var(--space-1);
            font-weight: 500;
        }

        .size-value {
            font-size: 18px;
            font-weight: 700;
        }

        .size-original .size-value {
            color: var(--error);
        }

        .size-compressed .size-value {
            color: var(--success);
        }

        .savings .size-value {
            color: var(--primary);
        }

        /* File List Optimizada */
        .file-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: var(--space-2) 0;
            border-bottom: 1px solid var(--border-light);
        }

        .file-item:last-child {
            border-bottom: none;
        }

        .file-info {
            display: flex;
            align-items: center;
            gap: var(--space-2);
            flex: 1;
            min-width: 0;
        }

        .file-icon {
            color: var(--primary);
            font-size: 16px;
            width: 16px;
        }

        .file-details {
            min-width: 0;
            flex: 1;
        }

        .file-name {
            font-weight: 500;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 2px;
        }

        .file-size {
            font-size: 12px;
            color: var(--text-light);
        }

        .file-actions {
            display: flex;
            align-items: center;
            gap: var(--space-2);
        }

        .file-status {
            font-size: 12px;
            padding: 4px var(--space-2);
            border-radius: 20px;
            white-space: nowrap;
            font-weight: 500;
        }

        .status-pending {
            background: #fef3c7;
            color: #d97706;
        }

        .status-processing {
            background: #dbeafe;
            color: var(--primary);
            animation: pulse 1.5s infinite;
        }

        .status-completed {
            background: #dcfce7;
            color: var(--success-dark);
        }

        .status-error {
            background: #fee2e2;
            color: var(--error);
        }

        .download-button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 6px var(--space-2);
            border-radius: 8px;
            font-size: 12px;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .download-button:hover {
            background: var(--primary-dark);
        }

        .file-progress {
            width: 100%;
            height: 4px;
            background: #e2e8f0;
            border-radius: 2px;
            overflow: hidden;
            margin-top: 4px;
        }

        .file-progress-bar {
            height: 100%;
            background: var(--primary);
            width: 0%;
            transition: width 0.3s ease;
        }

        /* Contenido Informativo con Menor Prominencia */
        .info-content {
            background: transparent;
            margin-top: var(--space-8);
            padding: var(--space-6) 0;
            border-top: 1px solid var(--border);
        }

        .info-section {
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
            margin-bottom: var(--space-4);
            overflow: hidden;
        }

        .info-header {
            padding: var(--space-3) var(--space-4);
            background: var(--surface);
            border-bottom: 1px solid var(--border-light);
        }

        .info-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            margin: 0;
        }

        .info-body {
            padding: var(--space-4);
        }

        .info-body p {
            color: var(--text-light);
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: var(--space-3);
        }

        /* Benefits Grid Compacto */
        .benefits-list {
            display: grid;
            gap: var(--space-3);
        }

        .benefit-item {
            display: flex;
            align-items: flex-start;
            gap: var(--space-2);
        }

        .benefit-icon {
            font-size: 18px;
            color: var(--primary);
            width: 20px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .benefit-text h3 {
            font-size: 15px;
            margin-bottom: 4px;
            font-weight: 600;
        }

        .benefit-text p {
            font-size: 13px;
            color: var(--text-light);
            margin: 0;
        }

        /* Steps Compactos */
        .howto-steps {
            counter-reset: step-counter;
            margin: var(--space-3) 0;
        }

        .howto-step {
            position: relative;
            padding-left: var(--space-5);
            margin-bottom: var(--space-3);
            font-size: 14px;
            line-height: 1.5;
        }

        .howto-step::before {
            content: counter(step-counter);
            counter-increment: step-counter;
            position: absolute;
            left: 0;
            top: 0;
            background: var(--primary);
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 12px;
        }

        /* FAQ Colapsible */
        .faq-item {
            border-bottom: 1px solid var(--border-light);
            margin: 0;
        }

        .faq-item:last-child {
            border-bottom: none;
        }

        .faq-question {
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: var(--space-3) 0;
            font-size: 14px;
            transition: var(--transition);
        }

        .faq-question:hover {
            color: var(--primary);
        }

        .faq-question::after {
            content: '+';
            font-size: 18px;
            color: var(--text-light);
            transition: var(--transition);
        }

        .faq-question.active::after {
            transform: rotate(45deg);
            color: var(--primary);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            color: var(--text-light);
            font-size: 13px;
            line-height: 1.5;
        }

        .faq-answer.active {
            max-height: 200px;
            padding-bottom: var(--space-3);
        }

        /* Footer Compacto */
        footer {
            text-align: center;
            padding: var(--space-4) 0;
            color: var(--text-muted);
            font-size: 12px;
            background: var(--surface);
            margin-top: var(--space-6);
            border-top: 1px solid var(--border);
        }

        footer a {
            color: var(--primary);
            text-decoration: none;
        }

        footer a:hover {
            text-decoration: underline;
        }

        /* Responsive Design */
        @media (min-width: 480px) {
            .container {
                padding: var(--space-3);
            }
            
            .benefits-list {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 768px) {
            body {
                font-size: 15px;
            }
            
            .main-app {
                grid-template-columns: 1fr 1fr;
                gap: var(--space-4);
            }
            
            .compression-options {
                gap: var(--space-3);
            }
            
            .size-info {
                gap: var(--space-3);
            }
        }

        @media (min-width: 1024px) {
            .container {
                padding: var(--space-4);
            }
            
            .main-app {
                grid-template-columns: 1fr 1.2fr;
                gap: var(--space-6);
            }
            
            .info-content {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: var(--space-4);
            }
            
            .info-section {
                margin-bottom: 0;
            }
            
            .benefits-list {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1440px) {
            .info-content {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* Animations */
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }

        .progress-section.show {
            display: block;
            grid-column: 1 / -1;
            margin-top: var(--space-4);
        }

        .main-app.is-processing .app-section:not(.progress-section) {
            display: none;
        }

        .language-switcher {
            margin-top: var(--space-2);
        }
