/* Hero */
.wg-hero{background:linear-gradient(135deg,#0f172a 0%,#1a2744 50%,#1a56db 100%);padding:52px 0 40px;text-align:center;position:relative;overflow:hidden}
.wg-hero::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:40px;background:#f8fafc;clip-path:ellipse(60% 100% at 50% 100%)}
.wg-hero h1{font-size:clamp(22px,4vw,34px);font-weight:900;color:#fff;margin-bottom:8px}
.wg-hero p{font-size:14px;color:#94a3b8;max-width:480px;margin:0 auto}
.wg-badges{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:16px;flex-wrap:wrap}
.wg-badge{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.85);font-size:12px;font-weight:600;padding:4px 12px;border-radius:20px}
/* Layout */
.wg-wrap{max-width:1040px;margin:0 auto;padding:36px 16px 60px}
.wg-grid{display:grid;grid-template-columns:420px 1fr;gap:28px;align-items:start}
/* Builder */
.wg-builder{background:#fff;border:1.5px solid #e2e8f0;border-radius:20px;overflow:hidden;box-shadow:0 4px 24px rgba(26,86,219,.06)}
.wg-builder-head{background:linear-gradient(135deg,#1a56db,#0284c7);padding:16px 20px}
.wg-builder-head h2{font-size:15px;font-weight:900;color:#fff;margin-bottom:2px}
.wg-builder-head p{font-size:12px;color:rgba(255,255,255,.7)}
.wg-builder-body{padding:20px}
/* Options */
.wg-og{margin-bottom:18px}
.wg-og:last-child{margin-bottom:0}
.wg-og-label{font-size:11px;font-weight:800;color:#94a3b8;letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px;display:block}
.wg-opts{display:flex;flex-wrap:wrap;gap:7px}
.wg-opt{display:flex;align-items:center;gap:5px;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;padding:6px 12px;cursor:pointer;font-size:12px;font-weight:700;color:#64748b;transition:all .15s;user-select:none;white-space:nowrap}
.wg-opt input{display:none}
.wg-opt.on{background:#eff6ff;border-color:#1a56db;color:#1a56db}
.wg-opt:hover:not(.on){border-color:#c7d7f0;background:#f1f5f9}
/* Theme dots */
.wg-theme-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.dot-light{background:linear-gradient(135deg,#fff,#e2e8f0);border:1px solid #e2e8f0}
.dot-dark{background:linear-gradient(135deg,#0f172a,#1e293b)}
.dot-glass{background:linear-gradient(135deg,rgba(99,179,237,.4),rgba(147,197,253,.4));border:1px solid rgba(99,179,237,.4)}
/* Symbols */
.wg-syms-wrap{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:12px;padding:10px;max-height:130px;overflow-y:auto}
.wg-sym-group{margin-bottom:6px}
.wg-sym-group:last-child{margin-bottom:0}
.wg-sym-group-label{font-size:10px;font-weight:800;color:#94a3b8;letter-spacing:.05em;text-transform:uppercase;margin-bottom:4px;display:block}
.wg-sym-row{display:flex;flex-wrap:wrap;gap:5px}
.wg-scb{display:flex;align-items:center;gap:4px;background:#fff;border:1.5px solid #e2e8f0;border-radius:7px;padding:4px 8px;cursor:pointer;font-size:11px;font-weight:600;color:#475569;transition:all .15s}
.wg-scb input{width:12px;height:12px;accent-color:#1a56db;cursor:pointer;flex-shrink:0}
.wg-scb.on{background:#eff6ff;border-color:#1a56db;color:#1a56db}
/* Code */
.wg-code-card{background:#0f172a;border-radius:14px;overflow:hidden;margin-top:18px}
.wg-code-top{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#1e293b}
.wg-code-top span{font-size:11px;font-weight:700;color:#64748b}
.wg-copy{background:#1a56db;color:#fff;border:none;border-radius:7px;padding:5px 14px;font-size:12px;font-weight:700;font-family:YekanBakh,sans-serif;cursor:pointer;transition:all .15s}
.wg-copy:hover{background:#1d4ed8}
.wg-copy.ok{background:#16a34a}
.wg-code{padding:14px;font-family:'Courier New',monospace;font-size:11.5px;color:#7dd3fc;direction:ltr;text-align:left;line-height:1.8;white-space:pre-wrap;word-break:break-all;max-height:150px;overflow-y:auto}
/* Preview */
.wg-preview-panel{position:sticky;top:20px}
.wg-preview-label{font-size:12px;font-weight:700;color:#64748b;margin-bottom:10px;display:flex;align-items:center;gap:6px}
.wg-preview-label::after{content:'';flex:1;height:1px;background:#e2e8f0}
.wg-preview-bg{border-radius:16px;padding:20px;background:#1e293b;transition:background .3s}
.wg-preview-bg.bg-light{background:#f1f5f9}
.wg-preview-bg.bg-glass{background:linear-gradient(135deg,#1e3a8a,#0f172a)}
/* How to */
.wg-how{background:#fff;border:1.5px solid #e2e8f0;border-radius:16px;padding:20px;margin-top:20px}
.wg-how h3{font-size:14px;font-weight:900;color:#0f172a;margin-bottom:14px}
.wg-step{display:flex;gap:10px;margin-bottom:10px;align-items:flex-start}
.wg-step:last-child{margin-bottom:0}
.wg-step-n{width:22px;height:22px;border-radius:50%;background:#1a56db;color:#fff;font-size:11px;font-weight:900;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}
.wg-step p{font-size:13px;color:#475569;line-height:1.7}
/* SEO */
.seo-wrap{background:#fff;border:1.5px solid #e8edf5;border-radius:16px;padding:28px 32px;margin-top:32px;box-shadow:0 2px 10px rgba(26,86,219,.03)}
.seo-inner h2{font-size:17px;font-weight:900;color:#0f172a;margin-bottom:18px;padding-bottom:12px;border-bottom:2px solid #1a56db;display:inline-block}
.seo-inner h3{font-size:14px;font-weight:800;color:#1e293b;margin:18px 0 7px}
.seo-inner p{font-size:13.5px;color:#475569;line-height:2.1;margin-bottom:6px}
.faq-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px 16px;margin-bottom:10px}
.faq-q{font-size:13.5px;font-weight:800;color:#0f172a;margin-bottom:6px}
.faq-a{font-size:13px;color:#475569;line-height:1.9}
.seo-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px;padding-top:16px;border-top:1px solid #f0f4f8}
.seo-tags span{background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;font-size:12px;font-weight:600;padding:3px 10px;border-radius:20px}
@media(max-width:780px){.wg-grid{grid-template-columns:1fr}.wg-preview-panel{position:static}}
@media(max-width:480px){.seo-wrap{padding:18px 16px}}