:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #111114;
  --panel-2: #18181c;
  --line: rgba(255, 255, 255, .10);
  --muted: #9b9ba5;
  --text: #f7f6f3;
  --lime: #d8ff45;
  --lime-2: #b9e82e;
  --purple: #916dff;
  --danger: #ff6d73;
  --radius: 24px;
  font-family: "Noto Sans TC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; background: var(--bg); color: var(--text); }
button, input, select, textarea { 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; pointer-events: none; z-index: -1; filter: blur(100px); opacity: .13; border-radius: 50%; }
.ambient-one { width: 520px; height: 520px; background: var(--lime); top: -260px; right: -130px; }
.ambient-two { width: 480px; height: 480px; background: var(--purple); top: 520px; left: -320px; }

.site-header { height: 82px; max-width: 1240px; padding: 0 28px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font: 800 23px/1 "DM Sans", sans-serif; letter-spacing: -.8px; }
.brand > span:last-child > span { color: var(--lime); }
.brand-mark { width: 29px; height: 29px; display: flex; align-items: end; justify-content: center; gap: 3px; transform: skew(-9deg); }
.brand-mark i { display: block; width: 6px; border-radius: 4px; background: var(--lime); }
.brand-mark i:nth-child(1) { height: 14px; }.brand-mark i:nth-child(2) { height: 27px; }.brand-mark i:nth-child(3) { height: 20px; }
nav { display: flex; align-items: center; gap: 28px; color: #b8b7bd; font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--text); }
.nav-account { border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; background: rgba(255,255,255,.04); }

.hero { width: min(1180px, calc(100% - 48px)); min-height: 650px; margin: 36px auto 84px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; }
.eyebrow, .section-kicker { color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 8px; }
.eyebrow span { display: block; width: 26px; height: 1px; background: var(--lime); }
h1 { margin: 22px 0; max-width: 720px; font-size: clamp(48px, 6.1vw, 82px); line-height: 1.03; letter-spacing: -.055em; font-weight: 900; }
h1 em { color: var(--lime); font-style: normal; }
.hero-lead { max-width: 610px; color: #a7a6ad; font-size: 18px; line-height: 1.8; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 20px; }
.primary-button { border: 0; border-radius: 13px; min-height: 52px; padding: 0 23px; background: var(--lime); color: #111; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 34px rgba(216,255,69,.12); transition: transform .18s, background .18s; }
.primary-button:hover { background: #e5ff80; transform: translateY(-2px); }
.primary-button:disabled { opacity: .5; cursor: wait; transform: none; }
.primary-button svg { width: 21px; height: 21px; padding: 2px; border-radius: 50%; background: white; }
.primary-button.full { width: 100%; }
.text-button { border: 0; background: none; color: #a9a8af; cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.trust-row { margin-top: 30px; display: flex; gap: 22px; flex-wrap: wrap; color: #85848d; font-size: 12px; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--lime); }

.hero-visual { min-height: 580px; display: grid; place-items: center; position: relative; }
.hero-visual::before { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle, rgba(216,255,69,.18), transparent 67%); }
.phone-shell { position: relative; z-index: 1; width: 284px; height: 570px; padding: 9px; border-radius: 43px; background: linear-gradient(145deg, #4a4a50, #151518 45%); box-shadow: 0 35px 90px #000, inset 0 0 0 1px rgba(255,255,255,.18); transform: rotate(3deg); }
.phone-screen { height: 100%; overflow: hidden; position: relative; border-radius: 35px; background: #141416; border: 1px solid #242429; }
.phone-top { height: 54px; padding: 17px 17px 0; display: flex; justify-content: space-between; font: 700 10px "DM Sans", sans-serif; }
.live-dot { color: var(--lime); }.live-dot::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.speaker-silhouette { position: relative; height: 372px; overflow: hidden; background: #111; }
.hero-creator-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 24%; filter: saturate(.9) contrast(1.04); }
.speaker-silhouette::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.04) 35%, rgba(0,0,0,.82) 100%); }
.caption-word { position: absolute; z-index: 2; top: 70%; width: 100%; text-align: center; font-weight: 900; font-size: 28px; text-shadow: 0 3px #000, 2px 0 #000, -2px 0 #000; transform: rotate(-2deg); }
.caption-word.active { top: 78%; color: var(--lime); font-size: 35px; }
.play-ring { position: absolute; z-index: 3; top: 41%; left: 50%; width: 52px; height: 52px; margin: -26px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: grid; place-items: center; backdrop-filter: blur(6px); }
.play-ring span { font-size: 12px; margin-left: 3px; }
.timeline { position: relative; height: 44px; display: flex; gap: 3px; padding: 12px 14px 7px; }
.timeline i { flex: 1; border-radius: 2px; background: linear-gradient(135deg, #514959, #27232a); }
.timeline i:nth-child(2), .timeline i:nth-child(4) { background: #708129; }
.timeline b { position: absolute; width: 2px; height: 35px; left: 43%; top: 5px; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.effect-pills { display: flex; gap: 5px; padding: 7px 12px; overflow: hidden; }
.effect-pills span { white-space: nowrap; padding: 7px 9px; border: 1px solid var(--line); border-radius: 99px; color: #aaa9b1; font-size: 8px; }
.effect-pills span:first-child { color: #111; background: var(--lime); border-color: var(--lime); }
.floating-card { position: absolute; z-index: 2; display: flex; flex-direction: column; padding: 14px 17px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(20,20,23,.86); backdrop-filter: blur(18px); box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.floating-card b { font-size: 15px; }.floating-card span { color: #9b9aa2; font-size: 10px; margin-top: 3px; }
.card-a { left: 2%; top: 23%; }.card-a b { color: var(--lime); font-size: 24px; }
.card-b { right: -1%; bottom: 18%; flex-direction: row; align-items: center; gap: 8px; }.card-b .spark { color: var(--lime); font-size: 17px; margin: 0; }

.how-section { width: min(1120px, calc(100% - 48px)); margin: 0 auto 110px; text-align: center; }
.how-section h2 { margin: 12px 0 40px; font-size: clamp(28px, 4vw, 45px); letter-spacing: -.04em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.steps article { min-height: 250px; padding: 26px; position: relative; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.steps article > span { position: absolute; top: 25px; right: 25px; color: #4d4c53; font: 700 12px "DM Sans"; }
.step-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(216,255,69,.1); color: var(--lime); font-size: 22px; }
.steps h3 { margin: 36px 0 10px; font-size: 19px; }.steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.app-shell { width: min(1260px, calc(100% - 36px)); height: calc(100vh - 110px); min-height: 650px; margin: 12px auto 28px; display: grid; grid-template-columns: 280px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: rgba(14,14,17,.94); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.app-sidebar { display: flex; flex-direction: column; padding: 20px; border-right: 1px solid var(--line); background: rgba(255,255,255,.018); }
.sidebar-title { margin: 27px 8px 12px; color: #77767e; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.works-list { min-height: 0; flex: 1; overflow-y: auto; }
.work-row { width: 100%; padding: 12px; margin-bottom: 5px; display: grid; grid-template-columns: 44px 1fr; gap: 10px; border: 0; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; }
.work-row:hover, .work-row.active { background: rgba(255,255,255,.06); }
.work-thumb { width: 44px; height: 48px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(145deg, #37343c, #202024); color: var(--lime); font-size: 16px; }
.work-row strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.work-row small { color: #77767e; font-size: 10px; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #777; }.status-dot.done { background: var(--lime); }.status-dot.failed { background: var(--danger); }
.sidebar-bottom { padding: 16px 8px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.sidebar-bottom span { display: block; color: #77767e; font-size: 10px; }.sidebar-bottom strong { font: 700 20px "DM Sans"; }
.app-content { min-width: 0; overflow: auto; background: radial-gradient(circle at 75% 15%, rgba(145,109,255,.08), transparent 28%); }
.welcome-panel { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px; text-align: center; }
.welcome-panel h2 { margin: 14px 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.12; letter-spacing: -.05em; }.welcome-panel p { color: var(--muted); }.welcome-panel .primary-button { margin-top: 20px; }
.mini-process { margin-top: 60px; display: flex; align-items: center; gap: 11px; color: #77767e; font-size: 10px; }.mini-process i { width: 35px; height: 1px; background: #39383e; }
.workspace-panel { max-width: 900px; min-height: 100%; margin: auto; padding: 44px; }
.workspace-top { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.workspace-top h2 { margin: 8px 0; font-size: 30px; letter-spacing: -.04em; }.workspace-top p { margin: 0; color: var(--muted); font-size: 13px; }
.stage-chip { padding: 8px 12px; border: 1px solid rgba(216,255,69,.25); border-radius: 99px; background: rgba(216,255,69,.06); color: var(--lime); font-size: 11px; font-weight: 700; }
.source-card, .content-card { margin-top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.source-card { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; }.source-card video { width: 110px; height: 145px; border-radius: 11px; object-fit: cover; background: #000; }
.source-card h3, .content-card h3 { margin: 0 0 8px; font-size: 16px; }.source-card p, .content-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.progress-track { height: 5px; margin: 18px 0 8px; overflow: hidden; border-radius: 99px; background: #2b2b30; }.progress-track i { display: block; width: 42%; height: 100%; border-radius: inherit; background: var(--lime); animation: searching 2.2s ease-in-out infinite; }
@keyframes searching { 0% { transform: translateX(-80%); } 50% { transform: translateX(140%); } 100% { transform: translateX(-80%); } }
.sentence-list { display: grid; gap: 10px; margin-top: 16px; }.sentence-row { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: start; }.sentence-row span { padding-top: 10px; color: #77767e; font: 600 10px "DM Sans"; }
.sentence-row textarea { width: 100%; min-height: 64px; resize: vertical; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #101013; color: var(--text); line-height: 1.6; }.sentence-row textarea:focus { border-color: rgba(216,255,69,.5); }
.action-row { margin-top: 20px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }.action-row small { margin-right: auto; color: var(--muted); }
.effect-list { display: grid; gap: 12px; margin-top: 18px; }.effect-card { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #101013; }
.effect-preview { width: 120px; aspect-ratio: 9/12; border-radius: 9px; object-fit: cover; background: linear-gradient(145deg, #302d35, #1c1c20); }.effect-copy { min-width: 0; }.effect-copy blockquote { margin: 4px 0 13px; color: #d4d3d7; font-size: 13px; line-height: 1.65; }.effect-copy label { color: var(--muted); font-size: 10px; }.effect-copy select { width: 100%; margin-top: 5px; }
select { min-height: 40px; padding: 0 32px 0 11px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: #18181c; color: var(--text); }
.settings-row { display: flex; gap: 12px; flex-wrap: wrap; }.settings-row label { flex: 1; min-width: 190px; color: var(--muted); font-size: 11px; }.settings-row select { display: block; width: 100%; margin-top: 6px; }
.density-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.density-card h3 { margin-bottom: 4px; }.density-card strong { flex: 0 0 auto; color: var(--lime); font: 800 20px "DM Sans"; }.preview-note { display: none; margin: 13px 3px 0; color: #c4a7ff; font-size: 11px; }.preview-note.visible { display: block; }
.final-video { width: min(360px, 100%); max-height: 600px; display: block; margin: 24px auto; border-radius: 18px; background: #000; box-shadow: 0 25px 70px #000; }
.error-card { border-color: rgba(255,109,115,.3); }.error-card h3 { color: var(--danger); }

.create-dialog { width: min(970px, calc(100% - 30px)); max-height: 88vh; padding: 0; border: 1px solid var(--line); border-radius: 24px; color: var(--text); background: #121215; box-shadow: 0 40px 120px #000; }
.create-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.dialog-header { position: sticky; top: 0; z-index: 3; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(18,18,21,.95); }.dialog-header h2 { margin: 5px 0 0; font-size: 24px; }.dialog-header button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #1d1d21; cursor: pointer; font-size: 22px; }
.dialog-body { padding: 24px 26px 30px; overflow: auto; }.type-filters { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 18px; }.type-filters button { white-space: nowrap; padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; }.type-filters button.active { border-color: var(--lime); background: var(--lime); color: #111; font-weight: 700; }
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.pack-card { min-height: 230px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #19191d; text-align: left; cursor: pointer; }.pack-card:hover { border-color: rgba(216,255,69,.45); transform: translateY(-2px); }.pack-art { height: 125px; display: flex; align-items: end; padding: 14px; background: linear-gradient(145deg, #42404a, #242329); background-size: cover; background-position: center; }.pack-art span { padding: 5px 8px; border-radius: 99px; background: rgba(8,8,10,.72); color: var(--lime); font-size: 9px; }.pack-copy { padding: 14px; }.pack-copy strong { display: block; font-size: 14px; }.pack-copy p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.back-link { margin-bottom: 14px; border: 0; background: none; color: var(--muted); cursor: pointer; }.selected-pack { margin-bottom: 16px; }.selected-pack h3 { margin: 4px 0; }.selected-pack p { margin: 0; color: var(--muted); font-size: 12px; }
.drop-zone { min-height: 230px; padding: 25px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #48474f; border-radius: 18px; background: #0e0e11; cursor: pointer; text-align: center; }.drop-zone.dragging { border-color: var(--lime); background: rgba(216,255,69,.04); }.drop-zone input { display: none; }.drop-zone small { margin-top: 7px; color: var(--muted); }.upload-icon { width: 48px; height: 48px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 14px; background: rgba(216,255,69,.1); color: var(--lime); font-size: 24px; }.drop-zone video { width: 120px; max-height: 180px; margin-top: 15px; border-radius: 10px; }
.upload-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }.upload-options label { color: var(--muted); font-size: 11px; }.upload-options select { display: block; width: 100%; margin-top: 6px; }
.upload-progress { margin: 16px 0; }.upload-progress > div { height: 5px; overflow: hidden; border-radius: 99px; background: #2a2a2f; }.upload-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--lime); transition: width .2s; }.upload-progress span { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; text-align: center; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 25px; max-width: min(500px, calc(100% - 30px)); padding: 12px 17px; border: 1px solid var(--line); border-radius: 12px; background: #222228; color: var(--text); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: .25s; box-shadow: 0 15px 50px #000; }.toast.show { opacity: 1; transform: translate(-50%, 0); }.toast.error { border-color: rgba(255,109,115,.5); }
.skeleton-row { height: 60px; margin: 6px 0; border-radius: 10px; background: linear-gradient(90deg, #1b1b1f, #25252a, #1b1b1f); background-size: 200%; animation: skeleton 1.5s infinite; }@keyframes skeleton { to { background-position: -200%; } }

@media (max-width: 900px) {
  nav a { display: none; }.hero { grid-template-columns: 1fr; margin-top: 50px; text-align: center; }.hero-copy { display: flex; flex-direction: column; align-items: center; }.hero-visual { min-height: 520px; }.steps { grid-template-columns: 1fr; }.app-shell { grid-template-columns: 1fr; height: auto; min-height: calc(100vh - 100px); }.app-sidebar { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }.works-list, .sidebar-title { display: none; }.sidebar-bottom { margin-top: 12px; }.pack-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .site-header { height: 68px; padding: 0 18px; }.hero { width: calc(100% - 32px); margin-top: 38px; }.hero-lead { font-size: 16px; }.hero-actions { flex-direction: column; width: 100%; }.hero-actions .primary-button { width: 100%; }.trust-row { justify-content: center; }.hero-visual { transform: scale(.88); margin: -30px 0; }.floating-card { display: none; }.how-section { width: calc(100% - 32px); }.app-shell { width: calc(100% - 20px); margin-top: 5px; border-radius: 18px; }.app-sidebar { padding: 14px; }.workspace-panel { padding: 24px 16px; }.workspace-top { flex-direction: column; }.source-card { grid-template-columns: 80px 1fr; }.source-card video { width: 80px; height: 110px; }.effect-card { grid-template-columns: 88px 1fr; }.effect-preview { width: 88px; }.welcome-panel { padding: 40px 20px; }.mini-process { display: none; }.pack-grid { grid-template-columns: 1fr; }.dialog-body { padding: 20px 17px; }.upload-options { grid-template-columns: 1fr; }.action-row { flex-wrap: wrap; }.action-row .primary-button { width: 100%; }.create-dialog { width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
