
        :root {
            --primary: #4361ee;
            --secondary: #3a0ca3;
            --accent: #4cc9f0;
            --light: #f8f9fa;
            --dark: #212529;
            --success: #4bb543;
            --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        }
        
        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background-color: #f0f4ff;
        }
        
        .hero-section {
            background: var(--gradient);
            color: white;
            padding: 4rem 0;
            border-radius: 0 0 40px 40px;
            margin-bottom: 4rem;
            position: relative;
            overflow: hidden;
        }
        
        .hero-section::before {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            top: -150px;
            right: -150px;
        }
        
        .hero-section::after {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            bottom: -100px;
            left: -100px;
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
        }
        
        .tool-container {
            background: white;
            border-radius: 25px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
            padding: 3rem;
            margin-bottom: 4rem;
            position: relative;
            overflow: hidden;
        }
        
        .tool-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 8px;
            background: var(--gradient);
        }
        
        .upload-area {
            border: 3px dashed var(--primary);
            border-radius: 20px;
            padding: 3rem 2rem;
            text-align: center;
            background-color: rgba(67, 97, 238, 0.05);
            transition: all 0.3s ease;
            cursor: pointer;
            margin-bottom: 2rem;
        }
        
        .upload-area:hover {
            background-color: rgba(67, 97, 238, 0.1);
            transform: translateY(-5px);
        }
        
        .upload-icon {
            font-size: 4rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }
        
        .upload-text h3 {
            color: var(--secondary);
            margin-bottom: 0.5rem;
        }
        
        .upload-text p {
            color: var(--dark);
            margin-bottom: 1.5rem;
        }
        
        .btn-primary-custom {
            background: var(--gradient);
            border: none;
            padding: 0.8rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            color: white;
        }
        
        .btn-primary-custom:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 20px rgba(67, 97, 238, 0.4);
            color: white;
        }
        
        .form-section {
            background: rgba(67, 97, 238, 0.03);
            border-radius: 15px;
            padding: 2rem;
            margin-top: 2rem;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-label {
            font-weight: 600;
            color: var(--secondary);
            margin-bottom: 0.8rem;
        }
        
        .form-control-custom {
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            padding: 0.75rem 1rem;
            transition: all 0.3s ease;
            background-color: white;
        }
        
        .form-control-custom:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }
        
        .preview-section {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            margin-top: 2rem;
            border: 1px solid #e2e8f0;
        }
        
        .preview-title {
            color: var(--secondary);
            margin-bottom: 1.5rem;
            font-weight: 600;
        }
        
        .page-preview {
            width: 200px;
            height: 280px;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            margin: 0 auto;
            position: relative;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }
        
        .page-content {
            padding: 1.5rem;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .page-header, .page-footer {
            height: 40px;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            padding: 0 1rem;
            border-radius: 4px;
        }
        
        .page-number {
            position: absolute;
            color: var(--primary);
            font-weight: bold;
        }
        
        .position-preview {
            display: flex;
            justify-content: center;
            margin-top: 1.5rem;
        }
        
        .position-option {
            width: 50px;
            height: 50px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            margin: 0 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .position-option.active {
            border-color: var(--primary);
            background-color: rgba(67, 97, 238, 0.1);
        }
        
        .position-option i {
            color: var(--primary);
        }
        
        .features-section {
            padding: 4rem 0;
        }
        
        .feature-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            height: 100%;
            margin-bottom: 2rem;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .feature-icon {
            width: 80px;
            height: 80px;
            background: var(--gradient);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: white;
            font-size: 2rem;
        }
        
        .section-title {
            position: relative;
            margin-bottom: 3rem;
            font-weight: 700;
            color: var(--secondary);
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--accent);
            border-radius: 2px;
        }
        
        .center-title::after {
            left: 50%;
            transform: translateX(-50%);
        }
        
        .file-list {
            max-height: 200px;
            overflow-y: auto;
            margin-top: 1.5rem;
        }
        
        .file-item {
            display: flex;
            align-items: center;
            padding: 0.75rem 1rem;
            background: #f8f9fa;
            border-radius: 8px;
            margin-bottom: 0.5rem;
        }
        
        .file-icon {
            color: var(--primary);
            margin-right: 0.75rem;
            font-size: 1.2rem;
        }
        
        .file-name {
            flex-grow: 1;
            font-weight: 500;
        }
        
        .file-remove {
            color: #dc3545;
            cursor: pointer;
        }
        
        .step-number-circle {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--gradient);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
            margin: 0 auto;
        }
        
        .loading-spinner {
            display: none;
            text-align: center;
            margin: 2rem 0;
        }
        
        .success-message {
            display: none;
            background-color: #d4edda;
            border: 1px solid #c3e6cb;
            color: #155724;
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
        }
        
        .error-message {
            display: none;
            background-color: #f8d7da;
            border: 1px solid #f5c6cb;
            color: #721c24;
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
        }
        
        .pdf-preview {
            max-width: 100%;
            max-height: 300px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            margin-top: 1rem;
            display: none;
        }
        
        @media (max-width: 768px) {
            .hero-section {
                padding: 3rem 0;
                border-radius: 0 0 30px 30px;
            }
            
            .tool-container {
                padding: 2rem;
            }
            
            .upload-area {
                padding: 2rem 1rem;
            }
        }
    