:root {
  color-scheme: dark;
  --bg: #08090c;
  --surface: rgba(20, 22, 29, .82);
  --surface-solid: #14161d;
  --surface-2: #1b1e27;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #f7f7f5;
  --muted: #9a9dab;
  --electric: #8b5cf6;
  --electric-2: #d946ef;
  --cyan: #34d9e8;
  --lime: #bcff4a;
  --danger: #ff5c7a;
  --gold: #ffcf66;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .4);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(circle at 50% -20%, #252142 0, var(--bg) 37%); color: var(--text); overflow-x: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.ambient { position: fixed; width: 42rem; height: 42rem; border-radius: 999px; filter: blur(130px); opacity: .1; pointer-events: none; z-index: -1; }
.ambient-one { top: -22rem; right: -14rem; background: var(--electric-2); }
.ambient-two { bottom: -24rem; left: -18rem; background: var(--cyan); }

.topbar { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 74px; padding: 0 clamp(18px, 4vw, 64px); background: rgba(8, 9, 12, .78); border-bottom: 1px solid var(--line); backdrop-filter: blur(22px); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; letter-spacing: -.04em; }
.brand > span:last-child { display: flex; align-items: baseline; gap: 5px; }
.brand strong { font-size: 1.05rem; letter-spacing: .12em; }
.brand em { color: var(--lime); font-size: 1.25rem; font-style: normal; font-weight: 850; }
.brand-orbit { position: relative; display: block; width: 35px; height: 35px; border: 2px solid var(--electric); border-radius: 50%; transform: rotate(-22deg); box-shadow: 0 0 18px rgba(139, 92, 246, .45); }
.brand-orbit::after { content: ""; position: absolute; inset: 7px; border: 2px solid var(--cyan); border-radius: 50%; }
.brand-orbit i { position: absolute; right: -4px; top: 12px; width: 8px; height: 8px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 10px var(--lime); }
.topnav { display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); }
.topnav button { border: 0; background: none; color: var(--muted); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.topnav button:hover, .topnav button.active { color: var(--text); background: rgba(255,255,255,.08); }
.account-slot { justify-self: end; }
.account-loading { color: var(--muted); font-size: .82rem; }
.account-pill { display: flex; align-items: center; gap: 9px; padding: 6px 11px 6px 7px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.045); }
.account-avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: linear-gradient(135deg, var(--electric), var(--electric-2)); font-weight: 800; }
.account-pill div { display: grid; gap: 1px; }
.account-pill strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; font-size: .78rem; white-space: nowrap; }
.account-pill small { color: var(--lime); font-size: .68rem; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 13px; font-weight: 750; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.button.primary { color: #08090c; background: linear-gradient(135deg, var(--lime), #7df8c7); box-shadow: 0 10px 30px rgba(188, 255, 74, .15); }
.button.secondary { border-color: var(--line-strong); background: rgba(255,255,255,.05); }
.button.secondary:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); }
.button.wide { width: 100%; }
.button.small { min-height: 36px; padding: 0 13px; border-radius: 10px; font-size: .78rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }

.landing { padding: 0 clamp(18px, 4vw, 64px) 100px; }
.hero-shell { display: grid; grid-template-columns: minmax(0, .94fr) minmax(380px, .9fr); align-items: center; gap: clamp(40px, 6vw, 100px); width: min(1350px, 100%); min-height: calc(100vh - 74px); margin: 0 auto; padding: 70px 0; }
.hero-copy h1 { max-width: 760px; margin: 20px 0 24px; font-size: clamp(3rem, 6.3vw, 6.7rem); line-height: .91; letter-spacing: -.075em; }
.hero-copy h1 span { color: transparent; background: linear-gradient(100deg, var(--lime), var(--cyan) 48%, #d6b7ff); background-clip: text; }
.hero-copy > p { max-width: 650px; color: #b8bac4; font-size: clamp(1rem, 1.4vw, 1.23rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.hero-proof { display: flex; gap: clamp(22px, 4vw, 50px); margin-top: 52px; padding-top: 25px; border-top: 1px solid var(--line); }
.hero-proof div { display: grid; gap: 3px; }
.hero-proof strong { font-size: 1.2rem; }
.hero-proof span { color: var(--muted); font-size: .78rem; }

.hero-stage { position: relative; display: grid; place-items: center; min-height: 580px; isolation: isolate; }
.stage-ring { position: absolute; width: min(32vw, 470px); aspect-ratio: 1; border: 2px solid rgba(139, 92, 246, .42); border-radius: 50%; transform: rotateX(68deg) rotateZ(-10deg); box-shadow: inset 0 0 44px rgba(139, 92, 246, .15), 0 0 60px rgba(139, 92, 246, .12); }
.ring-back { margin-top: -45px; animation: orbitPulse 4s ease-in-out infinite; }
.ring-front { width: min(38vw, 550px); margin-top: 200px; border-color: rgba(52, 217, 232, .35); }
.phone-mock { position: relative; width: 230px; aspect-ratio: 9 / 18.7; padding: 9px; border: 2px solid #55586a; border-radius: 37px; background: #08090c; box-shadow: 0 50px 100px rgba(0,0,0,.7), 0 0 55px rgba(139,92,246,.25); transform: rotate(5deg); z-index: 3; }
.phone-camera { position: absolute; top: 16px; left: 50%; width: 53px; height: 14px; border-radius: 999px; background: #030304; transform: translateX(-50%); z-index: 2; }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 28px; background: radial-gradient(circle at 52% 37%, #675184, #1d1728 34%, #090a0e 75%); }
.phone-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.8)); }
.phone-screen > strong { position: absolute; inset: 0; display: grid; place-items: center; font-size: 6rem; text-shadow: 0 4px 30px #000; z-index: 2; }
.phone-screen > small { position: absolute; bottom: 25px; left: 0; right: 0; text-align: center; color: var(--lime); font-weight: 800; letter-spacing: .18em; z-index: 2; }
.rec-pill { position: absolute; top: 32px; left: 14px; display: flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: rgba(0,0,0,.48); font-size: .65rem; z-index: 2; }
.rec-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.silhouettes { position: absolute; bottom: 45px; left: 12%; right: 12%; display: flex; align-items: flex-end; justify-content: center; z-index: 1; }
.silhouettes i { width: 42px; height: 155px; margin: 0 -9px; border-radius: 30px 30px 10px 10px; background: linear-gradient(#101117, #050506); transform: rotate(-4deg); }
.silhouettes i:nth-child(2) { height: 180px; transform: rotate(3deg); }
.silhouettes i:nth-child(3) { height: 165px; transform: rotate(-2deg); }
.silhouettes i:nth-child(4) { height: 145px; transform: rotate(6deg); }
.platform-mock { position: absolute; bottom: 38px; width: 370px; height: 75px; border-radius: 50%; background: linear-gradient(180deg, #31333c, #08090c 68%); border: 1px solid #545665; box-shadow: 0 25px 60px #000; z-index: 1; }
.floating-chip { position: absolute; padding: 10px 13px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(20,22,29,.82); backdrop-filter: blur(16px); font-size: .72rem; font-weight: 700; box-shadow: var(--shadow); z-index: 4; }
.chip-one { right: 5%; top: 23%; color: var(--lime); }
.chip-two { left: 1%; bottom: 26%; color: var(--cyan); }
@keyframes orbitPulse { 50% { transform: rotateX(68deg) rotateZ(10deg) scale(1.04); border-color: rgba(188,255,74,.42); } }

.feature-section, .plans-section { width: min(1260px, 100%); margin: 0 auto; padding: 90px 0; }
.section-heading { max-width: 730px; margin-bottom: 38px; }
.section-heading h2 { margin: 12px 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.section-heading p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-grid article, .plan-card { position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.feature-grid article::before { content: ""; position: absolute; width: 90px; height: 90px; right: -45px; top: -45px; border: 1px solid rgba(139,92,246,.3); border-radius: 50%; }
.feature-grid article > span { color: var(--lime); font: 800 .7rem/1 monospace; }
.feature-grid h3 { margin: 50px 0 10px; font-size: 1.1rem; }
.feature-grid p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; padding: 34px; }
.plan-card.featured { border-color: rgba(188,255,74,.38); background: linear-gradient(150deg, rgba(188,255,74,.11), rgba(139,92,246,.09) 55%, rgba(255,255,255,.02)); box-shadow: 0 20px 80px rgba(188,255,74,.06); }
.recommended { position: absolute; top: 18px; right: 18px; padding: 6px 9px; border-radius: 999px; color: #08090c; background: var(--lime); font-size: .62rem; font-weight: 850; text-transform: uppercase; }
.plan-name { color: var(--muted); font-weight: 750; }
.plan-card > strong { margin: 20px 0 8px; font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.06em; }
.plan-card > strong small { color: var(--muted); font-size: .85rem; letter-spacing: 0; }
.plan-card p { min-height: 48px; color: var(--muted); line-height: 1.5; }
.plan-card ul { flex: 1; display: grid; gap: 12px; margin: 22px 0 30px; padding: 0; list-style: none; }
.plan-card li { position: relative; padding-left: 22px; color: #d3d4da; font-size: .88rem; }
.plan-card li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); }

.app-shell { display: grid; grid-template-columns: 285px 1fr; min-height: calc(100vh - 74px); }
.event-rail { position: sticky; top: 74px; display: flex; flex-direction: column; height: calc(100vh - 74px); padding: 24px 18px; border-right: 1px solid var(--line); background: rgba(10,11,15,.65); }
.rail-heading { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 22px; }
.rail-heading > div { display: grid; gap: 5px; }
.rail-heading strong { font-size: 1.15rem; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 11px; background: rgba(255,255,255,.06); font-size: 1.35rem; cursor: pointer; }
.event-list { flex: 1; display: grid; align-content: start; gap: 7px; overflow-y: auto; }
.event-list-empty { padding: 24px 12px; color: var(--muted); font-size: .82rem; line-height: 1.5; text-align: center; }
.event-list button { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 9px; border: 1px solid transparent; border-radius: 13px; background: transparent; text-align: left; cursor: pointer; }
.event-list button:hover, .event-list button.active { border-color: var(--line); background: rgba(255,255,255,.055); }
.event-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #090a0d; background: linear-gradient(135deg, var(--electric), var(--cyan)); font-weight: 900; }
.event-list button div { min-width: 0; display: grid; gap: 3px; }
.event-list button strong { overflow: hidden; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.event-list button small { color: var(--muted); font-size: .68rem; }
.event-list button > i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.event-list button > i.expired { background: var(--danger); }
.rail-queue { display: grid; gap: 5px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.035); }
.rail-queue span { color: var(--muted); font-size: .68rem; }
.rail-queue strong { font-size: .8rem; }
.workspace { min-width: 0; padding: clamp(22px, 3.4vw, 52px); }
.workspace-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.workspace-heading h1 { margin: 8px 0 5px; font-size: clamp(2rem, 4vw, 3.8rem); letter-spacing: -.055em; }
.workspace-heading p { max-width: 680px; margin: 0; color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: minmax(290px, .72fr) minmax(420px, 1.28fr); gap: 16px; }
.panel { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 14px 50px rgba(0,0,0,.14); backdrop-filter: blur(18px); }
.panel-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.panel-heading h2 { margin: 6px 0 0; font-size: 1.3rem; }
.badge { padding: 6px 9px; border-radius: 999px; color: #090a0c; background: var(--lime); font-size: .65rem; font-weight: 850; text-transform: uppercase; }
.badge.free { color: var(--text); background: rgba(255,255,255,.1); }
.panel form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: #c8c9d0; font-size: .76rem; font-weight: 700; }
input, select { width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; outline: none; color: var(--text); background: rgba(5,6,8,.62); }
input:focus, select:focus { border-color: rgba(188,255,74,.58); box-shadow: 0 0 0 3px rgba(188,255,74,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-row.compact label { font-size: .68rem; }
.consent-row, .studio-consent { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 9px; color: var(--muted); font-weight: 500; line-height: 1.4; }
.consent-row input, .studio-consent input { width: 17px; min-height: 17px; margin: 1px 0 0; accent-color: var(--lime); }
.form-message { min-height: 18px; margin: 0; color: var(--muted); font-size: .73rem; }
.form-message.error { color: var(--danger); }
.form-message.success { color: var(--lime); }
.empty-event { display: grid; place-items: center; min-height: 325px; text-align: center; }
.empty-event h2 { margin: 22px 0 8px; }
.empty-event p { max-width: 380px; margin: 0; color: var(--muted); line-height: 1.6; }
.empty-orbit { position: relative; width: 75px; height: 75px; border: 2px solid var(--electric); border-radius: 50%; transform: rotateX(66deg); }
.empty-orbit::after { content: ""; position: absolute; top: 50%; right: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 15px var(--lime); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric-grid > div { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.025); }
.metric-grid span { color: var(--muted); font-size: .68rem; }
.metric-grid strong { font-size: .9rem; }
.progress { height: 5px; margin: 14px 0 20px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--electric), var(--cyan), var(--lime)); transition: width .4s ease; }
.event-link-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; }
.event-link-card > div { min-width: 0; display: grid; gap: 4px; }
.event-link-card span { color: var(--muted); font-size: .66rem; }
.event-link-card strong { overflow: hidden; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.event-actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: 9px; margin-top: 13px; }
.upgrade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.upgrade-grid button { display: grid; gap: 5px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.03); text-align: left; cursor: pointer; }
.upgrade-grid button:hover { border-color: rgba(188,255,74,.35); }
.upgrade-grid span { color: var(--muted); font-size: .65rem; }
.upgrade-grid strong { font-size: .7rem; }
.premium-assets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; padding: 14px; border: 1px solid rgba(188,255,74,.2); border-radius: 14px; background: rgba(188,255,74,.035); }
.premium-assets > div, .premium-assets > small { grid-column: 1 / -1; }
.premium-assets > div { display: grid; gap: 4px; }
.premium-assets label { padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: rgba(0,0,0,.18); }
.premium-assets input[type="file"] { min-height: auto; padding: 7px; font-size: .68rem; }
.premium-assets small { color: var(--muted); font-size: .67rem; }
.recent-panel { grid-column: 1 / -1; }
.text-button, .back-button { border: 0; color: var(--muted); background: none; cursor: pointer; }
.text-button:hover, .back-button:hover { color: var(--text); }
.video-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 11px; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.video-card video { display: block; width: 100%; aspect-ratio: 9 / 12; object-fit: cover; background: #050506; }
.video-card-body { display: grid; gap: 7px; padding: 11px; }
.video-card-body strong { font-size: .75rem; }
.video-card-body span { color: var(--muted); font-size: .66rem; }
.video-card-body a { color: var(--lime); font-size: .7rem; font-weight: 750; }
.processing-card { display: grid; place-items: center; min-height: 220px; color: var(--muted); text-align: center; }
.processing-card i { width: 34px; height: 34px; margin-bottom: 12px; border: 2px solid rgba(255,255,255,.12); border-top-color: var(--lime); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.studio-view { padding: 0; }
.studio-topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin: -15px 0 18px; }
.studio-topbar > div:nth-child(2) { display: grid; gap: 4px; text-align: center; }
.studio-status { justify-self: end; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .74rem; }
.studio-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.studio-status.offline i { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.studio-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(315px, .6fr); gap: 14px; min-height: calc(100vh - 150px); }
.camera-stage { position: relative; min-height: 620px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #050506; box-shadow: var(--shadow); }
.camera-stage > video { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.camera-stage.mirror > video { transform: scaleX(-1); }
.camera-placeholder { position: absolute; inset: 0; display: grid; place-content: center; place-items: center; text-align: center; background: radial-gradient(circle, #24202d, #07080a 62%); }
.camera-placeholder p { color: var(--muted); }
.lens { width: 80px; height: 80px; margin-bottom: 25px; border: 2px solid var(--electric); border-radius: 50%; box-shadow: 0 0 55px rgba(139,92,246,.3); }
.lens::after { content: ""; display: block; width: 36px; height: 36px; margin: 20px; border: 2px solid var(--cyan); border-radius: 50%; }
.camera-frame-guide { position: absolute; inset: 6%; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; pointer-events: none; }
.camera-frame-guide::before, .camera-frame-guide::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px dashed rgba(255,255,255,.13); }
.camera-frame-guide::after { left: 0; right: 0; top: 50%; bottom: auto; border-left: 0; border-top: 1px dashed rgba(255,255,255,.13); }
.capture-mode-chip { position: absolute; top: 18px; left: 18px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(12px); font-size: .67rem; font-weight: 850; letter-spacing: .13em; }
.countdown-overlay { position: absolute; inset: 0; display: grid; place-content: center; place-items: center; background: rgba(5,6,8,.5); backdrop-filter: blur(5px); }
.countdown-overlay strong { font-size: clamp(8rem, 19vw, 17rem); line-height: .8; text-shadow: 0 0 55px rgba(188,255,74,.25); }
.countdown-overlay span { margin-top: 32px; color: var(--lime); font-size: .8rem; font-weight: 850; letter-spacing: .28em; }
.countdown-overlay.pulse strong { animation: countdownPulse .75s ease both; }
@keyframes countdownPulse { 0% { transform: scale(1.22); opacity: .25; } 35% { opacity: 1; } 100% { transform: scale(1); } }
.recording-overlay { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 13px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(0,0,0,.58); backdrop-filter: blur(15px); }
.recording-overlay span { display: flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 850; letter-spacing: .11em; }
.recording-overlay span i { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 10px var(--danger); animation: blink .8s infinite; }
.recording-overlay > div { grid-column: 1 / -1; height: 4px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.12); }
.recording-overlay > div i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--danger), var(--gold)); }
@keyframes blink { 50% { opacity: .3; } }
.last-capture { position: absolute; right: 18px; bottom: 82px; width: 125px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: #050506; box-shadow: var(--shadow); }
.last-capture video { display: block; width: 100%; aspect-ratio: 9 / 14; object-fit: cover; }
.last-capture span { display: block; padding: 7px; color: var(--lime); font-size: .6rem; font-weight: 700; text-align: center; }
.studio-controls { display: grid; align-content: start; gap: 10px; }
.control-block { padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.control-heading { display: grid; grid-template-columns: 29px 1fr; align-items: center; gap: 10px; margin-bottom: 13px; }
.control-heading > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: #08090c; background: var(--lime); font-size: .72rem; font-weight: 900; }
.control-heading > div { display: grid; gap: 2px; }
.control-heading strong { font-size: .84rem; }
.control-heading small { color: var(--muted); font-size: .66rem; }
.control-block select { margin-top: 8px; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 10px; }
.mode-grid button { min-height: 38px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); font-size: .7rem; cursor: pointer; }
.mode-grid button.selected { color: #08090c; border-color: var(--lime); background: var(--lime); font-weight: 850; }
.remote-signal { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: .68rem; }
.remote-signal i { width: 7px; height: 7px; border-radius: 50%; background: #686a73; }
.remote-signal i.detected { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.studio-consent { padding: 7px 4px; font-size: .69rem; }
.capture-button { display: grid; grid-template-columns: 45px 1fr; align-items: center; column-gap: 12px; width: 100%; min-height: 78px; padding: 10px 16px; border: 1px solid rgba(188,255,74,.52); border-radius: 19px; color: #08090c; background: linear-gradient(120deg, var(--lime), #86f4d3); box-shadow: 0 15px 45px rgba(188,255,74,.13); cursor: pointer; text-align: left; }
.capture-button:disabled { filter: grayscale(.5); opacity: .42; cursor: not-allowed; }
.capture-button > span { grid-row: 1 / 3; width: 43px; height: 43px; border: 4px solid #08090c; border-radius: 50%; box-shadow: inset 0 0 0 4px rgba(255,255,255,.5); }
.capture-button strong { align-self: end; font-size: 1rem; letter-spacing: .04em; }
.capture-button small { align-self: start; opacity: .68; font-size: .65rem; }
.queue-bar { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 13px; color: var(--muted); font-size: .7rem; }
.queue-bar strong { color: var(--text); }
.plan-grid.in-app { max-width: 1080px; }

.gallery-view { min-height: 100vh; padding: 0 clamp(18px, 5vw, 80px) 60px; background: radial-gradient(circle at 50% 0, #252142, #08090c 42%); }
.gallery-header { display: flex; align-items: center; justify-content: space-between; min-height: 78px; border-bottom: 1px solid var(--line); }
.private-pill { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .7rem; }
.gallery-hero { width: min(900px, 100%); margin: 0 auto; padding: 90px 0 45px; text-align: center; }
.gallery-hero h1 { margin: 14px 0; font-size: clamp(2.8rem, 7vw, 6.5rem); line-height: .92; letter-spacing: -.065em; }
.gallery-hero p { color: var(--muted); }
.gallery-expiry { display: inline-flex; margin-top: 16px; padding: 8px 12px; border-radius: 999px; color: var(--lime); background: rgba(188,255,74,.08); font-size: .73rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 13px; width: min(1250px, 100%); margin: 0 auto; }
.gallery-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-solid); }
.gallery-card video { display: block; width: 100%; aspect-ratio: 9 / 14; object-fit: cover; background: #030304; }
.gallery-card > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px; }
.gallery-card strong { font-size: .78rem; }
.gallery-card a { color: var(--lime); font-size: .72rem; font-weight: 800; }
.gallery-view footer { padding: 60px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
.gallery-empty { grid-column: 1 / -1; padding: 80px 20px; border: 1px dashed var(--line-strong); border-radius: 20px; color: var(--muted); text-align: center; }

.qr-dialog { width: min(430px, calc(100% - 28px)); padding: 28px; border: 1px solid var(--line-strong); border-radius: 23px; color: var(--text); background: #15171e; box-shadow: var(--shadow); text-align: center; }
.qr-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--muted); background: rgba(255,255,255,.07); cursor: pointer; }
.qr-dialog h2 { margin: 12px 0; }
.qr-dialog p { color: var(--muted); font-size: .8rem; line-height: 1.5; }
.qr-box { display: grid; place-items: center; width: min(290px, 100%); aspect-ratio: 1; margin: 20px auto; padding: 15px; border-radius: 16px; background: white; }
.qr-box img, .qr-box svg { display: block; width: 100%; height: 100%; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; max-width: min(500px, calc(100% - 28px)); padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(20,22,29,.94); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .2s ease, transform .2s ease; font-size: .78rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: rgba(255,92,122,.45); }

@media (max-width: 1050px) {
  .hero-shell { grid-template-columns: 1fr; }
  .hero-stage { min-height: 500px; }
  .stage-ring { width: 450px; }
  .ring-front { width: 520px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .app-shell { grid-template-columns: 230px 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .recent-panel { grid-column: auto; }
  .studio-layout { grid-template-columns: 1fr; }
  .studio-controls { grid-template-columns: repeat(2, 1fr); }
  .capture-button, .queue-bar, .studio-consent { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr auto; min-height: 66px; padding: 0 15px; backdrop-filter: none; }
  .topnav { position: fixed; left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 50; justify-content: space-around; background: rgba(18,20,26,.94); box-shadow: var(--shadow); }
  .topnav button { flex: 1; padding: 10px 6px; font-size: .72rem; }
  .account-pill div { display: none; }
  .landing { padding-inline: 18px; padding-bottom: 80px; }
  .hero-shell { min-height: auto; padding: 70px 0 25px; }
  .hero-copy h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero-proof { justify-content: space-between; gap: 10px; }
  .hero-stage { min-height: 460px; overflow: hidden; margin-inline: -18px; }
  .stage-ring { width: 380px; }
  .ring-front { width: 440px; }
  .phone-mock { width: 185px; }
  .platform-mock { width: 310px; }
  .feature-section, .plans-section { padding: 65px 0; }
  .feature-grid, .plan-grid { grid-template-columns: 1fr; }
  .app-shell { display: block; min-height: calc(100vh - 66px); }
  .event-rail { position: static; display: block; height: auto; padding: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .rail-heading { padding-bottom: 10px; }
  .event-list { display: flex; overflow-x: auto; }
  .event-list button { min-width: 190px; }
  .rail-queue { display: none; }
  .workspace { padding: 20px 14px 92px; }
  .workspace-heading { align-items: flex-start; }
  .workspace-heading .button { display: none; }
  .workspace-heading h1 { font-size: 2.45rem; }
  .panel { padding: 19px; border-radius: 18px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-grid > div { grid-template-columns: 1fr auto; align-items: center; }
  .upgrade-grid { grid-template-columns: 1fr; }
  .premium-assets { grid-template-columns: 1fr; }
  .premium-assets > div, .premium-assets > small { grid-column: auto; }
  .video-list { grid-template-columns: 1fr 1fr; }
  .studio-topbar { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .studio-topbar > div:nth-child(2) { order: -1; grid-column: 1 / -1; margin-bottom: 10px; }
  .studio-layout { display: block; }
  .camera-stage, .camera-stage > video { min-height: 62vh; }
  .camera-stage { border-radius: 19px; }
  .studio-controls { display: grid; grid-template-columns: 1fr; margin-top: 11px; }
  .capture-button, .queue-bar, .studio-consent { grid-column: auto; }
  .capture-button { position: sticky; bottom: 72px; z-index: 10; }
  .gallery-view { padding-inline: 15px; }
  .gallery-hero { padding-top: 55px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 470px) {
  .brand strong { font-size: .88rem; }
  .brand em { font-size: 1.05rem; }
  .brand-orbit { width: 30px; height: 30px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-proof strong { font-size: 1rem; }
  .hero-proof span { font-size: .65rem; }
  .form-row { grid-template-columns: 1fr; }
  .event-actions { grid-template-columns: 1fr; }
  .video-list, .gallery-grid { grid-template-columns: 1fr; }
  .last-capture { width: 95px; }
}

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