:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --ink: #191a1d;
  --muted: #696f7a;
  --line: #ddd8ce;
  --blue: #2554d7;
  --blue-dark: #183eb4;
  --green: #9ecb7d;
  --coral: #ee7b5f;
  --gold: #d7a945;
  --radius: 8px;
  --max: 1706px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  height: 58px;
  min-height: 58px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2)) 0 0;
  overflow: visible;
  background: #17133a;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: 0 18px 40px rgba(22, 20, 58, 0.08);
}

.brand,
.nav-links,
.header-action {
  display: flex;
  align-items: center;
}

.brand {
  position: relative;
  top: 0;
  left: 0;
  align-self: auto;
  justify-content: center;
  width: 120px;
  height: 58px;
  min-width: 120px;
  padding: 0;
  gap: 8px;
  background: transparent;
  font-weight: 800;
}

.brand::before {
  content: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.brand-logo-wide {
  display: block;
  position: relative;
  z-index: 1;
  width: 120px;
  height: 58px;
  object-fit: cover;
}

.nav-links {
  justify-content: center;
  gap: clamp(78px, 6.5vw, 128px);
  flex: 1;
  margin-left: 0;
  margin-right: 120px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 58px;
}

.nav-links a.is-current {
  color: #fff;
}

.nav-links a.is-current::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 28px;
  height: 4px;
  content: "";
  background: url("./assets/figma-home/home_dao_biao.png") center / contain no-repeat;
  transform: translateX(-50%);
}

.header-action {
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 42px;
}

.hero-banner {
  position: relative;
  height: 720px;
  overflow: hidden;
  background: #15183d;
  border-radius: 0;
}

.hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-shortcuts {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  width: min(1706px, calc(100% - 40px));
  margin: -50px auto 0;
  min-height: 104px;
  padding: 0 86px;
  background: #fff;
  border: 1px solid rgba(25, 26, 29, 0.06);
  border-radius: 20px;
  box-shadow: 0 20px 70px rgba(25, 26, 29, 0.1);
}

.hero-shortcuts a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 102px;
  color: #20242d;
  font-size: 14px;
  font-weight: 700;
}

.hero-shortcuts span {
  display: grid;
  gap: 4px;
  line-height: 1.25;
}

.hero-shortcuts strong {
  color: #20242d;
  font-size: 20px;
  font-weight: 800;
}

.hero-shortcuts small {
  color: #9aa1ac;
  font-size: 14px;
  font-weight: 600;
}

.hero-shortcuts a + a {
  border-left: 1px solid #eef0f3;
}

.hero-shortcuts img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(46px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-showcase {
  position: relative;
}

.hero-illustration {
  display: block;
  width: min(100%, 620px);
  margin: 0 auto;
  filter: drop-shadow(0 34px 70px rgba(37, 84, 215, 0.16));
}

.browser-frame {
  padding: 14px;
  background: #23252b;
  border: 1px solid #393c45;
  border-radius: var(--radius);
  box-shadow: 0 32px 90px rgba(25, 26, 29, 0.25);
}

.window-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #626773;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 86px 1fr;
  min-height: 520px;
  overflow: hidden;
  background: #f8f9fb;
  border-radius: 6px;
}

.dashboard-preview aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 18px;
  background: #111318;
}

.mini-logo {
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  background: var(--green);
  border-radius: 8px;
}

.dashboard-preview aside span {
  width: 100%;
  height: 9px;
  background: #30343d;
  border-radius: 999px;
}

.preview-main {
  padding: 30px;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.preview-top strong,
.preview-top small {
  display: block;
}

.preview-top small {
  color: var(--muted);
}

.preview-top button {
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--blue);
  border-radius: 50%;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.metric-grid div {
  height: 112px;
  background: #fff;
  border: 1px solid #e5e8ef;
  border-radius: 8px;
}

.metric-grid div:nth-child(2) {
  background: #e9f3dd;
}

.metric-grid div:nth-child(3) {
  background: #f9e6df;
}

.preview-content {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 18px;
}

.chart-block,
.list-block {
  height: 230px;
  background: #fff;
  border: 1px solid #e5e8ef;
  border-radius: 8px;
}

.chart-block {
  background:
    linear-gradient(135deg, rgba(37, 84, 215, 0.16), rgba(158, 203, 125, 0.26)),
    #fff;
}

.list-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}

.list-block span {
  height: 12px;
  background: #e6e9ef;
  border-radius: 999px;
}

.list-block span:nth-child(even) {
  width: 72%;
}

.floating-note {
  position: absolute;
  right: 28px;
  bottom: -28px;
  display: grid;
  gap: 2px;
  width: 260px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(25, 26, 29, 0.14);
}

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

.section-band {
  background: var(--ink);
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0;
}

.stats div {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 24px 28px;
  background: #23252b;
  border-radius: var(--radius);
}

.stats strong {
  color: var(--green);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.align-left {
  margin-left: 0;
  text-align: left;
}

.demo-heading {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  align-items: end;
  gap: 48px;
  max-width: none;
}

.demo-heading p:not(.eyebrow) {
  margin-bottom: 10px;
}

.category-switcher {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.category-switcher button {
  min-height: 34px;
  padding: 0 14px;
  color: #535b66;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.category-switcher button.is-active {
  color: #fff;
  background: var(--ink);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.project-card p,
.service-grid p,
.process-steps p,
.about-section p,
.contact-panel p {
  color: var(--muted);
}

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

.resource-section {
  padding-top: 48px;
  overflow: visible;
}

.resource-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 54px;
  overflow-x: auto;
  white-space: nowrap;
}

.resource-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  color: #2e333b;
  background: transparent;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 500;
}

.resource-tabs a.is-active,
.resource-tabs a.is-strong {
  font-weight: 700;
}

.resource-tabs a.is-active {
  color: #fff;
  background: #f06b38;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(240, 107, 56, 0.2);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 404px);
  gap: 32px;
  align-items: start;
  justify-content: center;
}

.resource-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  width: 404px;
  height: 516px;
  padding: 20px 20px 18px;
  background: #fff;
  border: 1px solid rgba(25, 26, 29, 0.05);
  border-radius: 20px;
  box-shadow: none;
}

.resource-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 728 / 464;
  object-fit: cover;
  border-radius: 10px;
}

.resource-card > span {
  display: none;
}

.resource-card h3 {
  margin: 22px 0 0;
  color: #20242d;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.42;
}

.resource-card p {
  min-height: 70px;
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 12px 14px;
  color: #7a828d;
  background: #f7f8fa;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
}

.resource-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  color: #8b929c;
  font-size: 14px;
}

.card-author {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.card-author img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 50%;
}

.card-author span {
  overflow: hidden;
  color: #8b929c;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 24px;
  color: #f06b38;
  font-size: 14px;
  font-weight: 700;
}

.card-action img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.card-action span {
  max-width: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-panel {
  position: relative;
  width: 404px;
  height: 516px;
  min-height: 0;
  padding: 30px 30px 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(25, 26, 29, 0.05);
  border-radius: 20px;
  box-shadow: none;
}

.hot-panel::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: url("./assets/figma-home/home_bao_pic1.png") top left / 100% auto no-repeat;
  pointer-events: none;
}

.hot-title,
.hot-panel ol,
.hot-panel .hot-more {
  position: relative;
  z-index: 1;
}

.hot-panel .item-wrap,
.hot-panel .widget,
.hot-panel .widget-wrap {
  position: relative;
  z-index: 1;
  height: 100%;
}

.widget-wrap {
  display: flex;
  flex-direction: column;
}

.widget-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 28px;
  color: #050505;
  line-height: 1.1;
}

.widget-title strong {
  flex: 0 0 auto;
  font-size: 28px;
  font-weight: 800;
}

.widget-title span {
  color: #7f8288;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.week {
  font-style: normal;
}

.widget-content {
  display: grid;
  gap: 16px;
  flex: 0 0 auto;
  padding-bottom: 24px;
}

.news-item-wrap {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  min-height: 52px;
  padding-bottom: 0;
  color: #333946;
  transition: color 160ms ease;
}

.news-item-num {
  color: #d7d7d9;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
}

.news-item-title {
  margin: 0;
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.news-item-wrap:hover {
  color: #f06b38;
}

.news-item-wrap:hover .news-item-num {
  color: #f06b38;
}

.widget-btns {
  margin-top: auto;
}

.widget-btns .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  color: #8f9093;
  background: rgba(247, 247, 247, 0.92);
  border-radius: 3px;
  font-size: 17px;
  font-weight: 700;
}

.hot-hero {
  display: none;
  width: calc(100% + 56px);
  max-width: none;
  margin: 0 -28px 16px;
  aspect-ratio: 808 / 286;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.hot-title {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 30px;
}

.hot-panel h3 {
  margin-bottom: 0;
  color: #050505;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.hot-title time {
  color: #7f8288;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.hot-panel ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hot-panel li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: start;
  min-height: 58px;
  padding: 0 0 12px;
  color: #333946;
  border-top: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.hot-panel li span {
  color: #d7d7d9;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
}

.hot-panel li a {
  display: block;
  transition: color 160ms ease;
}

.hot-panel li:hover a,
.hot-panel li:hover span {
  color: #f06b38;
}

.hot-panel .hot-more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  margin-top: 8px;
  color: #8f9093;
  background: rgba(247, 247, 247, 0.92);
  border-radius: 3px;
  font-size: 17px;
  font-weight: 700;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  grid-auto-flow: dense;
  gap: 22px;
}

.project-showcase.layout-c {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  display: grid;
  min-height: 100%;
  padding: 14px 14px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 70px rgba(25, 26, 29, 0.06);
}

.project-card[hidden] {
  display: none;
}

.project-card-feature {
  grid-row: span 2;
}

.project-card-wide {
  grid-column: span 2;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.74fr);
  gap: 18px;
  padding-bottom: 14px;
}

.layout-c .project-card,
.layout-c .project-card-feature,
.layout-c .project-card-wide {
  grid-column: auto;
  grid-row: auto;
  grid-template-columns: minmax(0, 1fr);
  padding: 10px 10px 16px;
}

.layout-c .project-card-top {
  grid-column: auto;
  padding: 10px 10px 16px;
}

.project-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
}

.project-info {
  display: grid;
  gap: 20px;
  padding: 20px 8px 0;
}

.project-card-wide .project-info {
  padding: 8px 10px 8px 0;
  align-content: space-between;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.demo-cover {
  position: relative;
  display: block;
  min-height: 310px;
  padding: 28px 24px;
  overflow: hidden;
  color: #fff;
  border-radius: 8px;
}

.project-card-feature .demo-cover {
  min-height: 500px;
}

.project-card-compact .demo-cover {
  min-height: 260px;
}

.project-card-wide .demo-cover {
  min-height: 300px;
}

.layout-c .project-card-feature .demo-cover,
.layout-c .project-card-compact .demo-cover,
.layout-c .project-card-wide .demo-cover {
  min-height: 230px;
}

.layout-c .project-info {
  gap: 14px;
  padding: 16px 6px 0;
}

.layout-c .project-card h3 {
  font-size: 18px;
}

.layout-c .project-card p {
  font-size: 14px;
}

.layout-c .demo-type {
  margin-bottom: 24px;
  font-size: 14px;
}

.layout-c .demo-cover strong {
  font-size: 25px;
}

.layout-c .demo-cover ul {
  gap: 8px;
  font-size: 14px;
}

.layout-c .phone-stack,
.layout-c .desktop-stack,
.layout-c .browser-stack {
  transform: scale(0.72);
  transform-origin: right bottom;
}

.demo-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.28), transparent 18%),
    radial-gradient(circle at 92% 78%, rgba(255, 255, 255, 0.2), transparent 22%);
  pointer-events: none;
}

.demo-cover-one {
  background: linear-gradient(135deg, #30215c, #5a4897);
}

.demo-cover-top {
  display: block;
  min-height: 0;
  padding: 0;
  aspect-ratio: 2048 / 1179;
  overflow: hidden;
  color: #16191f;
  background: #c7e9ff;
}

.layout-c .project-card-compact .demo-cover-top {
  min-height: 0;
}

.top-cover-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2048 / 1179;
  object-fit: contain;
}

.demo-cover-two {
  background: linear-gradient(135deg, #43b9c5, #63c4ca);
}

.demo-cover-three {
  background: linear-gradient(135deg, #efa73d, #f5bf62);
}

.demo-cover-four {
  background: linear-gradient(135deg, #243b7c, #2f92c4);
}

.demo-cover-five {
  background: linear-gradient(135deg, #1b2b3f, #4f77d3);
}

.demo-cover-six {
  background: linear-gradient(135deg, #4a2d75, #dd7ba7);
}

.demo-cover-seven {
  background: linear-gradient(135deg, #0e5f63, #86cfa5);
}

.demo-cover-eight {
  background: linear-gradient(135deg, #2b2c32, #d7a945);
}

.demo-type,
.demo-cover strong,
.demo-cover li {
  position: relative;
  z-index: 1;
}

.demo-type {
  display: block;
  margin-bottom: 34px;
  font-size: 17px;
  font-weight: 700;
}

.demo-cover strong {
  display: block;
  margin-bottom: 24px;
  font-size: 32px;
  line-height: 1.1;
}

.demo-cover ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  font-weight: 700;
}

.demo-cover li::before {
  content: "✓";
  margin-right: 9px;
}

.phone-stack,
.desktop-stack,
.browser-stack {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 1;
}

.phone-stack span {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 102px;
  height: 204px;
  background:
    linear-gradient(#111318 0 12px, transparent 12px 100%),
    linear-gradient(180deg, #fff, #eef1f5);
  border: 6px solid #191a1d;
  border-radius: 22px;
  box-shadow: 0 10px 22px rgba(25, 26, 29, 0.24);
}

.phone-stack span:first-child {
  right: 82px;
  bottom: -4px;
  transform: rotate(-3deg);
  opacity: 0.92;
}

.phone-stack span:last-child {
  transform: rotate(3deg);
}

.desktop-stack {
  width: 220px;
  height: 150px;
  background:
    linear-gradient(90deg, rgba(37, 84, 215, 0.22), transparent),
    #fff;
  border: 7px solid #1a1c22;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(25, 26, 29, 0.22);
}

.desktop-stack span,
.browser-stack span {
  position: absolute;
  background: rgba(25, 26, 29, 0.12);
  border-radius: 999px;
}

.desktop-stack span:first-child {
  top: 38px;
  left: 24px;
  width: 76px;
  height: 12px;
}

.desktop-stack span:last-child {
  top: 66px;
  left: 24px;
  width: 132px;
  height: 12px;
}

.browser-stack {
  width: 210px;
  height: 152px;
  background: #fff;
  border: 7px solid #20222a;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(25, 26, 29, 0.2);
}

.poster-stack {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  width: 120px;
  height: 168px;
}

.poster-stack span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.48)),
    linear-gradient(180deg, #fff 0 28px, transparent 28px);
  border: 6px solid rgba(25, 26, 29, 0.86);
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(25, 26, 29, 0.22);
}

.poster-stack span:first-child {
  transform: translateX(-44px) rotate(-6deg);
  opacity: 0.86;
}

.poster-stack span:last-child {
  transform: rotate(4deg);
}

.browser-stack::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 20px;
  width: 70px;
  height: 70px;
  background: #f3b45b;
  border-radius: 8px;
}

.browser-stack span:first-child {
  top: 28px;
  left: 108px;
  width: 70px;
  height: 10px;
}

.browser-stack span:last-child {
  top: 52px;
  left: 108px;
  width: 48px;
  height: 10px;
}

.qr-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(25, 26, 29, 0.72);
  opacity: 0;
  transition: opacity 180ms ease;
}

.demo-cover:hover .qr-overlay,
.demo-cover:focus-visible .qr-overlay {
  opacity: 1;
}

.qr-box {
  width: 158px;
  height: 158px;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.qr-box img {
  display: block;
  width: 100%;
  height: 100%;
}

.qr-text {
  color: #fff;
  font-weight: 800;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-grid article {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-weight: 800;
}

.process {
  padding: 86px 0;
}

.process > * {
  width: min(var(--max), calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.process .eyebrow {
  color: var(--green);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.process-steps div {
  padding: 28px;
  background: #23252b;
  border-radius: var(--radius);
}

.process-steps strong {
  display: block;
  margin-bottom: 36px;
  color: var(--green);
}

.process-steps p {
  color: #c9ccd4;
}

.about-section {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-section > p {
  margin-top: 54px;
  font-size: 20px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 70px;
  padding: 52px;
  color: #fff;
  background: var(--blue-dark);
  border-radius: var(--radius);
}

.contact-panel .eyebrow,
.contact-panel p {
  color: #dce6ff;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: #f7f8fa;
  border: 1px solid #dfe3ea;
  border-radius: 6px;
  outline: none;
}

.contact-form textarea {
  min-height: 118px;
  padding-top: 12px;
  resize: vertical;
}

.contact-form button {
  min-height: 48px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    width: 100%;
    overflow-x: auto;
    padding-right: 18px;
    padding-left: 18px;
  }

  .nav-links {
    display: flex;
    min-width: max-content;
    gap: 26px;
  }

  .section-pad,
  .stats,
  .process > *,
  .site-footer {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero {
    width: 100%;
    padding-top: 0;
  }

  .hero-shortcuts {
    width: min(720px, calc(100% - 28px));
    grid-template-columns: repeat(5, max-content);
    justify-content: start;
    overflow-x: auto;
  }

  .hero-shortcuts a {
    min-width: 128px;
  }

  .demo-heading,
  .project-showcase,
  .project-card-wide,
  .service-grid,
  .process-steps,
  .stats,
  .about-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .hot-panel {
    min-height: auto;
  }

  .project-card-feature,
  .project-card-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .layout-c {
    grid-template-columns: 1fr;
  }

  .demo-heading {
    gap: 8px;
  }

  .demo-cover {
    min-height: 300px;
  }

  .project-card-feature .demo-cover,
  .project-card-compact .demo-cover,
  .project-card-wide .demo-cover {
    min-height: 320px;
  }

  .project-card-wide .project-info {
    padding: 14px 8px 0;
  }

  .about-section {
    gap: 10px;
  }

  .about-section > p {
    margin-top: 0;
  }

  .contact-panel {
    gap: 30px;
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: 100%;
    border-radius: 0;
  }

  .brand {
    min-width: 86px;
    padding: 0 14px;
  }

  .section-pad {
    padding: 64px 0;
  }

  .hero {
    padding-top: 0;
    padding-bottom: 34px;
  }

  .hero-shortcuts {
    width: min(100%, calc(100% - 28px));
    margin-top: -12px;
    padding: 0 10px;
    border-radius: 8px;
  }

  .hero-shortcuts a {
    min-width: 112px;
    min-height: 72px;
    font-size: 13px;
  }

  .hero-shortcuts img {
    width: 26px;
    height: 26px;
  }

  .stats div,
  .service-grid article,
  .process-steps div {
    padding: 22px;
  }

  .project-card {
    padding: 10px 10px 18px;
  }

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

  .resource-tabs {
    gap: 8px;
    margin-bottom: 18px;
  }

  .resource-tabs a {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  .resource-card h3 {
    font-size: 15px;
  }

  .category-switcher {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: 8px;
  }

  .demo-cover {
    min-height: 250px;
    padding: 22px 18px;
  }

  .demo-type {
    margin-bottom: 26px;
    font-size: 15px;
  }

  .demo-cover strong {
    font-size: 28px;
  }

  .demo-cover ul {
    font-size: 16px;
  }

  .phone-stack,
  .desktop-stack,
  .browser-stack,
  .poster-stack {
    right: 18px;
    bottom: 18px;
    transform: scale(0.82);
    transform-origin: right bottom;
  }

  .qr-overlay {
    position: relative;
    inset: auto;
    margin-top: 18px;
    padding: 18px 0 4px;
    background: transparent;
    opacity: 1;
  }

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

  .project-card-feature .demo-cover,
  .project-card-compact .demo-cover,
  .project-card-wide .demo-cover {
    min-height: 250px;
  }

  .project-info {
    padding: 16px 6px 0;
  }

  .project-link {
    min-height: 36px;
  }

  .contact-panel {
    padding: 24px 18px;
  }

  .site-footer {
    display: grid;
  }
}
