:root {
  --bg: #f3eee5;
  --bg-strong: #e7dece;
  --surface: rgba(255, 251, 245, 0.86);
  --surface-strong: #fffcf7;
  --card: rgba(17, 24, 39, 0.04);
  --text: #111827;
  --muted: #4b5563;
  --line: rgba(17, 24, 39, 0.12);
  --accent: #f97316;
  --accent-strong: #ea580c;
  --accent-cool: #0f766e;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1240px;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-display: "Avenir Next Condensed", "DIN Alternate", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 24%),
    radial-gradient(circle at left 20%, rgba(15, 118, 110, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f1e6 0%, #f3eee5 48%, #efe7da 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.02) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at center, black 58%, transparent 100%);
}

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

button,
select {
  font: inherit;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(15, 118, 110, 0.22)),
    #fff6eb;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-text strong,
.nav a,
.eyebrow,
.button,
.filter-chip,
.product-tag,
.case-label {
  font-family: var(--font-display);
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.05);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fffaf5;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-strong);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.24);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(17, 24, 39, 0.12);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(17, 24, 39, 0.05);
}

.button-sm {
  min-height: 40px;
  padding-inline: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 42px;
  padding-top: 72px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-card h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.2rem, 5vw, 5.6rem);
  max-width: 9.5ch;
}

.hero-text,
.section-heading p,
.capability-card p,
.workflow-card p,
.case-card p,
.faq-list p,
.footer p,
.product-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: 1.02rem;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li {
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  padding: 32px;
  border-radius: clamp(28px, 4vw, 40px);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(249, 115, 22, 0.24), transparent 24%),
    radial-gradient(circle at 70% 25%, rgba(15, 118, 110, 0.14), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 248, 240, 0.36));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 30px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  border: 1px dashed rgba(17, 24, 39, 0.14);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}

.hero-orbit-large {
  width: 440px;
  height: 440px;
}

.hero-orbit-small {
  width: 280px;
  height: 280px;
  animation-duration: 16s;
  animation-direction: reverse;
}

.cube-scene {
  position: absolute;
  top: 76px;
  right: 138px;
  width: 220px;
  height: 220px;
  perspective: 1200px;
}

.cube {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 40px auto;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}

.face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.28)),
    linear-gradient(145deg, rgba(249, 115, 22, 0.2), rgba(15, 118, 110, 0.14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.front {
  transform: translateZ(70px);
}

.back {
  transform: rotateY(180deg) translateZ(70px);
}

.right {
  transform: rotateY(90deg) translateZ(70px);
}

.left {
  transform: rotateY(-90deg) translateZ(70px);
}

.top {
  transform: rotateX(90deg) translateZ(70px);
}

.bottom {
  transform: rotateX(-90deg) translateZ(70px);
}

.quote-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  margin-top: 190px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 253, 250, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
}

.quote-card-head p,
.quote-card-head strong,
.quote-result strong,
.capability-card h3,
.workflow-card h3,
.product-card h3,
.case-card h3,
.faq-list summary {
  margin: 0;
}

.quote-card-head p {
  color: var(--accent-strong);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote-card-head strong {
  display: block;
  margin-top: 8px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.quote-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.quote-form label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.quote-form select {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  outline: none;
}

.quote-form select:focus {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.quote-result {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(15, 118, 110, 0.1));
}

.quote-result span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.quote-result strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.quote-points {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.quote-points li {
  position: relative;
  padding-left: 22px;
}

.quote-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-cool));
}

.ticker {
  overflow: hidden;
  padding: 8px 0 0;
}

.ticker-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding-block: 12px;
  animation: marquee 26s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.8);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: var(--muted);
  white-space: nowrap;
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.section-heading h2,
.cta-card h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.capability-grid,
.workflow-grid,
.case-grid,
.product-grid {
  display: grid;
  gap: 20px;
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.capability-card,
.workflow-card,
.product-card,
.case-card,
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 252, 248, 0.7)),
    rgba(255, 255, 255, 0.55);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.capability-card::before,
.product-card::before,
.case-card::before,
.cta-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 68%);
  pointer-events: none;
}

.capability-card {
  padding: 24px;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 32px;
  padding-inline: 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.05);
  color: var(--muted);
  font-size: 0.84rem;
}

.capability-card h3 {
  margin-top: 18px;
  font-size: 1.32rem;
}

.capability-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.capability-card li {
  padding-top: 10px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.catalog {
  position: relative;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.filter-chip {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.filter-chip.is-active {
  background: var(--text);
  color: #fff8f2;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.product-card {
  display: grid;
  gap: 18px;
  min-height: 260px;
  padding: 24px;
  transition:
    transform 220ms ease,
    opacity 180ms ease,
    scale 180ms ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-6px);
}

.product-card.is-hidden {
  display: none;
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.14);
  color: var(--accent-strong);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.product-price {
  font-family: var(--font-display);
  font-weight: 700;
}

.product-card h3 {
  font-size: 1.36rem;
  line-height: 1.25;
}

.product-card dl {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
}

.product-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.product-card dt {
  color: var(--muted);
}

.product-card dd {
  margin: 0;
  text-align: right;
  max-width: 60%;
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
}

.workflow-card {
  padding: 24px;
}

.workflow-card strong {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.16), rgba(15, 118, 110, 0.16));
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.workflow-card h3 {
  margin-top: 18px;
  font-size: 1.24rem;
}

.case-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
  margin-top: 34px;
}

.case-card {
  padding: 28px;
}

.case-card-featured {
  min-height: 340px;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(30, 41, 59, 0.92));
  color: #fffaf2;
}

.case-card-featured p {
  color: rgba(255, 250, 242, 0.78);
}

.case-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.faq-list details {
  padding: 20px 22px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 14px 0 0;
}

.cta-section {
  padding-bottom: 96px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 42px;
  color: var(--muted);
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.footer-meta {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.footer-meta a {
  color: var(--text);
}

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

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

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

@keyframes float {
  0%,
  100% {
    transform: rotateX(-24deg) rotateY(32deg) translateY(0);
  }
  50% {
    transform: rotateX(-18deg) rotateY(46deg) translateY(-18px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 560px;
  }

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

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

  .case-card-featured {
    grid-column: 1 / -1;
    min-height: 280px;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12px;
  }

  .nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 42px;
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
    max-width: 11ch;
  }

  .hero-metrics,
  .quote-result,
  .capability-grid,
  .workflow-grid,
  .product-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 620px;
    padding: 20px;
  }

  .cube-scene {
    top: 44px;
    right: 50%;
    transform: translateX(50%);
    width: 180px;
    height: 180px;
  }

  .quote-card {
    width: 100%;
    margin-top: 220px;
  }

  .section {
    padding: 56px 0;
  }

  .footer {
    flex-direction: column;
  }

  .footer-meta {
    align-items: flex-start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
