:root {
  --ink: #00244a;
  --muted: #456076;
  --cyan: #16c6d9;
  --blue: #007ee5;
  --green: #00a884;
  --paper: #f5f8fb;
  --line: #dce7f0;
  --shadow: 0 24px 60px rgba(0, 36, 74, 0.08);
  --spring: cubic-bezier(.18, 1.38, .38, 1);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Noto Sans SC", "Inter", sans-serif;
  color: var(--ink);
  background: #fff;
}

body { overflow-x: hidden; }
button { font: inherit; }

.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  width: 420px;
  height: 420px;
  margin-left: -210px;
  margin-top: -210px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 198, 217, 0.12), transparent 70%);
  filter: blur(14px);
  z-index: 0;
  transition: transform 0.08s linear;
}

.putao-page {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 82px 4vw 72px;
  background: #eaf2f8;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy h1,
.ecosystem-copy h2,
.section-head h2,
.capability-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Sans SC", serif;
  letter-spacing: -0.045em;
}

.hero-copy h1 {
  font-size: clamp(48px, 6.8vw, 92px);
  line-height: 1.02;
}

.hero-lead {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--ink);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.76;
}

.hero-visual {
  position: absolute;
  inset-block: 0;
  width: 30vw;
  pointer-events: none;
}

.hero-left { left: -5vw; }
.hero-right { right: -2vw; }

.ui-panel,
.mini-card,
.float-icon {
  position: absolute;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(0, 36, 74, 0.12);
}

.ui-panel {
  width: 260px;
  height: 190px;
  border-radius: 18px;
}

.panel-one { left: 6%; top: 32%; transform: rotate(-9deg); }
.panel-two { left: 28%; top: 40%; transform: rotate(-3deg); }

.mini-card {
  right: 18%;
  top: 32%;
  width: 210px;
  padding: 20px;
  border-radius: 18px;
}

.mini-card b {
  display: block;
  color: var(--cyan);
  font-size: 48px;
  line-height: 1;
}

.mini-card span { color: var(--muted); font-weight: 700; }

.float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 14px;
}

.float-icon img { width: 34px; height: 34px; }
.fi-a { left: 18%; top: 20%; }
.fi-b { left: 34%; top: 14%; }
.fi-c { right: 16%; bottom: 24%; }
.fi-d { right: 28%; bottom: 14%; }

.endpoint-panel {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin: 34px auto 0;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.endpoint-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.endpoint-meta span { font-weight: 800; }
.endpoint-meta small,
.copy-status,
.stats-section span,
.capability-copy p,
.capability-list p,
.reason-grid p,
.ecosystem-copy p,
.solution-card p { color: var(--muted); }

.endpoint-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.endpoint-code {
  display: flex;
  gap: 8px;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f4f8fc;
  border: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(14px, 1.2vw, 17px);
}

.endpoint-code::-webkit-scrollbar { display: none; }
.endpoint-base,
.endpoint-path { flex-shrink: 0; }
.endpoint-path { color: var(--blue); font-weight: 700; }

.spring-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.5s var(--spring), box-shadow 0.5s var(--spring);
}

.copy-button {
  min-height: 52px;
  padding: 0 22px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 30px rgba(0, 126, 229, 0.22);
}

.copy-button img { width: 18px; height: 18px; }
.spring-button:hover { transform: translateY(-3px) scale(1.035); }
.spring-button:active,
.spring-button.is-pressing { transform: translateY(1px) scale(0.93); }
.spring-button.is-copied { animation: spring-pop 0.72s var(--spring); }

.copy-status {
  display: inline-block;
  min-height: 20px;
  margin-top: 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.solutions-section,
.capability-section,
.reason-section,
.ecosystem-section {
  padding: 90px 4vw;
}

.section-head,
.capability-copy {
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2,
.capability-copy h2 {
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.04;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  max-width: 1260px;
  margin: 0 auto;
}

.solution-card { min-height: 450px; }
.solution-visual {
  position: relative;
  height: 190px;
  margin-bottom: 28px;
  border-radius: 34px 34px 6px 6px;
  background: linear-gradient(135deg, #e4fbff, #f2f3ff);
  overflow: hidden;
}

.solution-card h3 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", "Noto Sans SC", serif; font-size: 32px; }
.solution-card p { margin: 0; line-height: 1.72; }
.solution-card span { display: inline-block; margin-top: 24px; color: var(--ink); font-weight: 800; }
.chart-visual { display: flex; align-items: end; gap: 12px; padding: 34px; }
.chart-visual i { flex: 1; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--blue), rgba(0,126,229,.18)); }
.chart-visual i:nth-child(1) { height: 35%; }
.chart-visual i:nth-child(2) { height: 54%; }
.chart-visual i:nth-child(3) { height: 72%; }
.chart-visual i:nth-child(4) { height: 48%; }
.search-visual { display: grid; place-items: center; }
.search-visual b { padding: 16px 26px; border: 2px solid var(--blue); border-radius: 10px; background: #fff; }
.search-visual i { position: absolute; left: 18%; bottom: 28px; width: 64%; height: 12px; border-radius: 999px; background: var(--cyan); }
.checklist-visual { display: grid; align-content: center; gap: 18px; padding: 34px; background: #fff8ec; }
.checklist-visual i { height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--green), #f9c25d); }

.capability-section { background: #fff; }
.capability-list {
  display: grid;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.capability-list article {
  position: relative;
  padding: 34px 0 34px 76px;
  border-bottom: 1px solid var(--line);
}

.check-icon {
  position: absolute;
  left: 0;
  top: 34px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #10c878;
  color: #fff;
  text-align: center;
  line-height: 42px;
  font-size: 26px;
  font-weight: 800;
}

.capability-list h3 { margin: 0 0 18px; font-size: 28px; }
.capability-list p { margin: 0; line-height: 1.8; }

.stats-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-section article {
  min-height: 190px;
  padding: 38px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stats-section article:last-child { border-right: 0; }
.stats-section strong { display: block; color: var(--cyan); font-size: clamp(52px, 6vw, 82px); line-height: 1; }
.stats-section span { display: block; margin-top: 20px; font-size: 18px; }

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.reason-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0,36,74,.05);
}

.reason-grid span { display: block; margin-bottom: 18px; font-size: 24px; }
.reason-grid h3 { margin: 0 0 12px; font-size: 22px; }
.reason-grid p { margin: 0; line-height: 1.72; }

.ecosystem-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 5vw;
  align-items: center;
  background: #eaf2f8;
}

.ecosystem-copy { max-width: 720px; justify-self: end; }
.ecosystem-copy h2 { font-size: clamp(42px, 5vw, 70px); line-height: 1.02; }
.ecosystem-copy p { margin: 26px 0 0; font-size: 18px; line-height: 1.78; }

.orbit-board {
  position: relative;
  width: min(560px, 82vw);
  aspect-ratio: 1;
  justify-self: center;
}

.orbit-ring,
.orbit-core,
.orbit-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.orbit-ring { border: 2px dotted rgba(0, 126, 229, 0.5); }
.ring-a { width: 82%; height: 82%; }
.ring-b { width: 56%; height: 56%; }
.orbit-core { display: flex; align-items: center; justify-content: center; width: 210px; height: 210px; background: #e7fbfc; }
.orbit-core img { width: 110px; height: 110px; }
.orbit-icon { display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; background: #fff; box-shadow: var(--shadow); border-radius: 16px; }
.orbit-icon img { width: 34px; height: 34px; }
.oi-a { transform: translate(-50%, -50%) rotate(0deg) translateX(230px) rotate(0deg); }
.oi-b { transform: translate(-50%, -50%) rotate(58deg) translateX(230px) rotate(-58deg); }
.oi-c { transform: translate(-50%, -50%) rotate(118deg) translateX(230px) rotate(-118deg); }
.oi-d { transform: translate(-50%, -50%) rotate(190deg) translateX(230px) rotate(-190deg); }
.oi-e { transform: translate(-50%, -50%) rotate(250deg) translateX(230px) rotate(-250deg); }
.oi-f { transform: translate(-50%, -50%) rotate(312deg) translateX(230px) rotate(-312deg); }

.marquee-section { padding: 38px 0 54px; }
.marquee-track { width: 100vw; overflow: hidden; padding: 8px 0; }
.marquee-row { display: flex; width: max-content; animation: marquee 42s linear infinite; will-change: transform; }
.marquee-group { display: flex; flex-shrink: 0; gap: 24px; padding-right: 24px; }
.marquee-row span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; white-space: nowrap; }
.marquee-row img { width: 38px; height: 38px; }

.assist-section {
  padding: 96px 4vw 110px;
  background: #fff;
}

.assist-layout {
  max-width: 1060px;
  margin: 0 auto;
}

.assist-card {
  width: 100%;
  margin: 0;
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: 0 0 80px 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(22, 198, 217, 0.12), transparent 24%),
    #f8fafc;
  box-shadow: var(--shadow);
}

.wechat-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.telegram-link,
.wechat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 38px rgba(0, 126, 229, 0.24);
  cursor: pointer;
  text-decoration: none;
}

.wechat-toggle {
  background: var(--blue);
}

.telegram-link {
  background: linear-gradient(135deg, #24a1de, #0d8bd7);
}

.telegram-link img,
.wechat-toggle img {
  width: 20px;
  height: 20px;
}

.wechat-popover {
  display: grid;
  gap: 14px;
  justify-items: center;
  width: 290px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  text-align: center;
  transform-origin: right bottom;
  transition: opacity 0.3s var(--spring), transform 0.3s var(--spring);
}

.wechat-image-wrap {
  width: 100%;
  max-width: 260px;
  padding: 14px;
  border-radius: 26px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.wechat-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.wechat-popover strong {
  color: var(--ink);
  font-size: 20px;
}

.wechat-popover span {
  color: var(--muted);
  line-height: 1.6;
}

.assist-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Sans SC", serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.assist-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.assist-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  margin-top: 44px;
}

.pain-list,
.solve-list {
  display: grid;
  gap: 14px;
  align-content: start;
}

.pain-list span,
.solve-list span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}

.pain-list b {
  color: #ff3b55;
  font-size: 26px;
  line-height: 1;
}

.solve-list p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.7;
}

.solve-list strong {
  margin-bottom: 8px;
  font-size: 22px;
}

.solve-list b {
  color: var(--green);
  font-size: 20px;
  line-height: 1.3;
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s var(--spring), transform 0.75s var(--spring); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
[data-float-card] { transform: translate3d(var(--mx, 0), var(--my, 0), 0); transition: transform 0.55s var(--spring), box-shadow 0.55s var(--spring); }
[data-float-card]:hover { transform: translate3d(var(--mx, 0), calc(var(--my, 0) - 4px), 0); }

@keyframes marquee { to { transform: translateX(-33.3333%); } }
@keyframes spring-pop { 0% { transform: scale(.92); } 45% { transform: scale(1.08); } 70% { transform: scale(.98); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  [data-float-card],
  .spring-button,
  .cursor-light,
  .marquee-row { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  .hero-visual { display: none; }
  .solution-grid,
  .reason-grid { grid-template-columns: 1fr; }
  .ecosystem-section { grid-template-columns: 1fr; }
  .ecosystem-copy { justify-self: start; }
}

@media (max-width: 820px) {
  .cursor-light { display: none; }
  .hero-section,
  .solutions-section,
  .capability-section,
  .reason-section,
  .ecosystem-section,
  .assist-section { padding-left: 18px; padding-right: 18px; }
  .hero-section { min-height: auto; padding-top: 46px; }
  .hero-copy h1 { font-size: 42px; }
  .endpoint-main,
  .stats-section { grid-template-columns: 1fr; }
  .copy-button { width: 100%; }
  .capability-list article { padding-left: 58px; }
  .check-icon { width: 38px; height: 38px; line-height: 38px; }
  .stats-section article { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats-section article:last-child { border-bottom: 0; }
  .orbit-board { width: 100%; }
  .orbit-core { width: 150px; height: 150px; }
  .orbit-core img { width: 80px; height: 80px; }
  .orbit-icon { width: 48px; height: 48px; }
  .orbit-icon img { width: 26px; height: 26px; }
  .oi-a { transform: translate(-50%, -50%) rotate(0deg) translateX(150px) rotate(0deg); }
  .oi-b { transform: translate(-50%, -50%) rotate(58deg) translateX(150px) rotate(-58deg); }
  .oi-c { transform: translate(-50%, -50%) rotate(118deg) translateX(150px) rotate(-118deg); }
  .oi-d { transform: translate(-50%, -50%) rotate(190deg) translateX(150px) rotate(-190deg); }
  .oi-e { transform: translate(-50%, -50%) rotate(250deg) translateX(150px) rotate(-250deg); }
  .oi-f { transform: translate(-50%, -50%) rotate(312deg) translateX(150px) rotate(-312deg); }
  [data-float-card] { transform: none !important; transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }

  .assist-card {
    padding: 30px;
    border-radius: 0 0 44px 0;
  }

  .assist-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wechat-float {
    right: 14px;
    bottom: 14px;
  }

  .wechat-toggle {
    min-height: 46px;
    padding: 0 14px;
    font-size: 14px;
  }

  .telegram-link {
    min-height: 46px;
    padding: 0 14px;
    font-size: 14px;
  }

  .wechat-popover {
    position: absolute;
    right: 0;
    bottom: 58px;
    width: min(290px, calc(100vw - 28px));
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.96);
  }

  .wechat-float.is-open .wechat-popover {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 560px) {
  .hero-copy h1 { font-size: 34px; }
  .ecosystem-copy h2,
  .section-head h2,
  .capability-copy h2 { font-size: 30px; }
  .hero-lead { font-size: 14px; }
  .endpoint-meta { flex-direction: column; align-items: flex-start; }
  .endpoint-code { padding: 14px; font-size: 12px; }
  .solution-card h3 { font-size: 26px; }
  .capability-list h3 { font-size: 22px; }
  .stats-section strong { font-size: 46px; }
  .assist-card h2 { font-size: 30px; }
  .assist-lead,
  .pain-list span,
  .solve-list span { font-size: 15px; }

  .telegram-link,
  .wechat-toggle { font-size: 13px; }
}
