﻿:root {
  --bg: #f5f2eb;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-strong: rgba(255, 255, 255, 0.84);
  --text: #16181c;
  --muted: #5d6570;
  --line: rgba(22, 24, 28, 0.1);
  --accent: #1c4f91;
  --accent-soft: rgba(28, 79, 145, 0.12);
  --shadow: 0 24px 60px rgba(22, 30, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --container: min(1040px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font: 16px/1.7 "Manrope", "Segoe UI Variable Display", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 24rem),
    linear-gradient(180deg, #f6f2ea 0%, #f3efe6 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(245, 242, 235, 0.82);
  border-bottom: 1px solid rgba(22, 24, 28, 0.05);
}

.header-inner,
.brand,
.brand-copy,
.actions,
.meta {
  display: flex;
  align-items: center;
}

.header-inner {
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}

.brand {
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(180deg, #215eae, #184684);
  color: #fff;
  font-weight: 800;
}

.brand-copy {
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 14px;
}

.brand-copy span,
p,
.meta span,
.workflow-step p,
.developer-grid span {
  color: var(--muted);
}

.brand-copy span {
  font-size: 12px;
}

.hero {
  padding: 84px 0 52px;
}

.hero-inner {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.18rem;
}

.hero p,
.intro-copy p,
.workflow-step p {
  margin: 20px 0 0;
  font-size: 1.02rem;
}

.actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

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

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

.button-subtle {
  background: rgba(255, 255, 255, 0.54);
}

.meta {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(22, 24, 28, 0.06);
  font-size: 13px;
}

.section {
  padding: 34px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
}

.compact-head {
  margin-bottom: 28px;
}

.workflow-panel,
.shot-frame,
.footer-card,
.developer-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.workflow-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius-xl);
}

.workflow-rail {
  position: relative;
  height: 16px;
  margin-bottom: 26px;
}

.rail-line,
.rail-glow {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
}

.rail-line {
  height: 2px;
  background: linear-gradient(90deg, rgba(28, 79, 145, 0.14), rgba(28, 79, 145, 0.28), rgba(28, 79, 145, 0.14));
}

.rail-glow {
  width: 140px;
  height: 8px;
  left: -140px;
  right: auto;
  background: linear-gradient(90deg, rgba(28, 79, 145, 0), rgba(28, 79, 145, 0.42), rgba(28, 79, 145, 0));
  filter: blur(3px);
  animation: glide 5.8s ease-in-out infinite;
}

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

.workflow-step {
  position: relative;
  padding: 22px 18px 18px;
  border-radius: 20px;
  background: var(--panel-strong);
  border: 1px solid rgba(22, 24, 28, 0.06);
  animation: breathe 5.8s ease-in-out infinite;
}

.workflow-step::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.step-index {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.step-2 {
  animation-delay: 0.8s;
}

.step-3 {
  animation-delay: 1.6s;
}

.step-4 {
  animation-delay: 2.4s;
}

.shot-frame {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.shot-frame img {
  width: 100%;
  height: auto;
}

.footer-section {
  padding: 40px 0 84px;
}

.footer-stack {
  display: grid;
  gap: 18px;
}

.footer-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.developer-card {
  padding: 24px 28px;
  border-radius: var(--radius-lg);
}

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

.developer-grid div {
  display: grid;
  gap: 6px;
}

.developer-grid strong,
.developer-grid a {
  font-weight: 600;
}

@keyframes glide {
  0% {
    transform: translate(-10%, -50%);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    transform: translate(820%, -50%);
    opacity: 0;
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(28, 79, 145, 0);
  }

  50% {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(28, 79, 145, 0.08);
  }
}

@media (max-width: 920px) {
  .intro-grid,
  .workflow-grid,
  .developer-grid,
  .footer-card {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-grid,
  .developer-grid {
    display: grid;
  }

  .footer-card {
    display: grid;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100vw - 24px, 1040px);
  }

  .hero {
    padding-top: 48px;
  }

  .header-inner {
    min-height: 66px;
  }

  h1 {
    max-width: none;
  }

  .actions,
  .button,
  .intro-grid,
  .workflow-grid,
  .developer-grid,
  .footer-card {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .workflow-panel,
  .footer-card,
  .developer-card {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
