/* 极简数字工作室案例详情页 */

:root {
  --navy-950: #050b20;
  --navy-900: #091735;
  --blue: #3978ff;
  --purple: #7657ff;
  --white: #ffffff;
  --text: #dce5fa;
  --muted: #96a6c7;
  --border: rgba(150, 169, 255, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 8%, rgba(68, 91, 255, 0.18), transparent 26%),
    linear-gradient(145deg, #050b20, #0a1735 55%, #08122b);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  line-height: 1.7;
}

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

.container {
  width: min(calc(100% - 40px), 1120px);
  margin: 0 auto;
}

.detail-header {
  border-bottom: 1px solid var(--border);
  background: rgba(5, 11, 32, 0.82);
  backdrop-filter: blur(16px);
}

.detail-nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-brand {
  font-size: 16px;
  font-weight: 800;
}

.back-link {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: #bdc9e6;
  font-size: 13px;
}

.detail-hero {
  padding: 105px 0 80px;
}

.detail-badge {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(121, 143, 255, 0.24);
  border-radius: 999px;
  color: #bac8ff;
  background: rgba(85, 99, 218, 0.13);
  font-size: 12px;
  font-weight: 700;
}

.detail-hero h1 {
  max-width: 850px;
  margin-top: 22px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.detail-subtitle {
  max-width: 760px;
  margin-top: 22px;
  color: #a9b8d8;
  font-size: 19px;
  line-height: 1.8;
}

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

.detail-button {
  min-height: 46px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
}

.detail-button-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.detail-button-secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}

.detail-section {
  padding: 75px 0;
  border-top: 1px solid rgba(150,169,255,0.08);
}

.detail-section-light {
  color: #17213b;
  background: #f5f7fb;
}

.detail-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.detail-heading span {
  color: #758cff;
  font-size: 12px;
  font-weight: 800;
}

.detail-heading h2 {
  margin-top: 9px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.3;
}

.detail-heading p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.detail-section-light .detail-heading p {
  color: #6f7e98;
}

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

.feature-card {
  min-height: 190px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(255,255,255,0.045);
}

.detail-section-light .feature-card {
  border-color: rgba(26,52,105,0.08);
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(35,55,100,0.07);
}

.feature-card small {
  color: #728aff;
  font-size: 11px;
  font-weight: 800;
}

.feature-card h3 {
  margin-top: 11px;
  font-size: 18px;
}

.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.detail-section-light .feature-card p {
  color: #71809b;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.flow-item {
  position: relative;
  min-height: 105px;
  padding: 18px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255,255,255,0.04);
  text-align: center;
  color: #c3cee7;
  font-size: 13px;
}

.flow-item:not(:last-child)::after {
  position: absolute;
  right: -9px;
  content: "→";
  color: #6f88ff;
}

.result-box {
  padding: 32px;
  border: 1px solid rgba(116,137,255,0.23);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(53,120,255,0.12), rgba(118,87,255,0.09));
}

.result-box strong {
  color: #9eb1ff;
  font-size: 13px;
}

.result-box p {
  margin-top: 10px;
  color: #d2dcf2;
  font-size: 17px;
  line-height: 1.9;
}

.detail-note {
  margin-top: 25px;
  padding: 17px 20px;
  border-radius: 12px;
  color: #8f9dbc;
  background: rgba(255,255,255,0.035);
  font-size: 12px;
}

.detail-footer {
  padding: 35px 0;
  border-top: 1px solid var(--border);
  color: #7787a8;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-item:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), 1120px);
  }

  .detail-hero {
    padding: 75px 0 55px;
  }

  .detail-hero h1 {
    font-size: 39px;
  }

  .detail-subtitle {
    font-size: 16px;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-button {
    width: 100%;
  }

  .feature-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .flow-item::after {
    display: none;
  }
}
