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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

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

.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
    margin: 20px 0;
    position: relative;
}

h1 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

h2 {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

h3 {
    color: #2d3748;
    margin: 20px 0 10px 0;
    font-size: 1.3rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(45deg, #718096, #4a5568);
    box-shadow: 0 4px 15px rgba(113, 128, 150, 0.3);
}

.btn-success {
    background: linear-gradient(45deg, #48bb78, #38a169);
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.alert {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
    background: #f0fff4;
    color: #22543d;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.drag-drop-area {
    width: 100%;
    min-height: 200px;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    background: #f7fafc;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.drag-drop-area:hover, .drag-drop-area.drag-over {
    border-color: #667eea;
    background: #edf2f7;
    transform: scale(1.02);
}

.drag-drop-content {
    padding: 40px;
}

.drag-drop-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.file-preview {
    width: 100%;
    padding: 20px;
    text-align: left;
}

.file-item {
    padding: 8px 12px;
    margin: 5px 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 14px;
}

.sortable-list {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    background: #f7fafc;
    margin: 15px 0;
}

.sortable-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin: 8px 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: move;
    transition: all 0.3s ease;
    user-select: none;
}

.sortable-item:hover {
    background: #edf2f7;
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sortable-item.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.drag-handle {
    color: #a0aec0;
    margin-right: 12px;
    font-size: 16px;
    cursor: grab;
}

.drag-handle:active {
    cursor: grabbing;
}

.file-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
}

.file-name {
    flex: 1;
    font-size: 14px;
}

input[type="file"]:not([style*="display: none"]) {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
}

.radio-group {
    margin: 15px 0;
}

.radio-group label {
    display: block;
    padding: 12px 15px;
    margin: 8px 0;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-group label:hover {
    background: #edf2f7;
    border-color: #667eea;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
}

.file-list {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    background: #f7fafc;
    margin: 15px 0;
}

.sortable-item[draggable="true"] {
    cursor: move;
}

.sortable-item:active {
    cursor: grabbing;
}

.download-card {
    text-align: center;
    border: 2px dashed #48bb78;
    padding: 40px;
    margin: 30px 0;
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border-radius: 12px;
}

.download-card h3 {
    color: #22543d;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    font-size: 14px;
    color: #4a5568;
}

.info-box {
    background: #edf2f7;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid #667eea;
}

.info-box ul {
    margin-left: 20px;
}

.info-box li {
    margin: 8px 0;
    line-height: 1.5;
}

ol {
    margin-left: 20px;
}

ol li {
    margin: 10px 0;
    line-height: 1.6;
}

.btn-group {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.privacy-notice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 15px 0;
    font-size: 14px;
    color: #856404;
}

.clear-btn {
    background: #dc3545;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.privacy-info {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    color: #2d5a2d;
    font-size: 14px;
}

.home-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.btn-home {
    display: inline-block;
    padding: 10px 16px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.footer {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #718096;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #4a5568;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: #edf2f7;
    color: #667eea;
}

.content-section {
    margin: 25px 0;
    line-height: 1.6;
}

.content-section h3 {
    color: #2d3748;
    border-bottom: 2px solid #667eea;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.content-section h4 {
    color: #4a5568;
    margin: 15px 0 8px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.feature-item {
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.contact-item {
    margin: 20px 0;
    padding: 15px;
    background: #f7fafc;
    border-radius: 6px;
}

.form-group {
    margin: 15px 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #4a5568;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.faq-item {
    margin: 20px 0;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
}

.help-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.step {
    padding: 20px;
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border-radius: 8px;
    border-left: 4px solid #48bb78;
}

.troubleshoot-item {
    margin: 20px 0;
    padding: 20px;
    background: #fff5f5;
    border-radius: 8px;
    border-left: 4px solid #f56565;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.support-option {
    padding: 20px;
    background: #edf2f7;
    border-radius: 8px;
    text-align: center;
}

.page-selection {
    margin: 20px 0;
}

.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.page-item {
    position: relative;
}

.page-item input[type="checkbox"] {
    display: none;
}

.page-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.page-label:hover {
    background: #edf2f7;
    border-color: #667eea;
    transform: translateY(-2px);
}

.page-item input[type="checkbox"]:checked + .page-label {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.page-number {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.page-text {
    font-size: 12px;
    opacity: 0.8;
}

.selection-controls {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.selection-controls .btn {
    font-size: 14px;
    padding: 8px 16px;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .card {
        padding: 20px;
        margin: 10px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #4a5568;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.facebook-icon {
    background: #1877f2;
    color: white;
}

.facebook-icon:hover {
    background: #166fe5;
    color: white;
}
