@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  --color-primary: #1d4ed8;
  --color-accent: #0ea5a4;
  --color-growth: #22c55e;
  --color-warm: #f59e0b;
  --color-rose: #fb7185;
  --text-main: #0f172a;
  --text-muted: #3f4e67;
  --surface-bg: #f7fbff;
  --surface-card: rgba(255, 255, 255, 0.82);
  --surface-card-strong: #ffffff;
  --border-soft: rgba(20, 63, 142, 0.15);
  --shadow-strong: 0 24px 48px rgba(17, 36, 75, 0.16);
  --shadow-soft: 0 8px 20px rgba(30, 64, 175, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--text-main);
  background:
    radial-gradient(circle at 8% 18%, rgba(14, 165, 164, 0.2), transparent 40%),
    radial-gradient(circle at 88% 14%, rgba(29, 78, 216, 0.28), transparent 40%),
    radial-gradient(circle at 42% 86%, rgba(245, 158, 11, 0.18), transparent 40%),
    linear-gradient(155deg, #f5faff 0%, #f8fafe 40%, #fef9f6 100%);
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.62;
}

a {
  color: inherit;
}

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

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

.top-nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(var(--max-width), calc(100% - 36px));
  margin: 14px auto 0;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 32px;
  height: 32px;
  display: block;
  flex: 0 0 32px;
  object-fit: contain;
  box-shadow: 0 6px 14px rgba(14, 116, 144, 0.14);
}

.top-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.top-nav-links a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.top-nav-links a:hover {
  color: var(--color-primary);
}

section {
  margin-top: 28px;
}

#hero {
  position: relative;
  padding: 72px 0 26px;
  overflow: hidden;
}

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

.cloud-layer {
  position: absolute;
  inset: 0;
}

.cloud-layer-back {
  animation: cloudDriftBack 48s ease-in-out infinite alternate;
}

.cloud-layer-mid {
  animation: cloudDriftMid 40s ease-in-out infinite alternate;
}

.cloud-layer-front {
  animation: cloudDriftFront 34s ease-in-out infinite alternate;
}

.cloud-word {
  position: absolute;
  left: var(--x);
  top: var(--y);
  color: rgba(17, 65, 124, 0.13);
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform: translate3d(0, 0, 0);
  animation: cloudFloat var(--dur, 18s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}

.cloud-xl {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  color: rgba(17, 65, 124, 0.16);
}

.cloud-lg {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.cloud-md {
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  color: rgba(14, 70, 104, 0.12);
}

.cloud-sm {
  font-size: clamp(0.72rem, 0.94vw, 0.86rem);
  color: rgba(33, 94, 149, 0.14);
}

@keyframes cloudFloat {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(var(--dx, 8px), var(--dy, -6px), 0);
  }
}

@keyframes cloudDriftBack {
  0% {
    transform: translate3d(-1.6%, 0.6%, 0);
  }

  35% {
    transform: translate3d(0.9%, -0.7%, 0);
  }

  70% {
    transform: translate3d(1.4%, 0.8%, 0);
  }

  100% {
    transform: translate3d(-1.3%, -0.4%, 0);
  }
}

@keyframes cloudDriftMid {
  0% {
    transform: translate3d(-0.7%, 0.3%, 0);
  }

  25% {
    transform: translate3d(1.1%, -0.4%, 0);
  }

  60% {
    transform: translate3d(0.4%, 0.9%, 0);
  }

  100% {
    transform: translate3d(-0.9%, -0.5%, 0);
  }
}

@keyframes cloudDriftFront {
  0% {
    transform: translate3d(0.3%, -0.2%, 0);
  }

  30% {
    transform: translate3d(1.4%, 0.6%, 0);
  }

  65% {
    transform: translate3d(-0.8%, 1%, 0);
  }

  100% {
    transform: translate3d(0.6%, -0.7%, 0);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 26px;
  align-items: stretch;
}

.hero-content {
  padding: 44px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(246, 251, 255, 0.8));
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #0f3f95;
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(29, 78, 216, 0.11);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  line-height: 1.18;
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  letter-spacing: -0.02em;
}

.hero-title strong {
  color: var(--color-primary);
}

.hero-desc {
  margin: 0 0 28px;
  max-width: 38ch;
  color: var(--text-muted);
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: #f8fbff;
  background: linear-gradient(110deg, var(--color-primary), #2563eb);
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.34);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(29, 78, 216, 0.4);
}

.btn-secondary {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(29, 78, 216, 0.28);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.96);
}

.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.hero-note {
  margin-top: 16px;
  color: #4f6281;
  font-size: 0.9rem;
}

.hero-side {
  display: grid;
  gap: 14px;
}

.panel {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
}

.model-panel {
  padding: 20px 22px;
}

.model-panel h3 {
  margin: 0 0 14px;
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-size: 1.16rem;
}

.model-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px dashed rgba(29, 78, 216, 0.2);
}

.model-item:first-of-type {
  border-top: 0;
}

.model-badge {
  display: inline-flex;
  min-width: 84px;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f3f95;
  background: rgba(37, 99, 235, 0.12);
}

.model-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.delta-panel {
  padding: 20px 22px;
}

.delta-panel h3 {
  margin: 0 0 14px;
  font-size: 1.04rem;
}

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

.delta-card {
  border-radius: var(--radius-sm);
  padding: 12px 12px 10px;
  background: linear-gradient(130deg, rgba(14, 165, 164, 0.1), rgba(34, 197, 94, 0.08));
}

.delta-title {
  display: block;
  color: #0c5f6f;
  font-size: 0.78rem;
  font-weight: 700;
}

.delta-value {
  display: block;
  margin-top: 4px;
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
}

.section-title {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-size: clamp(1.42rem, 2vw, 1.92rem);
  line-height: 1.25;
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
}

#pain-points .container,
#pyramid-model .container,
#capabilities .container,
#download .container,
#faq .container {
  padding: 34px 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
}

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

.pain-card {
  padding: 20px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 255, 0.76));
  border: 1px solid rgba(29, 78, 216, 0.14);
}

.pain-card h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.pain-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.hint-band {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: #7c2d12;
  background: linear-gradient(120deg, rgba(245, 158, 11, 0.18), rgba(251, 113, 133, 0.15));
  border: 1px solid rgba(251, 146, 60, 0.4);
  font-weight: 600;
}

.pyramid-grid {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.pyramid-item {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(29, 78, 216, 0.16);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(243, 249, 255, 0.76));
}

.pyramid-tag {
  display: inline-flex;
  justify-content: center;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f3f95;
  background: rgba(37, 99, 235, 0.12);
}

.pyramid-content h3 {
  margin: 0;
  font-size: 1rem;
}

.flow-line {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.93rem;
}

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

.cap-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(14, 165, 164, 0.2);
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.92), rgba(239, 252, 250, 0.76));
}

.cap-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.cap-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.download-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
}

.download-meta {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #475569;
}

.download-meta strong {
  color: #0f172a;
}

.faq-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(29, 78, 216, 0.16);
  overflow: hidden;
  background: #ffffff;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.faq-q::after {
  content: '+';
  font-size: 1.12rem;
}

.faq-item[data-open="true"] .faq-q::after {
  content: '−';
}

.faq-a {
  margin: 0;
  padding: 0 16px 0;
  color: var(--text-muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.24s ease, padding 0.24s ease;
}

.faq-item[data-open="true"] .faq-a {
  max-height: 200px;
  padding: 0 16px 14px;
}

#footer {
  margin: 22px 0 34px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(29, 78, 216, 0.2);
  padding-top: 16px;
  color: #4a5f80;
  font-size: 0.9rem;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

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

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

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

  .top-nav {
    width: calc(100% - 18px);
    top: 8px;
    margin-top: 8px;
    border-radius: 16px;
    padding: 10px 12px;
    flex-wrap: wrap;
  }

  .top-nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  #hero {
    padding-top: 36px;
  }

  .hero-cloud {
    inset: 6px 0 0;
  }

  .cloud-mobile-hide {
    display: none;
  }

  .cloud-xl {
    font-size: 1.08rem;
  }

  .cloud-lg {
    font-size: 0.9rem;
  }

  .cloud-sm {
    font-size: 0.72rem;
  }

  .hero-content,
  #pain-points .container,
  #pyramid-model .container,
  #capabilities .container,
  #download .container,
  #faq .container {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .hero-title {
    font-size: clamp(1.74rem, 7vw, 2.3rem);
  }

  .hero-desc {
    font-size: 1rem;
  }

  .pain-grid,
  .cap-grid {
    grid-template-columns: 1fr;
  }

  .pyramid-item {
    grid-template-columns: 1fr;
  }

  .download-shell {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cloud-layer,
  .cloud-word {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
