@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root { --bg:#111112; --panel:#171718; --panel-2:#1d1d1e; --line:#2c2c2e; --muted:#858588; --text:#f4f2ee; --accent:#d6ff3e; --pink:#ff6ac9; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--text); font-family:Manrope,Arial,sans-serif; font-size:13px; }
button { font:inherit; color:inherit; border:0; cursor:pointer; }
.app-shell { min-height:100vh; display:flex; flex-direction:column; }
.topbar { height:64px; border-bottom:1px solid var(--line); display:flex; align-items:center; padding:0 22px; gap:18px; }
.back-home { display:inline-flex; align-items:center; gap:7px; color:#a8a8ad; text-decoration:none; font-size:11px; font-weight:700; white-space:nowrap; transition:color .18s,transform .18s; }.back-home span { font-size:16px; line-height:1; }.back-home:hover { color:var(--accent); transform:translateX(-2px); }
.brand { text-decoration:none; color:#fff; display:flex; align-items:center; gap:9px; font-weight:800; font-size:20px; letter-spacing:-1px; }.brand img { width:22px;height:22px;display:block;object-fit:contain; }.project-name { color:#d7d5d1; font-size:12px; flex:1; }.status-dot,.live-dot { display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-right:7px; }.project-name small { color:#777;margin-left:8px; }.top-actions { display:flex;gap:9px;margin-left:auto; }.ghost,.export { border-radius:7px;padding:9px 14px;font-size:12px;font-weight:700; }.ghost { background:#242426; }.export { background:var(--accent); color:#151512; }.export-control { position:relative; }.export-control .export { display:flex;align-items:center;gap:8px;transition:transform .18s,box-shadow .18s; }.export-control .export span { font-size:14px;transition:transform .18s; }.export-control .export.active { box-shadow:0 0 0 3px #b8df3530; }.export-control .export.active span { transform:rotate(180deg); }.export-menu { position:absolute;z-index:20;right:0;top:calc(100% + 9px);width:170px;padding:6px;background:#29292b;border:1px solid #48484b;border-radius:8px;box-shadow:0 14px 32px #000a; }.export-menu:before { content:'';position:absolute;right:18px;top:-5px;width:9px;height:9px;background:#29292b;border-left:1px solid #48484b;border-top:1px solid #48484b;transform:rotate(45deg); }.export-menu button { position:relative;width:100%;display:flex;align-items:center;gap:10px;padding:9px 8px;background:transparent;color:#d7d6d5;border-radius:5px;text-align:left;font-size:11px; }.export-menu button:hover { background:#3b3b3e; }.export-menu button span { width:18px;text-align:center;color:var(--accent);font:12px 'DM Mono',monospace; }
.workspace { flex:1; display:grid; grid-template-columns:246px minmax(420px,1fr) 278px; min-height:0; }.sidebar { background:var(--panel); border-right:1px solid var(--line); }.properties-panel { border-right:0;border-left:1px solid var(--line); padding:20px 16px; }.panel-heading { height:58px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-family:'DM Mono',monospace;font-size:10px;letter-spacing:1.2px;color:#9a999b; }.panel-heading button { border:1px solid #3c3c3e;background:transparent;border-radius:6px;font-size:12px;line-height:1; }
.layer-count { color:#727276;font:10px 'DM Mono',monospace;letter-spacing:0;text-transform:none; }.panel-heading button { border:1px solid #3c3c3e;background:transparent;border-radius:6px;font-size:12px;line-height:1; }.layer-add-control { position:relative;display:grid;place-items:center; }.panel-heading #addLayer { min-width:112px;height:31px;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-color:var(--accent);background:var(--accent);color:#171711;font-weight:800;letter-spacing:.1px;transition:background .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s; }.panel-heading #addLayer:hover,.panel-heading #addLayer.active { border-color:#edff8d;background:#edff8d;color:#171711;box-shadow:0 0 0 3px #b8df3522; }.panel-heading #addLayer.active .add-icon { transform:rotate(45deg); }.layers { padding:11px 9px;min-height:104px; }.layer { position:relative;width:100%;text-align:left;background:transparent;display:flex;align-items:center;padding:9px 8px;gap:9px;border-radius:6px;color:#aaa; }.layer:hover { background:#202022; }.layer.selected { background:#29292b;color:#fff; }.layer.dragging { opacity:.35; }.layer .eye { font-size:13px;color:#8c8c8e;width:14px; }.layer-icon { width:27px;height:27px;border-radius:4px;display:grid;place-items:center;font-size:15px;background:linear-gradient(135deg,#4f4d72,#1c1c2c); }.layer-name { font-size:12px;font-weight:600; }.layer .drag { position:absolute;right:8px;color:#747477;font-size:15px; }.add-menu { position:absolute;z-index:30;right:0;left:auto;top:calc(100% + 9px);transform:none;width:190px;padding:7px;background:#29292b;border:1px solid #48484b;border-radius:8px;box-shadow:0 14px 32px #000a; }.add-menu:before { content:'';position:absolute;right:18px;left:auto;top:-5px;width:9px;height:9px;background:#29292b;border-left:1px solid #48484b;border-top:1px solid #48484b;transform:rotate(45deg); }.add-menu button { position:relative;width:100%;display:flex;align-items:center;gap:9px;padding:9px 8px;background:transparent;border-radius:5px;text-align:left;font-size:11px; }.add-menu button:hover { background:#3b3b3e; }.add-menu button span { color:var(--accent);font-size:16px; }.layer-footer { padding:13px 16px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;gap:8px;color:#707074;font:10px 'DM Mono',monospace; }.layer-footer button { background:transparent;color:#b3b2b5;padding:0;font:11px Manrope,sans-serif; }.layer-footer button:hover { color:#ff8b9e; }
.stage { min-width:0;display:flex;flex-direction:column;padding:18px 28px 15px;background:#141415; }.stage-toolbar { height:34px;display:flex;justify-content:space-between;align-items:flex-start; }.segmented { background:#202022;border-radius:6px;padding:3px;display:flex;gap:2px; }.segmented button { font-size:11px;color:#858588;background:transparent;padding:5px 10px;border-radius:4px; }.segmented button.active { background:#343437;color:white; }.canvas-tools button { background:transparent;color:#aaa;font-size:11px;margin-left:12px;padding:5px; }.canvas-tools button.active { color:var(--accent); }
.visual-frame { position:relative;min-height:350px;flex:1;max-height:calc(100vh - 160px);margin:11px auto;width:min(100%,920px);display:grid;place-items:center;overflow:hidden;background:#080809;box-shadow:0 18px 50px #0007; }.visual-frame canvas { display:block;width:100%;height:100%;object-fit:cover; }.hero-content,.card-content { display:none;position:absolute;color:white;pointer-events:none; }.hero-mode .hero-content { display:block;left:10%;top:16%; }.hero-content p,.card-content span { color:var(--accent);letter-spacing:1.8px;font:10px 'DM Mono'; }.hero-content h1 { font:600 clamp(36px,5vw,68px)/.96 'Playfair Display',serif;letter-spacing:-3px;margin:14px 0 25px; }.hero-content button { background:white;color:#161616;border-radius:30px;padding:12px 18px;font-weight:700; }.hero-content button span { margin-left:15px; }.card-mode { width:min(520px,75%);flex:none;aspect-ratio:1.55;align-self:center;border-radius:16px; }.card-mode .card-content { display:block;left:32px;bottom:25px; }.card-content h2 { font:600 35px/.93 'Playfair Display';margin:10px 0;letter-spacing:-1px; }.card-content p { margin:0;color:#ddd;font-size:11px; }.stage-bottom { display:flex;justify-content:space-between;margin-top:12px;color:#767679;font:10px 'DM Mono';letter-spacing:.4px; }.stage-bottom span:first-child { color:#a6a6a8; }.live-dot { width:5px;height:5px; }
.property-head { padding-bottom:17px;border-bottom:1px solid var(--line); }.property-type { color:#9d9da0;font:10px 'DM Mono';letter-spacing:1.2px; }.property-head h2 { margin:7px 0 0;font-size:20px;letter-spacing:-.6px; }.property-section { padding:18px 0;border-bottom:1px solid var(--line); }.property-section label { display:flex;justify-content:space-between;margin-bottom:9px;font-size:11px;color:#b5b4b6; }.property-section output { color:#f6f5f2;font:10px 'DM Mono'; }.property-section input[type=range] { width:100%;accent-color:var(--accent); }.property-section input[type=color] { height:28px;width:100%;border:none;background:transparent;padding:0;cursor:pointer; }.property-section select { width:100%;background:#252527;border:1px solid #373739;border-radius:5px;color:#ddd;padding:8px;font-size:11px; }.switch-row { display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);color:#b5b4b6;font-size:11px; }.switch { width:31px;height:17px;border-radius:12px;background:#3d3d3f;position:relative; }.switch.on { background:#b8df35; }.switch:after { content:'';position:absolute;width:13px;height:13px;border-radius:50%;background:white;top:2px;left:2px;transition:.2s; }.switch.on:after { left:16px; }.quality-card { margin-top:21px;padding:13px;background:#202022;border:1px solid #303033;border-radius:8px;position:relative; }.quality-card div { display:flex;flex-direction:column;gap:4px; }.quality-card div span { color:#96969a;font:9px 'DM Mono';letter-spacing:.8px; }.quality-card b { font-size:12px; }.quality-card p { color:#88888b;font-size:10px;margin:9px 0 0; }.performance-dot { position:absolute;right:13px;top:15px;width:8px;height:8px;border-radius:50%;background:var(--accent); }
@media (max-width:800px) { .workspace { grid-template-columns:190px 1fr; }.properties-panel { display:none; }.stage { padding:15px; }.topbar { padding:0 13px;gap:15px; }.project-name { display:none; }.visual-frame { min-height:310px; }.top-actions .ghost { display:none; } }
.layer { padding:0; gap:0; }.layer-select { width:100%; position:relative; display:flex; align-items:center; gap:9px; padding:9px 36px 9px 8px; color:inherit; background:transparent; text-align:left; }.layer.selected .layer-select { color:#fff; }.layer .drag { right:30px; }.layer-delete { position:absolute; right:5px; top:50%; transform:translateY(-50%); width:22px; height:22px; border-radius:4px; background:transparent; color:#777; font-size:16px; line-height:1; opacity:0; }.layer:hover .layer-delete,.layer.selected .layer-delete { opacity:1; }.layer-delete:hover { background:#4a2b34; color:#ff9eaa; }
.layer-visibility { flex:0 0 30px; height:32px; display:grid; place-items:center; background:transparent; color:#9d9da0; }.layer-visibility svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }.layer-visibility:hover { color:var(--accent); }.layer-select { flex:1; width:auto; padding-left:0; }.layer.disabled .layer-select { color:#5d5d60; }.layer.disabled .layer-icon { opacity:.48; }

.showcase-logo { display:block; object-fit:contain; }
.hero-logo { width:19px; height:19px; flex:0 0 19px; }
.card-logo { width:17px; height:17px; flex:0 0 17px; }

.hero-brandline,.card-brandline { display:flex; align-items:center; gap:9px; }
.hero-brandline { margin-bottom:14px; }
.hero-brandline p { margin:0; }
.card-brandline { margin-bottom:11px; }
.card-brandline span { line-height:1; }

.panel-heading #addLayer .add-icon { font-size:19px;font-weight:400;transition:transform .18s; }
.panel-heading #addLayer:focus-visible { outline:2px solid #fff;outline-offset:2px; }
