body.site-modern {
    --accent: #dc2626;
    --accent-dark: #b91c1c;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    margin: 0;
    background: #f9fafb;
    color: var(--ink);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

.site-modern :where(h1, h2, h3, h4, p, a, button, input, select, label, span, li, div) {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-modern * { box-sizing: border-box; }
.site-modern [hidden] { display: none !important; }
.site-modern a { text-decoration: none; }
.site-modern button, .site-modern a, .site-modern input { -webkit-tap-highlight-color: transparent; }
.site-modern :where(button, a, input, select):focus-visible { outline: 3px solid #fca5a5; outline-offset: 4px; }
.site-modern :where(h1, h2, h3) { color: var(--ink); text-align: inherit; }
.site-modern h2 { font-weight: 700; }

.kingdom-sign-in { white-space: nowrap; }
.kingdom-account { position: relative; font-size: 11px; }
.kingdom-account summary { cursor: pointer; display: flex; gap: 6px; align-items: center; white-space: nowrap; list-style: none; }
.kingdom-admin { color: #047857; background: #ecfdf5; border-radius: 5px; padding: 2px 5px; font-size: 9px; font-weight: 700; }
.kingdom-account-panel { position: absolute; right: 0; min-width: 230px; max-width: min(300px, calc(100vw - 40px)); padding: 16px; margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px #00000012; z-index: 1100; overflow-wrap: anywhere; }
.kingdom-account-panel strong, .kingdom-account-panel span, .kingdom-account-panel small { display: block; }
.kingdom-account-panel small { color: var(--muted); }
.kingdom-account-panel a { display: block; margin: 12px 0; color: var(--accent); }
.kingdom-account-panel button { padding: 8px 12px; margin: 0; font-size: 11px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); cursor: pointer; box-shadow: none; }
.kingdom-auth-notice { margin: 0; padding: 12px 20px; background: #ecfdf5; color: #065f46; text-align: center; font-size: 12px; }
.kingdom-login { max-width: 540px; margin: 60px auto; padding: 35px 25px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.kingdom-login-icon { font-size: 30px; color: #047857; }
.kingdom-login h1 { font-size: 25px; line-height: 1.4; }
.kingdom-login p { font-size: 13px; color: var(--muted); }
.kingdom-login .kingdom-login-detail { font-size: 11px; }
.kingdom-google { display: inline-flex; gap: 12px; align-items: center; margin: 16px 0; }
.kingdom-public-link { display: inline-block; color: var(--accent); margin-top: 10px; font-size: 12px; }
.kingdom-login-error { padding: 12px; border-radius: 9px; background: #fef2f2; color: #991b1b; font-size: 12px; }
@media (max-width: 1100px) {
    .kingdom-account-panel { position: static; margin: 8px 0; max-width: 100%; min-width: 0; }
}
@media (max-width: 600px) {
    .kingdom-login { margin: 30px 16px; padding: 25px 18px; }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #f1f2f4;
    box-shadow: 0 4px 18px rgba(31, 41, 55, 0.04);
}

.header-inner {
    min-height: 78px;
    max-width: 1248px;
    margin: auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-brand img { display: block; width: 50px; height: 50px; object-fit: contain; }
.brand-name { color: var(--ink); font-size: 18px; font-weight: 800; white-space: nowrap; }
.site-navigation { display: flex; align-items: center; gap: 23px; margin-left: auto; }
.site-navigation a { color: #4b5563; font-size: 13px; font-weight: 600; white-space: nowrap; }
.site-navigation a:hover, .site-navigation a[aria-current="page"] { color: var(--accent); }

.tools-menu-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 9px 0; border: 0; background: transparent; color: #4b5563; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.tools-menu-toggle:hover, .tools-menu-toggle[aria-expanded="true"] { color: var(--accent); }
.tools-menu-toggle i { font-size: 10px; transition: transform 0.15s; }
.tools-menu-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.tools-mega-menu { position: absolute; top: calc(100% - 1px); left: max(16px, calc((100% - 1200px) / 2)); width: min(1200px, calc(100vw - 32px)); max-height: calc(100dvh - 100px); padding: 22px 26px 16px; overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--line); border-radius: 0 0 16px 16px; box-shadow: 0 16px 36px rgba(31, 41, 55, 0.14); }
.tools-menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; }
.tools-menu-group { min-width: 0; --tool-color: #de6b52; }
.tools-menu-optimize { --tool-color: #65a34c; }
.tools-menu-to-pdf { --tool-color: #b77918; }
.tools-menu-from-pdf { --tool-color: #4e89b8; }
.tools-menu-edit { --tool-color: #aa5b9d; }
.tools-menu-security { --tool-color: #4778b1; }
.tools-menu-ai { --tool-color: #b46a24; grid-column: 1 / -1; }
.tools-menu-more { --tool-color: #059669; grid-column: 1 / -1; }
.tools-menu-group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 7px 8px; list-style: none; color: #6b7280; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.tools-menu-group summary::-webkit-details-marker { display: none; }
.tools-menu-group summary > i { display: none; }
.tools-menu-group ul { margin: 0; padding: 0; list-style: none; }
.tools-menu-ai ul, .tools-menu-more ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 28px; }
.site-navigation .tools-menu-item { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 7px; border-radius: 7px; color: #374151; font-size: 12px; line-height: 1.4; white-space: normal; }
.site-navigation a.tools-menu-item:hover { background: #fef2f2; color: var(--accent); }
.tools-menu-icon { width: 20px; flex-shrink: 0; text-align: center; font-size: 15px; color: var(--tool-color); }
.tools-menu-copy { min-width: 0; }
.tools-menu-copy small { display: block; margin-top: 3px; color: #6b7280; font-size: 10px; font-weight: 400; line-height: 1.4; }
.tools-menu-planned { color: #6b7280 !important; font-weight: 500; }
.tools-menu-planned .tools-menu-icon { opacity: 0.65; }
.tools-menu-badge { margin-left: auto; padding: 2px 5px; flex-shrink: 0; background: #f3f4f6; border-radius: 4px; color: #6b7280; font-size: 9px; font-weight: 500; white-space: nowrap; }
.tools-menu-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding: 14px 7px 0; border-top: 1px solid var(--line); }
.tools-menu-footer a { color: var(--accent); font-size: 12px; }
.tools-menu-footer a i { margin-left: 5px; }
.tools-menu-footer p { margin: 0; color: #6b7280; font-size: 10px; }

.site-modern .button-primary, .site-modern .button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.site-modern .button-primary { color: #fff; background: var(--accent); box-shadow: 0 8px 24px rgba(220, 38, 38, 0.14); }
.site-modern .button-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.site-modern .button-secondary { color: var(--accent); background: #fff; }
.site-modern .button-secondary:hover { background: #fef2f2; }
.site-modern .header-action { min-height: 42px; padding: 10px 17px; font-size: 12px; flex-shrink: 0; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; color: var(--ink); font-size: 20px; cursor: pointer; }

.landing-hero { background: radial-gradient(ellipse at 50% 18%, #fff0ef 0, #fff 58%); padding: 68px 24px 60px; }
.hero-inner { max-width: 980px; margin: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: var(--accent-dark); background: #fff5f5; border: 1px solid #fecaca; border-radius: 999px; padding: 7px 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.landing-hero h1 { margin: 25px 0 20px; font-size: clamp(38px, 5.8vw, 64px); font-weight: 800; line-height: 1.12; letter-spacing: -0.05em; text-align: center; }
.landing-hero h1 span, .converter-hero h1 { background: linear-gradient(135deg, #1a1a2e, #b91c1c 40%, #dc2626 70%, #ea580c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-description { max-width: 640px; margin: 0 auto; font-size: 16px; color: var(--muted); line-height: 1.8; }
.hero-formats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.format-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 9px; font-size: 12px; font-weight: 600; }
.format-pdf { color: #b91c1c; background: #fee2e2; }
.format-xlsx { color: #15803d; background: #dcfce7; }
.format-json { color: #7e22ce; background: #f3e8ff; }
.format-csv { color: #b45309; background: #fef3c7; }
.format-xml { color: #1d4ed8; background: #dbeafe; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero-benefits { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 26px; color: var(--muted); font-size: 11px; }
.hero-benefits i { margin-right: 5px; color: #16a34a; }

.privacy-banner { display: flex; align-items: center; gap: 20px; width: calc(100% - 48px); max-width: 1160px; margin: 28px auto; padding: 26px 32px; background: linear-gradient(120deg, #047857, #15803d 65%, #166534); color: #fff; border-radius: 22px; box-shadow: 0 14px 32px rgba(21, 128, 61, 0.12); }
.privacy-banner-icon { display: grid; place-items: center; width: 52px; height: 52px; background: #dcfce7; color: #047857; border-radius: 16px; font-size: 24px; flex-shrink: 0; }
.site-modern .privacy-banner h2 { margin: 0 0 4px; color: #fff; font-size: 19px; line-height: 1.4; }
.privacy-banner p { margin: 0; font-size: 12px; color: #dcfce7; }
.privacy-badge { margin-left: auto; padding: 8px 13px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }

.site-modern .top-ads, .site-modern .bottom-ads { width: min(970px, calc(100% - 48px)); margin: 28px auto; }
.site-modern .top-ads center > div, .site-modern .bottom-ads center > div { max-width: 100%; border-radius: 14px; overflow: hidden; opacity: 0.8; }
.tools-section, .how-it-works { max-width: 1248px; margin: 0 auto; padding: 40px 24px; scroll-margin-top: 90px; text-align: left; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 26px; }
.section-kicker { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; }
.site-modern .section-heading h2 { margin: 7px 0 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.25; letter-spacing: -0.03em; }
.section-heading > p { max-width: 350px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.catalog-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; align-items: center; margin-bottom: 14px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-filter { min-height: 40px; padding: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; color: #4b5563; cursor: pointer; }
.catalog-filter:hover { border-color: #fca5a5; color: var(--accent); }
.catalog-filter.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.catalog-filter span { margin-left: 5px; font-size: 10px; opacity: 0.8; }
.catalog-search { display: flex; align-items: center; gap: 10px; width: 280px; min-height: 44px; margin: 0; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: #9ca3af; }
.catalog-search input { width: 100%; min-width: 0; padding: 11px 0; border: 0; background: transparent; color: var(--ink); font-size: 12px; }
.catalog-search input:focus { outline: 0; }
.catalog-search:focus-within { border-color: #f87171; box-shadow: 0 0 0 3px #fee2e2; }
.catalog-status { margin: 0 0 17px; color: var(--muted); font-size: 11px; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.catalog-card { display: flex; flex-direction: column; min-height: 216px; padding: 23px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 4px 10px rgba(31, 41, 55, 0.025); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.catalog-card:hover { transform: translateY(-5px); border-color: #fca5a5; box-shadow: 0 12px 28px rgba(31, 41, 55, 0.08); }
.card-top { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.card-format { padding: 7px 9px; border-radius: 8px; font-size: 10px; font-weight: 800; letter-spacing: 0.03em; }
.card-direction { color: #9ca3af; font-size: 11px; }
.card-tool-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 11px; background: #fef2f2; color: #dc2626; font-size: 21px; }
.tool-icon-workflow, .tool-icon-to-pdf { background: #ecfdf5; color: #059669; }
.tool-icon-organize { background: #fff7ed; color: #ea580c; }
.tool-icon-layout { background: #eff6ff; color: #2563eb; }
.tool-icon-edit { background: #fdf2f8; color: #db2777; }
.tool-icon-metadata { background: #f5f3ff; color: #7c3aed; }
.tool-icon-from-pdf { background: #f0f9ff; color: #0284c7; }
.card-format i { margin-right: 4px; font-size: 13px; }
.workflow-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; max-width: 1160px; margin: 40px auto; padding: 0 24px; }
.workflow-feature-card { overflow: hidden; border: 1px solid #f1ddd9; border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(220, 38, 38, 0.06); }
.site-modern .workflow-feature-card h3 { margin: 0; padding: 17px 20px; background: #dc2626; color: #fff; font-size: 13px; }
.workflow-feature-card h3 i { margin-right: 8px; }
.workflow-feature-card ul { margin: 0; padding: 18px 22px; list-style: none; }
.workflow-feature-card li { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid #f1f2f4; color: #374151; font-size: 12px; }
.workflow-feature-card li:last-child { border: 0; }
.workflow-feature-card li i { width: 30px; flex-shrink: 0; color: #dc2626; text-align: center; }
.workflow-feature-copy h2 { margin: 14px 0; font-size: 32px; line-height: 1.3; }
.workflow-feature-copy p { margin: 0 0 24px; color: #6b7280; font-size: 13px; line-height: 1.8; }
.site-modern .catalog-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.catalog-card p { margin: 0; font-size: 11px; line-height: 1.7; color: var(--muted); }
.card-action { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 20px; font-size: 11px; font-weight: 700; color: var(--accent); }
.catalog-empty { padding: 28px; border: 1px dashed #fca5a5; border-radius: 14px; background: #fff; color: var(--muted); text-align: center; font-size: 13px; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.workflow-grid article { padding: 26px; border: 1px solid var(--line); background: #fff; border-radius: 16px; }
.step-number { display: inline-block; padding: 5px 11px; margin-bottom: 15px; color: var(--accent); background: #fef2f2; border-radius: 8px; font-size: 13px; font-weight: 800; }
.site-modern .workflow-grid h3 { margin: 0 0 9px; font-size: 17px; font-weight: 700; }
.workflow-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.converter-hero { padding: 40px 24px 20px; max-width: 1040px; margin: auto; text-align: center; }
.back-to-tools { display: block; margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.back-to-tools i { margin-right: 7px; }
.converter-hero h1 { margin: 18px 0 10px; font-size: clamp(28px, 4.5vw, 46px); font-weight: 800; line-height: 1.2; letter-spacing: -0.035em; text-align: center; }
.converter-hero > p { color: var(--muted); font-size: 14px; }
.site-modern #section-tool { width: calc(100% - 48px); max-width: 1140px; margin: 30px auto; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 32px rgba(31, 41, 55, 0.045); color: var(--ink); }
.conversion-preset { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 0 0 22px; }
.conversion-preset > div { display: flex; align-items: center; gap: 13px; color: #9ca3af; }
.format-label { padding: 6px 12px; border-radius: 8px; background: #fef2f2; color: var(--accent-dark); font-size: 11px; font-weight: 800; }
.conversion-preset p { margin: 0; color: var(--muted); font-size: 12px; }
.conversion-preset > a { font-size: 11px; color: var(--accent); font-weight: 600; }
.site-modern .tabs { margin-bottom: 26px; background: #f3f4f6; border-radius: 12px; border: 0; display: flex; padding: 5px; }
.site-modern .tab-item { flex: 1; padding: 11px 12px; border: 0; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); }
.site-modern .tab-item.active { background: #fff; color: var(--accent); box-shadow: 0 2px 8px rgba(31, 41, 55, 0.06); border: 0; }
.site-modern .tab-item::before, .site-modern .tab-item::after { background-color: var(--accent); }
.site-modern .tab-content { padding: 0; }
.site-modern .tab-content > h2, .site-modern #uploadForm > h2 { margin: 0 0 16px; color: var(--ink); font-size: 16px; font-weight: 700; text-align: left; }
.site-modern .drag-area { min-height: 250px; height: 320px; margin: 0; border: 2px dashed #d1d5db; border-radius: 16px; background: #fafafa; }
.site-modern .drag-area::before { display: none; }
.site-modern .drag-area:hover, .site-modern .drag-area.active { border-color: #f87171; background: #fff5f5; }
.site-modern .drag-area .icon { margin-bottom: 10px; color: var(--accent); font-size: 44px; }
.site-modern .drag-area .header { margin-bottom: 4px; color: var(--ink); font-size: 19px; }
.site-modern .drag-area .button { color: var(--accent); cursor: pointer; }
.site-modern .drag-area .support { padding: 0 12px; text-align: center; color: #9ca3af; font-size: 10px; letter-spacing: 0.03em; }
.site-modern .button-container { display: flex; justify-content: center; gap: 12px; margin-top: 21px; }
.site-modern :where(.reset, .example, #saveButton, #clearActivityButton) { margin: 0; padding: 9px 19px; border: 0; border-radius: 9px; color: #fff; background: var(--accent); font-size: 12px; font-weight: 600; cursor: pointer; }
.site-modern .example { background: #1f2937; }
.site-modern .reset { background: #fff; color: #4b5563; border: 1px solid var(--line); }
.site-modern .progress-container { margin-top: 18px; }
.site-modern .progress { background: var(--accent); }
.site-modern .progress-percent { color: var(--muted); }
.site-modern #fileList > li { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 14px 16px; background: #fafafa; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; }
.site-modern .file-action-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.site-modern :where(.convert-button, .remove-button) { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 36px; min-height: 34px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.site-modern .convert-button.recommended { background: var(--accent); border-color: var(--accent); color: #fff; font-size: 11px; font-weight: 700; }
.site-modern .convert-button.recommended i { color: #fff; }
.site-modern .convert-button:disabled { opacity: 0.5; cursor: wait; }
.site-modern .sort-dropdown select { border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.site-modern #deleteAllButton { color: #6b7280; }
.site-modern #section-tool.dark-mode { background: #222; color: #fff; border-color: #374151; }
.site-modern #section-tool.dark-mode :where(h2, label) { color: #e5e7eb; }
.site-modern #section-tool.dark-mode .tab-content > h2 { color: #fff; }
.site-modern #activityContainer { border: 1px solid var(--line); border-radius: 12px; background: #f9fafb; padding: 12px; color: var(--ink); }
.site-modern #activityItems { padding-left: 20px; font-size: 12px; }
.site-modern #title-activity { margin-top: 25px; font-size: 16px; text-align: left; }
.site-modern #container-color { width: 48px; height: 32px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 2px; }
.site-modern #clearActivityButton { position: static; margin-top: 12px; }
.site-modern #error-message:not(:empty) { margin-top: 18px; padding: 12px 16px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; color: #b91c1c; font-size: 12px; }
.site-modern .post, .site-modern .main-cont1 { width: calc(100% - 48px); max-width: 1140px; padding: 30px; margin: 30px auto; border: 1px solid var(--line); border-radius: 18px; box-shadow: none; }
.site-modern .post h1 { font-size: 24px; line-height: 1.4; margin-bottom: 14px; }
.site-modern .post h2 { margin: 20px 0 10px; font-size: 16px; color: var(--accent-dark); text-align: left; }
.site-modern .post p, .site-modern .main-cont1 p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.site-modern .hero-section1 { background: #fff; }
.site-modern .gradient-background1 { background: linear-gradient(120deg, #fff, #fff1f2); }
.site-modern .text1 h1 { color: var(--ink); font-size: 34px; }
.site-modern .text1 p { color: var(--muted); }

.site-footer { margin-top: 35px; padding: 35px 24px 20px; background: #fff; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; max-width: 1200px; margin: auto; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 18px; font-weight: 800; }
.footer-brand img { display: block; width: 50px; height: 50px; object-fit: contain; }
.footer-inner p { margin: 5px 0 0; font-size: 11px; color: var(--muted); }
.footer-inner nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.footer-inner nav a { color: var(--muted); font-size: 12px; }
.footer-inner nav a:hover { color: var(--accent); }
.footer-copyright { margin: 26px auto 0; padding-top: 20px; border-top: 1px solid #f3f4f6; text-align: center; color: #9ca3af; font-size: 10px; }
.site-modern #backToTopBtn { display: none; position: fixed; bottom: 22px; right: 22px; z-index: 90; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(220, 38, 38, 0.2); cursor: pointer; }

@media (max-width: 1200px) {
    .header-inner { gap: 20px; }
    .site-navigation { gap: 14px; }
    .privacy-banner { margin-left: 24px; margin-right: 24px; }
    .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
    .workflow-feature { gap: 24px; }
    .header-inner { gap: 16px; min-height: 70px; }
    .header-action { margin-left: auto; }
    .menu-toggle { display: block; flex-shrink: 0; }
    .site-navigation { display: none; position: absolute; top: calc(100% + 8px); left: 24px; right: 24px; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(31, 41, 55, 0.12); }
    .site-navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .site-navigation a { padding: 11px 14px; }
    .site-navigation { max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; }
    .tools-menu-root { width: 100%; }
    .tools-menu-toggle { justify-content: space-between; width: 100%; padding: 11px 14px; }
    .tools-mega-menu { position: static; width: 100%; max-height: none; padding: 4px 10px 12px; overflow: visible; border-radius: 10px; box-shadow: none; }
    .tools-menu-grid, .tools-menu-ai ul, .tools-menu-more ul { display: block; }
    .tools-menu-group { border-bottom: 1px solid #f1f2f4; }
    .tools-menu-group summary { padding: 13px 7px; color: #374151; font-size: 12px; letter-spacing: 0; text-transform: none; cursor: pointer; }
    .tools-menu-group summary > i { display: block; color: #6b7280; font-size: 10px; transition: transform 0.15s; }
    .tools-menu-group[open] summary > i { transform: rotate(180deg); }
    .tools-menu-group ul { padding-bottom: 8px; }
    .site-navigation .tools-menu-item { min-height: 42px; }
    .tools-menu-footer { align-items: flex-start; flex-direction: column; padding-left: 0; padding-right: 0; }
    .tools-menu-footer a { padding: 5px 7px; }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .section-heading > p { max-width: none; }
    .privacy-badge { display: none; }
}

@media (max-width: 600px) {
    .workflow-feature { grid-template-columns: minmax(0, 1fr); padding: 0 16px; }
    .workflow-feature-copy h2 { font-size: 26px; }
    .header-inner { padding: 10px 16px; gap: 10px; }
    .site-brand { gap: 8px; }
    .site-brand img { width: 32px; height: 32px; }
    .site-brand .brand-name { font-size: 13px; }
    .site-modern .header-action { min-height: 38px; padding: 8px 11px; font-size: 10px; gap: 7px; }
    .menu-toggle { width: 36px; height: 36px; font-size: 16px; }
    .site-navigation { left: 16px; right: 16px; }
    .landing-hero { padding: 42px 18px 36px; }
    .landing-hero h1 { font-size: 39px; }
    .eyebrow { font-size: 10px; padding: 7px 11px; }
    .hero-description { font-size: 13px; }
    .hero-benefits { gap: 13px; font-size: 10px; }
    .hero-formats { gap: 7px; }
    .format-pill { padding: 6px 9px; font-size: 10px; }
    .privacy-banner { width: calc(100% - 32px); margin: 20px 16px; padding: 22px 18px; gap: 14px; border-radius: 16px; }
    .site-modern .privacy-banner h2 { font-size: 15px; }
    .privacy-banner p { font-size: 10px; }
    .privacy-banner-icon { width: 40px; height: 40px; font-size: 18px; }
    .tools-section, .how-it-works { padding: 28px 16px; }
    .catalog-toolbar { gap: 13px; }
    .catalog-search { width: 100%; }
    .catalog-filter { padding: 7px 12px; font-size: 10px; min-height: 36px; }
    .catalog-filters { gap: 6px; }
    .catalog-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .catalog-card { min-height: 190px; }
    .workflow-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .site-modern .top-ads, .site-modern .bottom-ads { width: calc(100% - 32px); margin: 20px auto; }
    .site-modern #section-tool { width: calc(100% - 32px); padding: 16px; margin: 20px auto; border-radius: 16px; }
    .site-modern .tab-item { padding: 9px 4px; font-size: 11px; }
    .site-modern .drag-area { height: 280px; }
    .site-modern .drag-area .header { font-size: 17px; }
    .site-modern .drag-area .support { font-size: 9px; max-width: 260px; }
    .converter-hero { padding: 26px 16px 12px; }
    .converter-hero h1 { font-size: 29px; }
    .conversion-preset p { width: 100%; order: 3; font-size: 11px; }
    .site-modern .post, .site-modern .main-cont1 { width: calc(100% - 32px); padding: 20px; }
    .site-modern .post h1 { font-size: 20px; }
    .footer-inner { flex-direction: column; gap: 18px; }
    .footer-inner nav { gap: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    .site-modern *, .site-modern *::before, .site-modern *::after { transition: none !important; scroll-behavior: auto !important; }
}
