/* Whitebox - clean product look */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1c2130; background: #fff; line-height: 1.6; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* topbar */
.topbar { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 10; }
.topbar-in { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -0.5px; }
.accent { color: #2f80ed; }
.topbar nav { display: flex; gap: 18px; flex: 1; }
.topbar nav a { color: #444; text-decoration: none; font-size: 15px; }
.topbar nav a:hover { color: #2f80ed; }

/* badges */
.badge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.badge-pro { background: #d7ecff; color: #1263c4; }
.badge-free { background: #eee; color: #555; }

/* hero */
.hero { text-align: center; padding: 70px 20px 50px; background: linear-gradient(180deg, #f4f8ff, #fff); }
.hero.slim { padding: 44px 20px 20px; }
.hero h1 { font-size: 40px; line-height: 1.2; font-weight: 800; letter-spacing: -1px; max-width: 800px; margin: 0 auto 16px; }
.sub { font-size: 18px; color: #4a5568; max-width: 640px; margin: 0 auto 28px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.trust-note { margin-top: 18px; font-size: 13px; color: #8892a0; }
.btn { display: inline-block; border: none; cursor: pointer; font-size: 16px; font-weight: 600; padding: 12px 26px; border-radius: 10px; text-decoration: none; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-primary { background: #2f80ed; color: #fff; }
.btn-primary:hover { background: #2768c6; }
.btn-ghost { background: transparent; color: #2f80ed; border: 1px solid #2f80ed; }
.btn-ghost:hover { background: #eef5ff; }

/* tool */
.tool-wrap { padding: 30px 0; }
.tool-wrap h2 { margin-bottom: 12px; }
.plan-strip { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.plan-strip .js-email, .upgrade-row .js-email { padding: 9px 12px; border: 1px solid #d5dbe5; border-radius: 8px; font-size: 14px; flex: 1; min-width: 220px; }
.drop-zone { border: 2px dashed #b8c4d4; border-radius: 14px; padding: 48px 20px; text-align: center; color: #5b6b7f; cursor: pointer; background: #fafcff; transition: .15s; }
.drop-zone.over { background: #eef5ff; border-color: #2f80ed; }
.drop-zone p { font-size: 18px; }
.drop-zone .muted { font-size: 14px; margin-top: 6px; }
.controls { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 22px 0; font-size: 14px; }
.controls label { display: flex; gap: 6px; align-items: center; }
.controls select, .controls input { padding: 7px 10px; border: 1px solid #d5dbe5; border-radius: 7px; font-size: 14px; }
.controls input[type="text"], .controls input[type="number"] { width: 120px; }

/* gallery */
.gallery { display: flex; flex-wrap: wrap; gap: 12px; min-height: 20px; }
.thumb { width: 120px; height: 120px; border-radius: 10px; border: 1px solid #e3e8f0; background: #f4f7fb; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.thumb canvas { max-width: 100%; max-height: 100%; }
.thumb-status { font-size: 12px; color: #7a8797; }
.thumb-error { border-color: #e74c3c; }
.export-bar { display: flex; gap: 14px; align-items: center; margin: 22px 0 8px; }
.note-free { font-size: 13px; margin: 6px 0 0; }

/* features */
.features { padding: 60px 0; background: #f8fafc; }
.features h2, .pricing h2, .how h2 { text-align: center; margin-bottom: 30px; font-size: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid #e5eaf0; border-radius: 12px; padding: 20px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { font-size: 14px; color: #4a5568; }

/* how */
.how { padding: 60px 0; }
.how ol { max-width: 520px; margin: 0 auto; padding-left: 20px; font-size: 16px; }
.how li { margin-bottom: 10px; }

/* pricing */
.pricing { padding: 60px 0 80px; background: #f8fafc; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin: 0 auto; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid #e5eaf0; border-radius: 14px; padding: 26px; }
.plan-pro { border-color: #2f80ed; box-shadow: 0 6px 28px rgba(47,128,237,.12); }
.plan h3 { font-size: 18px; }
.price { font-size: 40px; font-weight: 800; margin: 8px 0 12px; }
.price span { font-size: 15px; color: #8892a0; font-weight: 500; }
.plan ul { list-style: none; margin: 10px 0 18px; }
.plan li { padding: 6px 0 6px 22px; position: relative; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: #2f80ed; font-weight: 700; }
.upgrade-row { display: flex; gap: 8px; }
.micro { font-size: 12px; margin-top: 8px; }

/* article (guide/privacy/terms) */
.article { padding: 40px 0 80px; max-width: 820px; }
.article h1 { font-size: 32px; margin-bottom: 14px; }
.article h2 { font-size: 21px; margin: 28px 0 10px; }
.article p, .article li { font-size: 16px; color: #33393f; }
.article ul { margin: 8px 0 0 20px; }
.article .cta-row { margin-top: 28px; }

/* footer */
footer { border-top: 1px solid #eee; padding: 26px 0; background: #fff; }
.foot-links { display: flex; gap: 18px; margin-bottom: 8px; }
.foot-links a { color: #55627a; text-decoration: none; font-size: 14px; }
.muted { color: #97a1b0; font-size: 13px; }