:root {
  --text: #171b25;
  --muted: #596171;
  --blue: #0667f6;
  --soft-blue: #eef4ff;
  --glass: rgba(240, 242, 247, 0.72);
  --line: rgba(209, 218, 232, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial,
    sans-serif;
  background:
    radial-gradient(circle at 36% 22%, rgba(208, 207, 255, 0.44), transparent 24%),
    radial-gradient(circle at 18% 42%, rgba(191, 244, 235, 0.45), transparent 28%),
    radial-gradient(circle at 72% 18%, rgba(231, 232, 255, 0.52), transparent 30%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 68%);
}

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

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 88px;
  padding: 68px 28px 92px;
  overflow: hidden;
}

.hero {
  width: min(920px, 100%);
  text-align: center;
}

.brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  color: #111827;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.brand-logo::before {
  position: absolute;
  inset: -14px -28px;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(6, 217, 255, 0.14), rgba(141, 92, 255, 0.12));
  filter: blur(22px);
  content: "";
}

.brand-icon {
  display: grid;
  width: clamp(54px, 5.2vw, 76px);
  height: clamp(54px, 5.2vw, 76px);
  place-items: center;
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent 38%),
    linear-gradient(135deg, #06d9ff, #1268ff 48%, #8d5cff);
  color: #fff;
  font-size: clamp(24px, 2.6vw, 34px);
  box-shadow: 0 20px 44px rgba(6, 103, 246, 0.22);
}

.subtitle {
  margin: 30px 0 0;
  color: #3f4653;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.6;
}

.hero-title {
  color: #151a24;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.12;
}

.endpoint {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0;
  width: min(610px, 100%);
  min-height: 56px;
  margin: 30px auto 0;
  border: 1px solid rgba(218, 224, 236, 0.8);
  border-radius: 999px;
  background: var(--glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 16px 48px rgba(46, 68, 116, 0.08);
  backdrop-filter: blur(18px);
}

.endpoint .base {
  min-width: 0;
  padding: 0 18px;
  font-size: clamp(16px, 1.55vw, 22px);
  white-space: nowrap;
}

.endpoint .base {
  overflow: hidden;
  color: #1f2937;
  text-align: left;
  text-overflow: ellipsis;
}

.copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 94px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  margin-right: 4px;
  background: rgba(222, 225, 232, 0.86);
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.copy-text {
  display: inline;
}

.copy:hover {
  color: var(--blue);
  background: #fff;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: min(360px, 100%);
  min-height: 68px;
  border-radius: 999px;
  padding: 0 34px;
  background: var(--blue);
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(6, 103, 246, 0.26);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(6, 103, 246, 0.3);
}

.pricing {
  width: min(1120px, 100%);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head p,
.section-head h2,
.section-head span {
  margin: 0;
}

.section-head p {
  color: rgba(35, 61, 105, 0.48);
  font-size: 13px;
  font-weight: 950;
}

.section-head h2 {
  margin-top: 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head span {
  color: #747b87;
  font-size: 15px;
  white-space: nowrap;
}

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

.price-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(168px, auto);
  align-items: center;
  gap: 16px;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 54px rgba(38, 57, 101, 0.07);
  backdrop-filter: blur(16px);
}

.price-card strong,
.price-card span {
  display: block;
}

.model-logo {
  flex: 0 0 auto;
  width: 62px;
  height: 32px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  line-height: 32px;
  text-align: center;
  letter-spacing: 0;
  box-shadow: 0 12px 24px rgba(28, 48, 88, 0.1);
}

.model-logo.claude {
  background: #f6eee7;
  color: #b4572e;
  border: 1px solid #f0d8c9;
}

.model-logo.openai {
  background: #edf1f7;
  color: #1f2937;
  border: 1px solid #dfe5ee;
}

.model-logo.gemini {
  background: #eef3ff;
  color: #316bff;
  border: 1px solid #dbe6ff;
}

.model-logo.deepseek {
  background: #edf7ff;
  color: #0b70d8;
  border: 1px solid #d4eafe;
}

.model-logo.generic {
  background: #eef3ff;
  color: var(--blue);
  border: 1px solid #dbe6ff;
}

.price-card strong {
  max-width: 210px;
  overflow: hidden;
  color: #182131;
  font-size: 18px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-card span {
  margin-top: 8px;
  color: #7a8393;
  font-size: 13px;
}

.price-pair,
.price-once {
  display: grid;
  justify-items: end;
  gap: 5px;
  color: #5d6776;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}

.price-pair b,
.price-once b {
  color: var(--blue);
  font-size: 16px;
}

.price-once {
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--soft-blue);
}

.price-once span {
  font-size: 12px;
}

@media (max-width: 900px) {
  .page {
    justify-content: flex-start;
    gap: 54px;
    padding-top: 58px;
  }

  .endpoint {
    grid-template-columns: 1fr auto;
    padding-left: 0;
  }

  .copy {
    min-width: 86px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page {
    padding-inline: 18px;
  }

  h1 {
    font-size: 52px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .price-card {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .price-card strong {
    max-width: 100%;
  }

  .price-pair,
  .price-once {
    grid-column: 2;
    justify-items: start;
  }
}
