:root {
  color-scheme: light;
  --background: #fafafa;
  --foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-text: #64748b;
  --accent: #0052ff;
  --accent-2: #4d7cff;
  --border: #e2e8f0;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 18px;
  --font-display: Calistoga, Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

body:not(.admin-body) [hidden] {
  display: none !important;
}

/* Layout v2: future showroom composition */
body:not(.admin-body) main {
  overflow: hidden;
}

body:not(.admin-body) .hero,
body:not(.admin-body) .metrics,
body:not(.admin-body) .about-section,
body:not(.admin-body) .section,
body:not(.admin-body) .partners-section,
body:not(.admin-body) .feature-showcase,
body:not(.admin-body) .contact-section {
  width: min(1280px, calc(100% - 64px));
}

body:not(.admin-body) .hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.8fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 74px 0 64px;
}

body:not(.admin-body) .hero-copy {
  position: relative;
  z-index: 2;
}

body:not(.admin-body) .hero-copy::before {
  content: "KEYI / PRODUCT DELIVERY / 01";
  position: absolute;
  left: 0;
  top: -48px;
  color: rgba(168, 214, 255, 0.34);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}

body:not(.admin-body) .hero-actions {
  margin-top: 30px;
}

body:not(.admin-body) .hero-panel {
  min-height: 580px;
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  transform-origin: center;
}

body:not(.admin-body) .hero-panel::after {
  content: "SOURCE  OK\ADEPLOY  READY\AQUOTE  LOCKED";
  white-space: pre;
  position: absolute;
  right: 34px;
  bottom: 34px;
  color: rgba(151, 214, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.12em;
}

body:not(.admin-body) .main-card {
  inset: 72px 34px auto 34px;
  min-height: 210px;
}

body:not(.admin-body) .mini.a {
  right: 34px;
  top: 46px;
  width: 142px;
  height: 142px;
}

body:not(.admin-body) .mini.b {
  left: 34px;
  bottom: 170px;
  width: 142px;
  height: 142px;
}

body:not(.admin-body) .metrics {
  position: relative;
  z-index: 3;
  grid-template-columns: 1.2fr 1fr 1fr;
  margin-top: -42px;
  margin-bottom: 126px;
}

body:not(.admin-body) .metric {
  min-height: 112px;
  display: grid;
  align-content: center;
}

body:not(.admin-body) .about-section {
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: 78px;
  align-items: center;
  padding: 28px 0 118px;
}

body:not(.admin-body) .about-section > div:first-child {
  position: relative;
  min-height: 360px;
  display: grid;
  align-content: center;
}

body:not(.admin-body) .about-section > div:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, #75d7ff, transparent);
}

body:not(.admin-body) .about-copy {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(7, 14, 31, 0.62);
  box-shadow: inset 0 0 40px rgba(47, 124, 255, 0.08);
}

body:not(.admin-body) .about-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.admin-body) .cases-section {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding: 28px 0 118px;
}

body:not(.admin-body) .cases-section .section-head {
  position: sticky;
  top: 112px;
  margin: 0;
}

body:not(.admin-body) .cases-section .section-head h2 {
  font-size: clamp(44px, 5vw, 72px);
}

body:not(.admin-body) .case-carousel {
  min-width: 0;
  padding-top: 10px;
}

body:not(.admin-body) .case-track {
  grid-auto-columns: calc((100% - 54px) / 4);
}

body:not(.admin-body) .case-card,
body:not(.admin-body) .case-poster,
body:not(.admin-body) .case-cover {
  min-height: 280px;
}

body:not(.admin-body) .case-card img {
  height: 280px;
}

body:not(.admin-body) #services {
  padding: 20px 0 118px;
}

body:not(.admin-body) #services .section-head {
  max-width: none;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: end;
  gap: 32px;
}

body:not(.admin-body) .service-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(190px, auto);
  gap: 18px;
}

body:not(.admin-body) .service-card {
  min-height: 0;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
}

body:not(.admin-body) .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background:
    radial-gradient(circle at 82% 18%, rgba(47, 124, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 46%);
}

body:not(.admin-body) .service-card > * {
  position: relative;
}

body:not(.admin-body) .service-card:nth-child(1) {
  grid-column: span 3;
  grid-row: span 2;
}

body:not(.admin-body) .service-card:nth-child(2) {
  grid-column: span 3;
}

body:not(.admin-body) .service-card:nth-child(3),
body:not(.admin-body) .service-card:nth-child(4) {
  grid-column: span 3;
}

body:not(.admin-body) .service-card:nth-child(1) h3 {
  font-size: 32px;
}

body:not(.admin-body) .feature-showcase {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin: 0 auto 118px;
  padding: 18px;
}

body:not(.admin-body) .feature-showcase .feature-copy {
  grid-column: span 5;
}

body:not(.admin-body) .feature-showcase .feature-visual {
  grid-column: span 7;
}

body:not(.admin-body) .feature-showcase.reverse .feature-visual {
  grid-column: span 7;
}

body:not(.admin-body) .feature-showcase.reverse .feature-copy {
  grid-column: span 5;
}

body:not(.admin-body) .feature-copy {
  min-height: 500px;
}

body:not(.admin-body) .feature-visual {
  min-height: 500px;
}

body:not(.admin-body) .feature-visual img {
  width: min(82%, 620px);
  max-height: 330px;
}

body:not(.admin-body) .promise-grid,
body:not(.admin-body) .strength-grid,
body:not(.admin-body) .source-list {
  grid-template-columns: 1fr;
}

body:not(.admin-body) .feature-showcase .promise-grid article,
body:not(.admin-body) .feature-showcase .strength-grid article,
body:not(.admin-body) .feature-showcase .source-list article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

body:not(.admin-body) .feature-showcase .promise-grid article span,
body:not(.admin-body) .feature-showcase .strength-grid article span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #126dff, #8a5cff);
  color: white;
}

body:not(.admin-body) .partners-section {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 18px 0 118px;
}

body:not(.admin-body) .partners-section .section-head {
  margin: 0;
}

body:not(.admin-body) .partner-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body:not(.admin-body) .process {
  padding: 10px 0 118px;
}

body:not(.admin-body) .process .section-head {
  max-width: none;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
}

body:not(.admin-body) .process-line {
  grid-template-columns: repeat(8, minmax(120px, 1fr));
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

body:not(.admin-body) .process-step {
  min-height: 132px;
  scroll-snap-align: start;
}

body:not(.admin-body) .faq-section {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  padding-top: 0;
}

body:not(.admin-body) .faq-section .section-head {
  margin: 0;
}

body:not(.admin-body) .faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.admin-body) .contact-section {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

body:not(.admin-body) .contact-head {
  position: sticky;
  top: 112px;
}

body:not(.admin-body) .lead-form {
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.admin-body) .contact-info {
  grid-column: 2;
}

@media (max-width: 980px) {
  body:not(.admin-body) .hero,
  body:not(.admin-body) .about-section,
  body:not(.admin-body) .cases-section,
  body:not(.admin-body) #services .section-head,
  body:not(.admin-body) .partners-section,
  body:not(.admin-body) .process .section-head,
  body:not(.admin-body) .faq-section,
  body:not(.admin-body) .contact-section {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .hero-panel {
    transform: none;
  }

  body:not(.admin-body) .cases-section .section-head,
  body:not(.admin-body) .contact-head {
    position: static;
  }

  body:not(.admin-body) .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin-body) .service-card:nth-child(n) {
    grid-column: span 1;
    grid-row: auto;
  }

  body:not(.admin-body) .feature-showcase .feature-copy,
  body:not(.admin-body) .feature-showcase .feature-visual,
  body:not(.admin-body) .feature-showcase.reverse .feature-copy,
  body:not(.admin-body) .feature-showcase.reverse .feature-visual,
  body:not(.admin-body) .lead-form,
  body:not(.admin-body) .contact-info {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body:not(.admin-body) .hero,
  body:not(.admin-body) .metrics,
  body:not(.admin-body) .about-section,
  body:not(.admin-body) .section,
  body:not(.admin-body) .partners-section,
  body:not(.admin-body) .feature-showcase,
  body:not(.admin-body) .contact-section {
    width: calc(100% - 32px);
  }

  body:not(.admin-body) .metrics,
  body:not(.admin-body) .service-grid,
  body:not(.admin-body) .about-points,
  body:not(.admin-body) .partner-grid,
  body:not(.admin-body) .faq-grid,
  body:not(.admin-body) .lead-form {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .case-track {
    grid-auto-columns: 82%;
  }

  body:not(.admin-body) .feature-copy,
  body:not(.admin-body) .feature-visual {
    min-height: auto;
  }
}

/* Futuristic public site skin */
:root {
  --bg-deep: #050914;
  --bg-deeper: #02050d;
  --panel: rgba(10, 18, 36, 0.78);
  --panel-strong: rgba(13, 24, 48, 0.92);
  --line: rgba(107, 165, 255, 0.22);
  --line-strong: rgba(98, 178, 255, 0.44);
  --glow: #2f7cff;
  --glow-2: #8a5cff;
  --text-bright: #f4f8ff;
  --text-soft: #a8b6d8;
  --text-dim: #6f7f9f;
}

body:not(.admin-body) {
  color: var(--text-bright);
  background:
    radial-gradient(circle at 78% 8%, rgba(47, 124, 255, 0.34), transparent 24%),
    radial-gradient(circle at 18% 0%, rgba(138, 92, 255, 0.2), transparent 22%),
    radial-gradient(circle at 50% 48%, rgba(20, 52, 110, 0.22), transparent 38%),
    linear-gradient(180deg, #071022 0%, var(--bg-deep) 46%, var(--bg-deeper) 100%);
}

body:not(.admin-body)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(107, 165, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 165, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.28));
  animation: gridDrift 22s linear infinite;
}

body:not(.admin-body)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.62;
  background:
    linear-gradient(180deg, transparent 0%, rgba(74, 144, 255, 0.08) 50%, transparent 100%),
    repeating-linear-gradient(180deg, transparent 0 7px, rgba(255, 255, 255, 0.025) 8px);
  animation: scanline 8s ease-in-out infinite;
}

body:not(.admin-body) .site-nav {
  background: rgba(3, 7, 18, 0.74);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

body:not(.admin-body) .brand span,
body:not(.admin-body) .hero h1,
body:not(.admin-body) .section h2,
body:not(.admin-body) .about-section h2,
body:not(.admin-body) .contact-section h2,
body:not(.admin-body) .feature-copy h2 {
  font-family: "PingFang SC", "Microsoft YaHei", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
}

body:not(.admin-body) .brand span {
  color: var(--text-bright);
  text-shadow: 0 0 20px rgba(47, 124, 255, 0.48);
}

body:not(.admin-body) .brand small,
body:not(.admin-body) .site-nav nav a {
  color: var(--text-soft);
}

body:not(.admin-body) .site-nav nav a:hover {
  color: var(--text-bright);
  text-shadow: 0 0 18px rgba(47, 124, 255, 0.7);
}

body:not(.admin-body) .section-label {
  border-color: var(--line-strong);
  color: #9fd7ff;
  background: rgba(47, 124, 255, 0.1);
  box-shadow: inset 0 0 22px rgba(47, 124, 255, 0.08), 0 0 28px rgba(47, 124, 255, 0.12);
}

body:not(.admin-body) .hero {
  min-height: 740px;
  position: relative;
  isolation: isolate;
}

body:not(.admin-body) .hero::before {
  content: "";
  position: absolute;
  inset: 10% -12% 0;
  z-index: -1;
  background:
    radial-gradient(circle at 76% 36%, rgba(47, 124, 255, 0.34), transparent 24%),
    radial-gradient(circle at 30% 58%, rgba(138, 92, 255, 0.16), transparent 26%);
  filter: blur(14px);
}

body:not(.admin-body) .hero h1 {
  max-width: 820px;
  color: var(--text-bright);
  font-size: clamp(58px, 7.2vw, 104px);
  letter-spacing: 0;
  text-shadow: 0 0 42px rgba(47, 124, 255, 0.24);
}

body:not(.admin-body) .hero h1 em {
  background: linear-gradient(90deg, #75d7ff, #2f7cff 52%, #b999ff);
  -webkit-background-clip: text;
  background-clip: text;
}

body:not(.admin-body) .hero p,
body:not(.admin-body) .about-copy > p,
body:not(.admin-body) .contact-info,
body:not(.admin-body) .service-card p,
body:not(.admin-body) .faq-card p {
  color: var(--text-soft);
}

body:not(.admin-body) .trust-tags span {
  color: #dbeafe;
  border-color: var(--line);
  background: rgba(10, 18, 36, 0.72);
  box-shadow: inset 0 0 20px rgba(47, 124, 255, 0.08), 0 12px 34px rgba(0, 0, 0, 0.28);
}

body:not(.admin-body) .btn {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

body:not(.admin-body) .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  translate: -120% 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transition: translate 500ms ease;
}

body:not(.admin-body) .btn:hover::after {
  translate: 120% 0;
}

body:not(.admin-body) .btn.primary {
  color: white;
  border-color: rgba(125, 198, 255, 0.45);
  background: linear-gradient(135deg, #0b5cff, #2f7cff 48%, #8a5cff);
  box-shadow: 0 0 24px rgba(47, 124, 255, 0.45), 0 22px 54px rgba(0, 0, 0, 0.34);
}

body:not(.admin-body) .btn.ghost {
  color: var(--text-bright);
  border-color: var(--line);
  background: rgba(9, 17, 35, 0.62);
}

body:not(.admin-body) .hero-panel {
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(17, 34, 70, 0.82), rgba(5, 9, 20, 0.72)),
    radial-gradient(circle at 50% 0%, rgba(47, 124, 255, 0.26), transparent 42%);
  box-shadow: inset 0 0 60px rgba(47, 124, 255, 0.08), 0 30px 100px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

body:not(.admin-body) .hero-panel::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(125, 198, 255, 0.14);
  border-radius: 22px;
  background-image:
    linear-gradient(rgba(125, 198, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 198, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

body:not(.admin-body) .floating-card {
  color: var(--text-bright);
  border-color: var(--line-strong);
  border-radius: 18px;
  background: rgba(6, 14, 30, 0.82);
  box-shadow: inset 0 0 34px rgba(47, 124, 255, 0.1), 0 22px 60px rgba(0, 0, 0, 0.34);
}

body:not(.admin-body) .main-card {
  inset: 92px 34px auto 34px;
}

body:not(.admin-body) .main-card span,
body:not(.admin-body) .mini span {
  color: #8ecbff;
}

body:not(.admin-body) .main-card strong {
  font-family: var(--font-mono);
}

body:not(.admin-body) .mini {
  border-radius: 18px;
}

body:not(.admin-body) .ring {
  border-color: rgba(107, 190, 255, 0.42);
  box-shadow: 0 0 42px rgba(47, 124, 255, 0.18);
}

body:not(.admin-body) .metric,
body:not(.admin-body) .service-card,
body:not(.admin-body) .partner-card,
body:not(.admin-body) .faq-card,
body:not(.admin-body) .process-step,
body:not(.admin-body) .about-points article {
  color: var(--text-bright);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13, 24, 48, 0.84), rgba(7, 13, 28, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 60px rgba(0, 0, 0, 0.28);
}

body:not(.admin-body) .metric strong {
  color: var(--text-bright);
  text-shadow: 0 0 28px rgba(47, 124, 255, 0.28);
}

body:not(.admin-body) .metric span,
body:not(.admin-body) .about-points strong,
body:not(.admin-body) .partner-card strong,
body:not(.admin-body) .process-step strong {
  color: var(--text-soft);
}

body:not(.admin-body) .about-section,
body:not(.admin-body) .section,
body:not(.admin-body) .partners-section {
  position: relative;
}

body:not(.admin-body) .service-card {
  min-height: 280px;
}

body:not(.admin-body) .service-card .icon {
  border-radius: 12px;
  background: linear-gradient(135deg, #126dff, #7c5cff);
  box-shadow: 0 0 28px rgba(47, 124, 255, 0.35);
}

body:not(.admin-body) .service-card:hover,
body:not(.admin-body) .case-card:hover,
body:not(.admin-body) .partner-card:hover,
body:not(.admin-body) .faq-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 213, 255, 0.72);
  box-shadow: 0 0 34px rgba(47, 124, 255, 0.22), 0 30px 80px rgba(0, 0, 0, 0.36);
}

body:not(.admin-body) .case-card {
  border: 1px solid rgba(107, 165, 255, 0.28);
  border-radius: 18px;
  background: rgba(6, 14, 30, 0.9);
}

body:not(.admin-body) .case-poster {
  border-radius: 18px;
  background:
    radial-gradient(circle at 75% 15%, rgba(47, 124, 255, 0.5), transparent 26%),
    linear-gradient(135deg, #09172f, #050914);
}

body:not(.admin-body) .case-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  translate: -130% 0;
  background: linear-gradient(105deg, transparent 18%, rgba(155, 220, 255, 0.18), transparent 44%);
  transition: translate 700ms ease;
}

body:not(.admin-body) .case-card:hover .case-poster::after {
  translate: 130% 0;
}

body:not(.admin-body) .case-card img {
  opacity: 0.8;
  transition: scale 650ms ease, opacity 650ms ease;
}

body:not(.admin-body) .case-card:hover img {
  scale: 1.06;
  opacity: 1;
}

body:not(.admin-body) .case-overlay {
  background: linear-gradient(180deg, transparent, rgba(3, 7, 18, 0.82) 44%, rgba(3, 7, 18, 0.96));
}

body:not(.admin-body) .case-overlay h3 {
  text-shadow: 0 0 22px rgba(47, 124, 255, 0.36);
}

body:not(.admin-body) .case-overlay .tags span,
body:not(.admin-body) .tags span {
  color: #dceeff;
  border: 1px solid rgba(125, 198, 255, 0.2);
  background: rgba(47, 124, 255, 0.14);
}

body:not(.admin-body) .carousel-btn {
  color: var(--text-bright);
  border-color: var(--line);
  background: rgba(13, 24, 48, 0.84);
}

body:not(.admin-body) .feature-showcase {
  position: relative;
  overflow: hidden;
  border-color: var(--line);
  background:
    linear-gradient(135deg, rgba(12, 24, 48, 0.94), rgba(5, 9, 20, 0.9)),
    radial-gradient(circle at 90% 10%, rgba(47, 124, 255, 0.22), transparent 32%);
  box-shadow: inset 0 0 80px rgba(47, 124, 255, 0.08), 0 30px 100px rgba(0, 0, 0, 0.38);
}

body:not(.admin-body) .feature-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(125, 198, 255, 0.08), transparent),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.018) 19px);
}

body:not(.admin-body) .feature-copy,
body:not(.admin-body) .feature-visual {
  position: relative;
  border-color: var(--line);
  background: rgba(5, 12, 27, 0.66);
  box-shadow: inset 0 0 34px rgba(47, 124, 255, 0.08);
}

body:not(.admin-body) .feature-copy h2 {
  color: var(--text-bright);
  font-family: var(--font-mono);
  text-shadow: 0 0 28px rgba(47, 124, 255, 0.38);
}

body:not(.admin-body) .feature-visual {
  background:
    radial-gradient(circle at 50% 35%, rgba(47, 124, 255, 0.2), transparent 48%),
    rgba(5, 12, 27, 0.66);
}

body:not(.admin-body) .feature-visual img {
  border: 1px solid rgba(125, 198, 255, 0.32);
  box-shadow: 0 0 34px rgba(47, 124, 255, 0.26), 0 24px 70px rgba(0, 0, 0, 0.42);
}

body:not(.admin-body) .feature-showcase .strength-grid article,
body:not(.admin-body) .feature-showcase .promise-grid article,
body:not(.admin-body) .feature-showcase .source-list article {
  color: var(--text-bright);
  border-color: rgba(107, 165, 255, 0.2);
  background: rgba(9, 18, 38, 0.82);
}

body:not(.admin-body) .feature-showcase .strength-grid h3,
body:not(.admin-body) .feature-showcase .promise-grid h3,
body:not(.admin-body) .source-list strong {
  color: var(--text-bright);
}

body:not(.admin-body) .feature-showcase .strength-grid p,
body:not(.admin-body) .feature-showcase .promise-grid p,
body:not(.admin-body) .feature-showcase .source-list p {
  color: var(--text-soft);
}

body:not(.admin-body) .promise-grid span,
body:not(.admin-body) .strength-grid span,
body:not(.admin-body) .process-step span,
body:not(.admin-body) .about-points span {
  color: #74c7ff;
}

body:not(.admin-body) .partner-card {
  min-height: 136px;
  filter: grayscale(0.2);
}

body:not(.admin-body) .partner-mark {
  background: linear-gradient(135deg, #0f2c64, #0b5cff);
  box-shadow: 0 0 28px rgba(47, 124, 255, 0.28);
}

body:not(.admin-body) .process-line {
  position: relative;
}

body:not(.admin-body) .process-line::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 124, 255, 0.65), transparent);
}

body:not(.admin-body) .process-step {
  position: relative;
}

body:not(.admin-body) .process-step::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(125, 198, 255, 0.72);
  box-shadow: 0 0 28px rgba(47, 124, 255, 0.24);
  transition: opacity 260ms ease;
}

body:not(.admin-body) .process-step.is-visible::after {
  opacity: 1;
}

body:not(.admin-body) .lead-form,
body:not(.admin-body) .contact-section {
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(13, 24, 48, 0.86), rgba(5, 9, 20, 0.76));
}

body:not(.admin-body) .contact-section {
  padding: 52px;
  margin-bottom: 80px;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: inset 0 0 70px rgba(47, 124, 255, 0.08), 0 30px 100px rgba(0, 0, 0, 0.34);
}

body:not(.admin-body) label {
  color: var(--text-soft);
}

body:not(.admin-body) input,
body:not(.admin-body) select,
body:not(.admin-body) textarea {
  color: var(--text-bright);
  border-color: rgba(107, 165, 255, 0.22);
  background: rgba(2, 6, 18, 0.72);
  outline: none;
}

body:not(.admin-body) input:focus,
body:not(.admin-body) select:focus,
body:not(.admin-body) textarea:focus {
  border-color: rgba(125, 198, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(47, 124, 255, 0.14);
}

body:not(.admin-body) input::placeholder,
body:not(.admin-body) textarea::placeholder {
  color: rgba(168, 182, 216, 0.52);
}

body:not(.admin-body) .site-footer {
  color: var(--text-soft);
  border-top-color: var(--line);
  background: rgba(2, 6, 18, 0.72);
}

body:not(.admin-body) .service-card,
body:not(.admin-body) .case-card,
body:not(.admin-body) .feature-showcase,
body:not(.admin-body) .partner-card,
body:not(.admin-body) .faq-card,
body:not(.admin-body) .process-step,
body:not(.admin-body) .metric {
  opacity: 1;
  transform: translateY(0);
  transition: transform 260ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body:not(.admin-body) .service-card.is-visible,
body:not(.admin-body) .case-card.is-visible,
body:not(.admin-body) .feature-showcase.is-visible,
body:not(.admin-body) .partner-card.is-visible,
body:not(.admin-body) .faq-card.is-visible,
body:not(.admin-body) .process-step.is-visible,
body:not(.admin-body) .metric.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gridDrift {
  to {
    background-position: 54px 54px;
  }
}

@keyframes scanline {
  0%,
  100% {
    opacity: 0.42;
  }
  50% {
    opacity: 0.72;
  }
}

@media (max-width: 980px) {
  body:not(.admin-body) .hero {
    min-height: auto;
  }

  body:not(.admin-body) .feature-showcase,
  body:not(.admin-body) .feature-showcase.reverse {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .process-line::before {
    display: none;
  }
}

@media (max-width: 680px) {
  body:not(.admin-body) .hero h1 {
    font-size: 44px;
  }

  body:not(.admin-body) .hero-panel {
    padding: 16px;
  }

  body:not(.admin-body) .contact-section {
    padding: 26px;
  }

  body:not(.admin-body) .feature-copy h2 {
    font-size: 34px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--foreground);
  font-family: var(--font-body);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 86% 8%, rgba(0, 82, 255, 0.11), transparent 28%),
    radial-gradient(circle at 10% 22%, rgba(77, 124, 255, 0.08), transparent 24%),
    var(--background);
}

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

a {
  color: inherit;
}

.site-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(20px, 5vw, 72px);
  background: rgba(250, 250, 250, 0.82);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand span {
  font-family: var(--font-display);
  font-size: 28px;
}

.brand small {
  color: var(--muted-text);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.site-nav nav {
  display: flex;
  gap: 22px;
}

.site-nav nav a {
  color: var(--muted-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero,
.section,
.contact-section,
.dark-section,
.metrics,
.about-section,
.partners-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: center;
  min-height: 680px;
  padding: 54px 0 76px;
}

.hero-copy {
  min-width: 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 82, 255, 0.16);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(0, 82, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(0, 82, 255, 0.1);
  animation: pulse 1.8s ease-in-out infinite;
}

.section-label.inverted {
  border-color: rgba(255, 255, 255, 0.16);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.hero h1,
.section h2,
.dark-section h2,
.contact-section h2,
.login-card h1,
.admin-top h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin: 26px 0 24px;
  font-size: clamp(48px, 6.4vw, 76px);
  line-height: 1.05;
}

.hero h1 em {
  display: inline-block;
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-part {
  display: inline;
}

.hero p,
.section-head p,
.contact-section > div > p {
  color: var(--muted-text);
  font-size: 18px;
  line-height: 1.75;
}

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

.admin-list-page .admin-actions {
  justify-content: flex-end;
  margin: 4px 0 24px;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-tags span {
  padding: 10px 13px;
  border: 1px solid rgba(0, 82, 255, 0.16);
  border-radius: 999px;
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  font-size: 13px;
  font-weight: 900;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 36px rgba(0, 82, 255, 0.24);
}

.btn.ghost {
  color: var(--foreground);
  background: white;
  border-color: var(--border);
}

.hero-panel {
  position: relative;
  min-height: 520px;
}

.floating-card {
  position: absolute;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.main-card {
  inset: 86px 24px auto 0;
  padding: 34px;
  animation: float 7s ease-in-out infinite;
}

.main-card span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.main-card strong {
  display: block;
  margin: 18px 0 12px;
  font-size: 32px;
  line-height: 1.18;
}

.main-card p {
  margin: 0;
  color: var(--muted-text);
  line-height: 1.7;
}

.mini {
  display: grid;
  place-items: center;
  width: 154px;
  height: 154px;
  text-align: center;
}

.mini strong {
  display: block;
  font-size: 24px;
}

.mini span {
  color: var(--muted-text);
  font-size: 13px;
  font-weight: 700;
}

.mini.a {
  right: 0;
  top: 30px;
  animation: float 8s ease-in-out infinite reverse;
}

.mini.b {
  left: 34px;
  bottom: 40px;
  animation: float 6.4s ease-in-out infinite;
}

.ring {
  position: absolute;
  right: 60px;
  bottom: 80px;
  width: 220px;
  height: 220px;
  border: 1px dashed rgba(0, 82, 255, 0.32);
  border-radius: 50%;
  animation: rotate 80s linear infinite;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 88px;
}

.metric {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.metric strong {
  display: block;
  font-size: 36px;
}

.metric span {
  color: var(--muted-text);
  font-weight: 700;
}

.about-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: start;
  padding: 88px 0 46px;
}

.about-section h2 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.12;
}

.about-copy > p {
  margin: 0 0 24px;
  color: var(--muted-text);
  font-size: 18px;
  line-height: 1.85;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.about-points article {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.about-points span,
.partner-card span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
}

.about-points strong {
  display: block;
  margin-top: 10px;
  line-height: 1.5;
}

.section {
  padding: 92px 0;
}

.partners-section {
  padding: 30px 0 92px;
}

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

.section-head.compact {
  margin-bottom: 24px;
}

.section h2,
.dark-section h2,
.contact-section h2 {
  margin: 20px 0 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
}

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

.service-card,
.case-card,
.strength-grid article,
.promise-grid article {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card .icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.service-card h3,
.case-card h3,
.strength-grid h3,
.promise-grid h3 {
  margin: 28px 0 10px;
  font-size: 22px;
}

.service-card p,
.case-card p,
.strength-grid p,
.promise-grid p {
  color: var(--muted-text);
  line-height: 1.7;
}

.case-carousel {
  position: relative;
}

.case-track {
  display: grid;
  grid-auto-columns: calc((100% - 54px) / 4);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 6px 2px 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.case-track::-webkit-scrollbar {
  display: none;
}

.case-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

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

.partner-card {
  min-height: 150px;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.partner-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--foreground), var(--accent));
}

.partner-card strong {
  display: block;
  font-size: 20px;
  text-align: center;
}

.partner-logo {
  max-width: 120px;
  max-height: 72px;
  object-fit: contain;
}

.case-card {
  min-height: 260px;
  padding: 0;
  overflow: hidden;
  scroll-snap-align: start;
  user-select: none;
}

.case-poster {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0f172a;
}

.case-cover {
  width: 100%;
  height: 100%;
  min-height: 260px;
  margin: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(77, 124, 255, 0.4), transparent 30%),
    linear-gradient(135deg, #0f172a, #1e40af);
}

.case-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
  background: var(--muted);
  pointer-events: none;
}

.case-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 84px 18px 18px;
  color: white;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.74) 35%, rgba(15, 23, 42, 0.96));
}

.case-overlay small {
  color: rgba(255, 255, 255, 0.72);
}

.case-overlay h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--foreground);
  background: white;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tags span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(0, 82, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.case-highlights {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.case-highlights li {
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.case-overlay .tags span {
  color: white;
  background: rgba(255, 255, 255, 0.14);
}

.case-highlights li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.dark-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
  padding: 72px;
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(77, 124, 255, 0.26), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(0, 82, 255, 0.18), transparent 26%),
    #0f172a;
}

.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.18;
}

.dark-section > * {
  position: relative;
}

.feature-showcase {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: stretch;
  margin: 34px auto 92px;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  color: var(--foreground);
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.08);
}

.feature-showcase.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.feature-copy {
  display: grid;
  align-content: center;
  min-height: 430px;
  padding: 34px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
  background: #fff;
}

.feature-copy h2 {
  margin: 20px 0 16px;
  font-family: var(--font-mono);
  font-size: clamp(38px, 4.8vw, 68px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    2px 0 0 rgba(0, 82, 255, 0.16),
    0 2px 0 rgba(15, 23, 42, 0.08);
}

.feature-copy > p {
  max-width: 520px;
  margin: 0 0 26px;
  color: var(--muted-text);
  font-size: 17px;
  line-height: 1.8;
}

.feature-visual {
  display: grid;
  place-items: center;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  padding: clamp(18px, 3vw, 42px);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98)),
    #fff;
}

.feature-visual img {
  width: 100%;
  max-width: 620px;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
  filter: saturate(1.06) contrast(1.04);
}

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

.strength-grid article {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.promise-section {
  margin-top: 12px;
  margin-bottom: 50px;
}

.feature-showcase .promise-grid,
.feature-showcase .strength-grid,
.feature-showcase .source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.promise-grid article {
  min-height: 0;
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(15, 23, 42, 0.1);
}

.promise-grid span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
}

.promise-grid p {
  color: var(--muted-text);
}

.strength-grid span {
  color: var(--accent);
  font-family: var(--font-mono);
}

.strength-grid p {
  color: var(--muted-text);
}

.feature-showcase .strength-grid article,
.feature-showcase .promise-grid article,
.feature-showcase .source-list article {
  padding: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-showcase .strength-grid h3,
.feature-showcase .promise-grid h3 {
  margin: 10px 0 8px;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.35;
}

.feature-showcase .strength-grid p,
.feature-showcase .promise-grid p,
.feature-showcase .source-list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

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

.process-step {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
}

.process-step span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
}

.process-step strong {
  display: block;
  margin-top: 12px;
}

.source-section {
  margin-top: 8px;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.source-list article {
  padding: 18px;
}

.source-list strong {
  display: block;
  color: var(--foreground);
  font-family: var(--font-mono);
  font-size: 15px;
}

.source-list p {
  margin: 10px 0 0;
  color: var(--muted-text);
  line-height: 1.7;
}

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

.faq-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.faq-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.faq-card p {
  margin: 0;
  color: var(--muted-text);
  line-height: 1.75;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  padding: 92px 0 110px;
}

.contact-head {
  max-width: 760px;
}

.contact-info {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
  color: var(--muted-text);
  font-size: 16px;
  line-height: 1.7;
}

.wechat-contact {
  display: flex;
  justify-content: center;
  width: fit-content;
  padding: 14px;
  border: 1px solid rgba(107, 165, 255, 0.26);
  border-radius: 24px;
  background: rgba(7, 14, 31, 0.62);
  box-shadow: 0 18px 48px rgba(47, 124, 255, 0.14);
}

.wechat-qr,
.site-wechat-preview {
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #f8fafc;
}

.wechat-qr img,
.site-wechat-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wechat-qr-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--muted-text);
  font-family: var(--mono-font);
  font-weight: 900;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px),
    #f8fafc;
  background-size: 14px 14px;
}

.lead-form,
.login-card,
.admin-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
}

.lead-form {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted-text);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--foreground);
  background: #fff;
}

input::placeholder,
textarea::placeholder {
  color: #cbd5e1;
}

input,
select {
  height: 44px;
  padding: 0 12px;
}

textarea {
  padding: 12px;
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.form-toast {
  margin: 0;
  color: var(--accent);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--border);
  color: var(--muted-text);
  text-align: center;
}

.site-footer span {
  grid-column: 2;
  justify-self: center;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-footer a {
  grid-column: 3;
  justify-self: end;
  text-decoration: none;
}

.admin-body {
  --admin-bg: #f6f7f9;
  --admin-panel: #ffffff;
  --admin-panel-soft: #fafbfc;
  --admin-text: #111827;
  --admin-muted: #6b7280;
  --admin-line: #e5e7eb;
  --admin-primary: #111827;
  --admin-primary-soft: #f3f4f6;
  background: var(--admin-bg);
  color: var(--admin-text);
}

.login-view {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(440px, 100%);
  display: grid;
  gap: 14px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

.admin-side {
  position: sticky;
  top: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  height: 100vh;
  padding: 22px;
  color: white;
  background: #0f172a;
}

.admin-side .brand {
  margin-bottom: 20px;
}

.admin-tab {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.76);
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.admin-tab.active {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.admin-tab.subtle {
  margin-top: 20px;
}

.admin-main {
  min-width: 0;
  padding: 28px;
}

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

.admin-top h1 {
  margin: 0;
  font-size: 42px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.dashboard-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  min-height: 210px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.26);
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(circle at 82% 24%, rgba(56, 189, 248, 0.32), transparent 28%),
    radial-gradient(circle at 18% 0%, rgba(99, 102, 241, 0.32), transparent 30%),
    linear-gradient(135deg, #07111f, #0f172a 58%, #111827);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
}

.dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.dashboard-hero > div {
  position: relative;
  z-index: 1;
}

.dashboard-kicker,
.dashboard-panel-head span {
  color: #7dd3fc;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dashboard-hero h2 {
  max-width: 680px;
  margin: 14px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 0;
}

.dashboard-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(226, 232, 240, 0.76);
  font-size: 16px;
  line-height: 1.8;
}

.dashboard-orbit {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 168px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.34), rgba(37, 99, 235, 0.1) 44%, transparent 68%);
}

.dashboard-orbit i {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(125, 211, 252, 0.34);
  border-radius: 50%;
}

.dashboard-orbit i:nth-child(2) {
  inset: 38px;
  transform: rotateX(64deg);
}

.dashboard-orbit i:nth-child(3) {
  inset: 58px;
  background: #7dd3fc;
  box-shadow: 0 0 36px rgba(125, 211, 252, 0.8);
}

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

.dashboard-stat,
.dashboard-panel {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.9));
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.dashboard-stat {
  position: relative;
  min-height: 138px;
  padding: 18px;
  overflow: hidden;
}

.dashboard-stat::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.08);
}

.dashboard-stat.primary {
  color: white;
  background: linear-gradient(135deg, #0052ff, #0f172a);
}

.dashboard-stat span,
.dashboard-stat small {
  display: block;
  position: relative;
  z-index: 1;
}

.dashboard-stat span {
  color: inherit;
  opacity: 0.72;
  font-size: 13px;
  font-weight: 900;
}

.dashboard-stat strong {
  position: relative;
  z-index: 1;
  margin: 12px 0 8px;
  font-size: 46px;
  line-height: 1;
}

.dashboard-stat small {
  color: var(--muted-text);
  font-weight: 800;
}

.dashboard-stat.primary small {
  color: rgba(226, 232, 240, 0.78);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.dashboard-panel {
  padding: 20px;
}

.dashboard-panel.wide {
  min-height: 260px;
}

.dashboard-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 18px;
}

.dashboard-panel-head h3 {
  margin: 0;
  font-size: 22px;
}

.funnel-list,
.dashboard-list {
  display: grid;
  gap: 12px;
}

.funnel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: center;
}

.funnel-row span {
  color: var(--muted-text);
  font-weight: 800;
}

.funnel-row strong {
  font-size: 20px;
  text-align: right;
}

.funnel-row i {
  grid-column: 1 / -1;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.funnel-row i::before {
  content: "";
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0052ff, #38bdf8);
}

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

.health-grid div {
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f8fafc;
}

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

.health-grid strong {
  font-size: 30px;
}

.health-grid span {
  margin-top: 6px;
  color: var(--muted-text);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-list-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f8fafc;
}

.dashboard-list-row strong,
.dashboard-list-row span,
.dashboard-list-row em {
  min-width: 0;
}

.dashboard-list-row span {
  overflow: hidden;
  color: var(--muted-text);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-list-row em {
  padding: 5px 9px;
  border-radius: 999px;
  color: #0369a1;
  background: #e0f2fe;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.dashboard-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  color: var(--muted-text);
  background: #f8fafc;
}

.admin-body .login-card,
.admin-body .admin-card,
.admin-body .admin-module-card,
.admin-body .dashboard-stat,
.admin-body .dashboard-panel,
.admin-body .case-cover-panel,
.admin-body .case-form-panel,
.admin-body .editable-item,
.admin-body .asset-card,
.admin-body .health-grid div,
.admin-body .dashboard-list-row,
.admin-body .visibility-item,
.admin-body .site-wechat-config {
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  background: var(--admin-panel);
  box-shadow: none;
}

.admin-body .admin-shell {
  grid-template-columns: 232px 1fr;
  background: var(--admin-bg);
}

.admin-body .admin-side {
  padding: 18px 14px;
  color: var(--admin-text);
  background: var(--admin-panel);
  border-right: 1px solid var(--admin-line);
}

.admin-body .admin-side .brand {
  padding: 10px 10px 18px;
  margin-bottom: 8px;
  color: var(--admin-text);
}

.admin-body .admin-side .brand span {
  color: var(--admin-text);
}

.admin-body .admin-side .brand small {
  color: var(--admin-muted);
}

.admin-body .admin-tab {
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  color: var(--admin-muted);
  background: transparent;
  font-weight: 700;
}

.admin-body .admin-tab:hover {
  color: var(--admin-text);
  background: var(--admin-primary-soft);
}

.admin-body .admin-tab.active {
  color: var(--admin-text);
  background: var(--admin-primary-soft);
}

.admin-body .admin-main {
  padding: 24px;
}

.admin-body .admin-top {
  min-height: 64px;
  padding: 0;
  margin-bottom: 18px;
  border-bottom: 0;
}

.admin-body .admin-top h1 {
  color: var(--admin-text);
  font-size: 30px;
  letter-spacing: 0;
}

.admin-body .eyebrow,
.admin-body .dashboard-kicker,
.admin-body .dashboard-panel-head span,
.admin-body .case-editor-head span,
.admin-body .case-panel-title span,
.admin-body .config-edit-label {
  color: var(--admin-muted);
  letter-spacing: 0.08em;
}

.admin-body .btn,
.admin-body .mini-btn {
  border-radius: 10px;
  box-shadow: none;
}

.admin-body .btn.primary,
.admin-body .mini-btn.primary {
  color: #ffffff;
  border-color: var(--admin-primary);
  background: var(--admin-primary);
}

.admin-body .btn.ghost,
.admin-body .mini-btn {
  color: var(--admin-text);
  border: 1px solid var(--admin-line);
  background: var(--admin-panel);
}

.admin-body .btn:hover,
.admin-body .mini-btn:hover {
  transform: none;
}

.admin-body .dashboard-hero {
  min-height: 168px;
  color: var(--admin-text);
  border-color: var(--admin-line);
  border-radius: 18px;
  background: var(--admin-panel);
  box-shadow: none;
}

.admin-body .dashboard-hero::before,
.admin-body .dashboard-orbit,
.admin-body .dashboard-stat::after,
.admin-body .case-upload-preview::after {
  display: none;
}

.admin-body .dashboard-hero h2 {
  margin: 10px 0;
  color: var(--admin-text);
  font-size: 34px;
}

.admin-body .dashboard-hero p {
  color: var(--admin-muted);
}

.admin-body .dashboard-stat.primary {
  color: var(--admin-text);
  background: var(--admin-panel);
}

.admin-body .dashboard-stat strong,
.admin-body .health-grid strong,
.admin-body .admin-card strong {
  color: var(--admin-text);
  font-size: 34px;
}

.admin-body .dashboard-stat span,
.admin-body .dashboard-stat small,
.admin-body .dashboard-list-row span,
.admin-body .health-grid span,
.admin-body .admin-module-card p,
.admin-body .admin-module-card small {
  color: var(--admin-muted);
}

.admin-body .admin-module-card span,
.admin-body .module-status,
.admin-body .dashboard-list-row em {
  color: var(--admin-text);
  background: var(--admin-primary-soft);
}

.admin-body .admin-module-card {
  min-height: 120px;
  padding: 18px;
}

.admin-body .admin-module-card span {
  min-width: auto;
  height: 28px;
  border-radius: 8px;
}

.admin-body input,
.admin-body select,
.admin-body textarea {
  border-color: var(--admin-line);
  border-radius: 10px;
  background: var(--admin-panel-soft);
}

.admin-body input:focus,
.admin-body select:focus,
.admin-body textarea:focus {
  border-color: #9ca3af;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.admin-body input::placeholder,
.admin-body textarea::placeholder {
  color: #b6beca;
}

.admin-body .case-editor {
  background: var(--admin-panel);
}

.admin-body .case-editor-head {
  border-color: var(--admin-line);
  background: var(--admin-panel);
}

.admin-body .case-upload-preview {
  background: var(--admin-primary-soft);
}

.admin-body .case-file-label {
  color: var(--admin-text);
  border-color: var(--admin-line);
  border-style: dashed;
  background: var(--admin-panel-soft);
  box-shadow: none;
}

.admin-body .case-file-label::before {
  color: var(--admin-text);
  background: var(--admin-panel);
  border: 1px solid var(--admin-line);
  box-shadow: none;
}

.admin-body .case-file-label:hover {
  border-color: #9ca3af;
  box-shadow: none;
  transform: none;
}

.admin-body .funnel-row i {
  background: #eef0f3;
}

.admin-body .funnel-row i::before {
  background: var(--admin-primary);
}

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

.admin-module-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.admin-module-card span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 30px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  color: white;
  font-family: var(--font-mono);
  font-size: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.admin-module-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.admin-module-card p {
  margin: 0;
  color: var(--muted-text);
  line-height: 1.65;
}

.admin-module-card small {
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 800;
}

.case-admin-card {
  grid-template-columns: 150px minmax(0, 1fr) auto;
}

.case-mini-cover,
.case-mini-cover img,
.case-mini-cover .case-cover {
  width: 150px;
  height: 92px;
  min-height: 0;
  overflow: hidden;
  border-radius: 14px;
  object-fit: cover;
}

.case-mini-cover {
  border: 1px solid var(--border);
  background: #f8fafc;
}

.admin-form-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-bottom: 4px;
}

.admin-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.admin-card strong {
  display: block;
  font-size: 36px;
}

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

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

.editable-item {
  display: grid;
  grid-template-columns: 1fr 1fr 86px 90px;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
}

.case-editor {
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 82, 255, 0.1), transparent 32%),
    #ffffff;
}

.case-editor-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.case-editor-head span,
.case-panel-title span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-editor-head h3 {
  margin: 5px 0 0;
  font-size: 26px;
}

.case-editor-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  padding: 22px;
}

.case-cover-panel,
.case-form-panel {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.case-cover-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 16px;
}

.case-upload-preview {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #0f172a;
}

.case-upload-preview::after {
  content: "COVER";
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(15, 23, 42, 0.45);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.case-upload-preview img,
.case-upload-preview .case-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  margin: 0;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.case-form-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.case-content-panel,
.case-gallery-panel {
  grid-column: 1 / -1;
}

.case-content-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
  align-items: stretch;
}

.case-tag-stack {
  display: grid;
  align-content: start;
  gap: 12px;
}

.case-description-field {
  align-content: stretch;
}

.case-description-field textarea {
  min-height: 158px;
  height: 100%;
}

.case-gallery-storage {
  display: none;
}

.case-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-panel-title h4 {
  margin: 0;
  font-size: 17px;
}

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

.case-field-label {
  display: grid;
  gap: 8px;
  color: var(--muted-text);
  font-size: 13px;
  font-weight: 800;
}

.case-field-label input,
.case-field-label select,
.case-form-panel textarea {
  background: #f8fafc;
}

.case-field-label input::placeholder,
.case-form-panel textarea::placeholder {
  color: #cbd5e1;
}

.case-upload-actions {
  display: grid;
  gap: 10px;
}

.case-file-label {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 72px;
  padding: 14px 14px 14px 44px;
  border: 1px dashed rgba(0, 82, 255, 0.34);
  border-radius: 16px;
  color: var(--foreground);
  background:
    linear-gradient(135deg, rgba(0, 82, 255, 0.08), rgba(255, 255, 255, 0.92)),
    #f8fafc;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.case-file-label::before {
  content: "+";
  position: absolute;
  left: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: translateY(-50%);
  box-shadow: 0 10px 24px rgba(0, 82, 255, 0.24);
}

.case-file-label:hover {
  border-color: rgba(0, 82, 255, 0.7);
  box-shadow: 0 16px 34px rgba(0, 82, 255, 0.12);
  transform: translateY(-1px);
}

.case-file-label span,
.case-file-label small {
  display: block;
}

.case-file-label small {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.case-file-label input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.partner-row {
  grid-template-columns: 120px 1fr 1fr 100px 90px;
  align-items: start;
}

.partner-file-label {
  grid-column: 2 / 3;
}

.partner-row [data-field="industry"] {
  grid-column: 3 / -1;
}

.partner-upload-preview {
  grid-row: span 3;
}

.admin-form-head {
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 0;
}

.admin-form-head h3 {
  margin: 4px 0 0;
}

.config-edit-label {
  display: block;
  color: var(--muted-text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-config-block {
  display: none;
}

.site-config-block.is-active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.site-config-block > h3,
.site-config-block > .admin-list,
.site-config-block > .editable-item,
.site-config-block > .site-wechat-config {
  grid-column: 1 / -1;
}

.site-config-hidden {
  display: none !important;
}

.partner-upload-preview img,
.partner-upload-preview .partner-mark {
  width: 96px;
  height: 96px;
  margin: 0;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
}

.site-wechat-config {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr) 150px;
  gap: 14px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f8fafc;
}

.site-wechat-upload input {
  height: auto;
  padding: 10px 0 0;
  border: 0;
}

.partner-file-label input {
  height: auto;
  padding: 10px 0 0;
  border: 0;
}

.promise-row,
.source-row,
.faq-row {
  grid-template-columns: 1fr 2fr 90px;
}

.wide-row-field {
  grid-column: 1 / -1;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  table-layout: fixed;
}

.admin-table th,
.admin-table td {
  display: table-cell;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.45;
}

.admin-table th {
  color: var(--muted-text);
  background: #f8fafc;
  font-size: 12px;
  text-align: left;
}

.table-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  cursor: pointer;
}

.mini-btn.primary {
  color: white;
  background: var(--foreground);
}

.mini-btn.danger {
  width: 100%;
  margin-top: 12px;
  color: #be123c;
  border-color: #fecdd3;
  background: #fff1f2;
}

.mini-btn.danger:hover {
  color: #ffffff;
  border-color: #e11d48;
  background: #e11d48;
}

.module-status {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.module-status.show {
  color: #0369a1;
  background: #e0f2fe;
}

.module-status.hide {
  color: #9f1239;
  background: #ffe4e6;
}

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

.visibility-item {
  grid-template-columns: minmax(0, 1fr) 110px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f8fafc;
}

.visibility-item span,
.visibility-item small,
.visibility-item strong {
  display: block;
}

.visibility-item strong {
  color: var(--foreground);
  font-size: 15px;
}

.visibility-item small {
  margin-top: 5px;
  color: var(--muted-text);
  line-height: 1.45;
}

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

.asset-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
}

.asset-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--muted);
}

.asset-card a {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  word-break: break-all;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes galaxySphereSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes galaxyTextureSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes galaxyBeltDrift {
  to {
    transform: rotate(342deg) scaleX(1.36) scaleY(0.32);
  }
}

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

  .hero,
  .contact-section,
  .dark-section,
  .about-section,
  .feature-showcase,
  .feature-showcase.reverse,
  .admin-shell {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    min-height: 420px;
  }

  .case-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

  .feature-copy,
  .feature-visual {
    min-height: auto;
  }

  .feature-visual img {
    max-height: 300px;
  }

  .service-grid,
  .strength-grid,
  .promise-grid,
  .source-list,
  .faq-grid,
  .metrics,
  .process-line,
  .dashboard-metrics,
  .dashboard-grid,
  .admin-grid,
  .asset-grid,
  .partner-grid,
  .about-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-side {
    position: static;
    height: auto;
  }
}

@media (max-width: 680px) {
  .hero,
  .section,
  .contact-section,
  .dark-section,
  .feature-showcase,
  .metrics,
  .about-section,
  .partners-section {
    width: calc(100% - 40px);
    overflow: hidden;
  }

  .site-nav nav {
    flex-wrap: wrap;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.12;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .hero-title-part,
  .hero h1 em {
    display: block;
  }

  .hero-title-break {
    display: none;
  }

  .hero p {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

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

  .trust-tags span {
    min-width: 0;
    text-align: center;
  }

  .hero-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    min-height: auto;
  }

  .floating-card {
    position: static;
    border-radius: 24px;
    animation: none;
  }

  .main-card {
    grid-column: 1 / -1;
    padding: 22px;
  }

  .main-card strong {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .mini {
    width: auto;
    height: 118px;
  }

  .ring {
    display: none;
  }

  .service-grid,
  .strength-grid,
  .promise-grid,
  .source-list,
  .feature-showcase .promise-grid,
  .feature-showcase .strength-grid,
  .feature-showcase .source-list,
  .faq-grid,
  .metrics,
  .process-line,
  .lead-form,
  .admin-form,
  .dashboard-hero,
  .dashboard-metrics,
  .dashboard-grid,
  .dashboard-list-row,
  .admin-grid,
  .asset-grid,
  .partner-grid,
  .about-points,
  .editable-item,
  .case-editor-grid,
  .case-form-grid,
  .case-content-grid,
  .partner-row {
    grid-template-columns: 1fr;
  }

  .case-track {
    grid-auto-columns: 88%;
  }

  .partner-file-label,
  .partner-row [data-field="industry"],
  .case-file-label {
    grid-column: 1;
  }

  .dark-section {
    padding: 32px;
  }

  .feature-showcase {
    padding: 14px;
    border-radius: 22px;
  }

  .feature-copy {
    padding: 24px;
  }

  .feature-copy h2 {
    font-size: 38px;
  }

  .feature-visual {
    padding: 16px;
  }

  .feature-visual img {
    max-height: 220px;
    border-radius: 14px;
  }
}

/* Final public-site title system: keep all visible headings in one visual family. */
body:not(.admin-body) {
  --title-font: "PingFang SC", "Microsoft YaHei", Inter, ui-sans-serif, system-ui, sans-serif;
  --title-color: #f4f8ff;
  --title-glow: 0 0 30px rgba(47, 124, 255, 0.28);
}

body:not(.admin-body) .hero h1,
body:not(.admin-body) .section h2,
body:not(.admin-body) .dark-section h2,
body:not(.admin-body) .about-section h2,
body:not(.admin-body) .contact-section h2,
body:not(.admin-body) .feature-copy h2,
body:not(.admin-body) .cases-section .section-head h2,
body:not(.admin-body) #services .section-head h2,
body:not(.admin-body) .partners-section .section-head h2,
body:not(.admin-body) .process .section-head h2,
body:not(.admin-body) .faq-section .section-head h2 {
  font-family: var(--title-font);
  color: var(--title-color);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
  text-transform: none;
  text-shadow: var(--title-glow);
}

body:not(.admin-body) .hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(58px, 7vw, 96px);
}

body:not(.admin-body) .section h2,
body:not(.admin-body) .dark-section h2,
body:not(.admin-body) .about-section h2,
body:not(.admin-body) .contact-section h2,
body:not(.admin-body) .feature-copy h2,
body:not(.admin-body) .cases-section .section-head h2,
body:not(.admin-body) #services .section-head h2,
body:not(.admin-body) .partners-section .section-head h2,
body:not(.admin-body) .process .section-head h2,
body:not(.admin-body) .faq-section .section-head h2 {
  margin: 18px 0 0;
  font-size: clamp(42px, 4.6vw, 64px);
}

body:not(.admin-body) .hero h1 em {
  color: transparent;
  background: linear-gradient(90deg, #7ee3ff 0%, #2f7cff 52%, #b999ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

body:not(.admin-body) .service-card h3,
body:not(.admin-body) .case-card h3,
body:not(.admin-body) .case-overlay h3,
body:not(.admin-body) .strength-grid h3,
body:not(.admin-body) .promise-grid h3,
body:not(.admin-body) .feature-showcase .strength-grid h3,
body:not(.admin-body) .feature-showcase .promise-grid h3,
body:not(.admin-body) .faq-card h3,
body:not(.admin-body) .contact-card h3,
body:not(.admin-body) .partner-card h3 {
  font-family: var(--title-font);
  color: var(--title-color);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: none;
}

body:not(.admin-body) .service-card:nth-child(1) h3 {
  font-size: 24px;
}

@media (max-width: 680px) {
  body:not(.admin-body) .hero h1 {
    font-size: 44px;
  }

  body:not(.admin-body) .section h2,
  body:not(.admin-body) .dark-section h2,
  body:not(.admin-body) .about-section h2,
  body:not(.admin-body) .contact-section h2,
  body:not(.admin-body) .feature-copy h2,
  body:not(.admin-body) .cases-section .section-head h2,
  body:not(.admin-body) #services .section-head h2,
  body:not(.admin-body) .partners-section .section-head h2,
  body:not(.admin-body) .process .section-head h2,
  body:not(.admin-body) .faq-section .section-head h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  body:not(.admin-body) .service-card h3,
  body:not(.admin-body) .case-card h3,
  body:not(.admin-body) .case-overlay h3,
  body:not(.admin-body) .strength-grid h3,
  body:not(.admin-body) .promise-grid h3,
  body:not(.admin-body) .feature-showcase .strength-grid h3,
  body:not(.admin-body) .feature-showcase .promise-grid h3,
  body:not(.admin-body) .faq-card h3,
  body:not(.admin-body) .contact-card h3,
  body:not(.admin-body) .partner-card h3,
  body:not(.admin-body) .service-card:nth-child(1) h3 {
    font-size: 19px;
  }
}

/* Services: four equal product cards with title over the visual layer. */
body:not(.admin-body) #services {
  padding-top: 44px;
}

body:not(.admin-body) #services .section-head {
  max-width: 980px;
  display: block;
}

body:not(.admin-body) .service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  align-items: stretch;
}

body:not(.admin-body) .service-card,
body:not(.admin-body) .service-card:nth-child(1),
body:not(.admin-body) .service-card:nth-child(2),
body:not(.admin-body) .service-card:nth-child(3),
body:not(.admin-body) .service-card:nth-child(4),
body:not(.admin-body) .service-card:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

body:not(.admin-body) .service-card {
  min-height: 360px;
  height: 100%;
  display: grid;
  grid-template-rows: 210px 1fr;
  align-content: stretch;
  gap: 18px;
  padding: 14px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(12, 24, 50, 0.9), rgba(4, 9, 22, 0.94)),
    #050914;
}

body:not(.admin-body) .service-card::before {
  opacity: 0;
}

body:not(.admin-body) .service-visual {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(107, 165, 255, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(4, 9, 22, 0.06), rgba(4, 9, 22, 0.82)),
    radial-gradient(circle at 72% 34%, rgba(126, 227, 255, 0.34), transparent 25%),
    radial-gradient(circle at 28% 18%, rgba(124, 92, 255, 0.26), transparent 24%),
    linear-gradient(135deg, rgba(15, 34, 73, 0.96), rgba(5, 9, 20, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body:not(.admin-body) .service-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  opacity: 0.56;
  background:
    linear-gradient(rgba(126, 227, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 227, 255, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

body:not(.admin-body) .service-visual::after {
  content: "";
  position: absolute;
  top: 38px;
  right: 28px;
  width: 108px;
  aspect-ratio: 1;
  border: 1px solid rgba(126, 227, 255, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(126, 227, 255, 0.16), transparent 58%),
    linear-gradient(135deg, rgba(47, 124, 255, 0.08), transparent);
  box-shadow: 0 0 44px rgba(47, 124, 255, 0.22), inset 0 0 28px rgba(126, 227, 255, 0.08);
}

body:not(.admin-body) .service-card .icon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-family: var(--font-mono);
  color: #f4f8ff;
  background: linear-gradient(135deg, #126dff, #7c5cff);
}

body:not(.admin-body) .service-illustration {
  position: absolute;
  top: 57px;
  right: 49px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: #9fe8ff;
  filter: drop-shadow(0 0 18px rgba(47, 124, 255, 0.55));
}

body:not(.admin-body) .service-illustration svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body:not(.admin-body) .service-card h3,
body:not(.admin-body) .service-card:nth-child(1) h3 {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  font-size: 21px;
  color: #f4f8ff;
  text-shadow: 0 0 24px rgba(47, 124, 255, 0.38);
}

body:not(.admin-body) .service-card p {
  min-height: 92px;
  margin: 0;
  padding: 0 4px 6px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.72;
}

body:not(.admin-body) .service-card:hover .service-visual {
  border-color: rgba(126, 227, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 40px rgba(47, 124, 255, 0.18);
}

body:not(.admin-body) .service-card:hover .service-illustration {
  color: #f4f8ff;
  transform: translateY(-3px) scale(1.04);
  transition: transform 220ms ease, color 220ms ease;
}

@media (max-width: 980px) {
  body:not(.admin-body) .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body:not(.admin-body) .service-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .service-card {
    min-height: 320px;
    grid-template-rows: 190px 1fr;
  }

  body:not(.admin-body) .service-visual {
    min-height: 190px;
  }
}

body:not(.admin-body) .form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 14px;
  align-items: center;
}

body:not(.admin-body) .form-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

body:not(.admin-body) .contact-info {
  border-top: 0;
  padding-top: 0;
}

body:not(.admin-body) .form-toast {
  grid-column: 1 / -1;
}

@media (max-width: 680px) {
  body:not(.admin-body) .form-actions {
    grid-template-columns: 1fr;
  }

  .site-wechat-config {
    grid-template-columns: 1fr;
  }

  .wechat-qr,
  .site-wechat-preview {
    width: 112px;
    height: 112px;
  }
}

/* Feature modules: move the main title onto each image/display panel. */
body:not(.admin-body) .feature-visual {
  position: relative;
  isolation: isolate;
}

body:not(.admin-body) .feature-visual::after {
  content: "";
  position: absolute;
  inset: clamp(18px, 3vw, 42px);
  z-index: 1;
  border-radius: 18px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(47, 124, 255, 0.32), transparent 42%),
    linear-gradient(180deg, rgba(2, 6, 18, 0.74) 0%, rgba(2, 6, 18, 0.28) 34%, rgba(2, 6, 18, 0.1) 100%);
}

body:not(.admin-body) .feature-visual img {
  position: relative;
  z-index: 0;
}

body:not(.admin-body) .feature-visual .visual-title {
  position: absolute;
  top: clamp(34px, 4.5vw, 72px);
  left: 50%;
  z-index: 2;
  margin: 0;
  width: min(82%, 620px);
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--title-font);
  color: var(--title-color);
  font-size: clamp(42px, 4.6vw, 64px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(47, 124, 255, 0.38), 0 10px 32px rgba(0, 0, 0, 0.5);
}

body:not(.admin-body) .feature-copy {
  align-content: center;
}

body:not(.admin-body) .feature-copy .section-label {
  margin-bottom: 24px;
}

@media (max-width: 680px) {
  body:not(.admin-body) .feature-visual .visual-title {
    top: 28px;
    left: 50%;
    width: min(84%, 340px);
    font-size: 34px;
  }
}

/* Case detail page */
body:not(.admin-body) .case-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

body:not(.admin-body) .case-card:hover .case-link {
  color: inherit;
}

body:not(.admin-body) .case-detail-page {
  position: relative;
  min-height: 100vh;
  padding: 108px 0 90px;
}

body:not(.admin-body) .case-detail-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 76% 20%, rgba(47, 124, 255, 0.22), transparent 28%),
    radial-gradient(circle at 20% 44%, rgba(124, 92, 255, 0.18), transparent 28%),
    linear-gradient(rgba(126, 227, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 227, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 80px 80px, 80px 80px;
}

body:not(.admin-body) .case-detail-hero {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

body:not(.admin-body) .case-detail-copy,
body:not(.admin-body) .case-detail-visual,
body:not(.admin-body) .case-detail-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(13, 24, 48, 0.86), rgba(5, 9, 20, 0.78));
  box-shadow: inset 0 0 70px rgba(47, 124, 255, 0.08), 0 30px 100px rgba(0, 0, 0, 0.34);
}

body:not(.admin-body) .case-detail-copy {
  min-height: 560px;
  display: grid;
  align-content: center;
  padding: clamp(34px, 5vw, 64px);
}

body:not(.admin-body) .case-detail-copy h1 {
  margin: 22px 0 18px;
  font-family: var(--title-font);
  color: var(--title-color);
  font-size: clamp(54px, 6vw, 92px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: 0;
  text-shadow: var(--title-glow);
}

body:not(.admin-body) .case-detail-copy p {
  max-width: 680px;
  margin: 0 0 26px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.86;
}

body:not(.admin-body) .case-project-description {
  max-width: 720px;
  margin: 0 0 26px;
  padding: 18px;
  border: 1px solid rgba(107, 165, 255, 0.22);
  border-radius: 18px;
  color: var(--text-soft);
  background: rgba(4, 10, 24, 0.46);
  line-height: 1.82;
  white-space: pre-line;
}

body:not(.admin-body) .case-detail-tags {
  margin-bottom: 28px;
}

body:not(.admin-body) .case-detail-visual {
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(18px, 3vw, 42px);
  position: relative;
}

body:not(.admin-body) .case-detail-visual::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 70% 24%, rgba(126, 227, 255, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(2, 6, 18, 0.1), rgba(2, 6, 18, 0.42));
  pointer-events: none;
}

body:not(.admin-body) .case-detail-visual img,
body:not(.admin-body) .case-detail-visual .case-cover {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

body:not(.admin-body) .case-gallery {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 460px;
}

body:not(.admin-body) .case-gallery-stage {
  width: 100%;
  height: 100%;
  min-height: 460px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
}

body:not(.admin-body) .case-gallery-stage img {
  min-height: 460px;
  transition: transform 320ms ease;
}

body:not(.admin-body) .case-gallery-stage:hover img {
  transform: scale(1.025);
}

body:not(.admin-body) .case-gallery-btn,
body:not(.admin-body) .case-lightbox-nav,
body:not(.admin-body) .case-lightbox-close {
  display: grid;
  place-items: center;
  border: 1px solid rgba(126, 227, 255, 0.34);
  color: #eaf6ff;
  background: rgba(4, 10, 24, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

body:not(.admin-body) .case-gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transform: translateY(-50%);
}

body:not(.admin-body) .case-gallery-btn.prev {
  left: 14px;
}

body:not(.admin-body) .case-gallery-btn.next {
  right: 14px;
}

body:not(.admin-body) .case-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

body:not(.admin-body) .case-gallery-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(234, 246, 255, 0.42);
  cursor: pointer;
}

body:not(.admin-body) .case-gallery-dots button.active {
  width: 22px;
  border-radius: 999px;
  background: #7ee3ff;
}

body:not(.admin-body) .case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 44px;
  background: rgba(1, 5, 16, 0.88);
  backdrop-filter: blur(12px);
}

body:not(.admin-body) .case-lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 86vh;
  border-radius: 22px;
  object-fit: contain;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.56);
}

body:not(.admin-body) .case-lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 26px;
}

body:not(.admin-body) .case-lightbox-nav {
  position: fixed;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transform: translateY(-50%);
}

body:not(.admin-body) .case-lightbox-nav.prev {
  left: 24px;
}

body:not(.admin-body) .case-lightbox-nav.next {
  right: 24px;
}

body:not(.admin-body) .case-detail-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 30px;
  margin-top: 22px;
  padding: clamp(28px, 4vw, 48px);
}

body:not(.admin-body) .case-detail-panel h2 {
  margin: 18px 0 0;
  font-family: var(--title-font);
  color: var(--title-color);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

body:not(.admin-body) .case-detail-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body:not(.admin-body) .case-detail-points article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(107, 165, 255, 0.24);
  border-radius: 18px;
  background: rgba(4, 10, 24, 0.62);
}

body:not(.admin-body) .case-detail-points span {
  color: #7ee3ff;
  font-family: var(--font-mono);
  font-size: 12px;
}

body:not(.admin-body) .case-detail-points strong {
  display: block;
  margin-top: 20px;
  color: var(--text-soft);
  line-height: 1.7;
}

@media (max-width: 980px) {
  body:not(.admin-body) .case-detail-hero,
  body:not(.admin-body) .case-detail-panel {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .case-detail-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body:not(.admin-body) .case-detail-hero {
    width: calc(100% - 32px);
  }

  body:not(.admin-body) .case-detail-copy,
  body:not(.admin-body) .case-detail-visual {
    min-height: auto;
  }

  body:not(.admin-body) .case-detail-copy h1 {
    font-size: 42px;
  }
}

/* Final public spacing system: tighter and consistent section rhythm. */
body:not(.admin-body) {
  --section-gap: 72px;
  --section-gap-mobile: 46px;
}

body:not(.admin-body) .hero {
  padding-top: 64px;
  padding-bottom: 54px;
}

body:not(.admin-body) .metrics {
  margin-top: -34px;
  margin-bottom: var(--section-gap);
}

body:not(.admin-body) .about-section,
body:not(.admin-body) .cases-section,
body:not(.admin-body) #services,
body:not(.admin-body) .partners-section,
body:not(.admin-body) .process,
body:not(.admin-body) .faq-section,
body:not(.admin-body) .feature-showcase {
  margin-top: 0;
  margin-bottom: var(--section-gap);
  padding-top: 0;
  padding-bottom: 0;
}

body:not(.admin-body) .contact-section {
  margin-top: 0;
  margin-bottom: var(--section-gap);
  padding: 42px;
}

body:not(.admin-body) .section-head,
body:not(.admin-body) .section-head.compact {
  margin-bottom: 26px;
}

body:not(.admin-body) .cases-section .section-head,
body:not(.admin-body) .partners-section .section-head,
body:not(.admin-body) .process .section-head,
body:not(.admin-body) .faq-section .section-head {
  margin-bottom: 0;
}

body:not(.admin-body) .about-section > div:first-child {
  min-height: 300px;
}

body:not(.admin-body) .feature-copy,
body:not(.admin-body) .feature-visual {
  min-height: 450px;
}

body:not(.admin-body) .case-carousel,
body:not(.admin-body) .case-track {
  padding-top: 0;
}

body:not(.admin-body) .cases-section {
  display: block;
}

body:not(.admin-body) .cases-section .section-head {
  position: static;
  top: auto;
  margin-bottom: 22px;
}

body:not(.admin-body) .case-carousel {
  width: 100%;
}

body:not(.admin-body) .case-track {
  grid-auto-columns: calc((100% - 64px) / 5);
  gap: 16px;
  padding: 0 2px 18px;
}

body:not(.admin-body) .case-card,
body:not(.admin-body) .case-poster,
body:not(.admin-body) .case-cover {
  min-height: 238px;
}

body:not(.admin-body) .case-card img {
  height: 238px;
}

body:not(.admin-body) .carousel-controls {
  justify-content: center;
  margin-top: 10px;
}

body:not(.admin-body) .contact-section {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

body:not(.admin-body) .contact-head {
  grid-column: 1;
  grid-row: 1;
  position: static;
  top: auto;
}

body:not(.admin-body) .wechat-contact {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  margin-top: -6px;
}

body:not(.admin-body) .lead-form {
  grid-column: 2;
  grid-row: 1 / span 2;
}

body:not(.admin-body) .hero-panel .main-card {
  inset: 92px 34px auto 34px;
  min-height: 210px;
  z-index: 2;
}

body:not(.admin-body) .hero-panel .mini {
  display: none;
}

body:not(.admin-body) .hero-panel .mini.a {
  right: 52px;
}

body:not(.admin-body) .hero-panel .mini.b {
  left: 52px;
}

body:not(.admin-body) .hero-panel .ring {
  right: 52px;
  bottom: 54px;
  width: 190px;
  height: 190px;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.94) 0 2px, transparent 3px),
    radial-gradient(circle at 67% 36%, rgba(163, 220, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 68%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px),
    radial-gradient(circle at 38% 38%, rgba(135, 224, 255, 0.52), transparent 24%),
    radial-gradient(circle at 70% 72%, rgba(125, 92, 255, 0.42), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(25, 86, 185, 0.9), rgba(6, 15, 40, 0.96) 58%, rgba(1, 5, 16, 0.98) 74%);
  box-shadow:
    inset -22px -18px 38px rgba(0, 0, 0, 0.56),
    inset 18px 14px 28px rgba(126, 227, 255, 0.2),
    0 0 34px rgba(47, 124, 255, 0.42),
    0 0 86px rgba(72, 119, 255, 0.2);
  animation: galaxySphereSpin 38s linear infinite;
  z-index: 4;
}

body:not(.admin-body) .hero-panel .ring::before {
  content: "";
  position: absolute;
  inset: -28px -18px;
  border-radius: 50%;
  background:
    conic-gradient(from 18deg, transparent 0 18%, rgba(142, 209, 255, 0.72) 21%, rgba(93, 111, 255, 0.24) 28%, transparent 34% 100%);
  filter: blur(0.4px);
  transform: rotate(-18deg) scaleX(1.36) scaleY(0.32);
  animation: galaxyBeltDrift 18s linear infinite;
}

body:not(.admin-body) .hero-panel .ring::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 18% 42%, rgba(255, 255, 255, 0.84) 0 1px, transparent 2px),
    radial-gradient(circle at 52% 22%, rgba(191, 232, 255, 0.66) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 58%, rgba(255, 255, 255, 0.74) 0 1px, transparent 2px),
    linear-gradient(110deg, transparent 0 40%, rgba(146, 214, 255, 0.22) 48%, transparent 58%);
  opacity: 0.9;
  mix-blend-mode: screen;
  animation: galaxyTextureSpin 26s linear infinite reverse;
}

body:not(.admin-body) .source-section {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

body:not(.admin-body) .source-section .feature-copy {
  grid-column: auto;
  min-width: 0;
}

body:not(.admin-body) .source-section .feature-visual {
  grid-column: auto;
  min-width: 0;
}

body:not(.admin-body) .source-section .source-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.admin-body) .source-section .source-list strong {
  white-space: normal;
}

body:not(.admin-body) .process .section-head {
  display: block;
  max-width: 820px;
  margin-bottom: 26px;
}

body:not(.admin-body) .process .section-head h2 {
  margin-top: 20px;
}

body:not(.admin-body) .process-line {
  padding-bottom: 0;
}

@media (max-width: 980px) {
  body:not(.admin-body) .about-section,
  body:not(.admin-body) .cases-section,
  body:not(.admin-body) #services,
  body:not(.admin-body) .partners-section,
  body:not(.admin-body) .process,
  body:not(.admin-body) .faq-section,
  body:not(.admin-body) .feature-showcase,
  body:not(.admin-body) .contact-section {
    margin-bottom: 58px;
  }

  body:not(.admin-body) .section-head,
  body:not(.admin-body) .section-head.compact,
  body:not(.admin-body) .cases-section .section-head,
  body:not(.admin-body) .partners-section .section-head,
  body:not(.admin-body) .process .section-head,
  body:not(.admin-body) .faq-section .section-head {
    margin-bottom: 24px;
  }

  body:not(.admin-body) .case-track {
    grid-auto-columns: calc((100% - 32px) / 3);
  }

  body:not(.admin-body) .source-section,
  body:not(.admin-body) .feature-showcase.source-section {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  }

  body:not(.admin-body) .source-section .source-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body:not(.admin-body) .hero {
    padding-top: 40px;
    padding-bottom: 34px;
  }

  body:not(.admin-body) .metrics {
    margin-top: 0;
    margin-bottom: var(--section-gap-mobile);
  }

  body:not(.admin-body) .about-section,
  body:not(.admin-body) .cases-section,
  body:not(.admin-body) #services,
  body:not(.admin-body) .partners-section,
  body:not(.admin-body) .process,
  body:not(.admin-body) .faq-section,
  body:not(.admin-body) .feature-showcase,
  body:not(.admin-body) .contact-section {
    margin-bottom: var(--section-gap-mobile);
  }

  body:not(.admin-body) .contact-section {
    padding: 24px;
  }

  body:not(.admin-body) .case-track {
    grid-auto-columns: minmax(210px, 72vw);
  }

  body:not(.admin-body) .source-section .source-list {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .source-section .source-list strong {
    white-space: normal;
  }

  body:not(.admin-body) .about-section > div:first-child,
  body:not(.admin-body) .feature-copy,
  body:not(.admin-body) .feature-visual {
    min-height: auto;
  }
}
