:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #111318;
  --panel-2: #191c22;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f4ee;
  --muted: #a8adb7;
  --soft: #d7d1c4;
  --orange: #ff8a3d;
  --blue: #5688ff;
  --green: #38d676;
  --radius: 8px;
  --max: 1180px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 24px), 1280px);
  height: 76px;
  margin: 12px auto 0;
  padding: 0 22px;
  background: rgba(8, 9, 11, 0.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: 160px;
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
  color: var(--soft);
  font-size: 15px;
  font-weight: 600;
}

.top-nav a:hover,
.text-link:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.text-link {
  color: var(--muted);
  font-size: 14px;
}

.solid-button,
.glass-button,
.wide-button,
.asset-card button,
.filter-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
}

.solid-button {
  background: #fff;
  color: #121212;
}

.solid-button.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.glass-button {
  color: #fff;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.wide-button {
  width: 100%;
  background: #fff;
  color: #111;
}

.menu-button {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: var(--radius);
  padding: 8px 12px;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.hero-section {
  position: relative;
  min-height: 720px;
  width: min(calc(100% - 48px), 1180px);
  margin: -76px auto 0;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
}

.hero-media {
  position: absolute;
  inset: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  object-fit: cover;
  opacity: 0.72;
  filter: blur(4px) saturate(0.85) contrast(1.08) brightness(0.64);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 38%, rgba(86, 136, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.2), rgba(8, 9, 11, 0.98)),
    linear-gradient(90deg, rgba(8, 9, 11, 0.9), rgba(8, 9, 11, 0.42));
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 720px;
  max-width: 820px;
  padding: 140px 56px 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #77d7ff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-content h1 {
  margin-bottom: 20px;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 900;
}

.hero-content p {
  max-width: 720px;
  color: #ede8dd;
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-product {
  position: absolute;
  right: 44px;
  bottom: 74px;
  width: min(390px, calc(100% - 88px));
  padding: 20px;
  background: rgba(17, 19, 24, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  backdrop-filter: blur(20px);
}

.hero-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.hero-product-head strong {
  color: #fff;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.pipeline span {
  padding: 12px 6px;
  color: #111;
  background: linear-gradient(135deg, #fff1d6, #9bdcff);
  border-radius: var(--radius);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-row div {
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  margin-bottom: 4px;
  font-size: 24px;
}

.metric-row span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 86px 0;
}

.section.compact {
  padding-top: 42px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head.narrow {
  max-width: 620px;
}

.section-head h2,
.split-section h2,
.subpage-hero h1 {
  margin-bottom: 14px;
  font-size: 36px;
  line-height: 1.18;
}

.section-head p,
.split-section p,
.subpage-hero p {
  color: var(--muted);
  line-height: 1.8;
}

.tool-grid,
.scenario-grid,
.asset-grid,
.download-grid,
.work-card-grid {
  display: grid;
  gap: 14px;
}

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

.tool-card,
.scenario-grid article,
.download-grid article,
.work-card-grid article {
  min-height: 170px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tool-card:hover {
  border-color: rgba(255, 138, 61, 0.52);
}

.icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: #0c0d10;
  background: linear-gradient(135deg, #ffbe7a, #77d7ff);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 900;
}

.tool-card h3,
.scenario-grid h3,
.download-grid h3,
.work-card-grid h3,
.asset-card h3,
.skill-list h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.tool-card p,
.scenario-grid p,
.download-grid p,
.work-card-grid p,
.asset-card p,
.skill-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.band {
  width: 100%;
  max-width: none;
  padding: 86px max(24px, calc((100% - var(--max)) / 2));
  background: #0e1117;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.resource-strip {
  display: grid;
  gap: 12px;
}

.resource-strip a {
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 800;
}

.subpage-hero {
  width: min(calc(100% - 48px), var(--max));
  margin: 38px auto 0;
  padding: 86px 0 32px;
}

.subpage-hero h1 {
  font-size: 48px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-row button {
  min-height: 38px;
  color: #fff;
  background: var(--panel);
  border-color: var(--line);
}

.filter-row button.active {
  color: #111;
  background: #fff;
}

.prompt-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.prompt-search {
  display: grid;
  gap: 8px;
  width: min(420px, 100%);
  color: var(--muted);
  font-size: 14px;
}

.prompt-search input {
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prompt-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.asset-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.asset-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.asset-card div {
  padding: 18px;
}

.asset-card p {
  display: -webkit-box;
  min-height: 46px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.asset-card button {
  width: 100%;
  min-height: 40px;
  margin-top: 18px;
  color: #111;
  background: #fff;
}

.skeleton-card {
  min-height: 330px;
  pointer-events: none;
}

.skeleton-card span,
.skeleton-card i {
  display: block;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255,255,255,0.07), rgba(255,255,255,0.14), rgba(255,255,255,0.07));
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-card > span {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.skeleton-card i {
  height: 14px;
  margin-bottom: 12px;
}

.skeleton-card i:first-child {
  width: 72%;
  height: 20px;
}

.skeleton-card i:nth-child(2) {
  width: 92%;
}

.skeleton-card i:nth-child(3) {
  width: 58%;
}

@keyframes skeleton-shimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

.prompt-case-card {
  cursor: zoom-in;
}

.case-tags,
.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.case-tags span,
.modal-tags span {
  display: inline-flex;
  padding: 4px 8px;
  color: #d9f2ff;
  background: rgba(119, 215, 255, 0.1);
  border: 1px solid rgba(119, 215, 255, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.empty-card {
  grid-column: 1 / -1;
  padding: 28px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prompt-modal {
  width: min(1120px, calc(100% - 34px));
  padding: 0;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.prompt-modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
}

.prompt-modal-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 0;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  color: #111;
  background: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

.prompt-modal-image {
  min-height: 620px;
  background: #090a0d;
}

.prompt-modal-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.prompt-modal-content {
  padding: 38px;
}

.prompt-modal-content h2 {
  margin-bottom: 14px;
  font-size: 32px;
  line-height: 1.2;
}

.modal-note {
  color: var(--muted);
  line-height: 1.7;
}

.prompt-modal textarea {
  width: 100%;
  min-height: 260px;
  padding: 16px;
  color: #fff;
  background: #0b0d12;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  resize: vertical;
  line-height: 1.7;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.skill-list {
  display: grid;
  gap: 12px;
}

.skill-list article {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

code {
  display: block;
  overflow: auto;
  padding: 14px;
  color: #d9f2ff;
  background: #07080a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  white-space: nowrap;
}

.download-grid,
.work-card-grid,
.forum-grid,
.pricing-grid,
.mobile-grid,
.dashboard-grid,
.handoff-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mobile-grid {
  display: grid;
  gap: 14px;
}

.mobile-grid article {
  min-height: 250px;
  padding: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mobile-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  color: #111;
  background: linear-gradient(135deg, #ffbe7a, #77d7ff);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.mobile-grid h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.mobile-grid p {
  min-height: 76px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.mobile-grid a {
  display: inline-flex;
  margin-top: 12px;
  color: #fff;
  font-weight: 900;
}

.platform-section {
  padding-top: 0;
}

.platform-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  background:
    radial-gradient(circle at 92% 0%, rgba(119, 215, 255, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: 14px;
}

.platform-panel h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.2;
}

.platform-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.platform-grid article {
  min-height: 112px;
  padding: 18px;
  background: rgba(8, 9, 11, 0.52);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.platform-grid strong,
.platform-grid span {
  display: block;
}

.platform-grid strong {
  margin-bottom: 10px;
  font-size: 17px;
}

.platform-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.download-grid a {
  display: inline-flex;
  margin-top: 18px;
  color: #fff;
  font-weight: 800;
}

.forum-grid {
  display: grid;
  gap: 14px;
}

.forum-grid article {
  min-height: 190px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.handoff-grid {
  display: grid;
  gap: 14px;
}

.handoff-grid article {
  min-height: 180px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.handoff-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.handoff-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.forum-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 10px;
  color: #101114;
  background: linear-gradient(135deg, #ffbe7a, #9bdcff);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.status-banner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 18px;
  color: #111;
  background: linear-gradient(135deg, #ffe2aa, #9bdcff);
  border-radius: var(--radius);
}

.status-banner strong,
.status-banner span {
  display: block;
}

.status-banner strong {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 900;
}

.status-banner span {
  color: rgba(0, 0, 0, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.task-form-card,
.process-card,
.contract-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.task-form-card,
.process-card {
  padding: 24px;
}

.task-form-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.task-form-card input,
.task-form-card textarea {
  width: 100%;
  padding: 13px 14px;
  color: #fff;
  background: #25272c;
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.task-form-card textarea {
  min-height: 130px;
  resize: vertical;
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  padding: 16px 16px 16px 56px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.process-list li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #111;
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 6px;
}

.process-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.service-grid article {
  min-height: 190px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: #77d7ff;
  font-size: 13px;
  font-weight: 900;
}

.service-grid h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.legal-page {
  display: grid;
  gap: 16px;
}

.legal-page article {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-page h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.legal-page p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.contract-card {
  margin-top: 22px;
  overflow: hidden;
}

.contract-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.contract-head h2 {
  margin-bottom: 0;
}

.contract-body {
  padding: 24px;
  columns: 2 360px;
  column-gap: 34px;
}

.signature-panel {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
}

.signature-panel.open {
  display: grid;
}

.signature-panel div {
  padding: 16px;
  background: #0d0f14;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.signature-panel span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
  color: #111;
  background: #fff;
  border-radius: 999px;
  font-weight: 900;
}

.signature-panel strong {
  display: block;
  margin-bottom: 8px;
}

.signature-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.signature-panel > button {
  grid-column: 1 / -1;
}

.contract-body h3 {
  break-after: avoid;
  margin: 0 0 8px;
  font-size: 16px;
}

.contract-body p {
  break-inside: avoid;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

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

.pricing-grid article {
  min-height: 300px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pricing-grid .featured-plan {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 138, 61, 0.22), transparent 32%),
    var(--panel-2);
  border-color: rgba(255, 138, 61, 0.48);
}

.pricing-grid span {
  display: inline-flex;
  margin-bottom: 20px;
  color: #77d7ff;
  font-weight: 900;
}

.pricing-grid h3 {
  font-size: 24px;
}

.pricing-grid strong {
  display: block;
  margin-bottom: 18px;
  font-size: 34px;
}

.pricing-grid p {
  min-height: 78px;
  color: var(--muted);
  line-height: 1.75;
}

.workspace-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: calc(100vh - 92px);
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.side-nav {
  position: sticky;
  top: 100px;
  align-self: start;
  height: calc(100vh - 116px);
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.side-nav img {
  width: 140px;
  margin-bottom: 28px;
}

.side-nav a {
  display: block;
  padding: 13px 14px;
  margin-bottom: 8px;
  color: var(--soft);
  border-radius: var(--radius);
  font-weight: 700;
}

.side-nav a.active,
.side-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.workspace-main {
  padding: 34px 34px 80px;
}

.workspace-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.workspace-top h1 {
  margin: 0;
  font-size: 34px;
}

.dashboard-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.dashboard-grid article {
  min-height: 142px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dashboard-grid span,
.dashboard-grid strong {
  display: block;
}

.dashboard-grid span {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-grid strong {
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 1;
}

.dashboard-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.workspace-board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  margin-bottom: 28px;
}

.workspace-board section {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.board-head h2 {
  margin: 0;
  font-size: 20px;
}

.board-head a {
  color: #77d7ff;
  font-size: 13px;
  font-weight: 900;
}

.project-list,
.quick-actions {
  display: grid;
  gap: 10px;
}

.project-list article,
.quick-actions a {
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project-list strong,
.project-list span {
  display: block;
}

.project-list strong {
  margin-bottom: 6px;
}

.project-list span {
  color: var(--muted);
  font-size: 13px;
}

.quick-actions a {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.promo-panel {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  margin-bottom: 28px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.promo-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.login-page {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.8fr);
  min-height: calc(100vh - 88px);
  margin-top: 12px;
}

.login-visual {
  position: relative;
  overflow: hidden;
  min-height: 720px;
}

.login-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 11, 0.34), rgba(8, 9, 11, 0.92));
}

.login-visual div {
  position: absolute;
  left: 52px;
  bottom: 52px;
  z-index: 1;
  max-width: 520px;
}

.login-visual h1 {
  font-size: 44px;
}

.login-visual p {
  color: #eee1d3;
  line-height: 1.8;
}

.login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 48px clamp(24px, 7vw, 86px);
  background: #0d0e11;
}

.login-card img {
  width: 150px;
  margin-bottom: 18px;
}

.login-card h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

.login-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.login-card input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: #fff;
  background: #25272c;
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.login-card p {
  color: var(--muted);
  text-align: center;
}

.login-card a {
  color: #fff;
  font-weight: 800;
}

.admin-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: calc(100vh - 92px);
  margin-top: 16px;
  border-top: 1px solid var(--line);
  background: #090b10;
}

.admin-side {
  position: sticky;
  top: 100px;
  align-self: start;
  height: calc(100vh - 116px);
  padding: 24px 18px;
  background: #0c0f15;
  border-right: 1px solid var(--line);
}

.admin-side img {
  width: 142px;
  margin-bottom: 28px;
}

.admin-side a {
  display: block;
  padding: 12px 14px;
  margin-bottom: 8px;
  color: var(--soft);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
}

.admin-side a.active,
.admin-side a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.admin-main {
  padding: 34px;
}

.admin-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-top h1 {
  margin-bottom: 12px;
  font-size: 34px;
}

.admin-top p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-metrics article,
.admin-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-metrics article {
  padding: 20px;
}

.admin-metrics span,
.admin-metrics strong {
  display: block;
}

.admin-metrics span {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.admin-metrics strong {
  margin-bottom: 10px;
  font-size: 30px;
}

.admin-metrics p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.admin-section {
  padding: 22px;
  margin-bottom: 18px;
}

.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-section-head h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.admin-section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.admin-section-head button {
  min-height: 36px;
  padding: 0 14px;
  color: #111;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.admin-table {
  display: grid;
  gap: 8px;
}

.admin-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 0.6fr;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft);
  font-size: 14px;
}

.admin-row.head {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  font-weight: 900;
}

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

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-list article {
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-list strong,
.admin-list span {
  display: block;
}

.admin-list strong {
  margin-bottom: 6px;
}

.admin-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

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

.admin-pipeline article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-pipeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: #111;
  background: linear-gradient(135deg, #ffbe7a, #77d7ff);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.admin-pipeline strong,
.admin-pipeline p {
  display: block;
}

.admin-pipeline strong {
  margin-bottom: 8px;
}

.admin-pipeline p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  padding: 12px 16px;
  background: #fff;
  color: #111;
  border-radius: var(--radius);
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 32px 0 44px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer div {
  max-width: 420px;
}

.site-footer img {
  width: 132px;
  margin-bottom: 10px;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.6;
}

.site-footer .footer-legal {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  font-weight: 800;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
  }

  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .top-nav,
  .header-actions {
    display: none;
    width: 100%;
  }

  body.menu-open .top-nav,
  body.menu-open .header-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-bottom: 16px;
  }

  .hero-section {
    width: min(calc(100% - 24px), 1180px);
    min-height: 640px;
    margin-top: -68px;
  }

  .hero-content {
    min-height: 640px;
    padding: 130px 26px 250px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-product {
    right: 24px;
    bottom: 30px;
    width: calc(100% - 48px);
  }

  .tool-grid,
  .asset-grid,
  .download-grid,
  .work-card-grid,
  .forum-grid,
  .mobile-grid,
  .dashboard-grid,
  .handoff-grid,
  .service-grid,
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split-section,
  .workspace-layout,
  .admin-layout,
  .workspace-board,
  .platform-panel,
  .promo-panel,
  .login-page,
  .skill-list article,
  .market-layout,
  .pricing-grid,
  .signature-panel,
  .prompt-modal-layout {
    grid-template-columns: 1fr;
  }

  .status-banner {
    display: block;
  }

  .status-banner strong {
    margin-bottom: 6px;
  }

  .prompt-modal-image,
  .prompt-modal-image img {
    min-height: 360px;
  }

  .prompt-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .side-nav,
  .admin-side {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 640px) {
  .section,
  .subpage-hero {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero-content h1,
  .subpage-hero h1 {
    font-size: 32px;
  }

  .section-head h2,
  .split-section h2 {
    font-size: 28px;
  }

  .tool-grid,
  .asset-grid,
  .download-grid,
  .work-card-grid,
  .scenario-grid,
  .forum-grid,
  .mobile-grid,
  .dashboard-grid,
  .handoff-grid,
  .service-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-panel {
    padding: 24px;
  }

  .platform-panel h2 {
    font-size: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    width: min(calc(100% - 28px), var(--max));
  }

  .admin-main {
    padding: 24px 14px 60px;
  }

  .admin-top,
  .admin-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-metrics,
  .admin-grid,
  .admin-pipeline,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .contract-head {
    align-items: stretch;
    flex-direction: column;
  }

  .prompt-modal-content {
    padding: 24px;
  }

  .prompt-modal-content h2 {
    font-size: 24px;
  }

  .login-visual {
    min-height: 380px;
  }

  .login-visual div {
    left: 24px;
    right: 24px;
    bottom: 28px;
  }

  .login-visual h1 {
    font-size: 32px;
  }
}
