:root{
  --primary:#4A3AFF;
  --primary-strong:#3E30E8;
  --heading:#5D5A88;
  --text:#9795B5;
  --neutral-1000:#767494;
  --neutral-900:#8D8BA7;
  --neutral-800:#ADABC3;
  --neutral-700:#BCBACD;
  --neutral-600:#D4D2E3;
  --neutral-500:#E7E6F2;
  --neutral-400:#F2F1FA;
  --neutral-300:#F9F9FF;
  --neutral-200:#FAFAFF;
  --white:#FFFFFF;
  --success:#22C55E;
  --warning:#F59E0B;
  --blue:#3B82F6;
  --danger:#EF4444;
  --surface:#FFFFFF;
  --surface-muted:#F9F9FF;
  --page:#F6F6FC;
  --border:#E7E6F2;
  --shadow-1:0 2px 6px rgba(20,20,43,.06);
  --shadow-2:0 2px 12px rgba(20,20,43,.08);
  --shadow-3:0 8px 28px rgba(20,20,43,.10);
  --sidebar:272px;
  --radius-sm:12px;
  --radius:18px;
  --radius-lg:26px;
}
html[data-theme="dark"]{
  --heading:#F5F4FF;
  --text:#AAA7C6;
  --neutral-1000:#C8C5DD;
  --neutral-900:#AAA7C6;
  --neutral-800:#817EA1;
  --neutral-700:#6F6C8F;
  --neutral-600:#4A4762;
  --neutral-500:#37344D;
  --neutral-400:#302D45;
  --neutral-300:#252238;
  --neutral-200:#211E33;
  --surface:#211E33;
  --surface-muted:#27243A;
  --page:#181625;
  --border:#343148;
  --shadow-1:0 2px 8px rgba(0,0,0,.18);
  --shadow-2:0 4px 16px rgba(0,0,0,.24);
  --shadow-3:0 12px 32px rgba(0,0,0,.28);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--page);color:var(--heading);font-family:"DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
button,input{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-shell{min-height:100vh}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:var(--surface);border-right:1px solid var(--border);padding:24px 18px;display:flex;flex-direction:column;z-index:50;transition:transform .25s ease}
.brand-row{display:flex;align-items:center;justify-content:space-between;padding:0 8px 26px}
.brand{display:flex;align-items:center;gap:11px;font-weight:700;font-size:20px;letter-spacing:-.4px}
.brand-mark{width:38px;height:38px;display:grid;place-items:center;color:#fff;border-radius:12px;background:linear-gradient(145deg,var(--primary),#7B6CFF);box-shadow:0 8px 24px rgba(74,58,255,.24)}
.nav-list{display:flex;flex-direction:column;gap:6px}
.nav-list.compact{gap:4px}
.nav-item{min-height:44px;padding:10px 11px;border-radius:12px;display:flex;align-items:center;gap:11px;color:var(--neutral-1000);font-size:14px;font-weight:500;transition:.18s ease}
.nav-item:hover{background:var(--surface-muted);color:var(--heading)}
.nav-item.active{background:rgba(74,58,255,.10);color:var(--primary);font-weight:600}
.nav-icon{width:20px;height:20px;display:grid;place-items:center}
.nav-icon svg{width:19px;height:19px}
.nav-badge{margin-left:auto;min-width:22px;height:22px;padding:0 7px;display:grid;place-items:center;border-radius:999px;background:rgba(74,58,255,.12);font-size:11px;font-weight:700;color:var(--primary)}
.sidebar-section-label{font-size:11px;letter-spacing:1.2px;color:var(--neutral-800);font-weight:700;margin:26px 11px 10px}
.sidebar-spacer{flex:1;min-height:24px}
.upgrade-card{border:1px solid var(--border);background:linear-gradient(155deg,rgba(74,58,255,.08),var(--surface));border-radius:18px;padding:16px;margin:10px 2px 18px;box-shadow:var(--shadow-1)}
.upgrade-icon{width:34px;height:34px;border-radius:10px;background:var(--primary);color:#fff;display:grid;place-items:center;margin-bottom:12px}
.upgrade-card strong{font-size:14px}.upgrade-card p{font-size:12px;line-height:1.55;color:var(--text);margin:7px 0 12px}.text-btn{border:0;padding:0;background:none;color:var(--primary);font-weight:700;font-size:12px}
.user-mini{display:flex;align-items:center;gap:10px;border-top:1px solid var(--border);padding:16px 5px 0}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--neutral-400);color:var(--primary);font-weight:700}.user-mini-copy{min-width:0;flex:1;display:flex;flex-direction:column}.user-mini-copy strong{font-size:13px}.user-mini-copy span{font-size:11px;color:var(--text);margin-top:2px}
.main-content{margin-left:var(--sidebar);padding:0 32px 34px;min-width:0}
.topbar{height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px;position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--page) 92%,transparent);backdrop-filter:blur(16px)}
.topbar-left{display:flex;align-items:center;gap:12px}.topbar h1{font-size:24px;line-height:1.15;margin:0;font-weight:700;letter-spacing:-.4px}.topbar p{margin:4px 0 0;color:var(--text);font-size:13px}.topbar-actions{display:flex;align-items:center;gap:10px}
.search-box{width:min(290px,28vw);height:44px;border:1px solid var(--border);border-radius:12px;background:var(--surface);display:flex;align-items:center;gap:9px;padding:0 11px;color:var(--neutral-800);box-shadow:var(--shadow-1)}.search-box svg{width:18px;height:18px}.search-box input{border:0;outline:0;background:transparent;color:var(--heading);width:100%;min-width:0;font-size:13px}.search-box input::placeholder{color:var(--neutral-800)}.search-box kbd{font:600 10px/1 "DM Sans",sans-serif;color:var(--neutral-900);border:1px solid var(--border);background:var(--surface-muted);border-radius:6px;padding:5px 6px;white-space:nowrap}
.icon-btn{width:42px;height:42px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--neutral-1000);display:grid;place-items:center;transition:.18s ease}.icon-btn:hover{border-color:var(--neutral-600);color:var(--primary)}.icon-btn svg{width:19px;height:19px}.icon-btn.subtle{border:0;background:transparent;width:34px;height:34px}.moon-icon{display:none}html[data-theme="dark"] .sun-icon{display:none}html[data-theme="dark"] .moon-icon{display:block}
.primary-btn,.secondary-btn,.ghost-btn{height:44px;border-radius:12px;padding:0 16px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:13px;transition:.18s ease}.primary-btn{background:var(--primary);color:#fff;box-shadow:0 7px 18px rgba(74,58,255,.22)}.primary-btn:hover{background:var(--primary-strong);transform:translateY(-1px)}.primary-btn svg{width:18px;height:18px}.secondary-btn{background:var(--surface);border-color:var(--border);color:var(--heading)}.secondary-btn:hover{border-color:var(--neutral-700);color:var(--primary)}.ghost-btn{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.25);color:#fff}.ghost-btn:hover{background:rgba(255,255,255,.16)}
.hero-card{min-height:350px;background:linear-gradient(135deg,#4A3AFF 0%,#5B4BFF 52%,#7B6CFF 100%);border-radius:28px;padding:42px 44px;color:#fff;display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);gap:48px;overflow:hidden;position:relative;box-shadow:0 18px 48px rgba(74,58,255,.18)}.hero-card:before{content:"";position:absolute;width:350px;height:350px;border-radius:50%;border:1px solid rgba(255,255,255,.12);right:-130px;top:-190px}.hero-copy{align-self:center;position:relative;z-index:2}.eyebrow{display:inline-flex;font-size:11px;font-weight:700;letter-spacing:1.5px;color:rgba(255,255,255,.8);margin-bottom:14px}.eyebrow.dark{color:var(--primary)}.hero-copy h2{font-size:38px;line-height:1.16;letter-spacing:-1.1px;margin:0;max-width:560px}.hero-copy p{font-size:15px;line-height:1.7;color:rgba(255,255,255,.78);max-width:560px;margin:15px 0 24px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.primary-btn-light{background:#fff;color:var(--primary);box-shadow:none}.primary-btn-light:hover{background:#F7F7FF;color:var(--primary-strong)}
.hero-visual{display:flex;align-items:center;min-width:0;position:relative;z-index:2}.builder-window{width:100%;max-width:620px;margin-left:auto;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 28px 55px rgba(33,24,100,.32);transform:rotate(-1deg)}.builder-toolbar{height:34px;background:#F1F0F8;display:flex;align-items:center;gap:5px;padding:0 10px}.builder-toolbar>span{width:7px;height:7px;border-radius:50%;background:#C9C7D9}.builder-address{height:17px;min-width:190px;margin-left:10px;border-radius:4px;background:#E2E0ED;color:#9795B5;font-size:7px;display:flex;align-items:center;padding-left:8px}.builder-body{height:240px;display:flex;background:#FAFAFF}.builder-side{width:84px;border-right:1px solid #ECEBF5;padding:15px 10px;display:flex;flex-direction:column;gap:8px}.builder-chip{height:20px;border-radius:6px;background:#E9E8F5}.builder-chip.active{background:#DED9FF}.builder-chip.short{width:70%}.builder-canvas{flex:1;padding:11px;background:#F6F6FC}.canvas-nav{height:21px;background:#fff;border-radius:5px;margin-bottom:9px}.canvas-hero{height:110px;border-radius:6px;background:#fff;display:grid;grid-template-columns:1.05fr .95fr;gap:10px;padding:14px}.canvas-copy{display:flex;flex-direction:column;justify-content:center;gap:6px}.canvas-copy b{height:9px;background:#6254FF;border-radius:3px}.canvas-copy b:nth-child(2){width:75%;background:#A8A2D0}.canvas-copy i{height:18px;width:50px;border-radius:10px;background:#4A3AFF;margin-top:4px}.canvas-art{border-radius:6px;background:linear-gradient(135deg,#E7E4FF,#C8C2FF)}.canvas-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:9px}.canvas-cards i{height:54px;border-radius:5px;background:#fff}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:18px;display:flex;gap:13px;align-items:center;box-shadow:var(--shadow-1)}.stat-icon{width:43px;height:43px;min-width:43px;border-radius:13px;display:grid;place-items:center}.stat-icon svg{width:20px;height:20px}.stat-icon.purple{background:rgba(74,58,255,.10);color:var(--primary)}.stat-icon.blue{background:rgba(59,130,246,.10);color:var(--blue)}.stat-icon.green{background:rgba(34,197,94,.10);color:var(--success)}.stat-icon.amber{background:rgba(245,158,11,.11);color:var(--warning)}.stat-card>div:last-child{min-width:0;display:grid;grid-template-columns:1fr auto;grid-template-areas:"label num" "small num";align-items:center;width:100%;column-gap:8px}.stat-card span{grid-area:label;font-size:11px;color:var(--text)}.stat-card strong{grid-area:num;font-size:25px;line-height:1}.stat-card small{grid-area:small;font-size:10px;color:var(--neutral-900);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}
.section-block{margin-top:32px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}.section-heading h3{margin:0;font-size:19px;line-height:1.25;letter-spacing:-.3px}.section-heading p{margin:5px 0 0;color:var(--text);font-size:12px}.text-link{border:0;background:none;color:var(--primary);font-size:12px;font-weight:700}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.project-card{background:var(--surface);border:1px solid var(--border);border-radius:20px;overflow:hidden;box-shadow:var(--shadow-1);transition:.18s ease}.project-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-2)}.project-card.dragging{opacity:.45}.project-preview{height:206px;margin:10px 10px 0;border-radius:14px;position:relative;overflow:hidden;padding:13px;background:#F7F6FF}.preview-top{height:17px;border-radius:4px;background:#fff;margin-bottom:11px;box-shadow:0 1px 4px rgba(20,20,43,.04)}.preview-hero-row{height:95px;display:grid;grid-template-columns:1fr .9fr;gap:9px}.preview-lines{padding-top:12px;display:flex;flex-direction:column;gap:6px}.preview-lines i{height:8px;border-radius:4px;background:#5D5A88}.preview-lines i:nth-child(2){width:74%;background:#B1AFC6}.preview-lines b{height:17px;width:47px;border-radius:10px;background:var(--primary);margin-top:3px}.preview-lines.center{width:54%;margin:auto;text-align:center;align-items:center}.preview-lines.center i{width:100%}.preview-lines.center i:nth-child(2){width:65%}.preview-img{border-radius:8px;background:linear-gradient(135deg,#D9D5FF,#AFA7FF)}.preview-img.car{background:linear-gradient(145deg,#DDEBFF,#9AB9FF)}.preview-features{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.preview-features span{height:42px;border-radius:7px;background:#fff}.theme-auto{background:#F1F6FF}.theme-auto .preview-lines b{background:#2563EB}.theme-ai{background:#F7F4FF}.preview-centered{height:94px;display:flex;align-items:center}.preview-pills{display:flex;gap:5px;justify-content:center;flex-wrap:wrap;padding:7px 16px 0}.preview-pills span{width:38px;height:13px;border-radius:10px;background:#E2DEFF}.preview-pills span:nth-child(2){width:50px}.preview-pills span:nth-child(3){width:29px}.project-status{position:absolute;top:12px;right:12px;height:24px;padding:0 9px;border-radius:999px;background:rgba(255,255,255,.9);color:#746FA0;font-size:9px;font-weight:700;display:flex;align-items:center;box-shadow:0 3px 10px rgba(20,20,43,.08)}.project-status.published{color:#159447}.project-meta{padding:14px 15px 10px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.project-meta h4{font-size:14px;margin:0 0 4px}.project-meta p{font-size:10px;margin:0;color:var(--text)}.project-footer{border-top:1px solid var(--border);padding:10px 15px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.project-footer span{font-size:10px;color:var(--text);min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-open{border:0;background:none;color:var(--primary);font-weight:700;font-size:10px;white-space:nowrap}
.two-column-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:16px;margin-top:32px}.two-column-layout .section-block{margin-top:0;background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:20px;box-shadow:var(--shadow-1)}.quick-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick-item{min-height:144px;text-align:left;border:1px solid var(--border);background:var(--surface-muted);border-radius:15px;padding:16px;display:flex;flex-direction:column;align-items:flex-start;position:relative;color:var(--heading);transition:.18s ease}.quick-item:hover{border-color:rgba(74,58,255,.4);background:rgba(74,58,255,.04);transform:translateY(-1px)}.quick-icon{width:38px;height:38px;border-radius:11px;background:rgba(74,58,255,.10);color:var(--primary);display:grid;place-items:center;margin-bottom:18px}.quick-icon svg{width:19px;height:19px}.quick-item strong{display:block;font-size:12px;margin-bottom:4px}.quick-item small{font-size:10px;color:var(--text);line-height:1.5}.quick-item .arrow{width:16px;height:16px;position:absolute;right:14px;top:15px;color:var(--neutral-800)}
.site-list{display:flex;flex-direction:column;gap:8px}.site-item{border:1px solid var(--border);background:var(--surface-muted);border-radius:14px;padding:11px;display:flex;align-items:center;gap:10px}.site-logo{width:34px;height:34px;border-radius:10px;background:var(--primary);color:white;display:grid;place-items:center;font-weight:700;font-size:12px}.site-logo.alt{background:#1B6CF2}.site-copy{display:flex;flex-direction:column;min-width:0;flex:1}.site-copy strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-copy span{font-size:9px;color:var(--text);margin-top:3px;display:flex;align-items:center;gap:5px}.online-dot{width:6px;height:6px;border-radius:50%;background:var(--success)}.site-role{font-size:9px;color:var(--neutral-1000);border:1px solid var(--border);padding:4px 6px;border-radius:7px}.connect-site{height:42px;border:1px dashed var(--neutral-700);background:transparent;border-radius:12px;color:var(--primary);font-size:11px;font-weight:700}.connect-site span{font-size:17px;vertical-align:-1px;margin-right:4px}
.dashboard-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;color:var(--text);font-size:10px;border-top:1px solid var(--border);margin-top:34px;padding:22px 2px 0}.dashboard-footer div{display:flex;gap:18px}.dashboard-footer a:hover{color:var(--primary)}
.modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:24px}.modal.show{display:flex}.modal-backdrop{position:absolute;inset:0;background:rgba(13,11,28,.48);backdrop-filter:blur(5px)}.modal-panel{position:relative;width:min(570px,100%);background:var(--surface);border:1px solid var(--border);border-radius:22px;box-shadow:var(--shadow-3);overflow:hidden;animation:modalIn .2s ease}.modal-head,.modal-actions{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.modal-head{border-bottom:1px solid var(--border)}.modal-head h3{margin:2px 0 0;font-size:20px}.modal-body{padding:22px}.modal-actions{border-top:1px solid var(--border);justify-content:flex-end}.field{display:block;margin-bottom:20px}.field>span{display:block;font-size:11px;font-weight:700;margin-bottom:8px}.field input[type="text"]{width:100%;height:46px;border:1px solid var(--border);background:var(--surface-muted);color:var(--heading);border-radius:12px;padding:0 13px;outline:0}.field input[type="text"]:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(74,58,255,.10)}.start-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.start-option{position:relative;border:1px solid var(--border);border-radius:14px;padding:15px;display:flex;flex-direction:column;gap:4px;cursor:pointer;background:var(--surface-muted)}.start-option input{position:absolute;opacity:0}.start-option.selected{border-color:var(--primary);box-shadow:0 0 0 3px rgba(74,58,255,.08)}.option-icon{width:34px;height:34px;border-radius:10px;background:rgba(74,58,255,.10);color:var(--primary);display:grid;place-items:center;margin-bottom:7px}.option-icon svg{width:17px;height:17px}.start-option strong{font-size:12px}.start-option small{font-size:10px;line-height:1.45;color:var(--text)}
.toast{position:fixed;right:28px;bottom:28px;z-index:120;background:#211E33;color:#fff;padding:11px 14px;border-radius:12px;box-shadow:var(--shadow-3);display:flex;align-items:center;gap:8px;font-size:11px;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s ease}.toast.show{opacity:1;transform:translateY(0)}.toast-dot{width:7px;height:7px;border-radius:50%;background:#75E49D}
.sidebar-backdrop{display:none}.mobile-only{display:none}
@keyframes modalIn{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:1180px){.stats-grid{grid-template-columns:repeat(2,1fr)}.project-grid{grid-template-columns:repeat(2,1fr)}.project-card:last-child{display:none}.hero-card{grid-template-columns:1fr .95fr;gap:24px;padding:36px}.hero-copy h2{font-size:33px}.quick-list{grid-template-columns:1fr}.quick-item{min-height:auto;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.quick-icon{margin:0}.quick-item .arrow{position:static}}
@media(max-width:920px){:root{--sidebar:250px}.mobile-only{display:grid}.sidebar{transform:translateX(-100%);box-shadow:var(--shadow-3)}.sidebar.open{transform:translateX(0)}.sidebar-backdrop{position:fixed;inset:0;background:rgba(12,10,27,.35);z-index:45}.sidebar-backdrop.show{display:block}.main-content{margin-left:0;padding:0 20px 28px}.topbar{height:84px}.topbar-left p{display:none}.topbar-actions .search-box{display:none}.hero-card{grid-template-columns:1fr;min-height:auto}.hero-visual{display:none}.two-column-layout{grid-template-columns:1fr}.project-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.main-content{padding:0 14px 24px}.topbar-actions .primary-btn{width:42px;padding:0;font-size:0}.topbar-actions .primary-btn svg{margin:0}.topbar h1{font-size:20px}.hero-card{padding:28px 24px;border-radius:22px}.hero-copy h2{font-size:29px}.hero-copy p{font-size:13px}.stats-grid{grid-template-columns:1fr}.project-grid{grid-template-columns:1fr}.project-card:last-child{display:block}.section-heading{align-items:flex-start;flex-direction:column}.section-heading .secondary-btn{width:100%}.quick-list{grid-template-columns:1fr}.start-options{grid-template-columns:1fr}.dashboard-footer{align-items:flex-start;flex-direction:column}.modal{padding:12px}.modal-actions{display:grid;grid-template-columns:1fr 1fr}.modal-actions button{width:100%}}
