:root {
  color-scheme: dark;
  --bg: #0c0d0d;
  --panel: #151817;
  --panel-2: #1c211f;
  --line: rgba(255, 233, 202, 0.14);
  --text: #f4eadc;
  --muted: #a8a098;
  --amber: #e2752d;
  --amber-2: #ffb15f;
  --teal: #2fc7ae;
  --cream: #f5ddbd;
  --danger: #d9503f;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(226, 117, 45, 0.2), transparent 28rem),
    radial-gradient(circle at 82% 22%, rgba(47, 199, 174, 0.12), transparent 24rem),
    linear-gradient(180deg, #101211 0%, var(--bg) 46%, #090a0a 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(12, 13, 13, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 177, 95, 0.42);
  border-radius: 8px;
  background: linear-gradient(135deg, #2b1910, #e2752d);
  color: #fff2df;
  font-weight: 900;
  box-shadow: 0 0 34px rgba(226, 117, 45, 0.32);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

nav {
  display: flex;
  gap: clamp(12px, 2.6vw, 28px);
  color: #d7cbbb;
  font-size: 14px;
}

nav a:hover {
  color: var(--amber-2);
}

.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding: clamp(92px, 12vw, 160px) clamp(18px, 4vw, 64px) 38px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 13, 13, 0.92) 0%, rgba(12, 13, 13, 0.62) 45%, rgba(12, 13, 13, 0.82) 100%),
    linear-gradient(180deg, rgba(12, 13, 13, 0.12), #0c0d0d 94%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-copy {
  width: min(800px, 100%);
  padding-bottom: clamp(120px, 18vh, 190px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--amber-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(47, 199, 174, 0.7);
}

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

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.8vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 700px;
  color: #e6d6c1;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.filter,
.theme,
.commands button {
  min-height: 44px;
  border: 1px solid rgba(245, 221, 189, 0.18);
  border-radius: var(--radius);
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--amber);
  color: #170d08;
  box-shadow: 0 14px 38px rgba(226, 117, 45, 0.32);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--cream);
}

.command-panel {
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  bottom: 38px;
  width: min(420px, calc(100% - 36px));
  padding: 20px;
  border: 1px solid rgba(255, 177, 95, 0.22);
  border-radius: var(--radius);
  background: rgba(17, 20, 19, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.command-panel > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 20px rgba(47, 199, 174, 0.78);
}

.command-panel ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.command-panel li {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.command-panel span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.section,
.strip {
  padding: clamp(72px, 9vw, 122px) clamp(18px, 4vw, 64px);
}

.strip {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.strip p,
.section-head p,
.split > div > p,
.theme-detail p,
.workflow-grid p,
.offer-grid p {
  color: var(--muted);
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.pipeline,
.workflow-grid,
.offer-grid,
.knowledge-grid {
  display: grid;
  gap: 16px;
}

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

.pipeline article,
.workflow-grid article,
.offer-grid article,
.knowledge-card,
.theme-detail,
.remote-demo,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.pipeline article {
  min-height: 250px;
  padding: 22px;
}

.pipeline article span {
  color: var(--amber-2);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.75fr 0.95fr;
  gap: 26px;
  align-items: start;
}

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

.theme,
.filter,
.commands button {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #e9ddcd;
}

.theme.active,
.filter.active {
  border-color: rgba(226, 117, 45, 0.86);
  background: rgba(226, 117, 45, 0.16);
  color: var(--amber-2);
}

.theme-detail {
  grid-column: 2;
  padding: 24px;
}

.theme-detail ul {
  padding-left: 18px;
  color: #d9cbb9;
}

.card-tools {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

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

.search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
}

.search input:focus {
  border-color: var(--amber);
}

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

.knowledge-card {
  display: grid;
  gap: 14px;
  min-height: 290px;
  padding: 20px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.level {
  align-self: start;
  padding: 3px 9px;
  border: 1px solid rgba(47, 199, 174, 0.34);
  border-radius: 999px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.tagline {
  color: var(--amber-2);
  font-weight: 800;
}

.knowledge-card p {
  color: #c8bdae;
}

.knowledge-card footer {
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.workflow-grid article,
.offer-grid article {
  padding: 22px;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 1px solid rgba(226, 117, 45, 0.38);
  border-radius: 8px;
  background: rgba(226, 117, 45, 0.14);
  color: var(--amber-2);
  font-weight: 900;
}

.remote-demo {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 18px;
  margin-top: 18px;
  padding: 22px;
}

.commands {
  display: grid;
  gap: 10px;
}

.commands button {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  color: var(--cream);
}

.commands button::after {
  content: "复制";
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

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

.offer-grid a {
  color: var(--amber-2);
  font-weight: 900;
}

.contact-card {
  padding: 24px;
}

.contact-card ul {
  margin-bottom: 20px;
  color: #dfd2bf;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  padding: 12px 14px;
  border: 1px solid rgba(47, 199, 174, 0.34);
  border-radius: 8px;
  background: rgba(15, 18, 17, 0.94);
  color: var(--cream);
  box-shadow: var(--shadow);
}

@media (max-width: 1080px) {
  .pipeline,
  .workflow-grid,
  .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .remote-demo,
  .strip {
    grid-template-columns: 1fr;
  }

  .theme-detail {
    grid-column: auto;
  }

  .card-tools {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
  }

  .hero-copy {
    padding-bottom: 280px;
  }

  .pipeline,
  .workflow-grid,
  .knowledge-grid,
  .offer-grid,
  .theme-grid {
    grid-template-columns: 1fr;
  }

  .command-panel {
    left: 18px;
    right: 18px;
  }

  .command-panel ul {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    flex-direction: column;
  }
}
