:root {
  --paper: #f4f0e8;
  --paper-strong: #ebe5da;
  --ink: #24211e;
  --muted: #77716a;
  --line: rgba(36, 33, 30, 0.13);
  --orange: #f2683b;
  --orange-dark: #d64e24;
  --lime: #d9f86c;
  --white: #fffdf8;
  --shadow: 0 22px 70px rgba(54, 43, 33, 0.12);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(36, 33, 30, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 33, 30, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.17;
  pointer-events: none;
}

.ambient-one {
  top: 100px;
  right: -180px;
  background: #ff7849;
}

.ambient-two {
  top: 760px;
  left: -220px;
  background: #a98cff;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1440px, calc(100% - 64px));
  height: 80px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 6px);
  align-items: end;
  gap: 3px;
  height: 24px;
}

.brand-mark span {
  display: block;
  width: 6px;
  border-radius: 6px 6px 2px 2px;
  background: var(--ink);
  transform: skew(-10deg);
}

.brand-mark span:nth-child(1) {
  height: 13px;
}

.brand-mark span:nth-child(2) {
  height: 21px;
  background: var(--orange);
}

.brand-mark span:nth-child(3) {
  height: 17px;
}

.main-nav {
  display: flex;
  gap: 38px;
  height: 100%;
}

.main-nav a {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a::after {
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 2px;
  content: "";
  background: var(--ink);
  transition: 180ms ease;
  transform: translateX(-50%);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 20px;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.text-button,
.account-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.text-button {
  color: var(--muted);
  font-size: 13px;
}

.account-button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.65);
  font-size: 13px;
  font-weight: 600;
}

.account-dot {
  width: 20px;
  height: 20px;
  border: 6px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
}

main {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
}

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 390px;
  padding: 84px 28px 64px;
}

.hero-copy {
  max-width: 770px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #665f57;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(242, 104, 59, 0.12);
}

.hero h1 {
  margin: 0;
  font-family: "Songti SC", STSong, Georgia, serif;
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.hero h1 span {
  display: block;
  margin-top: 14px;
  color: var(--orange);
  font-style: italic;
}

.hero-copy > p {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-bottom: 6px;
}

.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 90px;
}

.hero-stats strong {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.hero-stats span {
  color: var(--muted);
  font-size: 11px;
}

.workspace-shell {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  min-height: 720px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.tool-sidebar {
  display: flex;
  flex-direction: column;
  padding: 26px 17px 18px;
  border-right: 1px solid var(--line);
  background: rgba(235, 229, 218, 0.52);
}

.sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 19px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.sidebar-heading button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.sidebar-heading button:hover {
  background: rgba(36, 33, 30, 0.06);
}

.sidebar-heading svg,
.source-link svg,
.generate-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.tool-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tool-item {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 57px;
  padding: 8px 9px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: 180ms ease;
}

.tool-item:not(.disabled):hover,
.tool-item.active {
  background: var(--white);
  box-shadow: 0 8px 25px rgba(52, 42, 32, 0.08);
  transform: translateX(2px);
}

.tool-item.disabled {
  cursor: default;
  opacity: 0.56;
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
}

.tool-icon svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.tool-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tool-name strong {
  font-size: 13px;
  font-weight: 700;
}

.tool-name span {
  color: var(--muted);
  font-size: 10px;
}

.tool-status {
  padding: 3px 6px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(36, 33, 30, 0.06);
  font-size: 9px;
  white-space: nowrap;
}

.credit-card {
  margin-top: auto;
  padding: 17px;
  border: 1px solid rgba(36, 33, 30, 0.08);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.68);
}

.credit-label {
  color: var(--muted);
  font-size: 10px;
}

.credit-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 8px;
}

.credit-line strong {
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 500;
}

.credit-line span {
  color: var(--muted);
  font-size: 11px;
}

.credit-progress {
  height: 4px;
  margin: 12px 0 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #ded8ce;
}

.credit-progress span {
  display: block;
  width: 60%;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
}

.credit-card a {
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 700;
}

.credit-card a span {
  margin-left: 4px;
}

.creator-panel {
  min-width: 0;
  padding: 37px 40px 42px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
}

.heading-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
}

.live-pill {
  position: relative;
  padding: 4px 9px 4px 19px;
  border-radius: 999px;
  color: #347247;
  background: #ddf0de;
  font-weight: 700;
}

.live-pill::before {
  position: absolute;
  top: 50%;
  left: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: #45a05f;
  transform: translateY(-50%);
}

.live-pill[data-mode="error"] {
  color: #9b3725;
  background: #f7ddd7;
}

.live-pill[data-mode="error"]::before {
  background: #d65336;
}

.live-pill[data-mode="demo"] {
  color: #765c1a;
  background: #f5e9b7;
}

.live-pill[data-mode="demo"]::before {
  background: #b99124;
}

.panel-heading h2 {
  margin: 0;
  font-family: "Songti SC", STSong, Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.panel-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.source-link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  transition: color 160ms ease;
}

.source-link:hover {
  color: var(--orange-dark);
}

.generation-form {
  padding-top: 29px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px;
}

.section-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 53px;
}

.step-number {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--orange-dark);
  font-family: Georgia, serif;
  font-size: 11px;
}

.section-title h3 {
  margin: 1px 0 4px;
  font-size: 14px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.drop-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 238px;
  margin-top: 13px;
  overflow: hidden;
  border: 1px dashed rgba(36, 33, 30, 0.26);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0, rgba(242, 104, 59, 0.08), transparent 48%),
    rgba(244, 240, 232, 0.48);
  cursor: pointer;
  transition: 180ms ease;
}

.drop-zone:hover,
.drop-zone.dragging {
  border-color: var(--orange);
  background-color: rgba(242, 104, 59, 0.055);
  transform: translateY(-2px);
}

.drop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 5px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(56, 43, 31, 0.08);
}

.upload-icon svg {
  width: 22px;
  fill: none;
  stroke: var(--orange-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.drop-empty strong {
  font-size: 12px;
}

.drop-empty > span:last-child {
  color: var(--muted);
  font-size: 9px;
}

.file-preview {
  position: absolute;
  inset: 0;
  display: none;
  background: #282421;
}

.drop-zone.has-file .drop-empty {
  display: none;
}

.drop-zone.has-file .file-preview {
  display: block;
}

.image-preview img,
.video-preview video,
.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-file {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 20, 18, 0.68);
  font-size: 9px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.video-file-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(20, 18, 17, 0.85));
  font-size: 9px;
}

.video-file-meta strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.options-row {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto;
  align-items: end;
  gap: 22px;
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.select-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 300px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  height: 44px;
  padding: 0 42px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  outline: 0;
  appearance: none;
  background: rgba(255, 253, 248, 0.78);
  font-size: 11px;
  font-weight: 600;
}

.select-wrap svg {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transform: translateY(-50%);
  pointer-events: none;
}

.cost-summary {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 110px;
  padding-bottom: 2px;
}

.cost-summary > span {
  color: var(--muted);
  font-size: 9px;
}

.cost-summary strong {
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 500;
}

.cost-summary i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 104, 59, 0.1);
}

.generate-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-width: 188px;
  height: 50px;
  padding: 0 18px 0 26px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(36, 33, 30, 0.18);
  transition: 180ms ease;
}

.generate-button:not(:disabled):hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(214, 78, 36, 0.2);
}

.generate-button:disabled {
  cursor: not-allowed;
  opacity: 0.36;
}

.form-message {
  min-height: 18px;
  margin: 13px 0 -8px;
  color: #b13a24;
  font-size: 11px;
}

.task-panel,
.result-panel {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(244, 240, 232, 0.6);
}

.task-panel {
  display: grid;
  grid-template-columns: 125px 1fr;
  align-items: center;
  gap: 24px;
  min-height: 180px;
  padding: 24px 30px;
}

.task-panel[hidden],
.result-panel[hidden] {
  display: none;
}

.task-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
}

.orbit {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(242, 104, 59, 0.24);
  border-radius: 43% 57% 63% 37%;
  animation: orbit 6s linear infinite;
}

.orbit-two {
  inset: 2px 18px;
  border-color: rgba(91, 64, 185, 0.24);
  animation-duration: 4s;
  animation-direction: reverse;
}

.task-core {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 32px;
}

.task-core span {
  display: block;
  width: 6px;
  border-radius: 5px;
  background: var(--orange);
  animation: equalize 800ms ease-in-out infinite alternate;
}

.task-core span:nth-child(1) {
  height: 15px;
}

.task-core span:nth-child(2) {
  height: 30px;
  animation-delay: 180ms;
}

.task-core span:nth-child(3) {
  height: 22px;
  animation-delay: 360ms;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes equalize {
  to {
    height: 8px;
    opacity: 0.48;
  }
}

.task-kicker {
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.task-copy h3 {
  margin: 8px 0 5px;
  font-family: "Songti SC", STSong, Georgia, serif;
  font-size: 23px;
}

.task-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.task-progress {
  height: 5px;
  margin: 19px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #ded7cc;
}

.task-progress span {
  display: block;
  width: 10%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), #ffad75);
  transition: width 600ms ease;
}

.task-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #918a82;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
}

.result-panel {
  padding: 24px;
}

.result-head,
.result-head > div {
  display: flex;
  align-items: center;
}

.result-head {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.result-head > div {
  gap: 12px;
}

.result-check {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  color: #347247;
  background: #ddf0de;
}

.result-check svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.result-head h3 {
  margin: 0 0 3px;
  font-size: 15px;
}

.result-head p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.secondary-button {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.result-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.result-item {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 16px;
  background: #282421;
}

.result-item video,
.result-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 520px;
  object-fit: contain;
}

.result-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
}

.result-actions a {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  color: #fff;
  background: rgba(25, 22, 20, 0.75);
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.case-section {
  padding: 130px 28px 110px;
}

.section-heading-wide {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 43px;
}

.section-index {
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.section-heading-wide h2,
.plan-section h2 {
  max-width: 730px;
  margin: 11px 0 0;
  font-family: "Songti SC", STSong, Georgia, serif;
  font-size: clamp(36px, 4.5vw, 61px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.section-heading-wide > p {
  max-width: 330px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}

.case-card {
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
}

.case-orange {
  background: #d95b38;
}

.case-violet {
  background: #5c4ea1;
}

.case-mint {
  color: #193d39;
  background: #98d4c2;
}

.case-art {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.art-sun {
  position: absolute;
  top: 40px;
  right: 50px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: #ffca72;
  box-shadow: 0 0 80px rgba(255, 202, 114, 0.35);
}

.art-person {
  position: absolute;
  bottom: -60px;
  left: 70px;
  width: 150px;
  height: 290px;
  border-radius: 80px 80px 20px 20px;
  background:
    radial-gradient(circle at 50% 17%, #f2c5a5 0 20%, transparent 21%),
    linear-gradient(90deg, #293a40 0 42%, #f2c5a5 43% 59%, #293a40 60%);
  transform: rotate(-4deg);
}

.art-shadow {
  position: absolute;
  right: -50px;
  bottom: -80px;
  width: 340px;
  height: 200px;
  border-radius: 50%;
  background: rgba(75, 24, 12, 0.22);
  transform: rotate(-12deg);
}

.art-product {
  position: absolute;
  top: 72px;
  left: 50%;
  width: 120px;
  height: 170px;
  border-radius: 55px 55px 25px 25px;
  background: linear-gradient(145deg, #efe6ff, #b7a9f3);
  box-shadow: 0 30px 70px rgba(25, 15, 75, 0.35);
  transform: translateX(-50%) rotate(8deg);
}

.art-product::after {
  position: absolute;
  top: 25px;
  left: 50%;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(71, 54, 143, 0.35);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.art-ring {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 235px;
  height: 235px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: translateX(-50%) rotateX(60deg);
}

.art-star {
  position: absolute;
  top: 36px;
  right: 35px;
  color: #d9f86c;
  font-size: 40px;
}

.art-screen {
  position: absolute;
  top: 56px;
  left: 50%;
  width: 210px;
  height: 155px;
  border: 8px solid #244b47;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 38%, #fac3a8 0 20%, transparent 21%),
    linear-gradient(#e5f4cd 0 50%, #d57052 51%);
  box-shadow: 0 25px 50px rgba(25, 61, 57, 0.18);
  transform: translateX(-50%);
}

.art-wave {
  position: absolute;
  right: 38px;
  bottom: 48px;
  left: 38px;
  height: 30px;
  border-top: 3px solid #244b47;
  border-radius: 50%;
  transform: skewX(-20deg);
}

.case-info {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 25px 26px;
}

.case-info span {
  font-size: 9px;
  opacity: 0.72;
}

.case-info h3 {
  max-width: 280px;
  margin: 8px 0 0;
  font-family: "Songti SC", STSong, Georgia, serif;
  font-size: 21px;
  font-weight: 500;
}

.case-info .case-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  opacity: 0.75;
}

.plan-section {
  display: block;
  margin: 0 28px 85px;
  padding: 68px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 104, 59, 0.35), transparent 25%),
    #24211e;
}

.plan-section h2 {
  max-width: 620px;
  margin-top: 14px;
  font-size: clamp(38px, 4vw, 58px);
}

.plan-section p {
  max-width: 550px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.pricing-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 38px;
  margin-bottom: 38px;
}

.pricing-heading p {
  max-width: 380px;
  margin-bottom: 5px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.price-card {
  position: relative;
  min-height: 245px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.055);
  transition: 180ms ease;
}

.price-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px);
}

.price-card.price-featured {
  color: var(--ink);
  background: var(--lime);
}

.price-card.price-free {
  background: rgba(242, 104, 59, 0.18);
}

.price-badge {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.price-featured .price-badge {
  border-color: rgba(36, 33, 30, 0.15);
  color: rgba(36, 33, 30, 0.66);
}

.price-card h3 {
  margin: 21px 0 0;
  font-size: 13px;
}

.price-value {
  margin-top: 17px;
}

.price-value strong {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.price-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.price-featured p {
  color: rgba(36, 33, 30, 0.56);
}

.price-card > a,
.price-card > button {
  position: absolute;
  right: 25px;
  bottom: 24px;
  left: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 10px;
  font-weight: 800;
  color: inherit;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.price-featured > a,
.price-featured > button {
  border-top-color: rgba(36, 33, 30, 0.13);
}

.video-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 16px;
  padding: 25px 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 19px;
  background:
    radial-gradient(circle at 70% 50%, rgba(242, 104, 59, 0.25), transparent 30%),
    rgba(255, 255, 255, 0.055);
}

.video-pricing > div {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 14px;
}

.video-price-label {
  font-size: 12px;
  font-weight: 800;
}

.video-pricing strong {
  color: #ff8b66;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.video-pricing strong small {
  font-family: inherit;
  font-size: 11px;
}

.video-pricing p {
  margin: 0;
  font-size: 10px;
}

.plan-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-width: 210px;
  height: 54px;
  padding: 0 19px 0 23px;
  border-radius: 14px;
  color: var(--ink);
  background: var(--lime);
  font-size: 11px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: 180ms ease;
}

.plan-button:hover {
  transform: translateY(-3px);
}

.payment-config-notice {
  max-width: none !important;
  margin: 18px 0 0 !important;
  padding: 12px 15px;
  border: 1px solid rgba(255, 139, 102, 0.3);
  border-radius: 11px;
  color: #ffab8d !important;
  background: rgba(242, 104, 59, 0.09);
  line-height: 1.6;
}

.payment-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.payment-modal[hidden] {
  display: none;
}

.payment-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(22, 19, 17, 0.72);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.payment-dialog {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  padding: 35px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 100px rgba(22, 19, 17, 0.35);
  text-align: center;
}

.payment-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: var(--paper-strong);
  font-size: 20px;
  cursor: pointer;
}

.payment-kicker {
  color: #08a65c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.payment-dialog h2 {
  margin: 10px 0 8px;
  font-family: "Songti SC", STSong, Georgia, serif;
  font-size: 30px;
}

.payment-dialog > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.payment-qr-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 230px;
  height: 310px;
  margin: 20px auto 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.payment-qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.manual-payment-details {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  text-align: left;
}

.manual-payment-details > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--paper);
}

.manual-payment-details dt {
  color: var(--muted);
  font-size: 10px;
}

.manual-payment-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 10px;
  font-weight: 700;
}

.payment-qr-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--white);
  font-size: 11px;
}

.payment-qr-loading[hidden] {
  display: none;
}

.payment-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.payment-amount span {
  color: var(--muted);
  font-size: 10px;
}

.payment-amount strong {
  color: var(--orange-dark);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.payment-status {
  margin-top: 16px;
  padding: 10px;
  border-radius: 10px;
  color: #765c1a;
  background: #f5e9b7;
  font-size: 10px;
  font-weight: 700;
}

.payment-status.success {
  color: #347247;
  background: #ddf0de;
}

.payment-status.error {
  color: #9b3725;
  background: #f7ddd7;
}

.payment-order-id {
  margin-top: 12px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px !important;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1440px, calc(100% - 64px));
  min-height: 100px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

footer p {
  margin: 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--orange-dark);
}

footer > span {
  text-align: right;
}

.footer-brand {
  color: var(--ink);
}

.mode-banner {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  max-width: min(380px, calc(100vw - 44px));
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  color: #fff;
  background: rgba(36, 33, 30, 0.92);
  box-shadow: 0 12px 35px rgba(36, 33, 30, 0.2);
  font-size: 10px;
  line-height: 1.6;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 45px;
  }

  .workspace-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .creator-panel {
    padding: 32px 27px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .drop-zone {
    min-height: 215px;
  }

  .case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-card:first-child {
    grid-column: span 2;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .video-pricing > div {
    grid-template-columns: auto auto;
  }

  .video-pricing p {
    grid-column: span 2;
  }
}

@media (max-width: 780px) {
  .site-header,
  main,
  footer {
    width: min(100% - 30px, 1440px);
  }

  .site-header {
    height: 68px;
  }

  .text-button {
    display: none;
  }

  .hero {
    min-height: 370px;
    padding: 68px 8px 48px;
  }

  .hero h1 {
    font-size: clamp(47px, 15vw, 74px);
  }

  .hero-stats {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .workspace-shell {
    display: block;
    border-radius: 22px;
  }

  .tool-sidebar {
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar-heading,
  .credit-card {
    display: none;
  }

  .tool-list {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tool-list::-webkit-scrollbar {
    display: none;
  }

  .tool-item {
    min-width: 150px;
  }

  .tool-item:not(.active) .tool-name span,
  .tool-status {
    display: none;
  }

  .creator-panel {
    padding: 25px 18px 27px;
  }

  .panel-heading {
    flex-direction: column;
    gap: 4px;
  }

  .source-link {
    margin-top: 4px;
  }

  .options-row {
    grid-template-columns: 1fr 1fr;
  }

  .select-field {
    max-width: none;
  }

  .generate-button {
    grid-column: span 2;
    width: 100%;
  }

  .task-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .task-visual {
    margin: 0 auto;
  }

  .task-meta {
    flex-direction: column;
    gap: 5px;
  }

  .section-heading-wide,
  .pricing-heading,
  .video-pricing {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-section {
    padding: 100px 8px 80px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card:first-child {
    grid-column: auto;
  }

  .case-art {
    height: 260px;
  }

  .plan-section {
    margin: 0 0 70px;
    padding: 45px 27px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: 225px;
  }

  .video-pricing {
    gap: 24px;
  }

  .video-pricing > div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .plan-button {
    width: 100%;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p {
    display: none;
  }
}

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