
:root{
  --bg:#f4f7fb; --surface:#fff; --surface-2:#f8fafc; --border:#dfe7f2; --text:#0d2246;
  --muted:#66789a; --blue:#1f6fff; --blue-2:#0f5ae6; --navy:#0b1d3d; --green:#1db56c;
  --shadow:0 10px 30px rgba(13,34,70,.08); --radius:18px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--text);background:linear-gradient(180deg,#f8fbff 0%,#f3f6fb 100%)}
a{text-decoration:none;color:inherit} img{max-width:100%;display:block}
.container{max-width:1320px;margin:0 auto;padding:0 28px}
.topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);border-bottom:1px solid rgba(223,231,242,.8)}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;height:88px;gap:24px}
.brand{display:flex;align-items:center;gap:14px;font-weight:800;font-size:24px;color:var(--navy)}
.logo-box{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#4f8dff,#1754e7);color:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(31,111,255,.25);font-weight:900;font-size:26px}
.nav{display:flex;gap:48px;font-size:15px;color:#24385e}
.nav a:hover{color:var(--blue)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 24px;border-radius:16px;border:1px solid var(--border);background:#fff;color:var(--navy);font-weight:700;transition:.18s ease;cursor:pointer;box-shadow:0 2px 0 rgba(13,34,70,.02)}
.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow)}
.btn-primary{background:linear-gradient(135deg,var(--blue),var(--blue-2));color:#fff;border:none}
.btn-dark{background:var(--navy);color:#fff;border:none}
.btn-sm{height:42px;padding:0 16px;border-radius:14px;font-size:14px}
.hero{padding:54px 0 26px}
.hero-grid{display:grid;grid-template-columns:1.02fr 1.1fr;gap:42px;align-items:center}
.badge{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:999px;background:#eaf1ff;color:#2457d7;font-weight:700;font-size:14px;margin-bottom:24px}
.h1{font-size:72px;line-height:.95;margin:0 0 18px;font-weight:900;letter-spacing:-2.4px;color:#0c2248}
.h1 .blue{color:#3a75ff}
.lead{font-size:18px;line-height:1.7;color:#4f6487;max-width:620px;margin:0 0 28px}
.hero-actions{display:flex;gap:16px;align-items:center;margin-bottom:32px}
.trust-row{display:flex;gap:36px;flex-wrap:wrap}
.trust-item{display:flex;align-items:flex-start;gap:12px}
.trust-ic{width:34px;height:34px;border-radius:10px;background:#eef4ff;color:var(--blue);display:grid;place-items:center;flex:0 0 auto}
.trust-title{font-weight:800;margin-bottom:3px}.trust-sub{color:var(--muted);font-size:14px}
.window{background:#fff;border:1px solid #e6edf7;border-radius:22px;box-shadow:var(--shadow);padding:14px}
.window-top{display:flex;align-items:center;justify-content:space-between;padding:10px 8px 12px}
.dots{display:flex;gap:8px}.dot{width:12px;height:12px;border-radius:999px}
.dot.red{background:#ff5f57}.dot.yellow{background:#ffbd2f}.dot.green{background:#28c840}
.window-body{display:grid;grid-template-columns:220px 1fr 138px;gap:14px}
.panel{background:var(--surface-2);border:1px solid #edf2f8;border-radius:16px;padding:12px}
.step-title{font-weight:800;font-size:13px;margin-bottom:10px;color:#33476e}
.upload-file{display:flex;gap:10px;padding:10px;background:#fff;border:1px solid var(--border);border-radius:12px;align-items:center}
.thumb{width:44px;height:44px;border-radius:10px;background:#eff4fb;border:1px solid var(--border);display:grid;place-items:center;overflow:hidden}
.muted{color:var(--muted)} .select,.mini-input{width:100%;height:38px;border:1px solid var(--border);border-radius:10px;background:#fff;padding:0 12px;color:var(--text)}
.range-group{margin-bottom:10px}.range-group label{display:block;font-size:12px;color:#526886;font-weight:700;margin-bottom:6px}
.artboard{position:relative;min-height:328px;border-radius:16px;border:1px solid #edf2f8;background:linear-gradient(45deg,#f1f2f6 25%,transparent 25%),linear-gradient(-45deg,#f1f2f6 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f1f2f6 75%),linear-gradient(-45deg,transparent 75%,#f1f2f6 75%);background-size:28px 28px;background-position:0 0,0 14px,14px -14px,-14px 0;display:grid;place-items:center;overflow:hidden}
.preview-side .panel{height:100%}.preview-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px;margin-bottom:10px}
.layer-row{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:8px}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:26px 0 18px}
.feature-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:22px 20px;box-shadow:var(--shadow);display:flex;gap:16px;align-items:flex-start}
.f-ic{width:60px;height:60px;border-radius:18px;display:grid;place-items:center;color:#fff;font-size:26px;font-weight:900}
.f-blue{background:linear-gradient(135deg,#1670ff,#2f8bff)} .f-violet{background:linear-gradient(135deg,#6758ff,#8b77ff)} .f-green{background:linear-gradient(135deg,#12b86f,#43d592)} .f-orange{background:linear-gradient(135deg,#ff8b11,#ffaf35)}
.feature-title{font-size:16px;font-weight:800;margin:0 0 8px}.feature-desc{font-size:14px;color:var(--muted);line-height:1.55;margin:0}
.section-title{font-size:22px;font-weight:900;text-align:center;margin:10px 0 18px;color:#132b57}
.type-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:18px;padding-bottom:26px}
.type-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:22px 12px;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:112px}
.type-ic{width:64px;height:48px;display:grid;place-items:center;color:#2e6dff}
.type-ic svg{width:56px;height:40px;stroke:#2e6dff;stroke-width:2.2;fill:none}
.type-name{font-size:16px;font-weight:800;color:#162d58;text-align:center}
.center-link{text-align:center;padding-bottom:40px}.center-link a{color:#2b67ff;font-weight:800}

.studio-page{background:#f6f8fc}
.studio-header{height:78px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center}
.studio-head-inner{display:grid;grid-template-columns:auto 1fr auto;gap:26px;align-items:center}
.breadcrumbs{display:flex;align-items:center;gap:10px;color:#506586;font-weight:700}
.session-chip{height:46px;display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:14px;padding:0 16px;background:#fff;min-width:460px;color:#6a7c98}
.header-actions{display:flex;align-items:center;gap:12px}
.avatar{width:40px;height:40px;border-radius:999px;background:#eef2f8;display:grid;place-items:center;font-weight:800;color:#5b6f91}
.studio-layout{display:grid;grid-template-columns:360px 1fr 344px;gap:0;min-height:calc(100vh - 78px)}
.studio-sidebar,.studio-order{background:#fff;border-right:1px solid var(--border);padding:22px 22px 18px}
.studio-order{border-right:none;border-left:1px solid var(--border)}
.canvas-wrap{padding:24px 28px 18px;position:relative}
.sidebar-section{margin-bottom:22px}.sidebar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.sidebar-title{font-size:18px;font-weight:900}
.upload-box{border:2px dashed #d0d9e8;border-radius:18px;padding:28px 20px;text-align:center;background:#fbfcff}
.upload-box .upload-cloud{width:58px;height:58px;margin:0 auto 12px;border-radius:16px;background:#eff4ff;color:#2a6cff;display:grid;place-items:center;font-size:28px}
.upload-box p{margin:0;color:#516887;line-height:1.7}.upload-box .or{display:block;margin:6px 0;color:#9aabc4;font-size:14px}
.file-chip{display:flex;align-items:center;gap:12px;margin-top:12px;padding:10px 12px;border:1px solid var(--border);border-radius:14px;background:#fff}
.close-x{margin-left:auto;color:#6980a6;font-weight:800}
.shape-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.shape-btn{border:1px solid var(--border);background:#fff;border-radius:14px;padding:12px 8px;min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:700;color:#4d648a;cursor:pointer}
.shape-btn.active{border-color:#2b6dff;box-shadow:inset 0 0 0 1px #2b6dff;color:#2b6dff}
.shape-btn svg{width:36px;height:26px;stroke:currentColor;stroke-width:2.1;fill:none}
.slider-row{margin-bottom:14px}.slider-head{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700;color:#4f6589;margin-bottom:8px}
.slider-row input[type=range]{width:100%}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:999px;background:#1f6fff;border:none;box-shadow:0 2px 8px rgba(31,111,255,.3)}
input[type=range]::-webkit-slider-runnable-track{height:6px;background:#d9e4f5;border-radius:999px}
.workspace{background:#fff;border:1px solid var(--border);border-radius:24px;overflow:hidden;min-height:760px;box-shadow:var(--shadow);position:relative}
.rulers-top{position:absolute;left:62px;right:0;top:0;height:44px;background:#fbfcff;border-bottom:1px solid var(--border);color:#7183a0;font-size:13px}
.rulers-left{position:absolute;left:0;top:44px;bottom:0;width:62px;background:#fbfcff;border-right:1px solid var(--border);color:#7183a0;font-size:13px}
.ruler-labels-top,.ruler-labels-left{position:relative;width:100%;height:100%}
.ruler-labels-top span{position:absolute;top:10px;transform:translateX(-50%)} .ruler-labels-left span{position:absolute;left:16px;transform:translateY(-50%)}
.artboard-area{margin-left:62px;margin-top:44px;padding:38px;background:linear-gradient(180deg,#fafcff 0,#f8fbff 100%);min-height:716px;position:relative}
.print-area{border:1.5px dashed #d6e1f0;border-radius:22px;min-height:622px;background:#fff;position:relative;display:grid;place-items:center;overflow:hidden}
.canvas-toolbar{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);height:52px;background:rgba(255,255,255,.96);border:1px solid var(--border);border-radius:16px;display:flex;align-items:center;gap:18px;padding:0 18px;box-shadow:var(--shadow)}
.icon-btn{width:34px;height:34px;border-radius:999px;border:1px solid var(--border);background:#fff;display:grid;place-items:center;color:#4d648a;font-weight:800;cursor:pointer}
.small-lock{text-align:center;color:#7688a3;font-size:14px;padding:12px 0}
.order-box{border:1px solid var(--border);border-radius:18px;background:#fff;padding:16px}
.field-label{display:block;font-size:14px;font-weight:800;margin-bottom:8px;color:#19345d}
.input{height:52px;border:1px solid var(--border);border-radius:14px;background:#fff;padding:0 16px;color:#173058;font-size:18px;display:flex;align-items:center}
.input-row{display:flex;align-items:center;gap:8px}.input-grow{flex:1}
.qty-wrap{display:grid;grid-template-columns:48px 1fr 48px;border:1px solid var(--border);border-radius:14px;overflow:hidden;height:60px;background:#fff}
.qty-btn,.qty-val{display:grid;place-items:center}.qty-btn{font-size:28px;color:#314a74;background:#fff;border:none;cursor:pointer}.qty-val{font-size:32px;font-weight:800}
.note-green{color:var(--green);font-size:14px;font-weight:700;margin-top:8px}
.finish-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.finish-card{border:1px solid var(--border);border-radius:16px;background:#fff;min-height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-weight:700;color:#516887;cursor:pointer}
.finish-card.active{border-color:#2b6dff;box-shadow:inset 0 0 0 1px #2b6dff;color:#2b6dff}
.summary-list{display:grid;gap:14px}.summary-row{display:flex;justify-content:space-between;gap:18px;color:#1c355e}.summary-row .k{color:#596e8d}
.price-row{display:flex;justify-content:space-between;align-items:center;font-size:18px;font-weight:900}
.full-btn{width:100%;margin-top:16px}
.canvas-holder{width:100%;height:100%;display:grid;place-items:center}
#designCanvas{max-width:100%;max-height:560px;display:block}
.admin-shell{padding:34px 0}
.admin-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}
.admin-card{background:#fff;border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow);padding:22px}
.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:20px}
.stat-box{background:#fff;border:1px solid var(--border);border-radius:20px;padding:20px;box-shadow:var(--shadow)}
.stat-label{color:#647896;font-weight:700;font-size:13px}.stat-value{font-size:32px;font-weight:900;margin-top:8px}
.table-wrap{overflow:auto}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:14px 12px;border-bottom:1px solid #e8eef7;text-align:left;font-size:14px}
.table th{color:#576d8d;font-size:13px}
.preview-thumb{width:56px;height:56px;border-radius:12px;border:1px solid var(--border);overflow:hidden;background:#f6f8fb}
.kbd{padding:4px 8px;border-radius:999px;background:#eef4ff;color:#2a6cff;font-size:12px;font-weight:800}
@media (max-width:1220px){.hero-grid{grid-template-columns:1fr}.feature-grid{grid-template-columns:repeat(2,1fr)}.type-grid{grid-template-columns:repeat(4,1fr)}.studio-layout{grid-template-columns:1fr}.studio-sidebar,.studio-order{border:none}.session-chip{min-width:0}.studio-head-inner{grid-template-columns:1fr;gap:14px;padding:12px 0}.admin-stats{grid-template-columns:repeat(2,1fr)}}
@media (max-width:720px){.container{padding:0 16px}.nav{display:none}.h1{font-size:46px;letter-spacing:-1.2px}.feature-grid{grid-template-columns:1fr}.type-grid{grid-template-columns:repeat(2,1fr)}.hero-actions{flex-direction:column;align-items:stretch}.window-body{grid-template-columns:1fr}.admin-stats{grid-template-columns:1fr}}
