/* ======================
   PDF List & Split Options
   ====================== */
.split-options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.view-options {
    display: flex;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 4px;
}

.view-option {
    padding: 8px 16px;
    border: none;
    background: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.view-option.active {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #4a6cf7;
}

.pdf-preview-container {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
}

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

.page-thumbnail {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
}

.page-thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-thumbnail.selected {
    border-color: #4a6cf7;
    background-color: #f0f4ff;
}

.page-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #f3f4f6;
}

.page-number {
    text-align: center;
    padding: 8px;
    font-size: 0.85rem;
    color: #4b5563;
    background: white;
}

.loading-pages {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
}

.loading-pages .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #4a6cf7;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

.loading-pages p {
    margin: 10px 0 0;
    color: #6b7280;
}

.split-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.split-method {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.split-method:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.split-method h4 {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 1.1rem;
}

.split-method p {
    margin: 0 0 15px;
    color: #6b7280;
    font-size: 0.95rem;
}

.selected-pages {
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    min-height: 50px;
    color: #6b7280;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.btn-outline {
    background: white;
    border: 1px solid #4a6cf7;
    color: #4a6cf7;
}

.btn-outline:hover {
    background: #f0f4ff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .split-methods {
        grid-template-columns: 1fr;
    }
    
    .pdf-pages {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* ======================
   PDF List & Split Options
   ====================== */
.pdf-list-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.pdf-list-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-list-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #374151;
}

.pdf-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.pdf-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f3f4f6;
}

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

.pdf-icon {
    width: 40px;
    height: 40px;
    background: #f0f4ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.pdf-icon i {
    color: #4a6cf7;
    font-size: 1.2rem;
}

.pdf-info {
    flex: 1;
}

.pdf-info h4 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdf-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.remove-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s;
}

.remove-btn:hover {
    color: #ef4444;
    background: #fef2f2;
}

.split-options {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

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

.page-input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    width: 80px;
}

.action-buttons {
    display: flex;
    justify-content: flex-end;
}

/* ======================
   Loading Animation
   ====================== */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-container.visible {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
    max-width: 400px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.loading-container.visible .loading-content {
    transform: translateY(0);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4a6cf7;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.progress-container {
    width: 100%;
    height: 8px;
    background: #f0f2ff;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #4a6cf7, #6e56ff);
    border-radius: 4px;
    transition: width 0.3s ease;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% {
        width: 0;
        margin-left: 0;
    }

    50% {
        width: 100%;
        margin-left: 0;
    }

    100% {
        width: 0;
        margin-left: 100%;
    }
}

.loading-container h3 {
    margin: 0 0 10px;
    color: #1e266d;
    font-size: 1.4rem;
}

.loading-container p {
    color: #6b7280;
    margin: 10px 0 0;
    font-size: 0.95rem;
}

/* ======================
   SEO Optimized Content
   ====================== */
.breadcrumb {
    margin: 15px 0 25px;
    font-size: 0.9rem;
    color: #6b7280;
}

.breadcrumb a {
    color: #4a6cf7;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #3a5bd9;
    text-decoration: underline;
}

.breadcrumb span {
    color: #4b5563;
}

.seo-intro {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.seo-intro h2 {
    color: #1e266d;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.seo-intro p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.feature i {
    font-size: 2.2rem;
    color: #4a6cf7;
    margin-bottom: 15px;
    display: inline-block;
}

.feature h3 {
    color: #1e266d;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.feature p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.how-it-works {
    margin: 60px 0;
    text-align: center;
}

.how-it-works h2 {
    color: #1e266d;
    margin-bottom: 40px;
    font-size: 2rem;
}

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

.step {
    position: relative;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: #4a6cf7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.step h3 {
    color: #1e266d;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.seo-content {
    margin: 60px 0;
}

.seo-content h2 {
    color: #1e266d;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.seo-content h3 {
    color: #2d3748;
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.seo-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Responsive Adjustments */
/* ======================
   Buttons & Interactive Elements
   ====================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: #4a6cf7;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, #4a6cf7, #6e56ff);
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 6px;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(74, 108, 247, 0.3);
    color: white;
}

.btn-secondary {
    background: white;
    color: #4a6cf7;
    border: 1px solid #4a6cf7;
}

.btn-secondary:hover {
    background: #f0f2ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.15);
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #6b7280;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-icon:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.btn-icon.delete {
    background: #fee2e2;
    color: #dc2626;
}

.btn-icon.delete:hover {
    background: #fecaca;
}

/* ======================
   Related PDF Tools
   ====================== */
.related-tools {
    margin: 60px 0;
    text-align: center;
}

.related-tools h2 {
    color: #1e266d;
    font-size: 2rem;
    margin-bottom: 15px;
}

.related-tools .section-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 40px;
    display: block;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.tool-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #4a6cf7;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    background: #4a6cf7;
    color: white;
    transform: scale(1.1);
}

.tool-card h3 {
    color: #1e266d;
    margin: 15px 0 10px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.tool-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tool-link {
    color: #4a6cf7;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.tool-link i {
    transition: transform 0.3s ease;
}

.tool-card:hover .tool-link {
    color: #3a5bd9;
}

.tool-card:hover .tool-link i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .related-tools {
        margin: 40px 0;
    }

    .related-tools h2 {
        font-size: 1.6rem;
    }
}

/* ======================
   Why Choose/Use Sections
   ====================== */
.why-choose-section,
.why-use-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-section:hover,
.why-use-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.why-choose-section h2,
.why-use-section h2 {
    color: #1e266d;
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.why-choose-section h2::after,
.why-use-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4a6cf7, #6e56ff);
    border-radius: 3px;
}

.why-choose-section .features-grid,
.why-use-section .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-choose-section .feature,
.why-use-section .feature {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eef1ff;
}

.why-choose-section .feature:hover,
.why-use-section .feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 108, 247, 0.1);
    border-color: #e0e7ff;
}

.why-choose-section .feature i,
.why-use-section .feature i {
    font-size: 2.5rem;
    color: #4a6cf7;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.why-choose-section .feature:hover i,
.why-use-section .feature:hover i {
    transform: scale(1.1);
}

.why-choose-section .feature h3,
.why-use-section .feature h3 {
    color: #1e266d;
    margin: 15px 0;
    font-size: 1.3rem;
}

.why-choose-section .feature p,
.why-use-section .feature p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Add a subtle pattern overlay */
.why-choose-section::before,
.why-use-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path fill="%23f0f3ff" d="M0 0h200v200H0z"/><path fill="%23e6ebff" d="M0 0h100v100H0z"/><path fill="%23d6e0ff" d="M100 0h100v100H100z"/><path fill="%23c7d5ff" d="M0 100h100v100H0z"/><path fill="%23b8caff" d="M100 100h100v100H100z"/></svg>');
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

/* ======================
   Responsive Adjustments
   ====================== */
@media (max-width: 992px) {

    .seo-intro,
    .seo-content {
        padding: 25px;
    }

    .features-grid {
        gap: 20px;
    }

    .step {
        padding: 25px 15px;
    }
}

@media (max-width: 768px) {

    .why-choose-section,
    .why-use-section {
        padding: 30px 20px;
        margin: 30px -15px;
        border-radius: 0;
    }

    .why-choose-section h2,
    .why-use-section h2 {
        font-size: 1.6rem;
    }

    .why-choose-section .features-grid,
    .why-use-section .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-choose-section .feature,
    .why-use-section .feature {
        padding: 25px 20px;
    }

    .seo-intro,
    .seo-content {
        padding: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }
}

/* Merge PDF Page Styles */
.merge-pdf-page {
    padding: 80px 0;
    background-color: #f8f9ff;
    min-height: 100vh;
}

.tool-header {
    text-align: center;
    margin-bottom: 50px;
}

.tool-header h1 {
    font-size: 2.8rem;
    color: #1e266d;
    margin-bottom: 15px;
    font-weight: 700;
}

.tool-header .subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced Upload Area */
.upload-area {
    background: white;
    border: 2px dashed #d1d5db;
    border-radius: 16px;
    padding: 50px 20px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    cursor: pointer;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: #4a6cf7;
    background-color: rgba(74, 108, 247, 0.03);
}

.upload-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.upload-icon i:first-child {
    font-size: 60px;
    color: #e5e7eb;
    position: relative;
    z-index: 1;
}

.upload-icon i:last-child {
    position: absolute;
    font-size: 24px;
    background: #4a6cf7;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    right: 0;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(74, 108, 247, 0.3);
}

.upload-area h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 10px;
}

.upload-area p {
    color: #6b7280;
    margin: 10px 0 20px;
}

/* Enhanced PDF List */
.pdf-list-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

.pdf-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e7eb;
}

.pdf-list-header h3 {
    font-size: 1.2rem;
    color: #1f2937;
    margin: 0;
}

.btn-text {
    background: none;
    border: none;
    color: #4a6cf7;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-text:hover {
    background: #f3f4f6;
}

.pdf-list {
    max-height: 400px;
    overflow-y: auto;
}

.pdf-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    position: relative;
}

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

.pdf-item.dragging {
    background: #f9fafb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.8;
}

.pdf-icon {
    width: 40px;
    height: 40px;
    background: #f0f2ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #4a6cf7;
    font-size: 1.2rem;
}

.pdf-info {
    flex: 1;
    min-width: 0;
}

.pdf-info h4 {
    font-size: 1rem;
    color: #1f2937;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdf-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #6b7280;
}

.pdf-actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #6b7280;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-icon:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.btn-icon.delete {
    background: #fee2e2;
    color: #dc2626;
}

.btn-icon.delete:hover {
    background: #fecaca;
}

.merge-actions {
    padding: 20px 25px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Enhanced Result Section */
.result-container {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin: 30px 0;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.result-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
    text-align: center;
}

.merge-actions,
.result-actions {
    flex-direction: column;
    gap: 12px;
}

.btn,
.btn-primary,
.btn-secondary {
    width: 100%;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.2);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
}

.btn-secondary:hover {
    background: #f0f2ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.15);
}

.features-grid {
    grid-template-columns: 1fr;
}

.result-file {
    flex-direction: column;
    text-align: center;
}

.result-file i {
    margin: 0 0 15px 0;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease forwards;
}