*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--bg:#0a0a0a;--surface:#141414;--border:#2a2a2a;--text:#f0f0f0;--muted:#888;--accent:#7c3aed;--accent-hover:#6d28d9;--danger:#ef4444;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:system-ui,-apple-system,sans-serif;line-height:1.5}body{background:var(--bg);color:var(--text);min-height:100vh}.auth-layout{grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.auth-panel{background:var(--bg);justify-content:center;align-items:center;padding:3rem 5rem;display:flex}.auth-form{flex-direction:column;gap:2rem;width:100%;max-width:360px;display:flex}.auth-brand{justify-content:center;align-items:center;gap:.6rem;display:flex}.auth-logo-img{width:auto;height:30px}.auth-form .fields{flex-direction:column;gap:1rem;display:flex}.field-wrap{flex-direction:column;gap:.4rem;display:flex}.last-used{color:var(--muted);cursor:pointer;font-size:.78rem;transition:color .15s}.last-used:hover{color:var(--accent)}.auth-form input{border-radius:9px;padding:1rem 1.15rem;font-size:1rem}.auth-form button{border-radius:9px;padding:1rem;font-size:1rem}.auth-form .actions{flex-direction:column;gap:.85rem;margin-top:0;display:flex}.auth-tabs{background:#ffffff0a;border-radius:10px;gap:.25rem;padding:.25rem;display:flex}.auth-tab{color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex:1;padding:.6rem;font-size:.9rem;font-weight:600;transition:background .15s,color .15s,border-color .15s}.auth-tab.active{background:var(--surface);color:var(--text);border-color:#7c3aed73;box-shadow:0 0 0 2px #7c3aed1a}.auth-tab:hover:not(.active){color:var(--text);background:0 0}.link-forgot{color:var(--muted);cursor:pointer;align-self:flex-end;margin-top:.1rem;font-size:.78rem;transition:color .15s}.link-forgot:hover{color:var(--accent)}.password-reqs{flex-direction:column;gap:.35rem;margin-top:.35rem;list-style:none;display:flex}.password-reqs li{color:var(--muted);align-items:center;gap:.45rem;font-size:.78rem;transition:color .2s;display:flex}.password-reqs li:before{content:"○";flex-shrink:0;font-size:.65rem}.password-reqs li.met{color:#22c55e}.password-reqs li.met:before{content:"✓"}.auth-info{border-left:1px solid var(--border);background:radial-gradient(ellipse at top left, #7c3aed38 0%, transparent 38%), radial-gradient(ellipse at top right, #7c3aed2e 0%, transparent 38%), radial-gradient(ellipse at bottom right, #7c3aed33 0%, transparent 38%), var(--surface);flex-direction:column;justify-content:center;gap:2rem;padding:5rem;display:flex;position:relative}.auth-info-logo{width:auto;height:44px}.auth-info-headline{letter-spacing:-2px;font-size:clamp(2.5rem,4vw,3.5rem);font-weight:800;line-height:1.05}.auth-info-sub{color:var(--muted);max-width:340px;font-size:1rem;line-height:1.7}.auth-info-features{border-top:1px solid var(--border);flex-direction:column;gap:1rem;padding-top:.5rem;list-style:none;display:flex}.auth-info-features li{color:var(--text);align-items:center;gap:.85rem;font-size:.95rem;display:flex}.auth-info-features li:before{content:"✓";width:1.5rem;height:1.5rem;color:var(--accent);background:#7c3aed26;border:1px solid #7c3aed4d;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.75rem;font-weight:700;display:flex}@media (width<=768px){.auth-layout{grid-template-columns:1fr}.auth-info{display:none}}.logo{letter-spacing:-.75px;text-align:center;font-size:2rem;font-weight:800}.tagline{color:var(--muted);text-align:center;font-size:.95rem}.fields{flex-direction:column;gap:.75rem;display:flex}input{background:var(--bg);border:1px solid var(--border);width:100%;color:var(--text);border-radius:7px;outline:none;padding:.65rem .85rem;font-size:.95rem;transition:border-color .15s}input:focus{border-color:var(--accent)}input::placeholder{color:var(--muted)}.actions{flex-direction:column;gap:.6rem;margin-top:.25rem;display:flex}button{cursor:pointer;background:var(--accent);color:#fff;border:none;border-radius:7px;width:100%;padding:.7rem;font-size:.95rem;font-weight:600;transition:background .15s}button:hover{background:var(--accent-hover)}button.secondary{border:1px solid var(--border);color:var(--text);background:0 0}button.secondary:hover{border-color:var(--accent);color:var(--accent)}.error{color:var(--danger);text-align:center;font-size:.85rem}.hidden{display:none}#app{max-width:1280px;margin:0 auto;padding:2rem}.app-layout{flex-direction:column;height:100vh;display:flex;overflow:hidden}.topbar{border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0;justify-content:space-between;align-items:center;padding:.75rem 1.5rem;display:flex}.topbar-brand{flex:1;align-items:center;gap:.5rem;display:flex}.logo-sm{letter-spacing:-.3px;font-size:1.1rem;font-weight:700}.topbar-right{flex:1;justify-content:flex-end;align-items:center;gap:1rem;display:flex}.status-badge{color:var(--muted);border:1px solid var(--border);border-radius:999px;padding:.25rem .6rem;font-size:.8rem;transition:color .2s,border-color .2s}.status-connected{color:#22c55e;border-color:#22c55e}.status-error{color:var(--danger);border-color:var(--danger)}.credits-badge{color:var(--text);font-size:.85rem;font-weight:600}.btn-sm{width:auto;padding:.4rem .9rem;font-size:.8rem}.video-area{flex:1;justify-content:center;align-items:center;min-height:0;padding:1.5rem;display:flex;overflow:hidden}.video-output-wrap{aspect-ratio:16/9;border:1px solid var(--border);background:#0d0d0d;border-radius:16px;width:100%;max-width:960px;max-height:100%;position:relative;overflow:hidden;box-shadow:0 0 0 1px #ffffff0a,0 24px 60px #00000080}.video-output-wrap video{object-fit:cover;width:100%;height:100%}.video-placeholder{color:var(--muted);pointer-events:none;background:radial-gradient(#7c3aed0d 0%,#0000 70%);justify-content:center;align-items:center;font-size:.875rem;display:flex;position:absolute;inset:0}.placeholder-inner{flex-direction:column;align-items:center;gap:1rem;display:flex}.placeholder-spinner{border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:2rem;height:2rem;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.controls{border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.25rem 1.75rem;display:flex}.reference-section{flex:1;align-items:center;gap:1rem;display:flex}.reference-section input[type=file]{display:none}.ref-upload-zone{border:1.5px dashed var(--border);cursor:pointer;background:var(--bg);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:3.25rem;height:3.25rem;transition:border-color .15s;display:flex;position:relative;overflow:hidden}.ref-upload-zone:hover{border-color:var(--accent)}.ref-preview{object-fit:cover;border-radius:50%;width:100%;height:100%;position:absolute;inset:0}.ref-placeholder{color:var(--muted);justify-content:center;align-items:center;display:flex}.ref-placeholder-icon{font-size:1.25rem;line-height:1}.ref-info{flex-direction:column;gap:.2rem;display:flex}.ref-label-text{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.75rem;font-weight:600}.ref-name{color:var(--text);white-space:nowrap;text-overflow:ellipsis;max-width:200px;font-size:.85rem;overflow:hidden}.control-btns{flex-direction:column;align-items:flex-end;gap:.5rem;display:flex}.control-btns-row{gap:.75rem;display:flex}.connect-error{color:var(--danger);text-align:right;font-size:.78rem}.btn-connect{letter-spacing:.01em;background:#16a34a;border-radius:10px;width:auto;min-width:140px;padding:.75rem 1.5rem;font-size:.9rem;font-weight:700;transition:background .15s,box-shadow .2s;box-shadow:0 0 #16a34a00}.btn-connect:hover:not(:disabled){background:#15803d;box-shadow:0 0 18px #16a34a59}.btn-disconnect{letter-spacing:.01em;color:#fff;background:#dc26261f;border:1.5px solid #dc2626;border-radius:10px;width:auto;min-width:140px;padding:.75rem 1.5rem;font-size:.9rem;font-weight:700;transition:background .15s,box-shadow .2s}.btn-disconnect:hover:not(:disabled){background:#dc262640;box-shadow:0 0 18px #dc26264d}button:disabled{opacity:.35;cursor:not-allowed}button:disabled:hover{background:var(--accent)}.btn-connect:disabled:hover{background:#16a34a}.btn-disconnect:disabled:hover{background:#dc2626}.test-banner{color:var(--muted);background:#7c3aed1f;border-bottom:1px solid #7c3aed4d;justify-content:space-between;align-items:center;padding:.6rem 1.5rem;font-size:.85rem;display:flex}.test-banner button{background:var(--accent);width:auto;padding:.4rem 1rem;font-size:.8rem}.test-banner button:hover{background:var(--accent-hover)}.credits-layout{flex-direction:column;min-height:100vh;display:flex}.packages-area{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:1.5rem;padding:2rem 1.5rem;display:flex}.packages-grid{grid-template-columns:repeat(3,1fr);gap:1.25rem;width:100%;max-width:860px;display:grid}@media (width<=680px){.packages-grid{grid-template-columns:1fr;max-width:380px}}.package-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:1.5rem;padding:1.75rem 1.5rem;transition:border-color .15s;display:flex;position:relative}.package-card.featured{border-color:var(--accent)}.badge{background:var(--accent);color:#fff;white-space:nowrap;letter-spacing:.03em;text-transform:uppercase;border-radius:999px;padding:.2rem .75rem;font-size:.7rem;font-weight:700;position:absolute;top:-.6rem;left:50%;transform:translate(-50%)}.package-header{flex-direction:column;gap:.25rem;display:flex}.package-name{font-size:1.1rem;font-weight:700}.package-price{letter-spacing:-1px;margin:.4rem 0 .1rem;font-size:2rem;font-weight:800;line-height:1}.package-credits{color:var(--text);font-size:1rem;font-weight:600}.package-rate{color:var(--muted);font-size:.78rem}.package-actions{flex-direction:column;gap:.6rem;display:flex}.btn-card{background:var(--accent);color:#fff;width:100%;padding:.65rem;font-size:.875rem}.btn-card:hover{background:var(--accent-hover)}.btn-crypto{border:1px solid var(--border);color:var(--text);background:0 0;width:100%;padding:.65rem;font-size:.875rem}.btn-crypto:hover{border-color:var(--accent);color:var(--accent);background:0 0}.btn-fullscreen{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10;background:#00000080;border:1px solid #ffffff26;border-radius:7px;width:auto;min-width:0;padding:.4rem .6rem;font-size:1.1rem;line-height:1;transition:background .15s,opacity .15s;position:absolute;bottom:.75rem;right:.75rem}.btn-fullscreen:hover{background:#000000bf}.btn-fullscreen:disabled,.btn-fullscreen.hidden{display:none}.theater-mode{z-index:9999;background:#000;position:fixed;inset:0}.theater-mode .topbar,.theater-mode .controls{display:none}.theater-mode .video-area{height:100%;padding:0}.theater-mode .video-output-wrap{max-width:100%;height:100%;aspect-ratio:unset;box-shadow:none;border:none;border-radius:0}.theater-mode,.theater-mode *{cursor:none!important}.theater-mode .btn-fullscreen{display:none}.dashboard-layout{flex-direction:column;gap:2.5rem;max-width:1000px;margin:0 auto;padding:2rem 1.5rem 4rem;display:flex}.dash-top-row{grid-template-columns:1fr 1fr;gap:1.25rem;display:grid}@media (width<=600px){.dash-top-row{grid-template-columns:1fr}}.credits-card,.launch-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.75rem}.credits-card-label{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem;font-size:.8rem}.balance-row{align-items:center;gap:.75rem;margin-bottom:.4rem;display:flex}.balance-low-badge{flex-shrink:0;margin-bottom:0}.balance-number{letter-spacing:-1.5px;font-size:2.5rem;font-weight:800;line-height:1}.balance-flashing{color:#f59e0b;animation:1.2s ease-in-out infinite balance-flash}@keyframes balance-flash{0%,to{opacity:1}50%{opacity:.35}}.balance-minutes{color:var(--muted);font-size:.9rem}.launch-banner{background:var(--surface);border:1px solid var(--border);border-radius:12px;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.5rem 1.75rem;display:flex}.launch-banner-title{margin-bottom:.25rem;font-size:1rem;font-weight:700}.launch-banner-sub{color:var(--muted);font-size:.875rem;line-height:1.5}.btn-launch{background:var(--accent);white-space:nowrap;border-radius:8px;flex-shrink:0;width:auto;padding:.75rem 2rem;font-size:1rem}.btn-launch:hover{background:var(--accent-hover)}.usage-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:.4rem;padding:1.75rem;display:flex}.usage-card-header{justify-content:space-between;align-items:center;margin-bottom:.25rem;display:flex}.usage-toggle{background:#ffffff0a;border-radius:7px;gap:.15rem;padding:.15rem;display:flex}.usage-tab{width:auto;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:5px;padding:.25rem .7rem;font-size:.72rem;font-weight:600;transition:background .15s,color .15s}.usage-tab.active{background:var(--bg);color:var(--text)}.usage-tab:hover:not(.active){color:var(--text);background:0 0}.dash-bottom-grid{grid-template-columns:1fr 1fr;align-items:start;gap:1.5rem;display:grid}.dash-panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:1rem;padding:1.5rem;display:flex}.dash-panel-title{margin:0;font-size:1rem;font-weight:700}@media (width<=860px){.dash-bottom-grid{grid-template-columns:1fr}}.dash-section-sub{color:var(--muted);font-size:.875rem}.steps-grid{flex-direction:column;gap:.75rem;display:flex}.step-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:.75rem;padding:1.25rem;display:flex}.step-number{background:var(--accent);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:1.75rem;height:1.75rem;font-size:.8rem;font-weight:700;display:flex}.step-text{color:var(--muted);font-size:.85rem;line-height:1.5}.step-text code{color:var(--text);background:#ffffff12;border-radius:4px;padding:.1em .35em;font-family:monospace;font-size:.8rem}.step-text strong{color:var(--text);font-weight:600}.btn-download{border:1px solid var(--border);width:auto;color:var(--muted);cursor:not-allowed;opacity:.6;background:0 0;border-radius:7px;align-self:flex-start;padding:.55rem 1.25rem;font-size:.875rem}.history-table{border-collapse:collapse;width:100%;font-size:.875rem}.history-table th{text-align:left;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--border);padding:.6rem 1rem;font-size:.75rem;font-weight:600}.history-table td{border-bottom:1px solid var(--border);color:var(--text);padding:.75rem 1rem}.history-table tbody tr:last-child td{border-bottom:none}.history-table tbody tr:hover td{background:var(--surface)}.history-empty{text-align:center;color:var(--muted);padding:2rem!important}.credits-low{text-transform:uppercase;letter-spacing:.05em;color:#f59e0b;border:1px solid #f59e0b;border-radius:999px;padding:.15rem .5rem;font-size:.7rem;font-weight:700}.modal-overlay{z-index:9999;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#000000a6;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-overlay.hidden{display:none}.modal-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:1rem;width:90%;max-width:360px;padding:2rem;display:flex;box-shadow:0 8px 40px #0009}.modal-title{font-size:1.15rem;font-weight:700}.modal-body{color:var(--muted);font-size:.9rem;line-height:1.5}.modal-actions{flex-direction:column;gap:.6rem;margin-top:.25rem;display:flex}.btn-modal-buy{background:var(--accent);color:#fff}.btn-modal-buy:hover{background:var(--accent-hover)}.btn-modal-cancel{border:1px solid var(--border);color:var(--muted);background:0 0}.btn-modal-cancel:hover{border-color:var(--muted);color:var(--text);background:0 0}.credits-modal-card{gap:1.5rem;width:95%;max-width:900px}.credits-modal-header{justify-content:space-between;align-items:center;display:flex}.credits-modal-close{border-radius:6px;width:auto;padding:.3rem .6rem;font-size:.85rem}.landing-nav{z-index:100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);background:#0a0a0ad9;justify-content:space-between;align-items:center;padding:1rem 2rem;display:flex;position:sticky;top:0}.nav-brand{align-items:center;gap:.5rem;display:flex}.nav-logo{width:auto;height:36px}.nav-brand-name{letter-spacing:-.3px;font-size:1.1rem;font-weight:700}.landing-hero{grid-template-columns:1fr 1fr;align-items:center;gap:3rem;width:100%;max-width:1100px;min-height:90vh;margin:0 auto;padding:4rem;display:grid}@media (width<=768px){.landing-hero{min-height:unset;grid-template-columns:1fr;padding:3rem 1.5rem}.hero-demo{display:none}}.hero-content{flex-direction:column;align-items:flex-start;gap:1.25rem;display:flex}.hero-badge{letter-spacing:.04em;color:var(--accent);background:#7c3aed14;border:1px solid #7c3aed66;border-radius:999px;padding:.3rem .9rem;font-size:.78rem;font-weight:600;display:inline-block}.hero-note{color:var(--muted);font-size:.8rem}.hero-demo{justify-content:center;align-items:center;display:flex}.hero-demo-placeholder{aspect-ratio:16/9;background:var(--surface);border:1px solid var(--border);border-radius:14px;justify-content:center;align-items:center;width:100%;display:flex}.hero-demo-label{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:.8rem}.hero-headline{letter-spacing:-2px;font-size:clamp(2.5rem,5vw,4rem);font-weight:800;line-height:1.1}.hero-sub{color:var(--muted);max-width:440px;font-size:1.05rem;line-height:1.65}.btn-hero{background:var(--accent);letter-spacing:-.2px;border-radius:8px;width:auto;margin-top:.5rem;padding:.85rem 2.25rem;font-size:1rem;font-weight:700}.btn-hero:hover{background:var(--accent-hover)}.landing-section{flex-direction:column;align-items:flex-start;gap:1.5rem;width:100%;max-width:960px;margin:0 auto;padding:5rem 2rem;display:flex}.landing-section-alt{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);width:100%}.section-label{text-transform:uppercase;letter-spacing:.08em;color:var(--accent);font-size:.75rem;font-weight:700}.section-heading{letter-spacing:-.5px;font-size:1.75rem;font-weight:800}.how-list{flex-direction:column;gap:1rem;width:100%;display:flex}.how-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;align-items:center;gap:2.5rem;padding:2.5rem 3rem;transition:border-color .2s;display:flex}.how-card:hover{border-color:var(--accent)}.how-card-num{letter-spacing:-3px;color:var(--accent);opacity:.25;flex-shrink:0;min-width:80px;font-size:4rem;font-weight:900;line-height:1}.how-card-icon{flex-shrink:0;font-size:2.75rem;line-height:1}.how-card-body{flex-direction:column;gap:.4rem;display:flex}.how-card-title{letter-spacing:-.3px;font-size:1.2rem;font-weight:700}.how-card-desc{color:var(--muted);max-width:520px;font-size:.95rem;line-height:1.6}@media (width<=600px){.how-card{gap:1.25rem;padding:1.75rem}.how-card-num{min-width:50px;font-size:2.5rem}.how-card-icon{font-size:2rem}}.pricing-grid{grid-template-columns:repeat(3,1fr);gap:1.25rem;width:100%;display:grid}@media (width<=680px){.pricing-grid{grid-template-columns:1fr}}.package-features{flex-direction:column;flex:1;gap:.5rem;padding:0;list-style:none;display:flex}.package-features li{color:var(--muted);align-items:flex-start;gap:.5rem;font-size:.85rem;line-height:1.4;display:flex}.package-features li:before{content:"✓";color:var(--accent);flex-shrink:0;font-weight:700}.bottom-cta{text-align:center;background:#7c3aed12;border-top:1px solid #7c3aed33;border-bottom:1px solid #7c3aed33;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:5rem 2rem;display:flex}.bottom-cta-heading{letter-spacing:-.5px;font-size:2rem;font-weight:800}.bottom-cta-sub{color:var(--muted);font-size:1rem}.landing-footer{text-align:center;color:var(--muted);border-top:1px solid var(--border);padding:2rem;font-size:.85rem}
