:root { --tool: #e11d48; --tool-dark: #be123c; --tool-light: #fff1f2; --tool-border: #fecdd3; }
    .tool-hero { background: var(--gray-50); padding: 100px 0 60px; text-align: center; position: relative; overflow: hidden; }
    .tool-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--tool-light); color: var(--tool-dark); border: 1px solid var(--tool-border); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
    .tool-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); }
    .tool-hero h1 { font-size: clamp(2rem, 5.5vw, 3.5rem); font-weight: 900; line-height: 1.1; color: var(--gray-900); letter-spacing: -1.5px; margin-bottom: 18px; }
    .text-gradient { background: linear-gradient(135deg, var(--tool) 0%, #f43f5e 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .tool-hero p.subtitle { font-size: clamp(15px, 2.5vw, 18px); color: var(--gray-600); max-width: 600px; margin: 0 auto 28px; line-height: 1.65; }
    .trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
    .trust-pill { display: inline-flex; align-items: center; gap: 6px; background: white; border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 7px 14px; font-size: 13px; font-weight: 500; color: var(--gray-700); box-shadow: var(--shadow-sm); }
    .trust-pill svg { color: var(--tool); }

    .app-container { max-width: 960px; margin: 0 auto; background: white; border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 10px 40px rgba(225,29,72,0.06); overflow: hidden; margin-bottom: 40px; }
    .upload-area { margin: 24px; padding: 60px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed var(--tool-border); border-radius: 20px; text-align: center; cursor: pointer; transition: all 0.2s; background: var(--tool-light); }
    .upload-area:hover, .upload-area.dragover { background: #ffe4e6; border-color: var(--tool); }
    .upload-icon-wrap { width: 72px; height: 72px; background: #ffe4e6; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--tool); }
    .upload-area h3 { font-size: 20px; font-weight: 800; color: var(--gray-900); margin-bottom: 8px; }
    .upload-area p { color: var(--gray-500); margin-bottom: 24px; font-size: 14px; }
    .upload-area .btn { background: var(--tool); color: white; padding: 14px 32px; border-radius: 12px; font-weight: 600; display: inline-block; font-size: 16px; }

    .workspace { display: none; padding: 24px; }
    .toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: var(--gray-50); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin-bottom: 24px; }
    .toolbar__info { font-size: 14px; font-weight: 600; color: var(--gray-700); }
    .toolbar__info b { color: var(--tool-dark); }
    .toolbar__btn { background: white; border: 1px solid var(--border); color: var(--gray-600); border-radius: 10px; padding: 9px 14px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font); }
    .toolbar__btn:hover { border-color: var(--tool); color: var(--tool-dark); }
    .pages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; max-height: 560px; overflow-y: auto; padding: 4px; }
    .page-thumb { position: relative; border: 1px solid var(--border); border-radius: 12px; background: var(--gray-50); padding: 12px 10px 36px; cursor: pointer; transition: all 0.15s; }
    .page-thumb:hover { border-color: var(--tool); box-shadow: var(--shadow-md); }
    .page-thumb__cbox { height: 160px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
    .page-thumb canvas { display: block; max-width: 140px; max-height: 140px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); background: white; transition: opacity 0.15s; }
    .page-thumb__num { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 600; color: var(--gray-500); }
    .page-thumb__check { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: white; border: 2px solid var(--gray-300); display: flex; align-items: center; justify-content: center; color: white; transition: all 0.15s; }
    .page-thumb.marked { border-color: var(--tool); background: var(--tool-light); }
    .page-thumb.marked canvas { opacity: 0.35; }
    .page-thumb.marked .page-thumb__check { background: var(--tool); border-color: var(--tool); }
    .page-thumb__overlay { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; pointer-events: none; }
    .page-thumb.marked .page-thumb__overlay { display: flex; }
    .page-thumb__overlay span { background: var(--tool); color: white; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.04em; }

    .action-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
    .file-name { font-size: 14px; color: var(--gray-600); font-weight: 600; display: flex; align-items: center; gap: 8px; }
    .btn-process { padding: 14px 28px; background: linear-gradient(135deg, var(--tool), var(--tool-dark)); color: white; border: none; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; font-family: var(--font); }
    .btn-process:hover { opacity: 0.92; } .btn-process:disabled { opacity: 0.5; cursor: not-allowed; }
    .btn-reset { padding: 12px 20px; background: white; color: var(--gray-600); border: 1px solid var(--border); border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; }
    .btn-reset:hover { background: var(--gray-50); color: var(--gray-900); }
    .loading-state { display: none; flex-direction: column; align-items: center; justify-content: center; padding: 80px 20px; }
    .spinner { width: 44px; height: 44px; border: 4px solid var(--tool-light); border-top-color: var(--tool); border-radius: 50%; animation: spin 0.8s linear infinite; }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* Shared editorial styles */
    .how-section { padding: 80px 0; background: white; border-top: 1px solid var(--border); }
    .section-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tool-dark); margin-bottom: 12px; }
    .section-title { font-size: clamp(24px, 5vw, 36px); font-weight: 800; color: var(--gray-900); margin-bottom: 16px; letter-spacing: -.8px; }
    .section-desc { font-size: 16px; color: var(--gray-500); max-width: 580px; margin: 0 auto 56px; line-height: 1.65; }
    .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .step-card { background: var(--gray-50); border: 1px solid var(--border); border-radius: 20px; padding: 36px 28px; transition: all .25s ease; text-align: left; }
    .step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); background: white; border-color: var(--tool-border); }
    .step-num { width: 48px; height: 48px; border-radius: 14px; background: var(--tool-light); color: var(--tool-dark); font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
    .step-card h3 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 12px; }
    .step-card p { font-size: 14.5px; color: var(--gray-500); line-height: 1.6; }
    .seo-modern { background: #fff; padding: 100px 0; position: relative; border-top: 1px solid var(--border); }
    .seo-container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
    .seo-header { text-align: center; margin-bottom: 72px; }
    .seo-header h2 { font-size: clamp(28px, 5vw, 42px); font-weight: 900; color: var(--gray-900); letter-spacing: -1px; margin-bottom: 24px; }
    .seo-header p { font-size: clamp(16px, 2.5vw, 20px); color: var(--gray-500); line-height: 1.6; max-width: 760px; margin: 0 auto; }
    .seo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 80px; text-align: left; }
    .seo-split-content h3 { font-size: 26px; font-weight: 800; color: var(--gray-900); margin-bottom: 24px; letter-spacing: -0.5px; }
    .seo-split-content p { font-size: 16px; color: var(--gray-600); line-height: 1.8; margin-bottom: 20px; }
    .mobile-highlight-box { background: linear-gradient(145deg, var(--tool) 0%, #f43f5e 100%); border-radius: 24px; padding: 48px; color: white; box-shadow: 0 24px 48px rgba(225,29,72,0.22); position: relative; overflow: hidden; }
    .mobile-highlight-box::after { content: ''; position: absolute; right: -50px; bottom: -50px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.15), transparent); }
    .mobile-highlight-box h3 { font-size: 26px; font-weight: 900; color: white; margin-bottom: 20px; }
    .mobile-highlight-box p { font-size: 17px; color: rgba(255,255,255,0.92); line-height: 1.7; margin-bottom: 0; }
    .faq-modern { background: white; border: 1px solid var(--border); border-radius: 24px; padding: 48px; text-align: left; }
    .faq-modern h3 { font-size: 22px; font-weight: 800; margin-bottom: 32px; border-bottom: 2px solid var(--gray-100); padding-bottom: 16px; color: var(--gray-900); }
    .faq-item { margin-bottom: 28px; } .faq-item:last-child { margin-bottom: 0; }
    .faq-item h4 { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
    .faq-item p { font-size: 15px; color: var(--gray-600); line-height: 1.6; margin-bottom: 0; }
    .features-strip { background: var(--gray-900); padding: 40px 0; }
    .features-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .feature-item { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-right: 1px solid rgba(255,255,255,0.1); text-align: left; }
    .feature-item:last-child { border-right: none; }
    .feature-item__icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(225,29,72,0.20); display: flex; align-items: center; justify-content: center; color: #fda4af; flex-shrink: 0; }
    .feature-item h4 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 2px; }
    .feature-item p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 0; line-height: 1.4; }
    .cta-band { background: linear-gradient(135deg, var(--tool-dark) 0%, #f43f5e 100%); padding: 80px 24px; text-align: center; color: white; position: relative; overflow: hidden; }
    .cta-band h2 { font-size: clamp(28px, 5vw, 42px); font-weight: 900; color: white; margin-bottom: 16px; letter-spacing: -1px; }
    .cta-band p { font-size: 18px; color: rgba(255,255,255,0.92); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
    .btn--white { background: white; color: var(--tool-dark); border: none; font-weight: 700; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
    .btn--white:hover { background: #f8fafc; transform: translateY(-2px); }
    @media (max-width: 1024px) { .features-strip__grid { grid-template-columns: repeat(2, 1fr); } .feature-item:nth-child(2) { border-right: none; } }
    @media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; gap: 20px; } .seo-split { grid-template-columns: 1fr; gap: 40px; } .mobile-highlight-box { padding: 32px; } }
    @media (max-width: 640px) { .features-strip__grid { grid-template-columns: 1fr; } .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); } .feature-item:last-child { border-bottom: none; } }
