:root {
  --bg: #f5f5f2;
  --surface: #ffffff;
  --surface-soft: #eeeeea;
  --ink: #111;
  --muted: #6b6b63;
  --line: rgba(17, 17, 17, 0.1);
  --line-strong: rgba(17, 17, 17, 0.18);
  --green: #6fba75;
  --gold: #c99542;
  --dark: #121512;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection {
  color: #fff;
  background: var(--ink);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 36px);
  color: var(--muted);
  font-size: 14px;
}

nav a:hover,
.text-link:hover {
  color: var(--green);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 64px);
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  text-align: center;
  place-items: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.94), transparent 20rem),
    linear-gradient(145deg, #ffffff, #fafaf7 70%, #f2f2ee);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin: 0 auto;
}

.hero .eyebrow {
  color: rgba(17, 17, 17, 0.52);
}

.hero h1 {
  color: var(--ink);
  text-shadow: 0 18px 70px rgba(255, 255, 255, 0.72);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin: 0 auto 22px;
  font-size: clamp(46px, 8vw, 104px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 5.2vw, 74px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.text-link {
  color: var(--ink);
  font-weight: 700;
  transition: color 180ms ease;
}

.hero .text-link {
  color: var(--ink);
}

.hero .text-link:hover {
  color: var(--gold);
}

.hero-code-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-code-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(17, 17, 17, 0.018), transparent 26rem);
  z-index: 0;
}

.hero-code-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(255, 255, 255, 0.78) 0 34%, rgba(255, 255, 255, 0.42) 54%, transparent 76%),
    linear-gradient(180deg, transparent 0 80%, rgba(245, 245, 242, 0.2) 92%, var(--bg) 100%);
  z-index: 2;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.product-rows {
  display: grid;
  gap: 14px;
  padding: 14px;
}

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

.product-block {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  background: var(--surface);
  text-align: center;
}

.block-dark {
  color: #fff;
  background:
    radial-gradient(circle at 50% 52%, rgba(111, 186, 117, 0.32), transparent 24rem),
    linear-gradient(145deg, #111, #1b211b);
}

.product-block.block-dark {
  min-height: 720px;
}

.product-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}

.product-copy p {
  color: var(--muted);
}

.block-dark .product-copy p,
.block-dark .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.product-visual {
  position: absolute;
  inset: auto 8% 8%;
  height: 42%;
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.04);
}

.video-preview {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(201, 149, 66, 0.24), transparent 8rem),
    linear-gradient(145deg, #151a15, #edf0e8);
}

.clip-carousel {
  inset: auto clamp(18px, 7vw, 92px) clamp(28px, 5vw, 48px);
  display: grid;
  height: min(43%, 360px);
  padding: clamp(14px, 2vw, 22px);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.18), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 26px 70px rgba(0, 0, 0, 0.28);
}

.clip-frame {
  position: relative;
  width: min(86%, 820px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #111;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
}

.clip-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 360ms ease, transform 520ms ease;
}

.clip-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.clip-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.46);
  color: #fff;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.clip-nav:hover {
  background: rgba(17, 17, 17, 0.72);
  transform: translateY(-50%) scale(1.04);
}

.clip-nav-prev {
  left: clamp(14px, 3vw, 34px);
}

.clip-nav-next {
  right: clamp(14px, 3vw, 34px);
}

.clip-tabs {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.42);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.clip-tabs button {
  min-height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

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

.kf-showcase {
  inset: auto clamp(18px, 7vw, 92px) clamp(28px, 5vw, 48px);
  height: min(43%, 360px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.18), transparent 8rem),
    radial-gradient(circle at 82% 28%, rgba(111, 186, 117, 0.22), transparent 9rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), 0 26px 70px rgba(0, 0, 0, 0.3);
}

.kf-shell {
  position: absolute;
  inset: clamp(16px, 2.5vw, 28px);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(245, 245, 242, 0.9);
  color: var(--ink);
}

.kf-topline {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr 0.75fr;
  gap: 10px;
  color: rgba(17, 17, 17, 0.54);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.kf-board {
  display: grid;
  min-height: 0;
  grid-template-columns: 0.76fr 1.32fr 0.82fr;
  gap: 12px;
}

.kf-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.kf-assets {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 14px;
}

.kf-assets i {
  display: block;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.9), rgba(111, 186, 117, 0.62));
  animation: kfFloat 4.8s ease-in-out infinite;
}

.kf-assets i:nth-child(3) {
  width: 78%;
  animation-delay: -1.2s;
}

.kf-assets i:nth-child(4) {
  width: 62%;
  animation-delay: -2.4s;
}

.kf-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 46px 0 0 rgba(201, 149, 66, 0.86), 92px 0 0 rgba(111, 186, 117, 0.78);
}

.kf-timeline {
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 12px;
  padding: 14px;
  background:
    linear-gradient(rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    rgba(255, 255, 255, 0.7);
  background-size: 22px 22px;
}

.kf-preview {
  border-radius: 8px;
  background:
    radial-gradient(circle at 58% 46%, rgba(201, 149, 66, 0.75), transparent 34%),
    linear-gradient(145deg, #111, #334035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.kf-track {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 7px;
  min-height: 34px;
}

.kf-track b {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.kf-audio {
  grid-template-columns: 0.7fr 1.35fr;
}

.kf-audio b {
  background: rgba(17, 17, 17, 0.78);
}

.kf-export {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 14px;
}

.kf-export strong {
  font-size: clamp(28px, 5vw, 58px);
  line-height: 1;
}

.kf-export span {
  color: rgba(17, 17, 17, 0.54);
  font-weight: 800;
}

.kf-export em {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
}

.kf-export em::before {
  content: "";
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold));
  animation: kfProgress 3.6s ease-in-out infinite;
}

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

@keyframes kfProgress {
  0%, 100% { width: 42%; }
  50% { width: 86%; }
}

.video-preview video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-visual,
.web-visual {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.system-visual i,
.web-visual i {
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(111, 186, 117, 0.22), rgba(17, 17, 17, 0.06));
}

.big-number {
  position: absolute;
  right: clamp(24px, 4vw, 54px);
  bottom: clamp(24px, 4vw, 46px);
  color: var(--gold);
  font-size: clamp(48px, 7vw, 116px);
  line-height: 0.9;
  white-space: nowrap;
  z-index: 2;
}

.section {
  padding: clamp(74px, 10vw, 140px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto clamp(32px, 5vw, 64px);
  text-align: center;
}

.section-heading p {
  color: var(--muted);
}

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

.note-card,
.contact-card {
  padding: 28px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(17, 17, 17, 0.07);
}

.note-card span {
  display: block;
  margin-bottom: 60px;
  color: var(--green);
  font-weight: 800;
}

.note-card p,
.contact-card p {
  color: var(--muted);
}

.services {
  background: var(--surface-soft);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.service-list span {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 700;
}

.service-list .muted {
  color: var(--muted);
  border-style: dashed;
}

.guide {
  background: var(--dark);
}

.guide-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 20%, rgba(201, 149, 66, 0.28), transparent 18rem),
    radial-gradient(circle at 18% 70%, rgba(111, 186, 117, 0.24), transparent 16rem),
    linear-gradient(145deg, #111, #1a211a);
  color: #fff;
}

.guide-card h2 {
  max-width: 760px;
}

.guide-card p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.guide-actions {
  position: relative;
  z-index: 1;
}

.guide-button {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--ink);
}

.guide-actions p {
  margin: 14px 0 0;
  font-size: 14px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
}

.contact .section-heading {
  margin: 0;
  text-align: left;
}

.copy-button,
.footer-copy,
.social-copy {
  position: relative;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.copy-button {
  width: 100%;
  margin-top: 16px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(36px, 8vw, 120px);
  padding: clamp(54px, 7vw, 86px) clamp(18px, 8vw, 110px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #f8f8f5;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
}

.footer-brand p {
  margin-bottom: 24px;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icons a,
.social-copy {
  display: grid;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #ecece7;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-icons a:hover,
.social-copy:hover {
  color: #fff;
  background: var(--ink);
  transform: translateY(-2px);
}

.social-copy.copied {
  font-size: 0;
}

.social-copy.copied::before {
  content: "✓";
  font-size: 13px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
}

.footer-links h3 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 15px;
}

.footer-links a,
.footer-links span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  min-height: auto;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  text-align: left;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 900px) {
  .product-grid,
  .note-grid,
  .contact,
  .guide-card {
    grid-template-columns: 1fr;
  }

  .product-block {
    min-height: 460px;
  }
}

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

  nav {
    width: 100%;
    justify-content: space-between;
    font-size: 13px;
  }

  .hero {
    min-height: clamp(500px, 74svh, 620px);
    padding-top: 64px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 39px;
  }

  .product-block {
    min-height: 420px;
  }

  .product-block.block-dark {
    min-height: 600px;
  }

  .product-visual {
    height: 34%;
  }

  .clip-carousel {
    inset: auto 16px 18px;
    height: 260px;
    padding: 12px 12px 52px;
  }

  .block-dark .case-number {
    z-index: 1;
    opacity: 0.58;
  }

  .clip-frame {
    width: 100%;
  }

  .clip-nav {
    top: auto;
    bottom: 12px;
    width: 34px;
    height: 34px;
    font-size: 24px;
    transform: none;
  }

  .clip-nav:hover {
    transform: scale(1.03);
  }

  .clip-nav-prev {
    left: 18px;
  }

  .clip-nav-next {
    right: 18px;
  }

  .clip-tabs {
    bottom: 12px;
    max-width: calc(100% - 96px);
    overflow: hidden;
  }

  .clip-tabs button {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .kf-showcase {
    inset: auto 16px 18px;
    height: 270px;
  }

  .kf-shell {
    inset: 12px;
    padding: 12px;
    gap: 10px;
  }

  .kf-topline {
    grid-template-columns: 1fr 1fr 1fr;
    font-size: 11px;
  }

  .kf-board {
    grid-template-columns: 0.76fr 1.15fr;
    grid-template-rows: 1fr 72px;
    gap: 9px;
  }

  .kf-assets {
    padding: 10px;
  }

  .kf-assets i {
    height: 25px;
  }

  .kf-timeline {
    grid-row: span 2;
    padding: 10px;
    gap: 9px;
  }

  .kf-export {
    padding: 10px;
  }

  .kf-export strong {
    font-size: 26px;
  }

  .kf-export span {
    font-size: 11px;
  }

  .big-number {
    left: 28px;
    right: auto;
    font-size: 56px;
  }

  .site-footer,
  .footer-links {
    grid-template-columns: 1fr;
  }
}
