:root {
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "DM Sans", "Inter", system-ui, sans-serif;
  --bg: #080a10;
  --bg-soft: #0d1018;
  --surface: #121621;
  --surface-2: #181d2a;
  --surface-3: #202637;
  --surface-glass: rgba(18, 22, 33, .84);
  --text: #f8f8fb;
  --text-soft: #aeb5c5;
  --text-faint: #747d91;
  --line: rgba(255,255,255,.1);
  --line-strong: rgba(255,255,255,.17);
  --brand: #8b5cf6;
  --brand-strong: #6d5dfc;
  --brand-soft: rgba(139,92,246,.14);
  --ai: #6ee7c7;
  --ai-soft: rgba(110,231,199,.12);
  --warning: #fbbf24;
  --danger: #fb7185;
  --info: #60a5fa;
  --shadow-xs: 0 4px 14px rgba(0,0,0,.12);
  --shadow-sm: 0 10px 30px rgba(0,0,0,.20);
  --shadow-md: 0 22px 55px rgba(0,0,0,.28);
  --shadow-lg: 0 40px 100px rgba(0,0,0,.42);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --prototype-h: 58px;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-soft: #eef1f7;
  --surface: #ffffff;
  --surface-2: #f4f6fa;
  --surface-3: #eaedf4;
  --surface-glass: rgba(255,255,255,.88);
  --text: #11131a;
  --text-soft: #5f6675;
  --text-faint: #8991a3;
  --line: rgba(17,19,26,.1);
  --line-strong: rgba(17,19,26,.18);
  --brand: #7c4ff3;
  --brand-strong: #6248e8;
  --brand-soft: rgba(124,79,243,.1);
  --ai: #0f9f82;
  --ai-soft: rgba(15,159,130,.1);
  --warning: #b7791f;
  --danger: #d94b64;
  --info: #3276c8;
  --shadow-xs: 0 4px 14px rgba(67,76,102,.08);
  --shadow-sm: 0 10px 30px rgba(67,76,102,.10);
  --shadow-md: 0 22px 55px rgba(67,76,102,.13);
  --shadow-lg: 0 40px 100px rgba(67,76,102,.16);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
figure { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: rgba(139,92,246,.32); }
:focus-visible { outline: 3px solid rgba(139,92,246,.55); outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; transform: translateY(-150%); background: var(--surface); border: 1px solid var(--line); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { transform: translateY(0); }

/* Prototype chrome */
.prototype-bar { position: fixed; inset: 0 0 auto; height: var(--prototype-h); z-index: 500; display: grid; grid-template-columns: 260px 1fr 180px; align-items: center; gap: 20px; padding: 0 18px; border-bottom: 1px solid var(--line); background: rgba(8,10,16,.88); backdrop-filter: blur(22px); }
html[data-theme="light"] .prototype-bar { background: rgba(245,247,251,.9); }
.prototype-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.prototype-brand > span:last-child { display: grid; line-height: 1.1; }
.prototype-brand strong { font: 700 13px var(--font-display); }
.prototype-brand small { color: var(--text-faint); font-size: 10px; margin-top: 3px; }
.brand-symbol { width: 30px; height: 26px; display: inline-flex; align-items: flex-end; gap: 3px; flex: 0 0 auto; }
.brand-symbol i { display: block; width: 8px; background: linear-gradient(180deg,#b89aff,var(--brand-strong)); border-radius: 3px; transform: skewY(-15deg); box-shadow: 0 4px 14px rgba(139,92,246,.3); }
.brand-symbol i:nth-child(1) { height: 17px; }
.brand-symbol i:nth-child(2) { height: 25px; }
.brand-symbol i:nth-child(3) { height: 20px; }
.brand-symbol.small { transform: scale(.72); transform-origin: left center; width: 24px; }
.prototype-tabs { justify-self: center; height: 38px; display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; }
.prototype-tab { border: 0; background: transparent; color: var(--text-soft); height: 30px; padding: 0 13px; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; }
.prototype-tab:hover { color: var(--text); background: var(--surface-2); }
.prototype-tab.is-active { background: var(--brand-soft); color: var(--text); box-shadow: inset 0 0 0 1px rgba(139,92,246,.24); }
.prototype-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.round-button, .icon-square, .glass-icon-button, .guest-round { border: 1px solid var(--line); background: var(--surface); display: inline-grid; place-items: center; cursor: pointer; }
.round-button { width: 36px; height: 36px; border-radius: 10px; }
.round-button svg { width: 17px; height: 17px; }
html[data-theme="dark"] .sun-icon { display: block; }
html[data-theme="dark"] .moon-icon { display: none; }
html[data-theme="light"] .sun-icon { display: none; }
html[data-theme="light"] .moon-icon { display: block; }
.prototype-menu-button { display: none; height: 36px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 0 12px; font-size: 12px; font-weight: 700; cursor: pointer; }

main { padding-top: var(--prototype-h); }
.screen { display: none; min-height: calc(100vh - var(--prototype-h)); }
.screen.is-active { display: block; }

/* Shared buttons */
.button { border: 1px solid transparent; min-height: 44px; padding: 0 18px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg,#9b6cff,var(--brand-strong)); box-shadow: 0 14px 34px rgba(109,93,252,.26), inset 0 1px rgba(255,255,255,.18); }
.button-primary:hover { box-shadow: 0 18px 42px rgba(109,93,252,.36), inset 0 1px rgba(255,255,255,.18); }
.button-secondary { background: var(--surface); color: var(--text); border-color: var(--line); box-shadow: var(--shadow-xs); }
.button-secondary:hover { border-color: var(--line-strong); background: var(--surface-2); }
.button-light { background: #fff; color: #11131a; box-shadow: 0 14px 34px rgba(0,0,0,.2); }
.button-large { min-height: 54px; padding: 0 24px; border-radius: 15px; font-size: 15px; }
.button-small { min-height: 36px; padding: 0 13px; border-radius: 9px; font-size: 12px; }
.full-width { width: 100%; }
.text-button, .text-link { border: 0; background: none; cursor: pointer; color: var(--text-soft); font-weight: 700; }
.text-button:hover, .text-link:hover { color: var(--text); }
.text-link { padding: 0; color: var(--brand); }
.text-link.small { font-size: 12px; }
.play-chip { width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 9px; padding-left: 2px; }

/* Marketing */
.marketing-shell { overflow: hidden; }
.marketing-container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: absolute; z-index: 20; inset: 0 0 auto; height: 76px; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.site-brand { display: inline-flex; align-items: center; gap: 9px; }
.site-brand strong { font: 700 17px var(--font-display); letter-spacing: -.03em; }
.site-nav { display: flex; gap: 32px; color: var(--text-soft); font-size: 13px; font-weight: 600; }
.site-nav a:hover { color: var(--text); }
.site-actions { display: flex; align-items: center; gap: 10px; }
.hero { min-height: 890px; position: relative; padding: 148px 0 0; background: radial-gradient(circle at 74% 21%, rgba(139,92,246,.11), transparent 35%), radial-gradient(circle at 16% 0%, rgba(110,231,199,.06), transparent 22%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom,#000,transparent 72%); }
html[data-theme="light"] .hero::after { background-image: linear-gradient(rgba(17,19,26,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(17,19,26,.025) 1px,transparent 1px); }
.ambient { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .26; pointer-events: none; }
.ambient-a { width: 460px; height: 460px; right: -180px; top: 140px; background: var(--brand); }
.ambient-b { width: 350px; height: 350px; left: -140px; bottom: 60px; background: var(--ai); opacity: .1; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .86fr 1.14fr; gap: 62px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--text-soft); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.light { color: rgba(255,255,255,.68); }
.live-dot { width: 8px; height: 8px; background: var(--ai); border-radius: 50%; box-shadow: 0 0 0 5px rgba(110,231,199,.09),0 0 18px rgba(110,231,199,.48); }
.hero h1 { margin: 20px 0 22px; font: 800 clamp(54px,5.5vw,82px)/.98 var(--font-display); letter-spacing: -.065em; }
.hero h1 span { color: transparent; background: linear-gradient(110deg,#c8b7ff,#7c63f7 56%,#6ee7c7); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { max-width: 570px; margin: 0; color: var(--text-soft); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 24px; color: var(--text-faint); font-size: 12px; }
.trust-list span { display: flex; align-items: center; gap: 7px; }
.trust-list i { color: var(--ai); font-style: normal; }
.hero-product { position: relative; min-width: 0; }
.hero-glow { position: absolute; inset: 16% 2% 3%; border-radius: 42px; background: linear-gradient(135deg,rgba(139,92,246,.42),rgba(110,231,199,.18)); filter: blur(70px); opacity: .55; }
.browser-window { position: relative; z-index: 2; border: 1px solid var(--line-strong); border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-lg); transform: perspective(1300px) rotateY(-3deg) rotateX(2deg); }
.browser-bar { height: 42px; display: grid; grid-template-columns: 90px 1fr 90px; align-items: center; padding: 0 12px; background: var(--bg-soft); border-bottom: 1px solid var(--line); color: var(--text-faint); font-size: 9px; }
.browser-bar > span { justify-self: center; padding: 6px 45px; border-radius: 7px; background: var(--surface-2); }
.browser-dots { display: flex; gap: 5px; }
.browser-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--surface-3); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg,var(--brand),var(--brand-strong)); color: #fff; font-size: 11px; font-weight: 800; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-small { width: 28px; height: 28px; font-size: 8px; }
.browser-bar .avatar { justify-self: end; }
.event-preview-cover { position: relative; height: 215px; overflow: hidden; }
.event-preview-cover > img { height: 100%; object-fit: cover; }
.event-preview-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(7,8,12,.1),rgba(7,8,12,.82)); }
.event-preview-copy { position: absolute; left: 24px; bottom: 21px; color: #fff; }
.event-preview-copy h2 { margin: 8px 0 2px; font: 800 24px/1.1 var(--font-display); letter-spacing: -.04em; }
.event-preview-copy p { margin: 0; color: rgba(255,255,255,.65); font-size: 10px; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 8px; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.status-live { color: #bcf8e9; background: rgba(14,117,95,.56); border: 1px solid rgba(110,231,199,.25); }
.status-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ai); box-shadow: 0 0 8px var(--ai); }
.status-processing { color: #dacfff; background: var(--brand-soft); border: 1px solid rgba(139,92,246,.25); }
.status-warning { color: #ffe5a2; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.22); }
.status-draft { color: var(--text-soft); background: var(--surface-3); border: 1px solid var(--line); }
.status-review { color: #bfdbfe; background: rgba(96,165,250,.12); border: 1px solid rgba(96,165,250,.22); }
.status-ready { color: var(--ai); background: var(--ai-soft); border: 1px solid rgba(110,231,199,.2); }
.glass-icon-button { position: absolute; right: 20px; bottom: 22px; width: 38px; height: 38px; border-radius: 11px; color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); backdrop-filter: blur(12px); }
.glass-icon-button svg { width: 18px; height: 18px; stroke-width: 1.2; }
.event-preview-toolbar { display: grid; grid-template-columns: repeat(3,1fr) auto; gap: 8px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.event-preview-toolbar > div { display: grid; }
.event-preview-toolbar strong { font: 700 13px var(--font-display); }
.event-preview-toolbar span { color: var(--text-faint); font-size: 8px; }
.preview-gallery { height: 190px; padding: 10px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; background: var(--bg-soft); }
.preview-gallery figure { border-radius: 8px; overflow: hidden; }
.preview-gallery img { height: 100%; object-fit: cover; transition: transform .4s ease; }
.preview-gallery figure:hover img { transform: scale(1.05); }
.preview-gallery .preview-tall { grid-row: span 2; }
.floating-card { position: absolute; z-index: 4; border: 1px solid var(--line-strong); background: var(--surface-glass); backdrop-filter: blur(18px); box-shadow: var(--shadow-md); border-radius: 16px; }
.upload-float { left: -46px; bottom: 26px; width: 250px; padding: 13px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; }
.float-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-size: 18px; font-weight: 800; }
.upload-float small, .ai-float small { color: var(--text-soft); font-size: 9px; }
.upload-float strong { font-size: 10px; }
.progress { height: 5px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg,var(--brand),var(--ai)); border-radius: inherit; }
.upload-float .progress { margin-top: 7px; }
.ai-float { right: -34px; top: 98px; padding: 11px 13px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; }
.ai-float > div:nth-child(2) { display: grid; }
.ai-float strong { font-size: 10px; }
.success-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ai-soft); color: var(--ai); font-size: 10px; }
.event-marquee { position: relative; z-index: 2; margin-top: 78px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 20px; padding: 17px 0; animation: marquee 28s linear infinite; color: var(--text-faint); font: 700 11px var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.marquee-track i { color: var(--brand); font-style: normal; }
.proof-section { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); padding: 30px 0; }
.proof-grid > div { display: grid; gap: 3px; padding: 0 24px; border-right: 1px solid var(--line); }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { border: 0; }
.proof-grid strong { font: 700 16px var(--font-display); }
.proof-grid span { color: var(--text-faint); font-size: 11px; }
.marketing-section { padding: 112px 0; }
.section-heading { margin-bottom: 46px; }
.section-heading.centered { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.split { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 80px; }
.section-heading h2, .workflow-intro h2, .ai-copy h2, .final-cta h2 { margin: 14px 0 18px; font: 800 clamp(40px,4.9vw,64px)/1.03 var(--font-display); letter-spacing: -.055em; }
.section-heading p, .workflow-intro p, .ai-copy p { margin: 0; color: var(--text-soft); font-size: 16px; line-height: 1.75; }
.role-showcase { border: 1px solid var(--line); border-radius: 28px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.role-tabs { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.role-tab { min-height: 88px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--text-soft); display: flex; align-items: center; gap: 12px; padding: 16px 22px; text-align: left; cursor: pointer; }
.role-tab:last-child { border-right: 0; }
.role-tab > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); font-size: 10px; font-weight: 800; }
.role-tab > div { display: grid; }
.role-tab strong { color: var(--text); font: 700 14px var(--font-display); }
.role-tab small { margin-top: 3px; color: var(--text-faint); font-size: 10px; }
.role-tab.is-active { background: var(--surface); }
.role-tab.is-active > span { color: #fff; background: linear-gradient(135deg,var(--brand),var(--brand-strong)); box-shadow: 0 8px 22px rgba(139,92,246,.25); }
.role-panel { min-height: 530px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 55px; padding: 55px; }
.role-panel[hidden] { display: none; }
.panel-kicker { color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.role-copy h3 { margin: 14px 0 17px; font: 800 38px/1.12 var(--font-display); letter-spacing: -.045em; }
.role-copy p { margin: 0; color: var(--text-soft); line-height: 1.75; }
.check-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; color: var(--text-soft); font-size: 13px; }
.check-list li { display: flex; align-items: center; gap: 9px; }
.check-list span { width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: var(--ai-soft); color: var(--ai); font-size: 9px; }
.phone-demo { min-height: 430px; position: relative; display: grid; place-items: center; border-radius: 24px; background: radial-gradient(circle at 50% 42%,rgba(139,92,246,.19),transparent 42%),var(--bg-soft); overflow: hidden; }
.phone-demo::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px,transparent 1px); background-size: 16px 16px; mask-image: linear-gradient(to bottom,#000,transparent); }
.phone-shell { position: relative; z-index: 2; width: 214px; height: 414px; padding: 7px; border-radius: 32px; background: #07090e; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 28px 60px rgba(0,0,0,.45); }
.phone-island { position: absolute; z-index: 4; top: 12px; left: 50%; transform: translateX(-50%); width: 72px; height: 17px; border-radius: 999px; background: #07090e; }
.phone-content { height: 100%; border-radius: 26px; overflow: hidden; padding: 24px 10px 8px; background: #f6f7fa; color: #151821; }
.phone-top { display: flex; justify-content: space-between; padding: 0 3px 8px; font-size: 8px; }
.phone-cover-mini { position: relative; height: 172px; border-radius: 16px; overflow: hidden; }
.phone-cover-mini img { height: 100%; object-fit: cover; }
.phone-cover-mini::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent,rgba(8,10,16,.78)); }
.phone-cover-mini div { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; color: #fff; display: grid; }
.phone-cover-mini small { font-size: 7px; color: rgba(255,255,255,.68); }
.phone-cover-mini strong { font: 800 14px/1.1 var(--font-display); }
.phone-ai-button { width: 100%; height: 36px; margin: 9px 0; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(135deg,#8b5cf6,#6d5dfc); font-size: 8px; font-weight: 800; }
.phone-photo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
.phone-photo-grid img { height: 65px; object-fit: cover; border-radius: 7px; }
.phone-nav { display: grid; grid-template-columns: 1fr 42px 1fr; align-items: center; gap: 4px; margin-top: 7px; color: #6b7280; text-align: center; font-size: 6px; }
.phone-nav strong { width: 34px; height: 34px; margin: -4px auto 0; display: grid; place-items: center; border-radius: 50%; background: #7c4ff3; color: #fff; font-size: 18px; box-shadow: 0 8px 18px rgba(124,79,243,.35); }
.mini-notice { position: absolute; z-index: 3; right: 10%; top: 17%; display: grid; grid-template-columns: 28px 1fr; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(12,15,23,.9); color: #fff; box-shadow: var(--shadow-sm); border-radius: 14px; }
.mini-notice > span { grid-row: span 2; align-self: center; color: var(--ai); }
.mini-notice strong { font-size: 10px; }
.mini-notice small { color: rgba(255,255,255,.55); font-size: 7px; }
.dashboard-demo { height: 395px; display: grid; grid-template-columns: 50px 1fr; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; overflow: hidden; background: #0c0f17; color: #fff; box-shadow: var(--shadow-lg); }
.dashboard-mini-sidebar { background: #080a10; border-right: 1px solid rgba(255,255,255,.07); padding: 16px 9px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.dashboard-mini-sidebar b { width: 25px; height: 25px; border-radius: 7px; background: rgba(255,255,255,.055); }
.dashboard-mini-sidebar b:nth-of-type(1) { background: rgba(139,92,246,.24); }
.dashboard-mini-main { padding: 24px; }
.mini-title { display: flex; justify-content: space-between; align-items: center; }
.mini-title > div { display: grid; }
.mini-title small { color: rgba(255,255,255,.45); font-size: 7px; letter-spacing: .08em; }
.mini-title strong { margin-top: 3px; font: 700 17px var(--font-display); }
.mini-title button { height: 28px; padding: 0 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(255,255,255,.04); color: #fff; font-size: 8px; }
.mini-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 22px; }
.mini-metrics div { min-height: 72px; padding: 11px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.035); border-radius: 11px; display: grid; }
.mini-metrics span { color: rgba(255,255,255,.43); font-size: 7px; }
.mini-metrics strong { font: 700 18px var(--font-display); }
.mini-metrics small { color: var(--ai); font-size: 7px; }
.mini-chart { margin-top: 10px; height: 200px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.025); border-radius: 12px; padding: 13px; }
.mini-chart > div { display: flex; justify-content: space-between; }
.mini-chart > div strong { font-size: 9px; }
.mini-chart > div span { color: rgba(255,255,255,.4); font-size: 7px; }
.mini-chart svg { width: 100%; height: 150px; margin-top: 9px; }
.mini-line { fill: none; stroke: #8b5cf6; stroke-width: 3; }
.studio-demo-card { border: 1px solid var(--line); border-radius: 20px; background: var(--bg-soft); padding: 25px; box-shadow: var(--shadow-sm); }
.studio-demo-head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 18px; }
.studio-demo-head > div { display: grid; }
.studio-demo-head small { color: var(--text-faint); font-size: 8px; letter-spacing: .1em; }
.studio-demo-head strong { margin-top: 3px; font: 700 18px var(--font-display); }
.upload-drop-mini { min-height: 92px; padding: 17px; border: 1px dashed var(--line-strong); border-radius: 14px; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 12px; background: var(--surface); }
.upload-drop-mini > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--brand); background: var(--brand-soft); font-size: 18px; }
.upload-drop-mini div { display: grid; }
.upload-drop-mini strong { font-size: 11px; }
.upload-drop-mini small { color: var(--text-faint); font-size: 8px; }
.upload-row-mini { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.upload-row-mini:last-child { border-bottom: 0; }
.upload-row-mini img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; }
.upload-row-mini > div { min-width: 0; }
.upload-row-mini strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.upload-row-mini span { height: 4px; display: block; margin-top: 7px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.upload-row-mini span i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--brand),var(--ai)); }
.upload-row-mini b { color: var(--text-soft); font-size: 8px; }
.use-cases-section { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-button { height: 38px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-soft); padding: 0 15px; font-size: 11px; font-weight: 700; cursor: pointer; }
.filter-button.is-active { color: #fff; border-color: transparent; background: linear-gradient(135deg,var(--brand),var(--brand-strong)); }
.case-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 300px; gap: 16px; }
.case-card { position: relative; border-radius: 22px; overflow: hidden; min-width: 0; transition: transform .25s ease, opacity .25s ease; }
.case-card.case-wide { grid-column: span 2; }
.case-card.is-hidden { display: none; }
.case-card img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.case-card:hover img { transform: scale(1.04); }
.case-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(7,9,14,.03),rgba(7,9,14,.85)); }
.case-copy { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: #fff; }
.case-copy span { color: rgba(255,255,255,.58); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.case-copy h3 { margin: 6px 0 0; font: 700 22px/1.2 var(--font-display); letter-spacing: -.035em; }
.case-copy p { max-width: 560px; margin: 8px 0 0; color: rgba(255,255,255,.62); font-size: 11px; }
.workflow-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.workflow-intro { position: sticky; top: 100px; }
.workflow-list { border-top: 1px solid var(--line); }
.workflow-item { display: grid; grid-template-columns: 48px 1fr 260px; gap: 20px; align-items: center; min-height: 152px; padding: 20px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.workflow-item > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--text-faint); background: var(--surface-2); font-size: 10px; font-weight: 800; }
.workflow-item h3 { margin: 0; font: 700 20px var(--font-display); letter-spacing: -.025em; }
.workflow-item p { margin: 5px 0 0; color: var(--text-faint); font-size: 12px; }
.workflow-art { height: 110px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; opacity: .42; transform: scale(.97); transition: .25s ease; }
.workflow-item.is-active > span { color: #fff; background: linear-gradient(135deg,var(--brand),var(--brand-strong)); }
.workflow-item.is-active .workflow-art { opacity: 1; transform: scale(1); }
.create-art { display: grid; place-items: center; padding: 12px; }
.create-art > div { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; }
.create-art small { grid-column: 1; color: var(--text-faint); font-size: 7px; }
.create-art strong { grid-column: 1; font-size: 10px; }
.create-art span { grid-column: 1; display: flex; gap: 4px; margin-top: 6px; }
.create-art span i { width: 28px; height: 20px; border: 1px solid var(--line); border-radius: 5px; }
.create-art button { grid-column: 2; grid-row: 1 / span 3; align-self: end; height: 28px; border: 0; border-radius: 7px; background: var(--brand); color: #fff; font-size: 7px; font-weight: 800; }
.qr-art { display: flex; align-items: center; justify-content: center; gap: 16px; }
.fake-qr { width: 66px; height: 66px; padding: 6px; display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(3,1fr); gap: 4px; background: #fff; border-radius: 7px; }
.fake-qr i { position: relative; border: 4px solid #11131a; }
.fake-qr i::after { content: ""; position: absolute; inset: 3px; background: #11131a; }
.fake-qr b { background: #11131a; }
.fake-qr.large { width: 118px; height: 118px; padding: 9px; gap: 6px; }
.fake-qr.large i { border-width: 6px; }
.qr-art > div:last-child { display: grid; }
.qr-art strong { font-size: 11px; }
.qr-art small { color: var(--text-faint); font-size: 8px; }
.faces-art { display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; }
.faces-art img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; border: 2px solid rgba(139,92,246,.5); }
.faces-art i { position: absolute; width: 188px; height: 2px; background: linear-gradient(90deg,transparent,var(--ai),transparent); box-shadow: 0 0 10px var(--ai); animation: scan 2.6s ease-in-out infinite; }
.delivery-art { display: flex; align-items: center; justify-content: center; gap: 23px; }
.delivery-art > div { position: relative; width: 100px; height: 78px; }
.delivery-art i { position: absolute; width: 58px; height: 75px; border-radius: 8px; background-size: cover; background-position: center; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-xs); }
.delivery-art i:nth-child(1) { left: 0; transform: rotate(-9deg); }
.delivery-art i:nth-child(2) { left: 22px; z-index: 2; }
.delivery-art i:nth-child(3) { left: 43px; transform: rotate(9deg); }
.delivery-art strong { font-size: 10px; }
.ai-section { padding-top: 10px; }
.ai-panel { position: relative; min-height: 600px; padding: 72px; border-radius: 36px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 80px; color: #fff; background: radial-gradient(circle at 90% 0%,rgba(110,231,199,.23),transparent 31%),radial-gradient(circle at 8% 100%,rgba(139,92,246,.42),transparent 38%),#111425; overflow: hidden; }
.ai-panel::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(90deg,transparent,#000); pointer-events: none; }
.ai-copy, .ai-visual { position: relative; z-index: 2; }
.ai-copy h2 { font-size: clamp(44px,5vw,65px); }
.ai-copy p { color: rgba(255,255,255,.64); }
.ai-points { display: grid; gap: 10px; margin: 27px 0; color: rgba(255,255,255,.74); font-size: 12px; }
.ai-points span { display: flex; align-items: center; gap: 9px; }
.ai-points i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(110,231,199,.12); color: var(--ai); font-style: normal; }
.ai-visual { display: grid; grid-template-columns: 1fr 90px 1.2fr; align-items: center; }
.selfie-stage, .match-stack { display: flex; flex-direction: column; align-items: center; text-align: center; }
.selfie-ring { position: relative; width: 160px; height: 160px; padding: 7px; border-radius: 50%; background: conic-gradient(var(--ai),var(--brand),var(--ai)); }
.selfie-ring img { height: 100%; object-fit: cover; border-radius: 50%; border: 6px solid #15192a; }
.selfie-ring span { position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.27); animation: rotate 13s linear infinite; }
.selfie-stage strong, .match-stack > strong { margin-top: 14px; font-size: 12px; }
.selfie-stage small, .match-stack > small { color: rgba(255,255,255,.45); font-size: 8px; }
.ai-arrow { display: grid; place-items: center; gap: 12px; }
.ai-arrow span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(139,92,246,.2); border: 1px solid rgba(139,92,246,.35); font-size: 10px; font-weight: 800; }
.ai-arrow i { width: 60px; height: 1px; background: linear-gradient(90deg,var(--brand),var(--ai)); }
.match-photos { position: relative; width: 238px; height: 225px; }
.match-photos img { position: absolute; width: 142px; height: 190px; object-fit: cover; border-radius: 16px; border: 1px solid rgba(255,255,255,.15); box-shadow: var(--shadow-md); }
.match-photos img:nth-child(1) { left: 0; top: 18px; transform: rotate(-8deg); }
.match-photos img:nth-child(2) { left: 48px; top: 0; z-index: 2; }
.match-photos img:nth-child(3) { left: 95px; top: 18px; transform: rotate(8deg); }
.billing-switch { width: max-content; margin: 0 auto 28px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.billing-switch button { height: 34px; border: 0; border-radius: 8px; padding: 0 14px; background: transparent; color: var(--text-soft); font-size: 11px; font-weight: 700; cursor: pointer; }
.billing-switch button.is-active { background: var(--surface-2); color: var(--text); box-shadow: var(--shadow-xs); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.price-card.featured { border-color: rgba(139,92,246,.4); box-shadow: 0 28px 70px rgba(109,93,252,.13); background: linear-gradient(180deg,var(--brand-soft),transparent 24%),var(--surface); }
.popular-label { position: absolute; top: 16px; right: 16px; padding: 5px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.price-name { color: var(--brand); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.price-card h3 { margin: 10px 0 18px; font: 700 20px var(--font-display); }
.price { display: flex; align-items: flex-start; margin: 8px 0 14px; }
.price small { margin-top: 8px; color: var(--text-soft); font-size: 16px; }
.price strong { font: 800 49px/1 var(--font-display); letter-spacing: -.05em; }
.price span { align-self: flex-end; margin: 0 0 6px 7px; color: var(--text-faint); font-size: 10px; }
.custom-price strong { font-size: 39px; }
.price-card > p { min-height: 64px; color: var(--text-soft); font-size: 12px; }
.price-card ul { list-style: none; padding: 20px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; color: var(--text-soft); font-size: 11px; }
.price-card li::before { content: "✓"; margin-right: 8px; color: var(--ai); }
.final-cta-section { padding-top: 25px; }
.final-cta { min-height: 340px; border-radius: 34px; padding: 60px 65px; display: flex; align-items: center; justify-content: space-between; gap: 50px; color: #fff; background: radial-gradient(circle at 80% 20%,rgba(110,231,199,.2),transparent 30%),linear-gradient(135deg,#5f3ad5,#171a2a 68%); }
.final-cta > div { max-width: 760px; }
.final-cta h2 { margin-bottom: 10px; font-size: clamp(38px,4.5vw,59px); }
.final-cta p { margin: 0; color: rgba(255,255,255,.64); }
.site-footer { padding: 75px 0 22px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3,1fr); gap: 60px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid > div:first-child p { max-width: 300px; color: var(--text-faint); font-size: 12px; }
.footer-grid > div > strong { margin-bottom: 5px; font: 700 11px var(--font-display); }
.footer-grid a:not(.site-brand) { color: var(--text-faint); font-size: 11px; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: 10px; }

/* App structure */
.app-screen.is-active { display: grid; grid-template-columns: 250px 1fr; background: var(--bg-soft); }
.app-sidebar { position: sticky; top: var(--prototype-h); height: calc(100vh - var(--prototype-h)); display: flex; flex-direction: column; padding: 18px 14px; border-right: 1px solid var(--line); background: var(--bg); z-index: 20; }
.app-logo { height: 43px; display: flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--text); cursor: pointer; padding: 0 8px; }
.app-logo strong { font: 700 15px var(--font-display); letter-spacing: -.03em; }
.workspace-switch { margin: 16px 0 18px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; background: var(--surface); }
.workspace-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(135deg,var(--brand),var(--brand-strong)); color: #fff; font-size: 9px; font-weight: 800; }
.workspace-switch > div:nth-child(2) { min-width: 0; display: grid; }
.workspace-switch strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.workspace-switch small { color: var(--text-faint); font-size: 8px; }
.workspace-switch > span { color: var(--text-faint); }
.app-nav { display: flex; flex-direction: column; gap: 3px; overflow-y: auto; }
.app-nav-label { margin: 15px 10px 6px; color: var(--text-faint); font-size: 8px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.app-nav a { min-height: 38px; padding: 0 10px; border-radius: 9px; display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 11px; font-weight: 600; }
.app-nav a > span { width: 18px; text-align: center; color: var(--text-faint); }
.app-nav a:hover { color: var(--text); background: var(--surface); }
.app-nav a.is-active { color: var(--text); background: var(--brand-soft); }
.app-nav a.is-active > span { color: var(--brand); }
.app-nav a b { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; color: var(--text-faint); background: var(--surface-2); font-size: 8px; }
.app-nav a b.alert-count { color: var(--warning); background: rgba(251,191,36,.1); }
.sidebar-card { margin-top: auto; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg,var(--brand-soft),transparent),var(--surface); }
.sidebar-card > span { color: var(--brand); font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.sidebar-card strong { display: block; margin: 5px 0 8px; font-size: 9px; }
.sidebar-card button { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--text-soft); font-size: 8px; font-weight: 700; cursor: pointer; }
.sidebar-user { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 7px 0; border-top: 1px solid var(--line); }
.sidebar-user > div:nth-child(2) { display: grid; min-width: 0; }
.sidebar-user strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.sidebar-user small { color: var(--text-faint); font-size: 7px; }
.sidebar-user button { border: 0; background: none; color: var(--text-faint); cursor: pointer; }
.app-main { min-width: 0; }
.app-topbar { position: sticky; top: var(--prototype-h); z-index: 15; height: 64px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--surface-glass); backdrop-filter: blur(18px); }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--text-faint); font-size: 10px; }
.breadcrumb b { font-weight: 400; }
.breadcrumb strong { color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-square { width: 38px; height: 38px; border-radius: 10px; position: relative; }
.icon-square i { position: absolute; top: 8px; right: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--danger); border: 1px solid var(--surface); }
.app-mobile-menu { display: none; }
.app-content { max-width: 1480px; padding: 31px; margin: 0 auto; }
.dashboard-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.title-overline { display: flex; align-items: center; gap: 9px; color: var(--text-faint); font-size: 9px; }
.dashboard-title-row h1 { margin: 9px 0 3px; font: 800 31px var(--font-display); letter-spacing: -.045em; }
.dashboard-title-row p { margin: 0; color: var(--text-faint); font-size: 11px; }
.title-actions { display: flex; gap: 8px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.metric-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-xs); }
.metric-head, .metric-foot { display: flex; align-items: center; justify-content: space-between; }
.metric-head > span { color: var(--text-soft); font-size: 10px; font-weight: 600; }
.metric-icon { width: 29px; height: 29px; border-radius: 9px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); font-style: normal; font-size: 11px; }
.metric-icon.ai { color: var(--ai); background: var(--ai-soft); }
.metric-icon.warning { color: var(--warning); background: rgba(251,191,36,.1); }
.metric-card > strong { display: block; margin: 12px 0 7px; font: 800 30px var(--font-display); letter-spacing: -.04em; }
.metric-foot { justify-content: flex-start; gap: 7px; }
.metric-foot span { font-size: 9px; font-weight: 700; }
.metric-foot small { color: var(--text-faint); font-size: 8px; }
.trend-up { color: var(--ai); }
.trend-neutral { color: var(--warning); }
.dashboard-main-grid { display: grid; grid-template-columns: 1.45fr .7fr; gap: 14px; margin-top: 14px; }
.panel { border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow-xs); }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 19px 20px 0; }
.panel-header h2 { margin: 0; font: 700 14px var(--font-display); letter-spacing: -.02em; }
.panel-header p { margin: 3px 0 0; color: var(--text-faint); font-size: 9px; }
.panel-header select { height: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--text-soft); padding: 0 8px; font-size: 8px; }
.activity-panel { min-height: 390px; }
.chart-legend { display: flex; gap: 14px; margin: 18px 22px 0; color: var(--text-faint); font-size: 8px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend i { width: 8px; height: 8px; border-radius: 50%; }
.legend-brand { background: var(--brand); }
.legend-ai { background: var(--ai); }
.activity-chart { height: 285px; display: grid; grid-template-columns: 34px 1fr; padding: 10px 18px 18px; }
.chart-y { padding: 9px 0 25px; display: flex; flex-direction: column; justify-content: space-between; color: var(--text-faint); font-size: 7px; }
.chart-canvas { min-width: 0; }
.chart-canvas svg { width: 100%; height: 235px; overflow: visible; }
.grid-lines path { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.line-path { fill: none; stroke-width: 3; }
.brand-line { stroke: var(--brand); }
.ai-line { stroke: var(--ai); stroke-width: 2; }
.chart-x { display: flex; justify-content: space-between; color: var(--text-faint); font-size: 7px; }
.event-health { min-height: 390px; }
.health-score { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 15px; padding: 24px 20px 19px; }
.score-ring { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at center,var(--surface) 58%,transparent 59%),conic-gradient(var(--ai) 0 92%,var(--surface-3) 92%); }
.score-ring span { grid-area: 1/1; font: 800 22px var(--font-display); }
.score-ring small { grid-area: 1/1; margin-top: 30px; color: var(--text-faint); font-size: 7px; }
.health-score > div:last-child strong { font-size: 11px; }
.health-score > div:last-child p { margin: 4px 0 0; color: var(--text-faint); font-size: 8px; }
.health-list { border-top: 1px solid var(--line); padding: 7px 20px 14px; }
.health-list > div { min-height: 38px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.health-list > div:last-child { border-bottom: 0; }
.health-list span { display: flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: 9px; }
.health-list i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 7px; }
.health-ok { color: var(--ai); background: var(--ai-soft); }
.health-warn { color: var(--warning); background: rgba(251,191,36,.1); }
.health-list strong { font-size: 8px; }
.recent-panel, .moderation-panel { min-height: 300px; }
.recent-media-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 18px 20px 20px; }
.recent-media-grid figure { height: 190px; position: relative; border-radius: 12px; overflow: hidden; }
.recent-media-grid img { height: 100%; object-fit: cover; }
.recent-media-grid figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent,rgba(8,10,16,.65)); }
.recent-media-grid figcaption { position: absolute; z-index: 2; left: 10px; bottom: 9px; color: #fff; display: grid; }
.recent-media-grid figcaption span { color: rgba(255,255,255,.6); font-size: 7px; }
.recent-media-grid figcaption b { font-size: 8px; }
.review-list { padding: 10px 20px 18px; }
.review-row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.review-row:last-child { border-bottom: 0; }
.review-row img { width: 48px; height: 48px; object-fit: cover; border-radius: 9px; }
.review-row > div { display: grid; min-width: 0; }
.review-row strong { font-size: 9px; }
.review-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-faint); font-size: 7px; }
.review-row button { height: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--text-soft); font-size: 8px; font-weight: 700; }

/* Guest gallery */
.guest-screen { background: var(--bg); padding-bottom: 30px; }
.guest-topbar { position: sticky; top: var(--prototype-h); z-index: 20; height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; background: var(--surface-glass); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.guest-brand { border: 0; background: none; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.guest-brand > span:last-child { font: 700 13px var(--font-display); }
.guest-actions { display: flex; gap: 7px; }
.guest-round { width: 36px; height: 36px; border-radius: 50%; }
.guest-event-hero { position: relative; height: 430px; overflow: hidden; }
.guest-event-hero > img { height: 100%; object-fit: cover; }
.guest-cover-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(7,9,14,.18),rgba(7,9,14,.83)); }
.guest-cover-content { position: absolute; left: max(28px,calc((100% - 1160px)/2)); right: max(28px,calc((100% - 1160px)/2)); bottom: 39px; display: flex; align-items: flex-end; justify-content: space-between; color: #fff; }
.guest-cover-content h1 { margin: 12px 0 4px; font: 800 clamp(36px,5vw,62px)/1 var(--font-display); letter-spacing: -.055em; }
.guest-cover-content p { margin: 0; color: rgba(255,255,255,.62); }
.guest-counts { display: flex; gap: 25px; color: rgba(255,255,255,.68); font-size: 10px; }
.guest-counts span { display: grid; }
.guest-counts strong { color: #fff; font: 700 21px var(--font-display); }
.guest-shell { width: min(1160px,calc(100% - 40px)); margin: 0 auto; }
.guest-welcome { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; padding: 45px 0 32px; }
.guest-welcome h2 { margin: 10px 0 9px; font: 800 38px/1.1 var(--font-display); letter-spacing: -.045em; }
.guest-welcome p { max-width: 670px; margin: 0; color: var(--text-soft); }
.guest-primary-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.gallery-controls { min-height: 63px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery-tabs { display: flex; gap: 5px; }
.gallery-tabs button, .gallery-tools button { height: 35px; border: 0; border-radius: 9px; background: transparent; color: var(--text-faint); padding: 0 12px; font-size: 10px; font-weight: 700; cursor: pointer; }
.gallery-tabs button.is-active { color: var(--text); background: var(--surface-2); }
.gallery-tools { display: flex; gap: 4px; }
.gallery-tools button:first-child { border: 1px solid var(--line); background: var(--surface); }
.gallery-tools .view-button { width: 35px; padding: 0; }
.gallery-tools .view-button.is-active { color: var(--brand); background: var(--brand-soft); }
.masonry-gallery { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 210px; gap: 10px; padding: 19px 0 70px; }
.gallery-photo { position: relative; border-radius: 13px; overflow: hidden; background: var(--surface); }
.gallery-photo.tall { grid-row: span 2; }
.gallery-photo.wide { grid-column: span 2; }
.gallery-photo.is-hidden { display: none; }
.gallery-photo img { height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-photo:hover img { transform: scale(1.035); }
.gallery-photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,rgba(7,9,14,.72)); opacity: 0; transition: opacity .2s ease; }
.gallery-photo:hover::after { opacity: 1; }
.heart-button { position: absolute; z-index: 3; top: 10px; right: 10px; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(8,10,16,.46); color: #fff; backdrop-filter: blur(10px); cursor: pointer; }
.heart-button.is-favorite { background: #fff; color: var(--danger); }
.gallery-photo figcaption { position: absolute; z-index: 3; left: 12px; bottom: 11px; display: grid; color: #fff; opacity: 0; transform: translateY(5px); transition: .2s ease; }
.gallery-photo:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-photo figcaption span { color: var(--ai); font-size: 7px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.gallery-photo figcaption strong { font-size: 8px; }
.video-badge { position: absolute; z-index: 2; left: 10px; top: 10px; padding: 6px 8px; border-radius: 999px; background: rgba(8,10,16,.55); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 8px; backdrop-filter: blur(9px); }
.guest-bottom-nav { display: none; }

/* Create event */
.create-screen.is-active { display: block; background: var(--bg-soft); }
.create-header { position: sticky; top: var(--prototype-h); z-index: 20; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--line); background: var(--surface-glass); backdrop-filter: blur(18px); }
.create-header > div { display: flex; align-items: center; gap: 17px; color: var(--text-faint); font-size: 10px; }
.create-header > div button { border: 0; background: none; color: var(--text-soft); font-size: 10px; font-weight: 700; cursor: pointer; }
.create-layout { min-height: calc(100vh - var(--prototype-h) - 64px); display: grid; grid-template-columns: 300px 1fr; }
.create-steps { padding: 30px 22px; border-right: 1px solid var(--line); background: var(--bg); }
.create-progress { padding: 0 9px 23px; }
.create-progress > span { color: var(--text-faint); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.create-progress > strong { display: block; margin: 4px 0 11px; font-size: 11px; }
.create-step { width: 100%; min-height: 62px; display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 10px; border: 0; border-radius: 12px; background: transparent; color: var(--text-soft); padding: 7px 9px; text-align: left; cursor: pointer; }
.create-step:hover { background: var(--surface); }
.create-step > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--text-faint); font-size: 9px; font-weight: 800; }
.create-step > div { display: grid; }
.create-step strong { color: var(--text); font-size: 10px; }
.create-step small { margin-top: 2px; color: var(--text-faint); font-size: 8px; }
.create-step.is-active { background: var(--brand-soft); }
.create-step.is-active > span { color: #fff; background: linear-gradient(135deg,var(--brand),var(--brand-strong)); }
.create-help { margin: 28px 9px 0; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.create-help span { color: var(--text-soft); font-size: 9px; font-weight: 700; }
.create-help p { margin: 5px 0 9px; color: var(--text-faint); font-size: 8px; }
.create-help button { padding: 0; border: 0; background: none; color: var(--brand); font-size: 8px; font-weight: 700; }
.create-main { min-width: 0; }
.create-form { min-height: 100%; display: flex; flex-direction: column; }
.create-panel { width: min(760px,calc(100% - 44px)); margin: 0 auto; padding: 60px 0 40px; flex: 1; }
.create-panel[hidden] { display: none; }
.create-panel-heading { margin-bottom: 31px; }
.create-panel-heading h1 { margin: 11px 0 9px; font: 800 37px/1.1 var(--font-display); letter-spacing: -.045em; }
.create-panel-heading p { margin: 0; color: var(--text-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field > span { color: var(--text-soft); font-size: 10px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--text); padding: 0 13px; outline: 0; }
.field textarea { padding-top: 11px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(139,92,246,.62); box-shadow: 0 0 0 3px var(--brand-soft); }
.field small { color: var(--text-faint); font-size: 8px; }
.option-stack { display: grid; gap: 10px; }
.choice-card { position: relative; min-height: 92px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card.is-selected { border-color: rgba(139,92,246,.45); box-shadow: 0 0 0 3px var(--brand-soft); }
.choice-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); }
.choice-card > div { display: grid; }
.choice-card strong { font-size: 11px; }
.choice-card p { margin: 3px 0 0; color: var(--text-faint); font-size: 9px; }
.choice-card > b { align-self: start; padding: 4px 7px; border-radius: 999px; color: var(--brand); background: var(--brand-soft); font-size: 7px; }
.settings-list { margin-top: 26px; border-top: 1px solid var(--line); }
.settings-list label { min-height: 71px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.settings-list label > div { display: grid; }
.settings-list strong { font-size: 10px; }
.settings-list small { margin-top: 3px; color: var(--text-faint); font-size: 8px; }
.switch { appearance: none; width: 42px; height: 24px; padding: 3px; border: 0; border-radius: 999px; background: var(--surface-3); cursor: pointer; transition: .2s ease; }
.switch::before { content: ""; display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-xs); transition: transform .2s ease; }
.switch:checked { background: var(--brand); }
.switch:checked::before { transform: translateX(18px); }
.feature-option-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-bottom: 25px; }
.feature-option { position: relative; min-height: 155px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); cursor: pointer; }
.feature-option input { position: absolute; right: 14px; top: 14px; width: 17px; height: 17px; accent-color: var(--brand); }
.feature-option.is-selected { border-color: rgba(139,92,246,.38); box-shadow: inset 0 0 0 1px rgba(139,92,246,.12); }
.feature-option-icon { width: 39px; height: 39px; border-radius: 11px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); }
.feature-option-icon.ai { color: var(--ai); background: var(--ai-soft); }
.feature-option > div { margin-top: 13px; display: grid; }
.feature-option strong { font-size: 11px; }
.feature-option p { margin: 4px 0 0; color: var(--text-faint); font-size: 9px; }
.feature-option small { margin-top: 7px; color: var(--warning); font-size: 7px; }
.branding-grid { display: grid; grid-template-columns: 1fr 280px; gap: 35px; }
.branding-fields { display: grid; gap: 18px; }
.upload-cover-field { cursor: pointer; }
.upload-cover-field input { display: none; }
.cover-preview { height: 210px; position: relative; overflow: hidden; border-radius: 15px; }
.cover-preview img { height: 100%; object-fit: cover; }
.cover-preview::after { content: ""; position: absolute; inset: 0; background: rgba(7,9,14,.18); }
.cover-preview span { position: absolute; z-index: 2; left: 14px; bottom: 13px; padding: 7px 10px; border-radius: 8px; background: rgba(8,10,16,.6); color: #fff; backdrop-filter: blur(10px); font-size: 8px; font-weight: 700; }
.logo-upload { min-height: 80px; padding: 12px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.logo-placeholder { width: 70px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: #111425; color: #fff; font: 800 11px var(--font-display); letter-spacing: .1em; }
.logo-upload button { height: 31px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--text-soft); font-size: 8px; font-weight: 700; }
.color-field { display: grid; grid-template-columns: 48px 1fr; gap: 8px; }
.color-field input[type="color"] { padding: 4px; }
.branding-preview > span { color: var(--text-faint); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.preview-phone { margin-top: 8px; padding: 8px; border: 8px solid #0a0c12; border-radius: 25px; background: #f5f6f9; color: #11131a; box-shadow: var(--shadow-lg); }
.preview-phone-cover { height: 235px; position: relative; border-radius: 14px; overflow: hidden; }
.preview-phone-cover img { height: 100%; object-fit: cover; }
.preview-phone-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent,rgba(8,10,16,.78)); }
.preview-phone-cover > div { position: absolute; z-index: 2; left: 13px; right: 13px; bottom: 13px; display: grid; color: #fff; }
.preview-phone-cover small { font-size: 7px; }
.preview-phone-cover strong { font: 800 16px/1.1 var(--font-display); }
.preview-phone > p { margin: 12px 5px; color: #697081; font-size: 8px; }
.preview-phone > button { width: 100%; height: 36px; border: 0; border-radius: 10px; background: #8b5cf6; color: #fff; font-size: 8px; font-weight: 800; }
.preview-phone > div:last-child { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; margin-top: 7px; }
.preview-phone > div:last-child i { height: 56px; border-radius: 7px; background: #e3e6ed; }
.review-summary { display: grid; grid-template-columns: 280px 1fr; gap: 22px; }
.review-event-card { border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: var(--surface); }
.review-event-card img { height: 180px; object-fit: cover; }
.review-event-card > div { padding: 16px; }
.review-event-card h2 { margin: 10px 0 3px; font: 700 18px var(--font-display); }
.review-event-card p { margin: 0; color: var(--text-soft); font-size: 9px; }
.review-event-card small { color: var(--text-faint); font-size: 8px; }
.review-sections { border: 1px solid var(--line); border-radius: 17px; background: var(--surface); overflow: hidden; }
.review-sections article { padding: 16px; border-bottom: 1px solid var(--line); }
.review-sections article:last-child { border-bottom: 0; }
.review-sections article > div { display: flex; justify-content: space-between; }
.review-sections article > div span { color: var(--text-faint); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.review-sections article button { border: 0; background: none; color: var(--brand); font-size: 8px; font-weight: 700; }
.review-sections strong { display: block; margin-top: 7px; font-size: 10px; }
.review-sections p { margin: 3px 0 0; color: var(--text-faint); font-size: 8px; }
.confirm-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 19px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text-soft); font-size: 9px; }
.confirm-check input { margin-top: 3px; accent-color: var(--brand); }
.create-footer { position: sticky; bottom: 0; min-height: 72px; padding: 12px 30px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); background: var(--surface-glass); backdrop-filter: blur(18px); }
.create-footer > div { display: flex; gap: 10px; }

/* Studio */
.studio-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 14px; }
.studio-summary article { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.studio-summary span { color: var(--text-soft); font-size: 9px; }
.studio-summary strong { display: block; margin: 7px 0 2px; font: 800 25px var(--font-display); }
.studio-summary small { color: var(--text-faint); font-size: 8px; }
.studio-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 14px; }
.current-upload-panel { min-height: 550px; }
.drop-zone { margin: 18px 20px 15px; min-height: 122px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: 14px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 13px; background: var(--bg-soft); }
.drop-zone > span { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); font-size: 21px; }
.drop-zone > div { display: grid; }
.drop-zone strong { font-size: 11px; }
.drop-zone p { margin: 3px 0 0; color: var(--text-faint); font-size: 8px; }
.drop-zone button { height: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--text-soft); font-size: 8px; font-weight: 700; }
.queue-header { display: flex; justify-content: space-between; margin: 0 20px; padding: 13px 0 8px; border-top: 1px solid var(--line); }
.queue-header span { font-size: 10px; font-weight: 700; }
.queue-header small { color: var(--text-faint); font-size: 8px; }
.studio-upload-list { padding: 0 20px 12px; }
.studio-upload-row { display: grid; grid-template-columns: 52px 1fr 42px 26px; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.studio-upload-row img { width: 52px; height: 45px; border-radius: 8px; object-fit: cover; }
.studio-upload-row > div { min-width: 0; }
.studio-upload-row strong { display: block; font-size: 9px; }
.studio-upload-row small { display: block; margin-top: 2px; color: var(--text-faint); font-size: 7px; }
.studio-upload-row > div > span { height: 4px; display: block; margin-top: 7px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.studio-upload-row > div > span i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--brand),var(--ai)); }
.studio-upload-row > b { color: var(--text-soft); font-size: 8px; }
.studio-upload-row > b.upload-ready { color: var(--ai); }
.studio-upload-row button { border: 0; background: none; color: var(--text-faint); }
.processing-panel { min-height: 550px; }
.pipeline { padding: 21px; }
.pipeline > div { min-height: 67px; display: grid; grid-template-columns: 39px 1fr auto; align-items: center; gap: 11px; }
.pipeline > i { width: 1px; height: 22px; display: block; margin-left: 19px; background: var(--line-strong); }
.pipeline-icon { width: 39px; height: 39px; border-radius: 12px; display: grid; place-items: center; color: var(--text-faint); background: var(--surface-2); }
.pipeline-icon.active { color: var(--brand); background: var(--brand-soft); animation: pulse 1.8s ease-in-out infinite; }
.pipeline > div > div { display: grid; }
.pipeline strong { font-size: 10px; }
.pipeline small { color: var(--text-faint); font-size: 8px; }
.pipeline b { color: var(--text-soft); font-size: 9px; }
.processing-note { display: grid; grid-template-columns: 24px 1fr; gap: 9px; margin: 0 20px 20px; padding: 12px; border: 1px solid rgba(96,165,250,.18); border-radius: 11px; background: rgba(96,165,250,.07); }
.processing-note span { width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; color: var(--info); background: rgba(96,165,250,.12); font-size: 9px; font-weight: 800; }
.processing-note p { margin: 0; color: var(--text-soft); font-size: 8px; }
.job-list-panel { grid-column: 1 / -1; overflow: hidden; }
.segmented { padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-soft); }
.segmented button { height: 27px; border: 0; border-radius: 6px; background: transparent; color: var(--text-faint); padding: 0 9px; font-size: 8px; font-weight: 700; }
.segmented button.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-xs); }
.job-table { margin-top: 16px; }
.job-table-head, .job-row { display: grid; grid-template-columns: 1.45fr .9fr .75fr .55fr .7fr 32px; align-items: center; gap: 12px; padding: 0 20px; }
.job-table-head { min-height: 36px; color: var(--text-faint); background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.job-row { min-height: 73px; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: 9px; }
.job-row:last-child { border-bottom: 0; }
.job-row > div:first-child { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 10px; min-width: 0; }
.job-row img { width: 54px; height: 43px; border-radius: 8px; object-fit: cover; }
.job-row > div:first-child span { display: grid; min-width: 0; }
.job-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-size: 9px; }
.job-row small { color: var(--text-faint); font-size: 7px; }
.job-row button { border: 0; background: none; color: var(--text-faint); }

/* Dialogs / drawers */
.modal { width: min(900px,calc(100% - 34px)); max-height: calc(100vh - 80px); border: 1px solid var(--line-strong); border-radius: 25px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); padding: 32px; overflow: auto; }
.modal::backdrop { background: rgba(4,5,8,.72); backdrop-filter: blur(8px); }
.modal-close { position: absolute; right: 15px; top: 14px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); color: var(--text-soft); font-size: 18px; cursor: pointer; }
.modal-heading { max-width: 560px; margin-bottom: 24px; }
.modal-heading h2 { margin: 10px 0 7px; font: 800 32px var(--font-display); letter-spacing: -.045em; }
.modal-heading p { margin: 0; color: var(--text-soft); }
.demo-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.demo-step { padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--bg-soft); opacity: .5; transition: .2s ease; }
.demo-step.is-active { opacity: 1; border-color: rgba(139,92,246,.4); box-shadow: inset 0 0 0 1px var(--brand-soft); }
.demo-step > span { color: var(--brand); font-size: 8px; font-weight: 800; }
.demo-step-art { height: 160px; margin: 11px 0; display: grid; place-items: center; border-radius: 11px; background: var(--surface); overflow: hidden; }
.demo-step h3 { margin: 0; font: 700 12px var(--font-display); }
.demo-step p { margin: 5px 0 0; color: var(--text-faint); font-size: 8px; }
.upload-demo-art > span { font-size: 31px; color: var(--brand); }
.upload-demo-art > div { width: 80%; height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.upload-demo-art > div i { display: block; height: 100%; background: linear-gradient(90deg,var(--brand),var(--ai)); }
.upload-demo-art strong { font-size: 10px; }
.selfie-demo-art { position: relative; }
.selfie-demo-art img { width: 105px; height: 105px; border-radius: 50%; object-fit: cover; border: 5px solid var(--surface); box-shadow: 0 0 0 3px var(--brand); }
.selfie-demo-art i { position: absolute; width: 135px; height: 2px; background: linear-gradient(90deg,transparent,var(--ai),transparent); box-shadow: 0 0 10px var(--ai); animation: scan 2s ease-in-out infinite; }
.matches-demo-art { display: flex; }
.matches-demo-art img { width: 74px; height: 106px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.matches-demo-art img:nth-child(1) { transform: rotate(-7deg) translateX(14px); }
.matches-demo-art img:nth-child(2) { z-index: 2; }
.matches-demo-art img:nth-child(3) { transform: rotate(7deg) translateX(-14px); }
.demo-controls { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; }
.demo-dots { display: flex; gap: 6px; }
.demo-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-3); }
.demo-dots button.is-active { width: 20px; border-radius: 999px; background: var(--brand); }
.drawer-backdrop { position: fixed; z-index: 599; inset: 0; background: rgba(4,5,8,.64); opacity: 0; pointer-events: none; transition: .25s ease; }
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; z-index: 600; top: 0; right: 0; width: min(480px,100%); height: 100vh; background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.drawer.is-open { transform: translateX(0); }
.drawer-header { min-height: 84px; padding: 18px 21px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: 4px 0 0; font: 700 21px var(--font-display); }
.drawer-header button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); color: var(--text-soft); font-size: 18px; }
.drawer-body { padding: 22px; }
.guest-upload-zone { min-height: 320px; padding: 35px; border: 1px dashed var(--line-strong); border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--bg-soft); }
.guest-upload-zone > span { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; color: var(--brand); background: var(--brand-soft); font-size: 27px; }
.guest-upload-zone strong { margin-top: 17px; font: 700 15px var(--font-display); }
.guest-upload-zone p { margin: 5px 0 19px; color: var(--text-faint); font-size: 9px; }
.guest-upload-zone small { margin-top: 18px; max-width: 310px; color: var(--text-faint); font-size: 8px; }
.upload-examples { margin-top: 25px; }
.upload-examples > span { color: var(--text-faint); font-size: 9px; }
.upload-examples > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 10px; }
.upload-examples i { height: 88px; border-radius: 11px; background: linear-gradient(110deg,var(--surface-2) 15%,var(--surface-3) 28%,var(--surface-2) 43%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.find-modal { width: min(920px,calc(100% - 34px)); }
.find-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 37px; align-items: center; }
.find-copy h2 { margin: 11px 0 10px; font: 800 36px/1.08 var(--font-display); letter-spacing: -.045em; }
.find-copy > p { color: var(--text-soft); }
.privacy-card { margin: 20px 0; padding: 14px; display: grid; grid-template-columns: 34px 1fr; gap: 10px; border: 1px solid rgba(110,231,199,.2); border-radius: 13px; background: var(--ai-soft); }
.privacy-card > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--ai); background: rgba(110,231,199,.12); }
.privacy-card strong { font-size: 10px; }
.privacy-card p { margin: 4px 0 0; color: var(--text-soft); font-size: 8px; }
.consent-check { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 15px; color: var(--text-soft); font-size: 9px; }
.consent-check input { margin-top: 3px; accent-color: var(--brand); }
.find-visual { padding: 23px; border-radius: 20px; background: var(--bg-soft); }
.camera-preview { position: relative; height: 380px; display: grid; place-items: center; border-radius: 17px; overflow: hidden; color: rgba(255,255,255,.68); background: radial-gradient(circle,#303545,#11141e 65%); }
.camera-preview::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size: 28px 28px; }
.face-outline { width: 190px; height: 250px; border-radius: 45% 45% 42% 42%; border: 2px dashed rgba(110,231,199,.6); box-shadow: 0 0 45px rgba(110,231,199,.09); }
.camera-preview > span { position: absolute; bottom: 20px; font-size: 9px; }
.camera-controls { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; margin-top: 16px; }
.camera-controls button { justify-self: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface); color: var(--text-soft); }
.camera-controls .shutter { width: 62px; height: 62px; border: 4px solid var(--surface-3); background: #fff; box-shadow: 0 0 0 3px var(--brand); }
.toast { position: fixed; z-index: 1000; left: 50%; bottom: 22px; transform: translate(-50%,80px); opacity: 0; pointer-events: none; min-width: 280px; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: 13px; background: var(--surface-glass); box-shadow: var(--shadow-md); backdrop-filter: blur(18px); display: flex; align-items: center; gap: 9px; transition: .3s ease; }
.toast.is-visible { transform: translate(-50%,0); opacity: 1; }
.toast span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--ai); background: var(--ai-soft); }
.toast strong { font-size: 10px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scan { 0%,100% { transform: translateY(-42px); opacity: .35; } 50% { transform: translateY(42px); opacity: 1; } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(139,92,246,.07); } }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Responsive */
@media (max-width: 1180px) {
  .prototype-bar { grid-template-columns: 210px 1fr 100px; }
  .prototype-tab { padding: 0 9px; }
  .hero-grid { grid-template-columns: 1fr 1.08fr; gap: 35px; }
  .hero h1 { font-size: 58px; }
  .upload-float { left: -15px; }
  .ai-float { right: -8px; }
  .role-panel { padding: 40px; gap: 38px; }
  .workflow-grid { gap: 55px; }
  .workflow-item { grid-template-columns: 42px 1fr 220px; }
  .ai-panel { padding: 55px; gap: 45px; }
  .app-screen.is-active { grid-template-columns: 220px 1fr; }
  .app-content { padding: 24px; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .dashboard-main-grid { grid-template-columns: 1fr; }
  .event-health { min-height: auto; }
  .studio-grid { grid-template-columns: 1fr; }
  .job-list-panel { grid-column: auto; }
}

@media (max-width: 960px) {
  .prototype-bar { grid-template-columns: 1fr auto; }
  .prototype-tabs { display: none; position: absolute; top: calc(var(--prototype-h) - 3px); right: 12px; width: 210px; height: auto; padding: 7px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow-md); }
  .prototype-tabs.is-open { display: flex; }
  .prototype-tab { text-align: left; }
  .prototype-menu-button { display: inline-block; }
  .site-nav { display: none; }
  .hero { padding-top: 125px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .trust-list { justify-content: center; }
  .hero-product { width: min(700px,100%); margin: 22px auto 0; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-grid > div:nth-child(2) { border-right: 0; }
  .proof-grid > div:nth-child(n+3) { margin-top: 20px; }
  .role-panel { grid-template-columns: 1fr; }
  .phone-demo, .dashboard-demo, .studio-demo-card { width: 100%; }
  .case-grid { grid-template-columns: repeat(2,1fr); }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-intro { position: static; }
  .ai-panel { grid-template-columns: 1fr; }
  .ai-visual { max-width: 620px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; }
  .final-cta { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .app-screen.is-active { grid-template-columns: 1fr; }
  .app-sidebar { position: fixed; z-index: 100; left: 0; top: var(--prototype-h); width: 250px; transform: translateX(-100%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
  .app-sidebar.is-open { transform: translateX(0); }
  .app-mobile-menu { display: block; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--text); }
  .app-topbar { padding: 0 18px; }
  .breadcrumb { margin-right: auto; margin-left: 10px; }
  .recent-media-grid { grid-template-columns: repeat(2,1fr); }
  .guest-event-hero { height: 370px; }
  .guest-welcome { align-items: flex-start; flex-direction: column; }
  .masonry-gallery { grid-template-columns: repeat(3,1fr); }
  .create-layout { grid-template-columns: 230px 1fr; }
  .branding-grid, .review-summary { grid-template-columns: 1fr; }
  .branding-preview { max-width: 300px; }
  .studio-summary { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 720px) {
  .marketing-container, .guest-shell { width: min(100% - 28px,1200px); }
  .site-header { height: 64px; }
  .site-actions .text-button { display: none; }
  .site-actions .button { min-height: 38px; padding: 0 13px; font-size: 11px; }
  .hero { min-height: auto; padding: 110px 0 0; }
  .hero h1 { font-size: clamp(43px,13vw,62px); }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .browser-window { transform: none; }
  .browser-bar { grid-template-columns: 55px 1fr 36px; }
  .browser-bar > span { padding: 5px 12px; }
  .event-preview-cover { height: 170px; }
  .event-preview-toolbar { grid-template-columns: repeat(3,1fr); }
  .event-preview-toolbar .button { grid-column: 1 / -1; }
  .preview-gallery { height: 150px; }
  .floating-card { display: none; }
  .event-marquee { margin-top: 45px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-grid > div:nth-child(n+3) { margin-top: 0; }
  .proof-grid > div:last-child { border-bottom: 0; }
  .marketing-section { padding: 78px 0; }
  .section-heading.split { grid-template-columns: 1fr; gap: 18px; }
  .section-heading h2, .workflow-intro h2, .ai-copy h2, .final-cta h2 { font-size: 39px; }
  .role-tabs { display: flex; overflow-x: auto; }
  .role-tab { min-width: 220px; }
  .role-panel { min-height: 0; padding: 25px 18px; }
  .role-copy h3 { font-size: 30px; }
  .phone-demo { min-height: 400px; }
  .case-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .case-card.case-wide { grid-column: auto; }
  .workflow-item { grid-template-columns: 38px 1fr; padding: 18px 0; }
  .workflow-art { grid-column: 2; width: 100%; }
  .ai-panel { padding: 38px 22px; border-radius: 25px; }
  .ai-visual { grid-template-columns: 1fr; gap: 25px; }
  .ai-arrow { transform: rotate(90deg); }
  .price-card { padding: 24px; }
  .final-cta { padding: 39px 25px; border-radius: 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .app-topbar .breadcrumb { display: none; }
  .app-content { padding: 18px 14px; }
  .dashboard-title-row { align-items: flex-start; flex-direction: column; }
  .metric-grid, .studio-summary { grid-template-columns: 1fr 1fr; }
  .recent-media-grid { grid-template-columns: 1fr 1fr; }
  .topbar-actions .icon-square:first-child { display: none; }
  .guest-topbar { padding: 0 13px; }
  .guest-event-hero { height: 330px; }
  .guest-cover-content { left: 18px; right: 18px; bottom: 25px; align-items: flex-start; flex-direction: column; gap: 17px; }
  .guest-counts { gap: 18px; }
  .guest-welcome { padding: 32px 0 24px; }
  .guest-welcome h2 { font-size: 32px; }
  .guest-primary-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .guest-primary-actions .button { padding: 0 10px; font-size: 11px; }
  .gallery-controls { align-items: flex-start; flex-direction: column; padding: 13px 0; }
  .gallery-tabs { width: 100%; overflow-x: auto; }
  .gallery-tools { align-self: flex-end; }
  .masonry-gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 190px; padding-bottom: 115px; }
  .gallery-photo.wide { grid-column: span 2; }
  .guest-bottom-nav { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: 10px; height: 65px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface-glass); box-shadow: var(--shadow-md); backdrop-filter: blur(18px); }
  .guest-bottom-nav button { border: 0; background: none; color: var(--text-faint); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 7px; }
  .guest-bottom-nav button > span { font-size: 17px; }
  .guest-bottom-nav button.is-active { color: var(--brand); }
  .primary-nav-action { width: 38px; height: 38px; margin-top: -15px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg,var(--brand),var(--brand-strong)); color: #fff; box-shadow: 0 9px 22px rgba(139,92,246,.3); }
  .create-header > div > span { display: none; }
  .create-layout { grid-template-columns: 1fr; }
  .create-steps { position: sticky; top: calc(var(--prototype-h) + 64px); z-index: 10; display: flex; gap: 5px; padding: 8px 12px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .create-progress, .create-help { display: none; }
  .create-step { min-width: 47px; min-height: 47px; width: auto; grid-template-columns: 31px; padding: 7px; }
  .create-step > div { display: none; }
  .create-panel { width: calc(100% - 28px); padding-top: 38px; }
  .create-panel-heading h1 { font-size: 31px; }
  .form-grid, .feature-option-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .create-footer { padding: 10px 14px; }
  .create-footer .text-button { display: none; }
  .review-summary { grid-template-columns: 1fr; }
  .job-table { overflow-x: auto; }
  .job-table-head, .job-row { min-width: 870px; }
  .drop-zone { grid-template-columns: 46px 1fr; }
  .drop-zone button { grid-column: 2; justify-self: start; }
  .find-layout { grid-template-columns: 1fr; }
  .camera-preview { height: 300px; }
  .demo-flow { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  :root { --prototype-h: 54px; }
  .prototype-bar { padding: 0 10px; }
  .prototype-brand small { display: none; }
  .site-brand strong { font-size: 14px; }
  .site-actions .button { padding: 0 10px; }
  .hero h1 { font-size: 45px; }
  .trust-list { gap: 10px; font-size: 10px; }
  .browser-bar { display: none; }
  .event-preview-cover { height: 185px; }
  .preview-gallery { grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(2,1fr); }
  .preview-gallery figure:last-child { display: none; }
  .role-tab { min-width: 190px; padding: 13px; }
  .phone-demo { min-height: 385px; }
  .dashboard-demo { height: 330px; }
  .dashboard-mini-main { padding: 15px; }
  .mini-metrics div:nth-child(3) { display: none; }
  .mini-metrics { grid-template-columns: repeat(2,1fr); }
  .metric-grid, .studio-summary { grid-template-columns: 1fr; }
  .title-actions { width: 100%; }
  .title-actions .button { flex: 1; }
  .recent-media-grid { grid-template-columns: 1fr; }
  .recent-media-grid figure { height: 220px; }
  .guest-primary-actions { grid-template-columns: 1fr; }
  .masonry-gallery { grid-auto-rows: 160px; gap: 7px; }
  .gallery-photo.tall { grid-row: span 2; }
  .feature-option-grid { grid-template-columns: 1fr; }
  .create-footer > div { margin-left: auto; }
  .branding-preview { max-width: none; }
  .studio-upload-row { grid-template-columns: 48px 1fr 38px; }
  .studio-upload-row > button { display: none; }
  .queue-header { align-items: flex-start; flex-direction: column; gap: 4px; }
  .demo-flow { grid-template-columns: 1fr; }
  .demo-step:not(.is-active) { display: none; }
  .modal { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
