/* Vidz AI video creation surfaces */
.vidz-feature-hero{display:flex;align-items:flex-start;gap:.85rem;margin-bottom:1rem}
.vidz-feature-hero .icon-wrap{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;font-size:1.35rem;flex:0 0 auto}
.vidz-feature-hero h1{font-size:1.2rem;font-weight:800;margin:0 0 .2rem;letter-spacing:-.02em}
.vidz-feature-hero p{margin:0;color:var(--gray);font-size:.86rem;line-height:1.45}
.vidz-cost-chip{display:inline-flex;align-items:center;gap:.3rem;margin-top:.45rem;padding:.2rem .55rem;border-radius:999px;background:rgba(var(--secondary-rgb),.14);color:#5b4a00;font-size:.72rem;font-weight:700}
.vidz-rules{background:#fff;border:1px solid #e6ebf0;border-radius:var(--radius-sm);padding:.75rem .85rem;font-size:.8rem;color:#4b5563;margin-bottom:1rem;line-height:1.45}
.vidz-rules i{color:var(--primary)}
.vidz-preview{position:relative;border-radius:var(--radius);overflow:hidden;background:#07111f}
.vidz-preview video,.vidz-preview img{display:block;width:100%;max-height:320px;object-fit:contain;background:#07111f}
.vidz-preview-meta{display:flex;flex-wrap:wrap;gap:.4rem;padding:.55rem .7rem;background:#0d1a2e;color:#d7e0ef;font-size:.72rem}
.vidz-preview-actions{display:flex;gap:.5rem;margin-top:.65rem}
.vidz-preset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.vidz-preset{border:1.5px solid #e5e7eb;background:#fff;border-radius:12px;overflow:hidden;text-align:left;padding:0;color:inherit}
.vidz-preset.active{border-color:var(--primary);box-shadow:0 0 0 3px rgba(var(--primary-rgb),.12)}
.vidz-preset-media{height:88px;display:block;width:100%;object-fit:cover;background:#12213a}
.vidz-preset-swatch{height:88px}
.vidz-preset-copy{padding:.55rem .65rem}
.vidz-preset-copy strong{display:block;font-size:.82rem;font-weight:750}
.vidz-preset-copy span{display:block;font-size:.7rem;color:var(--gray);line-height:1.35}
.vidz-seg{display:flex;gap:.45rem;flex-wrap:wrap}
.vidz-seg button{flex:1;min-width:72px;border:1.5px solid #e5e7eb;background:#fff;border-radius:10px;padding:.55rem .4rem;font-size:.78rem;font-weight:700}
.vidz-seg button.active{border-color:var(--primary);background:rgba(var(--primary-rgb),.06);color:var(--primary)}
.vidz-summary{background:#fff;border:1px solid #e6ebf0;border-radius:var(--radius);padding:.9rem;margin-top:1rem}
.vidz-summary-row{display:flex;justify-content:space-between;gap:1rem;font-size:.84rem;margin-bottom:.35rem}
.vidz-summary-row strong{font-weight:750}
.vidz-refs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin-top:.65rem}
.vidz-ref{position:relative;border-radius:10px;overflow:hidden;background:#f3f4f6;aspect-ratio:1}
.vidz-ref img{width:100%;height:100%;object-fit:cover}
.vidz-ref button{position:absolute;top:4px;right:4px;width:24px;height:24px;border:0;border-radius:50%;background:rgba(0,0,0,.65);color:#fff}
.vidz-job-card{display:flex;gap:.7rem;align-items:center;background:#fff;border-radius:var(--radius);box-shadow:var(--card-shadow);padding:.7rem;text-decoration:none;color:inherit}
.vidz-job-card:hover{color:inherit}
.vidz-job-poster{width:64px;height:80px;border-radius:10px;object-fit:cover;background:#07111f;flex:0 0 auto}
.vidz-job-poster.is-empty{display:grid;place-items:center;color:#c5a900}
.vidz-library{display:grid;gap:.75rem}
@media(min-width:768px){.vidz-library{grid-template-columns:repeat(2,minmax(0,1fr))}}
.vidz-library-card{background:#fff;border-radius:var(--radius);box-shadow:var(--card-shadow);overflow:hidden}
.vidz-library-card video,.vidz-library-card img.poster{width:100%;aspect-ratio:9/16;max-height:220px;object-fit:cover;background:#07111f;display:block}
.vidz-library-meta{padding:.75rem}
.vidz-library-actions{display:flex;flex-wrap:wrap;gap:.4rem;padding:0 .75rem .75rem}
.vidz-chat-shell{display:flex;flex-direction:column;min-height:calc(100dvh - 170px)}
.vidz-chat-log{flex:1;min-height:220px;display:flex;flex-direction:column;gap:.7rem;padding-bottom:1rem}
.vidz-bubble{max-width:92%;padding:.7rem .8rem;border-radius:14px;font-size:.86rem;line-height:1.45}
.vidz-bubble.user{align-self:flex-end;background:var(--primary);color:#fff}
.vidz-bubble.assistant{align-self:flex-start;background:#fff;box-shadow:var(--card-shadow)}
.vidz-quick{display:flex;gap:.4rem;overflow-x:auto;padding-bottom:.4rem;scrollbar-width:none}
.vidz-quick::-webkit-scrollbar{display:none}
.vidz-quick button{flex:0 0 auto;border:1px solid #d7dde5;background:#fff;border-radius:999px;padding:.35rem .7rem;font-size:.72rem;font-weight:700;white-space:nowrap}
.vidz-composer{position:sticky;bottom:0;background:var(--body-bg);padding:.6rem 0 calc(.4rem + env(safe-area-inset-bottom))}
.vidz-pending{display:inline-flex;align-items:center;gap:.35rem;color:#92400e;font-size:.78rem;font-weight:700}
.landing-cinematic{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);width:100vw;background:#061018;color:#e8eef6;overflow-x:hidden}
.landing-cinematic a{text-decoration:none}
.lc-nav{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.85rem 1rem;position:sticky;top:0;z-index:20;background:rgba(6,16,24,.88);backdrop-filter:blur(16px)}
.lc-hero{padding:2.2rem 1rem 2.8rem;background:radial-gradient(circle at 20% 10%,rgba(197,169,0,.18),transparent 36%),linear-gradient(180deg,#071526 0%,#061018 72%)}
.lc-kicker{color:#c5a900;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.lc-hero h1{font-size:clamp(2rem,9vw,3.4rem);font-weight:800;line-height:1.05;margin:.7rem 0 1rem;max-width:16ch}
.lc-hero p{max-width:36ch;color:#b7c4d6;font-size:.98rem;line-height:1.55}
.lc-actions{display:flex;flex-direction:column;gap:.55rem;margin-top:1.4rem;max-width:360px}
.lc-grid{display:grid;gap:.75rem;padding:0 1rem 2.5rem}
.lc-card{background:#0c1b2c;border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:1rem;color:#e8eef6}
.lc-card i{color:#c5a900;font-size:1.3rem}
.lc-card h3{font-size:1rem;font-weight:800;margin:.55rem 0 .3rem}
.lc-card p{margin:0;color:#9aabc0;font-size:.82rem;line-height:1.45}
.lc-footer{padding:1.4rem 1rem 2rem;border-top:1px solid rgba(255,255,255,.06);color:#8ea0b5;font-size:.8rem}
.legal-wrap h1{font-size:1.45rem;font-weight:800}
.legal-wrap section{margin-bottom:1.4rem}
.legal-wrap h2{font-size:1.02rem;font-weight:800;color:var(--primary)}
.feature-card.travel-card::before{background:linear-gradient(90deg,var(--primary),#1e40af)}
.feature-card.product-card::before{background:linear-gradient(90deg,#0f766e,var(--secondary))}
.feature-card.chat-card::before{background:linear-gradient(90deg,#0b3a6e,var(--secondary))}
.result-view .result-badge{display:inline-flex;align-items:center;gap:.35rem;background:rgba(5,150,105,.1);color:#047857;border-radius:999px;padding:.25rem .65rem;font-size:.75rem;font-weight:700;margin-bottom:.75rem}
.generation-progress-card{max-width:620px;margin:0 auto;padding:1.25rem;background:#fff;border:1px solid #e6ebf0;border-radius:18px;box-shadow:0 18px 48px rgba(0,32,91,.08)}
.progress-status-row,.progress-meta-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;color:#64748b;font-size:.74rem}
.progress-live-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.28rem .58rem;border-radius:999px;background:#f1f5f9;color:#64748b;font-weight:750}
.progress-live-pill.is-live{background:#ecfdf5;color:#047857}
.progress-live-pill.is-reconnecting{background:#fff7ed;color:#c2410c}
.progress-live-dot{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px rgba(100,116,139,.12)}
.progress-live-pill.is-live .progress-live-dot{animation:pulse 1.4s ease-in-out infinite}
.progress-estimate{display:inline-flex;align-items:center;gap:.3rem;font-variant-numeric:tabular-nums}
.generation-progress-card .processing-ring{margin-top:1.15rem}
.generation-progress-card .processing-subtitle{min-height:1.35rem;font-weight:650;color:#475569}
.generation-progress-card .processing-bar{margin-top:1rem}
.generation-progress-card .processing-steps{justify-content:space-between;gap:.25rem}
.generation-progress-card .processing-step{font-size:.7rem}
.progress-meta-row{margin-top:1rem;padding-top:.85rem;border-top:1px solid #eef2f7;font-variant-numeric:tabular-nums}
.processing-note{margin-top:.8rem;color:#64748b;font-size:.74rem;line-height:1.45}
.result-heading{display:flex;align-items:center;gap:.8rem;margin-bottom:.85rem}
.result-heading .result-badge{margin:0;flex:0 0 auto}
.result-heading h2{font-size:1.05rem;font-weight:800;letter-spacing:-.02em;margin:0 0 .12rem}
.result-heading p{font-size:.78rem;color:#64748b;margin:0}
.result-player-shell{box-shadow:0 16px 44px rgba(7,17,31,.18)}
.result-player-shell video{max-height:min(68vh,680px)}
.result-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem}
.chat-generation-card{width:min(100%,520px);padding:1rem;border:1px solid #e6ebf0;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(0,32,91,.07)}
.chat-generation-card .processing-percent{font-size:1.75rem;text-align:left;margin:.35rem 0}
.chat-generation-card .processing-subtitle{text-align:left}
.chat-generation-card .processing-steps{justify-content:space-between;margin-top:.8rem}
.chat-result-card{width:min(100%,560px);padding:.55rem;border:1px solid #dce5ee;border-radius:16px;background:#fff;box-shadow:0 12px 32px rgba(0,32,91,.1)}
.chat-result-card video{display:block;width:100%;max-height:520px;border-radius:12px;background:#07111f;object-fit:contain}
.library-progress{padding:.7rem .75rem .25rem}
.library-progress-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-size:.75rem;font-weight:700;color:#334155}
.library-progress .processing-bar{margin-top:.45rem;height:6px}
.library-progress-foot{display:flex;justify-content:space-between;gap:.5rem;margin-top:.4rem;color:#64748b;font-size:.68rem}
.library-ready-overlay{position:absolute;inset:auto .65rem .65rem .65rem;display:flex;align-items:center;justify-content:center;gap:.35rem;padding:.4rem .65rem;border-radius:999px;background:rgba(255,255,255,.94);color:#047857;font-size:.74rem;font-weight:800;box-shadow:0 5px 20px rgba(0,0,0,.2)}
.vidz-library-media{position:relative;background:#07111f}
@media(max-width:480px){.generation-progress-card{padding:1rem}.progress-meta-row{align-items:flex-start;flex-direction:column;gap:.35rem}.generation-progress-card .processing-step{font-size:.64rem}.result-heading{align-items:flex-start;flex-direction:column}.result-actions .btn{flex:1 1 calc(50% - .5rem)}.result-actions .btn-link{flex-basis:100%}}
@media(min-width:540px){.lc-actions{flex-direction:row}.lc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.btn-upscale {
    color: #00205b;
    background: linear-gradient(135deg, #f5df69, #c5a900);
    border-color: #c5a900;
    box-shadow: 0 .35rem 1rem rgba(197, 169, 0, .18);
    font-weight: 700;
}
.btn-upscale:hover, .btn-upscale:focus {
    color: #fff;
    background: #00205b;
    border-color: #00205b;
}
