/* ---------- ROOT ---------- */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --primary-soft: #EEF2FF;
    --gradient-start: #4F46E5;
    --gradient-end: #7C3AED;
    --bg-light: #F1F5F9;
    --card-shadow: 0 10px 40px rgba(79, 70, 229, 0.12);
    --border-radius: 20px;
    --nav-bg: #0F172A;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-light);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ---------- NAVBAR (konvto.com) — WHITE ---------- */
.navbar-konvto {
    background: #ffffff;
    padding: 0.85rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 1px solid #E2E8F0;
}
.navbar-konvto .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}
.navbar-konvto .brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #0F172A;
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: -0.5px;
    transition: opacity 0.2s;
}
.navbar-konvto .brand:hover {
    opacity: 0.8;
    color: #0F172A;
}
.navbar-konvto .brand .brand-icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.navbar-konvto .brand .brand-dot {
    color: var(--primary-light);
    font-weight: 300;
}
.navbar-konvto .nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.navbar-konvto .nav-links a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.navbar-konvto .nav-links a:hover,
.navbar-konvto .nav-links a.active {
    color: #4F46E5;
    border-bottom-color: #4F46E5;
}
.navbar-konvto .nav-links a i {
    font-size: 0.85rem;
    opacity: 0.7;
}
.navbar-konvto .nav-toggle {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    color: #0F172A;
    border-radius: 10px;
    padding: 0.35rem 0.8rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    display: none;
}
.navbar-konvto .nav-toggle:hover {
    background: #E2E8F0;
}

@media (max-width: 768px) {
    .navbar-konvto .nav-toggle {
        display: block;
    }
    .navbar-konvto .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0 0.5rem 0;
        gap: 0.4rem;
        border-top: 1px solid #E2E8F0;
        margin-top: 0.5rem;
    }
    .navbar-konvto .nav-links.open {
        display: flex;
    }
    .navbar-konvto .nav-links a {
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        border-bottom: none;
        background: #F8FAFC;
        color: #0F172A;
    }
    .navbar-konvto .nav-links a:hover {
        background: #EEF2FF;
        color: #4F46E5;
        border-bottom: none;
    }
    .navbar-konvto .nav-links a.active {
        color: #4F46E5;
        background: #EEF2FF;
    }
}

/* ---------- MAIN CONTENT ---------- */
.app-wrapper {
    flex: 1 0 auto;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 100%;
}

/* ---------- HERO / CONVERTER SECTION ---------- */
.converter-hero {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    color: #fff;
    box-shadow: 0 20px 60px rgba(79, 70, 229, 0.30);
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
}
.converter-hero::after {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}
.converter-hero .hero-icon {
    font-size: 2.8rem;
    margin-right: 0.75rem;
    opacity: 0.9;
}
.converter-hero h1 {
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}
.converter-hero p {
    opacity: 0.85;
    font-size: 1.05rem;
    margin-bottom: 0;
    font-weight: 400;
}
.converter-hero .badge-feature {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    border-radius: 40px;
    padding: 0.35rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: inline-block;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.converter-hero .breadcrumb-wrap {
    font-size: 0.82rem;
    opacity: 0.7;
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.6rem;
}
.converter-hero .breadcrumb-wrap a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}
.converter-hero .breadcrumb-wrap a:hover {
    color: #fff;
    text-decoration: underline;
}
.converter-hero .breadcrumb-wrap span {
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- CARD ---------- */
.card-custom {
    background: #fff;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.25s ease;
    overflow: hidden;
}
.card-custom:hover {
    box-shadow: 0 16px 56px rgba(79, 70, 229, 0.16);
}
.card-custom .card-body {
    padding: 2rem 1.8rem;
}

/* ---------- DROP ZONE ---------- */
.drop-zone {
    border: 2.5px dashed #CBD5E1;
    border-radius: 18px;
    padding: 3.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #FAFBFF;
    position: relative;
}
.drop-zone:hover {
    border-color: var(--primary-light);
    background: #F8FAFF;
}
.drop-zone.dragover {
    border-color: var(--primary);
    background: #EEF2FF;
    transform: scale(1.005);
}
.drop-zone .icon-wrap {
    font-size: 4rem;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    display: block;
}
.drop-zone h5 {
    font-weight: 600;
    color: #1E293B;
}
.drop-zone p {
    color: #64748B;
    font-size: 0.95rem;
}
.drop-zone .btn-upload {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.6rem 2.2rem;
    border-radius: 40px;
    font-weight: 500;
    transition: background 0.2s;
    margin-top: 0.5rem;
}
.drop-zone .btn-upload:hover {
    background: var(--primary-dark);
    color: #fff;
}
.drop-zone input[type="file"] {
    display: none;
}

/* ---------- FILE INFO ---------- */
.file-info {
    background: #F8FAFC;
    border-radius: 14px;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.file-info .file-name {
    font-weight: 500;
    color: #0F172A;
}
.file-info .file-size {
    color: #64748B;
    font-size: 0.9rem;
}
.file-info .badge-pages {
    background: var(--primary);
    color: #fff;
    border-radius: 40px;
    padding: 0.25rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ---------- SETTINGS ---------- */
.settings-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    align-items: center;
    padding: 1rem 0 0.5rem 0;
}
.settings-row label {
    font-weight: 500;
    color: #1E293B;
    font-size: 0.95rem;
    margin-right: 0.5rem;
}
.settings-row .form-range {
    width: 160px;
}
.settings-row .quality-value {
    font-weight: 600;
    color: var(--primary);
    min-width: 2.8rem;
}
.settings-row .form-select {
    border-radius: 40px;
    border-color: #E2E8F0;
    font-size: 0.9rem;
    padding: 0.3rem 2rem 0.3rem 1rem;
    background-color: #fff;
}
.settings-row .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* ---------- PAGE GRID ---------- */
.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.page-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #F1F5F9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.page-card .page-thumb {
    width: 100%;
    aspect-ratio: 1 / 1.4;
    object-fit: contain;
    background: #F8FAFC;
    display: block;
    padding: 0.5rem;
}
.page-card .page-footer {
    padding: 0.6rem 0.8rem 0.8rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FAFBFF;
    border-top: 1px solid #F1F5F9;
}
.page-card .page-number {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1E293B;
}
.page-card .btn-download-page {
    background: var(--primary);
    border: none;
    border-radius: 30px;
    padding: 0.25rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #fff;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.page-card .btn-download-page:hover {
    background: var(--primary-dark);
    color: #fff;
}
.page-card .btn-download-page i {
    font-size: 0.7rem;
}

/* ---------- TOOLBAR ---------- */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #F1F5F9;
}
.toolbar .left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.toolbar .left .page-count-badge {
    background: #F1F5F9;
    border-radius: 40px;
    padding: 0.25rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1E293B;
}
.btn-download-all {
    background: #0F172A;
    border: none;
    border-radius: 40px;
    padding: 0.5rem 1.8rem;
    font-weight: 500;
    color: #fff;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-download-all:hover {
    background: #1E293B;
    color: #fff;
}
.btn-download-all i {
    font-size: 0.9rem;
}
.btn-reset {
    background: transparent;
    border: 1px solid #E2E8F0;
    border-radius: 40px;
    padding: 0.45rem 1.5rem;
    font-weight: 500;
    color: #64748B;
    transition: all 0.2s;
}
.btn-reset:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
    color: #1E293B;
}

/* ---------- PROGRESS ---------- */
.progress-wrap {
    margin-top: 1.5rem;
    display: none;
}
.progress-wrap .progress {
    height: 8px;
    border-radius: 40px;
    background: #E2E8F0;
}
.progress-wrap .progress-bar {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 40px;
    transition: width 0.4s ease;
}
.progress-wrap .progress-text {
    font-size: 0.85rem;
    color: #64748B;
    margin-top: 0.4rem;
    text-align: center;
}

/* ---------- EMPTY STATE ---------- */
.empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #94A3B8;
}
.empty-state i {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.4;
}
.empty-state p {
    font-size: 1rem;
}

/* ---------- TOAST ---------- */
.toast-container-custom {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 360px;
}
.toast-custom {
    background: #0F172A;
    color: #fff;
    padding: 0.9rem 1.4rem;
    border-radius: 14px;
    font-size: 0.9rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    animation: slideUp 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.toast-custom.success {
    background: #065F46;
}
.toast-custom.error {
    background: #991B1B;
}
.toast-custom i {
    font-size: 1.1rem;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- ARTICLE CONTENT ---------- */
.article-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #E2E8F0;
}
.article-section .article-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}
.article-section .article-title .highlight {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.article-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}
.article-section h2 i {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 1.3rem;
}
.article-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.8rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}
.article-section p {
    color: #334155;
    margin-bottom: 1rem;
    font-size: 1rem;
}
.article-section ul,
.article-section ol {
    color: #334155;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}
.article-section ul li,
.article-section ol li {
    margin-bottom: 0.4rem;
}
.article-section ul li::marker {
    color: var(--primary);
}
.article-section .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.article-section .feature-grid .feature-item {
    background: #F8FAFC;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    border: 1px solid #F1F5F9;
    transition: background 0.2s;
}
.article-section .feature-grid .feature-item:hover {
    background: #EEF2FF;
    border-color: var(--primary-light);
}
.article-section .feature-grid .feature-item i {
    color: var(--primary);
    font-size: 1rem;
    width: 1.4rem;
    text-align: center;
}
.article-section .steps-list {
    counter-reset: step;
    list-style: none;
    padding-left: 0;
}
.article-section .steps-list li {
    counter-increment: step;
    padding: 0.75rem 1rem 0.75rem 3.2rem;
    position: relative;
    background: #F8FAFC;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    border: 1px solid #F1F5F9;
    font-weight: 500;
}
.article-section .steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.article-section .steps-list li strong {
    color: var(--text-dark);
}
.article-section .faq-item {
    background: #F8FAFC;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #F1F5F9;
    transition: border-color 0.2s;
}
.article-section .faq-item:hover {
    border-color: var(--primary-light);
}
.article-section .faq-item .faq-q {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.article-section .faq-item .faq-q i {
    color: var(--primary);
    font-size: 0.9rem;
}
.article-section .faq-item .faq-a {
    color: #475569;
    margin-top: 0.4rem;
    padding-left: 1.8rem;
}
.article-section .related-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0;
}
.article-section .related-tools .tool-tag {
    background: #EEF2FF;
    color: var(--primary);
    padding: 0.35rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.article-section .related-tools .tool-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.article-section .card-highlight {
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary);
}
.article-section .card-highlight p {
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 500;
}
.article-section .card-highlight i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* ---------- FOOTER ---------- */
.footer-konvto {
    background: #0F172A;
    color: rgba(255, 255, 255, 0.7);
    padding: 2.5rem 0 1.5rem 0;
    margin-top: 2.5rem;
    border-top: 2px solid rgba(79, 70, 229, 0.2);
    flex-shrink: 0;
}
.footer-konvto .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem 2rem;
}
.footer-konvto .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
}
.footer-konvto .footer-brand:hover {
    color: #fff;
}
.footer-konvto .footer-brand .brand-icon {
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.footer-konvto .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    align-items: center;
}
.footer-konvto .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-konvto .footer-links a:hover {
    color: #fff;
}
.footer-konvto .footer-links a i {
    font-size: 0.8rem;
    opacity: 0.6;
}
.footer-konvto .footer-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
}
.footer-konvto .footer-copy {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    width: 100%;
    margin-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
    letter-spacing: 0.2px;
}
.footer-konvto .footer-copy strong {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

@media (max-width: 600px) {
    .footer-konvto .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-konvto .footer-links {
        justify-content: center;
    }
    .footer-konvto .footer-divider {
        display: none;
    }
}

/* ---------- SCROLLBAR ---------- */
.grid-scroll {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.25rem;
}
.grid-scroll::-webkit-scrollbar {
    width: 6px;
}
.grid-scroll::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 10px;
}
.grid-scroll::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}
.grid-scroll::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

.fade-in {
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.spinner-sm {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    border: 2.5px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.form-range::-webkit-slider-thumb {
    background: var(--primary);
}
.form-range::-moz-range-thumb {
    background: var(--primary);
}

/* ---------- MOBILE FRIENDLY ADDITIONS ---------- */
@media (max-width: 480px) {
    .converter-hero {
        padding: 1.5rem 1rem;
    }
    .converter-hero h1 {
        font-size: 1.3rem;
    }
    .converter-hero .hero-icon {
        font-size: 1.6rem;
        margin-right: 0.4rem;
    }
    .converter-hero p {
        font-size: 0.9rem;
    }
    .drop-zone {
        padding: 1.5rem 0.75rem;
    }
    .drop-zone .icon-wrap {
        font-size: 2.5rem;
    }
    .drop-zone h5 {
        font-size: 1rem;
    }
    .drop-zone p {
        font-size: 0.85rem;
    }
    .file-info {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1rem;
    }
    .settings-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .settings-row .form-range {
        width: 100%;
    }
    .page-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .page-card .page-thumb {
        padding: 0.25rem;
    }
    .page-card .page-footer {
        padding: 0.4rem 0.5rem;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    .page-card .page-number {
        font-size: 0.7rem;
    }
    .page-card .btn-download-page {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }
    .toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .toolbar .left {
        justify-content: center;
    }
    .btn-download-all {
        justify-content: center;
        width: 100%;
    }
    .btn-reset {
        width: 100%;
        text-align: center;
    }
    .article-section .article-title {
        font-size: 1.3rem;
    }
    .article-section h2 {
        font-size: 1.1rem;
    }
    .article-section .feature-grid {
        grid-template-columns: 1fr;
    }
    .article-section .steps-list li {
        padding: 0.6rem 0.6rem 0.6rem 2.8rem;
        font-size: 0.9rem;
    }
    .article-section .steps-list li::before {
        width: 1.6rem;
        height: 1.6rem;
        font-size: 0.7rem;
        left: 0.5rem;
    }
    .article-section .faq-item {
        padding: 1rem 1rem;
    }
    .article-section .faq-item .faq-q {
        font-size: 0.95rem;
    }
    .article-section .faq-item .faq-a {
        font-size: 0.9rem;
        padding-left: 1.2rem;
    }
    .article-section .related-tools .tool-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.8rem;
    }
    .footer-konvto .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .footer-konvto .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }
    .footer-konvto .footer-divider {
        display: none;
    }
    .toast-container-custom {
        bottom: 0.75rem;
        right: 0.75rem;
        left: 0.75rem;
        max-width: none;
    }
    .toast-custom {
        font-size: 0.8rem;
        padding: 0.7rem 1rem;
    }
}

@media (max-width: 576px) {
    .app-wrapper {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }
    .card-custom .card-body {
        padding: 1rem 0.75rem;
    }
    .converter-hero .badge-feature {
        font-size: 0.7rem;
        padding: 0.2rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .app-wrapper {
        margin: 1rem auto;
        padding: 0 0.75rem;
    }
    .converter-hero {
        padding: 1.8rem 1.2rem;
        border-radius: 16px;
    }
    .converter-hero h1 {
        font-size: 1.5rem;
    }
    .converter-hero .hero-icon {
        font-size: 2rem;
    }
    .card-custom .card-body {
        padding: 1.2rem 1rem;
    }
    .drop-zone {
        padding: 2rem 1rem;
    }
    .drop-zone .icon-wrap {
        font-size: 3rem;
    }
    .page-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    .settings-row {
        gap: 1rem;
    }
    .settings-row .form-range {
        width: 120px;
    }
    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .toolbar .left {
        justify-content: center;
    }
    .btn-download-all {
        justify-content: center;
    }
    .toast-container-custom {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    .article-section .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
    .article-section .article-title {
        font-size: 1.5rem;
    }
    .article-section h2 {
        font-size: 1.3rem;
    }
}