:root { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: #0f172a; }
body { margin: 0; background: #f5f7fb; line-height: 1.7; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.w2p-hero { background: linear-gradient(120deg, #0f6efc, #5b1bff); color: #fff; padding: 56px 0 48px; }
.w2p-hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.w2p-subtitle { margin: 0 0 12px; opacity: 0.95; font-size: 1.15rem; }
.wc-eyebrow { letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.78rem; margin: 0 0 8px; }
.wc-bullets { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.wc-bullets span { padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); font-weight: 700; }
.wc-hero-card { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 20px; padding: 22px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18); }
.wc-hero-badge { display: inline-block; background: rgba(255, 255, 255, 0.25); border-radius: 12px; padding: 6px 12px; font-weight: 700; }

.w2p-main { padding: 42px 0 64px; }
.w2p-grid { display: grid; gap: 20px; }
.card { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08); border: 1px solid #e2e8f0; }
.card-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.muted { color: #64748b; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 6px 10px; border-radius: 999px; background: #eef2ff; color: #1d4ed8; font-weight: 700; font-size: 0.9rem; }
.label-row { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.primary-btn, .secondary-btn, .ghost-btn { border: none; border-radius: 12px; padding: 12px 16px; font-weight: 700; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.primary-btn { background: linear-gradient(135deg, #1d4ed8, #2563eb); color: #fff; box-shadow: 0 15px 40px rgba(37, 99, 235, 0.35); }
.secondary-btn { background: #fff; border: 1px solid #dbeafe; color: #1e1b4b; }
.ghost-btn { background: #fff; border: 1px solid #dbeafe; color: #1d4ed8; }
.ghost-btn.sm { padding: 8px 10px; font-size: 0.9rem; }
.primary-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.primary-btn:hover, .secondary-btn:hover, .ghost-btn:hover { transform: translateY(-1px); }

.w2p-tool { padding: 24px; }
.w2p-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); gap: 18px; align-items: start; }
.w2p-upload-col { display: flex; flex-direction: column; gap: 14px; }
.w2p-dropzone { border: 1.5px dashed #94a3b8; border-radius: 16px; padding: 20px; text-align: center; background: #f8fafc; display: grid; gap: 6px; justify-items: center; }
.w2p-dropzone.dragging { border-color: #2563eb; background: #eef2ff; }
.w2p-dropzone input[type="file"] { display: none; }
.drop-title { margin: 0; font-weight: 800; font-size: 1.05rem; }
.w2p-file-meta { border-radius: 14px; padding: 12px 14px; background: rgba(15, 23, 42, 0.04); font-size: 0.95rem; color: #0f172a; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.stack-on-mobile { flex-wrap: wrap; }
.w2p-progress { border-radius: 14px; border: 1px solid #dbeafe; padding: 12px; display: grid; gap: 6px; background: #fff; }
.w2p-progress-track { width: 100%; height: 8px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.w2p-progress-bar { width: 0%; height: 100%; background: linear-gradient(135deg, #1d4ed8, #7c3aed); border-radius: inherit; transition: width 0.3s ease; }
.w2p-progress[hidden] { display: none !important; }
.w2p-alert { border-radius: 14px; padding: 12px; background: #fee2e2; color: #b91c1c; font-weight: 700; }

.w2p-result { border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px; background: #f8fafc; display: grid; gap: 8px; }
.w2p-result[hidden] { display: none !important; }
.w2p-result-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.w2p-pdf-icon { width: 56px; height: 56px; border-radius: 14px; background: #fee2e2; color: #b91c1c; display: grid; place-items: center; font-weight: 800; }
.w2p-download-btn { border: none; border-radius: 999px; background: linear-gradient(135deg, #1d4ed8, #2563eb); color: #fff; padding: 10px 16px; font-weight: 700; cursor: pointer; animation: w2p-bounce 1.5s infinite; }
.w2p-download-btn:disabled { opacity: 0.6; cursor: not-allowed; animation: none; }
.w2p-success { margin: 0; color: #15803d; font-weight: 600; }
.w2p-result .ghost-btn { justify-self: start; }

.w2p-side-card { border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; background: #f8fafc; }
.w2p-list { margin: 0; padding-left: 18px; color: #475569; line-height: 1.6; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.info-card { background: #fff; border-radius: 16px; padding: 18px; border: 1px solid #e2e8f0; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06); }
.info-card ul { margin: 10px 0 0; padding-left: 18px; color: #475569; line-height: 1.7; }

.w2p-faq-card { padding: 22px; }
.w2p-faq-list { display: grid; gap: 10px; }
.w2p-faq-item { border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; background: #f8fafc; }
.w2p-faq-question { width: 100%; border: none; background: none; text-align: left; font-weight: 700; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.w2p-faq-question::after { content: '▾'; font-size: 0.9rem; color: #475569; transition: transform 0.2s ease; }
.w2p-faq-item.open .w2p-faq-question::after { transform: rotate(180deg); }
.w2p-faq-answer { margin-top: 8px; color: #475569; display: none; }
.w2p-faq-item.open .w2p-faq-answer { display: block; }

.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { padding: 8px 14px; border-radius: 999px; border: 1px solid #dbeafe; background: #eef2ff; color: #1d4ed8; text-decoration: none; font-weight: 700; }

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

@media (max-width: 960px) {
  .w2p-hero-grid { grid-template-columns: 1fr; }
  .w2p-hero { padding: 36px 0; }
  .w2p-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .card { padding: 18px; }
  .w2p-dropzone { padding: 18px; }
  .w2p-result-head { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; }
}
