:root {
  color-scheme: dark;
  --bg: #080a10;
  --panel: #111520;
  --text: #f6f7fb;
  --muted: #8f98aa;
  --line: #252c3a;
  --blue: #7792ff;
  --blue-strong: #5d7dff;
  --cyan: #65dff7;
  --green: #58e0a3;
  --danger: #ff747c;
  --radius: 24px;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse 54% 55% at 14% 28%, rgba(80, 109, 229, .16), transparent 70%),
    radial-gradient(ellipse 46% 50% at 94% 78%, rgba(152, 71, 171, .11), transparent 72%),
    var(--bg);
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1220px, calc(100% - 48px)); margin: 0 auto; }
.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.brand-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(119,146,255,.16), rgba(165,122,255,.06));
  border: 1px solid #4b587a;
  border-radius: 9px;
  transform: rotate(-8deg);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.brand-mark i { width: 11px; height: 16px; display: block; background: linear-gradient(180deg, var(--cyan), var(--blue) 56%, #ff66b3); clip-path: polygon(0 0,100% 0,65% 45%,100% 45%,0 100%,32% 53%,0 53%); }
.topbar-meta { display: flex; align-items: center; gap: 18px; }
.privacy-label { color: #687286; font-size: .77rem; }
.service-state { display: inline-flex; align-items: center; gap: 8px; color: #b4bed1; font-size: .8rem; }
.service-state span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(88,224,163,.75); }

.workspace {
  display: grid;
  grid-template-columns: minmax(340px,.88fr) minmax(560px,1.22fr);
  gap: clamp(48px, 7vw, 102px);
  align-items: center;
  min-height: calc(100vh - 154px);
  padding: 64px 0 72px;
}
.intro { max-width: 500px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 25px; color: var(--cyan); font: 720 .73rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow > span { width: 22px; height: 1px; background: var(--cyan); box-shadow: 0 0 8px rgba(101,223,247,.55); }
h1 { margin: 0; font-size: clamp(3.25rem, 5.9vw, 5.75rem); line-height: .96; letter-spacing: -.075em; font-weight: 850; }
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.35px rgba(246,247,251,.78); }
.lede { max-width: 31rem; margin: 28px 0 24px; color: #9ca6b8; font-size: 1rem; line-height: 1.85; }
.feature-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: #c5ccda; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; font-size: .78rem; }
.feature-list li span { color: var(--green); font-weight: 800; }
.trust-note { display: flex; align-items: center; gap: 9px; margin-top: 30px; color: #707b8e; font-size: .75rem; }
.trust-note svg { width: 17px; height: 17px; flex: none; fill: #77839a; }

.console-card {
  position: relative;
  min-height: 466px;
  padding: clamp(28px, 3.6vw, 42px);
  background: linear-gradient(145deg, rgba(21,26,39,.97), rgba(11,14,22,.98));
  border: 1px solid #2b3448;
  border-radius: var(--radius);
  box-shadow: 0 38px 100px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.045);
  overflow: hidden;
}
.console-card::before { position: absolute; inset: 0; pointer-events: none; content: ""; background: radial-gradient(circle at 100% 0, rgba(119,146,255,.1), transparent 35%); }
.console-card::after { position: absolute; top: 0; left: 34px; right: 34px; height: 1px; content: ""; background: linear-gradient(90deg, transparent, var(--blue), #d963c3, transparent); opacity: .95; }
.card-head, .job-heading { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.card-head { margin-bottom: 28px; }
.meta-line { margin: 0 0 7px; color: var(--cyan); font: 750 .66rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; }
.card-head h2, .job-heading h2 { margin: 0; letter-spacing: -.025em; }
.card-head h2 { font-size: 1.42rem; }
.auto-badge, .job-state-pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; font-weight: 700; }
.auto-badge { padding: 7px 10px; color: #bfe6dc; background: rgba(88,224,163,.07); border: 1px solid rgba(88,224,163,.2); font-size: .72rem; }
.auto-badge i, .job-state-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px rgba(88,224,163,.5); }

label { display: block; margin-bottom: 10px; color: #cbd2df; font-size: .82rem; font-weight: 680; }
.url-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.input-shell { position: relative; }
.input-shell > svg { position: absolute; z-index: 1; top: 50%; left: 16px; width: 19px; height: 19px; fill: #69758a; transform: translateY(-50%); pointer-events: none; }
input { width: 100%; min-height: 56px; padding: 0 16px 0 46px; color: var(--text); background: rgba(6,9,14,.82); border: 1px solid #333d52; border-radius: 13px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
input:hover { border-color: #46536d; }
input:focus { background: #090d15; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(119,146,255,.13); }
input::placeholder { color: #5e687b; }
button { min-height: 54px; padding: 0 20px; color: white; background: var(--blue-strong); border: 0; border-radius: 12px; cursor: pointer; font-weight: 760; transition: filter .18s, transform .18s, border-color .18s; }
button:hover { filter: brightness(1.08); transform: translateY(-1px); }
button:active { transform: translateY(0); }
button:focus-visible, a:focus-visible { outline: 3px solid rgba(101,223,247,.55); outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .66; transform: none; }
.download-button { min-width: 126px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(120deg, #5a7cff, #7c72fa 58%, #a768ec); box-shadow: 0 13px 32px rgba(93,125,255,.24); }
.download-button svg { width: 18px; height: 18px; fill: currentColor; }
.download-button.loading svg { animation: nudge 1s ease-in-out infinite; }
.form-note { margin: 12px 0 0; color: #717c90; font-size: .74rem; line-height: 1.55; }

.process-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin: 27px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.075); list-style: none; }
.process-flow li { position: relative; display: flex; flex-direction: column; gap: 3px; padding-left: 16px; border-left: 1px solid #2b3344; }
.process-flow li:first-child { padding-left: 0; border-left: 0; }
.process-flow b { color: #566179; font: 700 .61rem/1 ui-monospace, monospace; letter-spacing: .05em; }
.process-flow span { color: #9da7b9; font-size: .72rem; }

.message { position: relative; margin-top: 22px; padding: 13px 15px 13px 41px; color: #ffc5c8; background: rgba(255,116,124,.075); border: 1px solid rgba(255,116,124,.26); border-radius: 12px; font-size: .82rem; line-height: 1.55; }
.message::before { position: absolute; top: 13px; left: 16px; content: "!"; width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font: 800 .66rem/1 system-ui; }
.message.info { color: #bcecf5; background: rgba(101,223,247,.065); border-color: rgba(101,223,247,.23); }
.message.info::before { content: "i"; }

.job-panel { position: relative; margin-top: 26px; padding: 24px; background: rgba(5,8,13,.42); border: 1px solid #262f41; border-radius: 16px; }
.job-status-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.job-state-pill { padding: 5px 8px; color: #c3d0ee; background: rgba(119,146,255,.09); border: 1px solid rgba(119,146,255,.2); font-size: .64rem; }
.job-state-pill i { background: var(--cyan); box-shadow: 0 0 9px rgba(101,223,247,.55); animation: pulse 1.5s ease-in-out infinite; }
.job-heading h2 { font-size: 1.18rem; line-height: 1.4; }
.job-heading #percent { font: 780 1.58rem/1 ui-monospace, SFMono-Regular, monospace; color: var(--cyan); letter-spacing: -.05em; }
.progress-track { height: 9px; margin: 21px 0 12px; overflow: hidden; background: #070a10; border: 1px solid #293146; border-radius: 99px; }
.progress-track span { position: relative; display: block; width: 0; height: 100%; background: linear-gradient(90deg, #617fff, var(--cyan)); box-shadow: 0 0 22px rgba(101,223,247,.42); transition: width .35s ease; }
.progress-track span::after { position: absolute; inset: 0; content: ""; background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.38) 48%, transparent 70%); transform: translateX(-120%); animation: shine 1.8s linear infinite; }
.job-stats { display: flex; min-height: 20px; gap: 9px 18px; color: #8994a8; font: .72rem/1.5 ui-monospace, SFMono-Regular, monospace; }
.job-stats span:not(:empty) + span:not(:empty)::before { content: "·"; margin-right: 18px; color: #3b455a; }
.job-actions { display: flex; gap: 10px; margin-top: 21px; }
.primary-action { width: 100%; min-height: 52px; background: linear-gradient(110deg, #587aff, #7f70f3 58%, #bc65cf); box-shadow: 0 12px 30px rgba(94,119,255,.18); }
.ghost-button { flex: 1; color: #c6cedd; background: transparent; border: 1px solid #354058; }
.link-button { display: grid; place-items: center; flex: 2; color: white; border-radius: 12px; font-weight: 760; text-decoration: none; }

.job-panel[data-status="done"] .job-state-pill { color: #bdf1d8; background: rgba(88,224,163,.07); border-color: rgba(88,224,163,.23); }
.job-panel[data-status="done"] .job-state-pill i { background: var(--green); animation: none; }
.job-panel[data-status="error"] .job-state-pill, .job-panel[data-status="cancelled"] .job-state-pill { color: #ffc5c8; background: rgba(255,116,124,.07); border-color: rgba(255,116,124,.22); }
.job-panel[data-status="error"] .job-state-pill i, .job-panel[data-status="cancelled"] .job-state-pill i { background: var(--danger); animation: none; }

footer { min-height: 70px; display: flex; justify-content: space-between; gap: 20px; align-items: center; color: #5f697d; border-top: 1px solid rgba(255,255,255,.09); font-size: .72rem; }
.footer-tech { display: inline-flex; align-items: center; gap: 8px; }
.footer-tech i { width: 5px; height: 5px; border-radius: 50%; background: #566278; }
[hidden] { display: none !important; }

@keyframes pulse { 50% { opacity: .35; transform: scale(.82); } }
@keyframes shine { to { transform: translateX(120%); } }
@keyframes nudge { 50% { transform: translateY(2px); } }

@media (max-width: 1040px) {
  .shell { width: min(100% - 34px, 720px); }
  .workspace { grid-template-columns: 1fr; gap: 44px; min-height: auto; padding: 54px 0 64px; }
  .intro { max-width: 640px; }
  h1 { font-size: clamp(3.5rem, 11vw, 5.6rem); }
  .lede { max-width: 38rem; }
}

@media (max-width: 600px) {
  .shell { width: calc(100% - 24px); }
  .topbar { min-height: 68px; }
  .privacy-label { display: none; }
  .workspace { gap: 34px; padding: 38px 0 48px; }
  .eyebrow { margin-bottom: 18px; }
  h1 { font-size: clamp(2.9rem, 15vw, 4.7rem); }
  .lede { margin: 21px 0 20px; font-size: .92rem; line-height: 1.72; }
  .feature-list { gap: 7px; }
  .feature-list li { padding: 7px 9px; font-size: .72rem; }
  .trust-note { margin-top: 22px; align-items: flex-start; line-height: 1.5; }
  .console-card { min-height: 0; padding: 24px 17px; border-radius: 18px; }
  .card-head { margin-bottom: 23px; }
  .card-head h2 { font-size: 1.25rem; }
  .auto-badge { padding: 6px 8px; font-size: .66rem; }
  .url-row { grid-template-columns: 1fr; }
  .download-button { width: 100%; }
  .process-flow { grid-template-columns: repeat(2,1fr); gap: 14px 0; }
  .process-flow li:nth-child(3) { padding-left: 0; border-left: 0; }
  .job-panel { margin-top: 22px; padding: 18px 15px; }
  .job-stats { flex-wrap: wrap; }
  .job-stats span:not(:empty) + span:not(:empty)::before { margin-right: 8px; }
  .job-actions { flex-direction: column; }
  .job-actions > * { width: 100%; flex: none; }
  footer { min-height: 84px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; }
}

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