.panda-openai-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #f7f8fb 0%, #eef3f8 44%, #ffffff 100%);
  color: #111827;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

.panda-openai-page * {
  box-sizing: border-box;
}

.panda-openai-page a {
  color: inherit;
  text-decoration: none;
}

.panda-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.panda-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.panda-nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.panda-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 760;
  color: #0f172a;
}

.panda-brand-text {
  letter-spacing: 0;
}

.panda-logo {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.panda-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panda-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panda-nav-link,
.panda-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.panda-nav-link {
  color: #475569;
}

.panda-nav-link:hover {
  background: rgba(15, 23, 42, 0.05);
  color: #0f172a;
}

.panda-button {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.panda-button:hover {
  border-color: rgba(15, 23, 42, 0.22);
  background: #f8fafc;
}

.panda-button-primary {
  border-color: #15803d;
  background: #15803d;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(21, 128, 61, 0.28);
}

.panda-button-primary:hover {
  border-color: #166534;
  background: #166534;
}

.panda-button-ghost {
  background: rgba(255, 255, 255, 0.52);
}

.panda-button-large {
  min-height: 48px;
  padding: 0 18px;
}

.panda-openai-page svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.panda-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 76px;
}

.panda-hero:before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}

.panda-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
  align-items: center;
  gap: 54px;
}

.panda-hero-copy {
  max-width: 680px;
}

.panda-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 999px;
  background: rgba(240, 253, 244, 0.9);
  padding: 7px 12px;
  color: #166534;
  font-size: 13px;
  font-weight: 760;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.panda-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.13);
}

.panda-hero h1 {
  margin: 20px 0 0;
  color: #0f172a;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 820;
  letter-spacing: 0;
}

.panda-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.8;
}

.panda-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.panda-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.panda-hero-points span {
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 999px;
  background: rgba(240, 253, 244, 0.86);
  padding: 8px 11px;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
}

.panda-agent-stage {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.92));
  padding: 16px;
  box-shadow:
    0 34px 70px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.panda-stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.panda-stage-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #0f172a;
  box-shadow:
    18px 0 0 #3b82f6,
    36px 0 0 #22c55e;
}

.panda-stage-toolbar strong {
  border-radius: 999px;
  background: #15803d;
  padding: 5px 9px;
  color: #ffffff;
  font-size: 12px;
}

.panda-agent-card {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.panda-agent-card-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 22px;
}

.panda-card-label {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.panda-agent-card h2 {
  margin: 8px 0 0;
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 20px;
  line-height: 1.35;
}

.panda-status-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #15803d;
  border-radius: 999px;
  background: #15803d;
  padding: 6px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 780;
}

.panda-agent-flow {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
}

.panda-flow-node {
  min-height: 112px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.panda-flow-node span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 6px;
  background: #15803d;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.panda-flow-node strong {
  display: block;
  margin-top: 12px;
  color: #0f172a;
  font-size: 15px;
}

.panda-flow-node small {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.panda-flow-line {
  height: 2px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.16), rgba(37, 99, 235, 0.38));
}

.panda-code {
  margin: 0;
  overflow-x: auto;
  border-radius: 8px;
  background: #0b1120;
  padding: 18px;
  color: #cbd5e1;
  font: 14px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.panda-code span {
  color: #38bdf8;
}

.panda-code em {
  color: #fbbf24;
  font-style: normal;
}

.panda-code b {
  color: #86efac;
  font-weight: 700;
}

.panda-section {
  padding: 74px 0 0;
}

.panda-section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.panda-section-heading > span,
.panda-workflow-copy > span,
.panda-wordmark-kicker {
  color: #15803d;
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.panda-section-heading h2,
.panda-workflow-copy h2 {
  margin: 10px 0 0;
  color: #0f172a;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 800;
}

.panda-section-heading p,
.panda-workflow-copy p {
  margin: 14px 0 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}

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

.panda-feature {
  min-height: 232px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.panda-feature-dark {
  background: #0f172a;
  color: #ffffff;
}

.panda-feature-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
}

.panda-feature-dark .panda-feature-icon {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #93c5fd;
}

.panda-feature h3 {
  margin: 18px 0 0;
  color: inherit;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 780;
}

.panda-feature p {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.75;
}

.panda-feature-dark p {
  color: #cbd5e1;
}

.panda-workflow {
  padding-top: 74px;
}

.panda-workflow-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #ffffff;
  padding: 34px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.panda-steps {
  display: grid;
  gap: 12px;
}

.panda-steps div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  min-height: 72px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #f8fafc;
  padding: 0 18px;
}

.panda-steps strong {
  color: #15803d;
  font-size: 16px;
}

.panda-steps span {
  color: #0f172a;
  font-size: 16px;
  font-weight: 720;
}

.panda-wordmark-section {
  padding: 82px 0 0;
}

.panda-wordmark-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #020617 0%, #111827 42%, #0f2a3d 100%);
  padding: clamp(28px, 7vw, 72px);
  color: #ffffff;
  box-shadow: 0 36px 90px rgba(2, 6, 23, 0.28);
}

.panda-wordmark-panel .panda-wordmark-kicker {
  color: #86efac;
}

.panda-wordmark {
  margin-top: 18px;
  background:
    linear-gradient(90deg, #ffffff 0%, #dbeafe 30%, #60a5fa 58%, #86efac 100%);
  background-clip: text;
  color: transparent;
  font-size: clamp(76px, 18vw, 210px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 0 46px rgba(96, 165, 250, 0.18);
}

.panda-wordmark-panel p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.75;
}

.panda-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  margin-top: 64px;
  padding: 24px 0;
  color: #64748b;
  font-size: 13px;
}

.panda-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panda-footer a {
  color: #15803d;
  font-weight: 700;
}

@media (max-width: 960px) {
  .panda-hero-grid,
  .panda-workflow-panel {
    grid-template-columns: 1fr;
  }

  .panda-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .panda-container {
    width: min(100% - 24px, 1160px);
  }

  .panda-nav {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0;
  }

  .panda-nav-links {
    flex-wrap: wrap;
  }

  .panda-nav-link,
  .panda-button {
    flex: 1 1 auto;
  }

  .panda-hero {
    padding: 42px 0 54px;
  }

  .panda-agent-flow {
    grid-template-columns: 1fr;
  }

  .panda-flow-line {
    width: 2px;
    height: 20px;
    margin: 0 auto;
  }

  .panda-agent-card-main {
    flex-direction: column;
  }

  .panda-workflow-panel {
    padding: 22px;
  }

  .panda-steps div {
    grid-template-columns: 48px minmax(0, 1fr);
  }

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