/* ── Shared Page Styles ── */
    body { background: var(--gray-50); }
    .tool-hero {
      background: linear-gradient(160deg, #eff6ff 0%, #f0fdf4 100%);
      padding: 100px 0 60px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .tool-hero::before {
      content: '';
      position: absolute;
      top: -120px; left: -120px;
      width: 480px; height: 480px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(59,130,246,.16) 0%, transparent 70%);
      pointer-events: none;
    }
    .tool-hero::after {
      content: '';
      position: absolute;
      bottom: 0; right: -80px;
      width: 360px; height: 360px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(34,197,94,.14) 0%, transparent 70%);
      pointer-events: none;
    }
    .tool-hero__inner { position: relative; z-index: 1; }

    .tool-badge {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--blue-100); color: var(--blue-600);
      border: 1px solid #bfdbfe;
      border-radius: var(--radius-pill);
      padding: 6px 14px; font-size: 13px; font-weight: 600;
      margin-bottom: 20px;
    }
    .tool-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-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;
    }
    .hero-gradient-teal {
      background: linear-gradient(135deg, #0d9488, #22c55e);
      -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: 580px;
      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: #0d9488; }

    /* Workspace */
    .workspace-wrapper {
        max-width: 900px;
        margin: -40px auto 40px;
        position: relative;
        z-index: 10;
        padding: 0 20px;
    }

    .upload-card {
      background: white;
      border: 2px dashed #99f6e4;
      border-radius: 20px;
      padding: 48px 32px;
      text-align: center;
      cursor: pointer;
      transition: all 0.2s;
      box-shadow: 0 10px 30px rgba(13,148,136,.08);
      margin-bottom: 30px;
    }
    .upload-card:hover, .upload-card.dragover {
      border-color: #0d9488;
      background: #f0fdfa;
    }
    .upload-icon-wrap {
      width: 72px; height: 72px;
      background: #ccfbf1; border-radius: 20px;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 20px; color: #0f766e;
    }
    .upload-card h2 { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
    .upload-card p { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; }
    .btn--teal { background: #0d9488; color: white; border-color: #0d9488; }
    .btn--teal:hover { background: #0f766e; border-color: #0f766e; }

    /* Image Grid */
    .image-grid-container {
        background: white;
        border-radius: 20px;
        padding: 24px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        display: none;
        margin-bottom: 30px;
    }
    .image-grid-container.active { display: block; }
    
    .grid-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border);
    }
    .grid-header h3 { font-size: 18px; font-weight: 700; }
    .grid-header .count-badge {
        background: var(--gray-100); padding: 4px 10px; border-radius: 12px; font-size: 13px; font-weight: 600;
    }
    
    .image-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
        margin-bottom: 24px;
    }
    .image-item {
        position: relative;
        background: var(--gray-50);
        border: 1px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
        aspect-ratio: 3/4;
        cursor: grab;
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .image-item:active { cursor: grabbing; transform: scale(0.95); }
    .image-item.dragging { opacity: 0.5; }
    .image-item img {
        width: 100%; height: 100%; object-fit: cover; pointer-events: none;
    }
    .remove-btn {
        position: absolute; top: 6px; right: 6px;
        width: 24px; height: 24px; border-radius: 50%;
        background: rgba(0,0,0,0.6); color: white;
        display: flex; align-items: center; justify-content: center;
        border: none; cursor: pointer; transition: background 0.2s;
    }
    .remove-btn:hover { background: #ef4444; }
    .image-number {
        position: absolute; bottom: 6px; left: 6px;
        background: rgba(0,0,0,0.6); color: white;
        padding: 2px 6px; border-radius: 6px; font-size: 11px; font-weight: 600;
    }

    /* Settings Panel */
    .settings-panel {
        background: var(--gray-50);
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 24px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
    .setting-group { display: flex; flex-direction: column; gap: 8px; }
    .setting-group label { font-size: 13px; font-weight: 600; color: var(--gray-700); }
    .setting-group select, .setting-group input[type="text"] {
        padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 14px;
        background: white; outline: none; transition: border-color 0.2s;
    }
    .setting-group select:focus, .setting-group input[type="text"]:focus { border-color: #0d9488; }
    
    .action-bar {
        display: flex; justify-content: space-between; align-items: center;
        border-top: 1px solid var(--border); padding-top: 20px;
    }
    .add-more-btn {
        background: white; border: 1px solid var(--border); padding: 10px 16px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.2s;
    }
    .add-more-btn:hover { background: var(--gray-50); border-color: var(--gray-300); }

    /* Progress Overlay */
    .progress-overlay {
        position: fixed; inset: 0; background: rgba(255,255,255,0.9); z-index: 100;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        backdrop-filter: blur(4px); display: none;
    }
    .progress-overlay.active { display: flex; }
    .progress-bar-container {
        width: 300px; height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; margin-bottom: 16px;
    }
    .progress-bar {
        width: 0%; height: 100%; background: #0d9488; transition: width 0.2s;
    }
    .progress-text { font-size: 16px; font-weight: 600; color: var(--gray-900); }

    /* Features strip */
    .features-strip {
      background: var(--gray-900);
      padding: 32px 0;
    }
    .features-strip__grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }
    .feature-item {
      display: flex; align-items: center; gap: 12px;
      padding: 12px 24px;
      border-right: 1px solid rgba(255,255,255,.1);
    }
    .feature-item:last-child { border-right: none; }
    .feature-item__icon {
      width: 36px; height: 36px; border-radius: 10px;
      background: rgba(13,148,136,.2);
      display: flex; align-items: center; justify-content: center;
      color: #5eead4; flex-shrink: 0;
    }
    .feature-item h4 { font-size: 14px; font-weight: 600; color: white; margin-bottom: 2px; }
    .feature-item p { font-size: 12px; color: rgba(255,255,255,.55); }

    /* General prose & usecase styles (reused from merge-pdf) */
    .how-section { padding: 80px 0; background: white; }
    .section-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #0d9488; margin-bottom: 12px; }
    .section-title { font-size: clamp(22px, 4vw, 34px); font-weight: 800; color: var(--gray-900); margin-bottom: 16px; letter-spacing: -.5px; }
    .section-desc { font-size: 16px; color: var(--gray-500); max-width: 560px; 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: 32px 24px; transition: all .2s; }
    .step-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
    .step-num { width: 44px; height: 44px; border-radius: 14px; background: #ccfbf1; color: #0f766e; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
    .step-card h3 { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
    .step-card p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }
    
    .usecase-section { padding: 80px 0; background: var(--gray-50); }
    .usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .usecase-card { background: white; border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px; transition: all .2s; text-align: left; }
    .usecase-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }

    .prose-section { padding: 64px 0; background: white; }
    .prose-wrap { max-width: 760px; margin: 0 auto; }
    .prose-wrap h2 { font-size: clamp(18px, 3vw, 26px); font-weight: 800; color: var(--gray-900); margin-bottom: 16px; }
    .prose-wrap h3 { font-size: clamp(16px, 2.5vw, 20px); font-weight: 700; color: var(--gray-800); margin: 28px 0 12px; }
    .prose-wrap p { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-bottom: 18px; }
    
    .cta-band { background: linear-gradient(135deg, #0d9488 0%, #059669 100%); padding: 64px 24px; text-align: center; }
    .cta-band h2 { font-size: clamp(22px, 4vw, 36px); font-weight: 800; color: white; margin-bottom: 12px; }
    .cta-band p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 32px; }

    @media (max-width: 900px) {
      .features-strip__grid { grid-template-columns: repeat(2, 1fr); }
      .feature-item:nth-child(2) { border-right: none; }
      .steps-grid { grid-template-columns: 1fr; }
      .usecase-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 640px) {
      .tool-hero { padding-top: 80px; }
      .upload-card { padding: 32px 20px; border-radius: 20px; }
      .features-strip__grid { grid-template-columns: 1fr 1fr; gap: 0; }
      .feature-item { padding: 14px 16px; border-right: none; }
      .settings-panel { grid-template-columns: 1fr; }
    }
    @media (max-width: 480px) {
      .features-strip__grid { grid-template-columns: 1fr; gap: 0; }
      .feature-item { border-bottom: 1px solid rgba(255,255,255,.1); }
      .feature-item:last-child { border-bottom: none; }
      .tool-hero h1 { font-size: 28px; }
      .trust-row { gap: 8px; }
      .trust-pill { font-size: 11px; padding: 5px 10px; }
      .image-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    }
  


    /* Modern 2026 Editorial Layout */
    .seo-modern { background: #fff; padding: 100px 0; position: relative; }
    .seo-modern::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
    .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(32px, 5vw, 46px); font-weight: 900; color: var(--gray-900); letter-spacing: -1.2px; margin-bottom: 24px; }
    .seo-header p { font-size: clamp(18px, 2.5vw, 22px); 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; }
    @media(max-width: 900px) { .seo-split { grid-template-columns: 1fr; gap: 40px; } }
    .seo-split-content h3 { font-size: 28px; font-weight: 800; color: var(--gray-900); margin-bottom: 24px; letter-spacing: -0.5px; }
    .seo-split-content p { font-size: 17px; color: var(--gray-600); line-height: 1.8; margin-bottom: 20px; }
    
    .mobile-highlight-box { background: linear-gradient(145deg, #0d9488 0%, #0f766e 100%); border-radius: 24px; padding: 48px; color: white; box-shadow: 0 24px 48px rgba(13, 148, 136, 0.25); 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: 28px; font-weight: 900; color: white; margin-bottom: 20px; }
    .mobile-highlight-box p { font-size: 18px; color: rgba(255,255,255,0.9); line-height: 1.7; margin-bottom: 0; }

    .seo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; margin-bottom: 80px; }
    .seo-card { background: var(--gray-50); border: 1px solid var(--border); border-radius: 20px; padding: 40px 32px; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
    .seo-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,0.06); background: white; border-color: #0d9488; }
    .seo-card-icon { width: 56px; height: 56px; border-radius: 14px; background: #ccfbf1; color: #0d9488; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
    .seo-card h3 { font-size: 22px; font-weight: 800; color: var(--gray-900); margin-bottom: 16px; }
    .seo-card p { font-size: 16px; color: var(--gray-600); line-height: 1.7; margin-bottom: 0; }
    
    .faq-modern { background: white; border: 1px solid var(--border); border-radius: 24px; padding: 48px; }
    .faq-modern h3 { font-size: 24px; font-weight: 800; margin-bottom: 32px; border-bottom: 2px solid var(--gray-100); padding-bottom: 16px;}
    .faq-item { margin-bottom: 24px; }
    .faq-item h4 { font-size: 18px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
    .faq-item p { font-size: 16px; color: var(--gray-600); line-height: 1.6; margin-bottom: 0; }
