/* ==================== SPLIT PDF STYLES ==================== */

body {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%) !important;
    color: var(--text-primary);
}

.split-pdf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: var(--text-primary);
}

.header-section {
    text-align: center;
    margin-bottom: 40px;
}

.header-section h1 {
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 800;
}

.header-section h1 i {
    color: #f79112;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin: 0;
}

.upload-section {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-light);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.drop-zone-pdf {
    border: 3px dashed var(--primary-light);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.drop-zone-pdf:hover {
    border-color: #f79112;
    background: rgba(247, 145, 18, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 145, 18, 0.3);
}

.drop-zone-pdf.drag-over {
    border-color: #f79112;
    background: rgba(247, 145, 18, 0.15);
    transform: scale(1.02);
}

.drop-zone-pdf.loading {
    pointer-events: none;
    opacity: 0.7;
}

.drop-zone-pdf.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 145, 18, 0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    to { left: 100%; }
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.upload-icon {
    margin-bottom: 20px;
}

.upload-icon i {
    font-size: 3rem;
    color: #f79112;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.drop-zone-pdf h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 10px 0;
}

.drop-zone-pdf p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 10px 0 20px 0;
}

.supported-formats small {
    color: #f79112;
    font-size: 0.9rem;
}

.supported-formats i {
    margin-right: 5px;
}

/* Preview container */
.preview-container {
    margin-top: 30px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
    flex-wrap: wrap;
    gap: 15px;
}

.preview-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-header h3 i {
    color: #f79112;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-light);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    border-color: #f79112;
    transform: translateY(-2px);
}

/* Single PDF preview card — thumbnail fills top (like merge-pdf), name & meta below */
.preview-card-single {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.preview-card-single:hover {
    border-color: #f79112;
    box-shadow: 0 10px 25px rgba(247, 145, 18, 0.2);
}

.preview-card-single .pdf-thumbnail {
    width: 100%;
    height: 140px;
    min-height: 140px;
    border-radius: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-bottom: 1px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.preview-card-single .pdf-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-card-single .pdf-thumbnail .pdf-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f79112 0%, #ff6b35 100%);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.preview-card-single .pdf-info {
    min-width: 0;
    padding: 12px 14px 10px;
    flex-shrink: 0;
    text-align: center;
}

.preview-card-single .pdf-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-card-single .pdf-meta {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0;
}

/* Two-grid: narrow left (preview), more space for scissors demo — equal height */
.split-preview-demo-grid {
    display: grid;
    grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
    grid-template-rows: 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
}

.split-preview-cell,
.split-demo-cell {
    min-height: 200px;
}

.split-preview-cell {
    min-width: 0;
    display: flex;
    align-items: stretch;
}

.split-preview-cell .preview-card-single {
    flex: 1;
    min-height: 0;
    align-self: stretch;
    height: 100%;
}

.split-demo-cell {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.split-demo-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.split-demo-label i {
    color: #f79112;
}

.split-demo-scroller {
    flex: 1;
    min-height: 120px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 0;
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    scroll-behavior: smooth;
}

.split-demo-scroller::-webkit-scrollbar {
    height: 8px;
}

.split-demo-scroller::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.split-demo-scroller::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.split-demo-strip {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    min-height: 100px;
    padding: 0 8px;
    flex-shrink: 0;
}

/* Small PDF-like page card (placeholder) */
.split-demo-page {
    flex-shrink: 0;
    width: 78px;
    height: 102px;
    background: linear-gradient(145deg, rgba(30, 45, 65, 0.95) 0%, rgba(20, 32, 48, 0.98) 100%);
    border: 1px solid var(--primary-light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.split-demo-page:hover {
    border-color: #f79112;
    box-shadow: 0 4px 12px rgba(247, 145, 18, 0.25);
}

.split-demo-page-num {
    display: block;
    width: 100%;
    font-size: 1.4rem;
    font-weight: 700;
    color: #f79112;
    line-height: 1.2;
    text-align: center;
}

.split-demo-page-label {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
    text-align: center;
}

/* Split divider between pages (clickable) */
.split-demo-divider {
    flex-shrink: 0;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    transition: all 0.2s ease;
    position: relative;
}

.split-demo-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
    transform: translateX(-50%);
    transition: background 0.2s ease;
}

.split-demo-divider:hover::before {
    background: rgba(247, 145, 18, 0.5);
}

.split-demo-divider.has-split::before {
    background: #f79112;
    width: 3px;
    box-shadow: 0 0 8px rgba(247, 145, 18, 0.5);
}

.split-demo-divider i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    z-index: 1;
    transition: color 0.2s ease;
}

.split-demo-divider:hover i {
    color: #f79112;
}

.split-demo-divider.has-split i {
    color: #f79112;
}

/* Split options */
.split-options-section {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 28px;
}

.split-options-section h4 {
    color: var(--text-primary);
    font-size: 1.15rem;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.split-options-section h4 i {
    color: #f79112;
}

.split-mode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.split-tab {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 2px solid var(--primary-light);
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.split-tab:hover {
    border-color: #f79112;
    background: rgba(247, 145, 18, 0.15);
}

.split-tab.active {
    background: linear-gradient(135deg, #f79112 0%, #ff6b35 100%);
    border-color: #f79112;
    color: white;
}

.split-panel {
    display: none;
    padding: 12px 0 0;
}

.split-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.split-panel-desc,
.split-panel span {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 8px 0;
}

.split-panel label {
    display: inline-block;
    color: var(--text-primary);
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}

.split-panel input[type="number"] {
    width: 80px;
    padding: 10px 12px;
    font-size: 1rem;
    border: 2px solid var(--primary-light);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    margin-right: 8px;
    text-align: center;
}

.split-panel input[type="number"]:focus {
    outline: none;
    border-color: #f79112;
}

.split-panel input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 12px 14px;
    font-size: 1rem;
    border: 2px solid var(--primary-light);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

.split-panel input[type="text"]::placeholder {
    color: var(--text-secondary);
    opacity: 0.8;
}

.split-panel input[type="text"]:focus {
    outline: none;
    border-color: #f79112;
}

.split-hint {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 8px 0 0 0;
    line-height: 1.5;
}

.split-hint code {
    background: rgba(247, 145, 18, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

/* Convert section */
.convert-section {
    margin-top: 24px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #f79112;
    box-shadow: 0 6px 20px rgba(247, 145, 18, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.2rem;
}

.progress-container {
    margin-top: 25px;
    animation: fadeIn 0.3s ease;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color) 0%, #f79112 100%);
    transition: width 0.3s ease;
    border-radius: 15px;
}

.progress-text {
    margin-top: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

/* Instructions */
.instructions-section {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-light);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.instructions-section h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 800;
}

.instructions-section h2 i {
    color: #f79112;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(247, 145, 18, 0.3);
    border-color: #f79112;
    background: rgba(255, 255, 255, 0.05);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f79112 0%, #ff6b35 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(247, 145, 18, 0.4);
}

.step-content h3 {
    color: var(--text-primary);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Features guide */
.features-guide-section {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-light);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.features-guide-section h2 {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 800;
    flex-wrap: wrap;
}

.features-guide-section h2 i {
    color: #f79112;
}

.features-lead {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 32px;
    text-align: center;
}

.feature-block {
    margin-bottom: 28px;
}

.feature-block h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-block h3 i {
    color: #f79112;
    flex-shrink: 0;
}

.feature-block p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* FAQ */
.faq-section {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-light);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.faq-section h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 800;
}

.faq-section h2 i {
    color: #f79112;
}

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

.faq-item-pdf {
    margin-bottom: 15px;
    border: 2px solid var(--primary-light);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.faq-item-pdf:hover {
    border-color: #f79112;
}

.faq-question-pdf {
    padding: 15px 15px 15px 40px;
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.faq-question-pdf::before {
    content: '+';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    font-weight: normal;
    line-height: 1;
    color: #f79112;
    transition: transform 0.3s ease;
}

.faq-item-pdf.active .faq-question-pdf {
    background-color: rgba(247, 145, 18, 0.2);
    border-bottom: 2px solid #f79112;
}

.faq-item-pdf.active .faq-question-pdf::before {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer-pdf {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.faq-item-pdf.active .faq-answer-pdf {
    padding: 15px;
    max-height: 1000px;
}

.faq-answer-pdf p {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-secondary);
}

.faq-answer-pdf a {
    color: #f79112;
    text-decoration: none;
    font-weight: 600;
}

.faq-answer-pdf a:hover {
    text-decoration: underline;
}

/* Responsive - match merge-pdf / other tools breakpoints */
@media (max-width: 992px) {
    .steps-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .header-section h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .subtitle {
        font-size: 1rem;
    }

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

    .split-preview-demo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .split-preview-cell {
        display: block;
    }

    .split-preview-cell .preview-card-single {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        aspect-ratio: 3 / 4;
        min-height: 0;
        height: auto;
    }

    .split-preview-cell .preview-card-single .pdf-thumbnail {
        flex: 1;
        min-height: 120px;
        height: auto;
    }

    .split-demo-scroller {
        min-height: 100px;
        padding: 10px 0;
    }

    .split-demo-page {
        width: 68px;
        height: 88px;
    }

    .split-demo-page-num {
        font-size: 1.25rem;
    }

    .split-demo-page-label {
        font-size: 0.75rem;
    }

    .upload-section {
        padding: 20px;
    }

    .drop-zone-pdf {
        padding: 30px 20px;
        min-height: 200px;
    }

    .upload-content {
        width: 100%;
    }

    .upload-icon i {
        font-size: 2.75rem;
    }

    .drop-zone-pdf h3 {
        font-size: 1.2rem;
    }

    .preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .split-options-section {
        padding: 18px;
    }

    .split-mode-tabs {
        flex-direction: column;
    }

    .split-tab {
        width: 100%;
        text-align: center;
    }

    .split-panel input[type="text"],
    .split-panel input[type="number"] {
        max-width: 100%;
    }

    .btn-secondary {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .instructions-section,
    .faq-section {
        padding: 25px;
    }

    .instructions-section h2,
    .faq-section h2 {
        font-size: 1.5rem;
        flex-direction: column;
    }

    .btn-large {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .split-panel-desc {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .upload-section,
    .preview-card-single,
    .split-options-section,
    .instructions-section,
    .features-guide-section,
    .faq-section {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .features-guide-section {
        padding: 30px 20px;
    }

    .features-guide-section h2 {
        font-size: 1.5rem;
        gap: 10px;
    }

    .preview-card-single .pdf-name {
        font-size: 0.9rem;
    }

    .preview-card-single .pdf-meta {
        font-size: 0.75rem;
    }

    /* GPU acceleration for mobile (merge-pdf / watermark style) */
    .preview-card-single {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
    }

    .preview-card-single .pdf-thumbnail,
    .preview-card-single .pdf-thumbnail-img {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .split-demo-page {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
    }

    .split-demo-scroller {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .split-demo-divider {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
}

@media (max-width: 480px) {
    .split-pdf-container {
        padding: 10px;
    }

    .header-section h1 {
        font-size: 1.5rem;
    }

    .upload-section {
        padding: 15px;
    }

    .drop-zone-pdf {
        padding: 25px 15px;
        min-height: 180px;
    }

    .upload-content {
        width: 100%;
    }

    .preview-header h3 {
        font-size: 1.1rem;
    }

    .split-preview-cell .preview-card-single {
        width: 100%;
        max-width: 180px;
        margin: 0 auto;
        aspect-ratio: 3 / 4;
    }

    .split-preview-cell .preview-card-single .pdf-thumbnail {
        min-height: 100px;
    }

    .preview-card-single .pdf-info {
        padding: 10px 12px 8px;
    }

    .preview-card-single .pdf-name {
        font-size: 0.85rem;
    }

    .preview-card-single .pdf-meta {
        font-size: 0.7rem;
    }

    .split-demo-scroller {
        min-height: 90px;
        padding: 8px 0;
    }

    .split-demo-page {
        width: 58px;
        height: 78px;
    }

    .split-demo-page-num {
        font-size: 1.1rem;
    }

    .split-demo-page-label {
        font-size: 0.7rem;
    }

    .split-options-section {
        padding: 14px;
    }

    .split-options-section h4 {
        font-size: 1rem;
    }

    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .btn-large {
        width: 100%;
        padding: 15px 25px;
    }

    .split-panel-desc,
    #ranges-breakdown {
        font-size: 0.85rem;
        text-align: center;
    }

    .instructions-section,
    .faq-section {
        padding: 20px 15px;
    }

    .faq-question-pdf {
        padding: 12px 15px 12px 45px;
        font-size: 0.95rem;
        word-wrap: break-word;
        line-height: 1.4;
    }

    .faq-question-pdf::before {
        font-size: 1.3em;
        left: 12px;
    }

    .faq-answer-pdf p {
        font-size: 0.9rem;
    }

    .features-guide-section {
        padding: 25px 15px;
    }

    .features-guide-section h2 {
        font-size: 1.35rem;
    }

    .feature-block h3 {
        font-size: 1.1rem;
    }

    .split-demo-page {
        animation-duration: 0.3s !important;
    }
}
