:root {
  color-scheme: dark;
  font-family:
    "Avenir Next", "Gill Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #101414;
  color: #f5efe3;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #101414;
}

.scene-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(232, 203, 146, 0.18),
      transparent 28rem
    ),
    linear-gradient(135deg, #0b1112, #1b241f);
  pointer-events: none;
}

.scene-bg video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(1.08) contrast(0.92) blur(1px);
  transform: scale(1.04);
}

.scene-bg::before,
.scene-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene-bg::before {
  background:
    radial-gradient(
      circle at 50% 42%,
      transparent 0 24rem,
      rgba(0, 0, 0, 0.32) 52rem
    ),
    linear-gradient(to bottom, rgba(5, 8, 8, 0.18), rgba(5, 8, 8, 0.74));
}

.scene-bg::after {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 20%,
    black 78%,
    transparent
  );
}

@media (prefers-reduced-motion: reduce) {
  .scene-bg video {
    display: none;
  }

  .scene-bg {
    background:
      radial-gradient(
        circle at 35% 35%,
        rgba(232, 203, 146, 0.28),
        transparent 30rem
      ),
      linear-gradient(135deg, #0b1112, #1b241f);
  }
}

.site-main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  width: min(100% - 3rem, 128rem);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vh, 7rem) 0;
  color: #f5efe3;
}

.hero-copy {
  max-width: 43rem;
}

.hero h1 {
  max-width: 13ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.8rem, 3.2vw, 6.5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 0 32px rgba(106, 181, 255, 0.28);
}

.hero-subtitle,
.hero-detail {
  max-width: 39rem;
  margin: 0;
  color: rgba(244, 249, 255, 0.78);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.7;
}

.hero-subtitle {
  margin-top: 2.1rem;
}

.hero-detail {
  margin-top: 0.25rem;
  color: rgba(231, 238, 247, 0.68);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.8rem;
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: #ffffff;
  color: #071014;
  box-shadow: 0 18px 46px rgba(90, 178, 255, 0.22);
}

.button-secondary {
  border: 1px solid rgba(202, 225, 255, 0.38);
  background: rgba(9, 16, 24, 0.34);
  color: #f8fbff;
  backdrop-filter: blur(18px);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.hero-cards {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.info-card {
  position: static;
  width: min(100%, 20rem);
  border: 1px solid rgba(199, 226, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(20, 29, 42, 0.88),
    rgba(8, 13, 21, 0.72)
  );
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.card-eyebrow {
  margin-bottom: 1rem;
  color: rgba(226, 239, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #f4f8ff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
}

.divider {
  height: 1px;
  background: rgba(120, 160, 200, 0.15);
  margin: 22px 0 26px;
}

.api-line {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  font-size: 18px;
}

.api-line .method {
  color: #16d9ff;
  font-weight: 800;
  letter-spacing: 1px;
}

.api-line code {
  color: #e7edf6;
  font-family: "Fira Code", Consolas, monospace;
  font-weight: 600;
}

.copy-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: #dce8f5;
  font-size: 26px;
  cursor: pointer;
  opacity: 0.85;
}

.copy-btn:hover {
  color: #3bdcff;
}

.code-box {
  margin: 0;
  padding: 22px;
  border-radius: 12px;
  background: rgba(2, 12, 24, 0.9);
  border: 1px solid rgba(100, 160, 220, 0.25);
  color: #dce9f8;
  font-size: 17px;
  line-height: 1.8;
  font-family: "Fira Code", Consolas, Monaco, monospace;
  box-shadow: inset 0 0 24px rgba(0, 132, 255, 0.06);
  overflow-x: auto;
}

.code-box code {
  font-family: inherit;
}

/* 简单代码高亮 */
.code-box .key {
  color: #45c9ff;
  font-weight: 600;
}

.code-box.string {
  color: #5ee08b;
  font-weight: 600;
}

.code-box.number {
  color: #46c5ff;
}

.code-box .boolean {
  color: #306dff;
  font-weight: 700;
}

.models-card {
  padding: 1.25rem;
}

.model-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.45rem;
  color: rgba(246, 250, 255, 0.9);
  font-size: 0.93rem;
}

.model-row a {
  text-decoration: none;
  color: rgba(246, 250, 255, 0.9);
  text-align: left;
}

.model-row + .model-row {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.model-row strong {
  position: relative;
  color: #86f2a8;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.model-row strong::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
  vertical-align: 0.06rem;
}

.model-icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.model-icon.model-icon-gpt {
  background-image: url(./GPT.png);
  background-color: #ffffff;
}

.model-icon.model-icon-claude {
  background-image: url(./Claude-logo.png);
}

.model-icon.model-icon-gemini {
  background-image: url(./Gemini-logo.png);
}

.model-icon.model-icon-deepseek {
  background-image: url(./DeepSeek-log.png);
  background-color: #ffffff;
}

.model-icon.model-icon-qwen {
  background-image: url(./Qwen-logo.png);
}

.usage-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1.1rem;
  padding: 1.25rem;
}

.usage-card-content {
  width: 100%;
}

.usage-card strong {
  display: block;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.usage-card span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(230, 240, 252, 0.6);
  font-size: 0.82rem;
}

.usage-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid rgba(139, 205, 255, 0.2);
  border-radius: 999px;
  background: rgba(77, 151, 223, 0.12);
  color: #eaf6ff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.usage-link:hover {
  border-color: rgba(139, 205, 255, 0.38);
  background: rgba(77, 151, 223, 0.2);
  transform: translateY(-1px);
}

.sparkline {
  display: grid;
  grid-template-columns: repeat(6, 0.5rem);
  align-items: end;
  gap: 0.32rem;
  height: 4.4rem;
  width: 5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 7px;
  background: rgba(38, 136, 216, 0.15);
}

.request-card {
  padding: 1.25rem;
}

.request-card code {
  display: block;
  color: rgba(246, 250, 255, 0.78);
  font-size: 0.78rem;
}

.request-card pre {
  margin: 1rem 0 0;
  overflow: hidden;
  color: #73d7ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.page-section {
  position: relative;
  width: min(100% - 3rem, 92rem);
  margin: 0 auto;
  color: #f6fbff;
  padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
}

.page-faq {
  display: grid;
  /* min-height: 100vh; */
  align-items: center;
}

.faq-shell {
  width: min(100%, 92rem);
}

.faq-shell h1 {
  margin: 0 0 1.65rem;
  color: #ffffff;
  font-size: clamp(2.35rem, 3.2vw, 3.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  text-align: center;
  text-shadow:
    0 0 28px rgba(119, 194, 255, 0.26),
    0 2px 0 rgba(255, 255, 255, 0.24);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  display: grid;
  grid-template-columns: 3.4rem minmax(14rem, 0.78fr) minmax(20rem, 1.52fr);
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: start;
  min-height: 5.1rem;
  border: 1px solid rgba(95, 159, 220, 0.28);
  border-radius: 8px;
  padding: 0.8rem clamp(1rem, 2vw, 1.55rem);
  background:
    linear-gradient(90deg, rgba(9, 18, 31, 0.86), rgba(8, 18, 30, 0.66)),
    rgba(2, 9, 17, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(180, 225, 255, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.faq-icon {
  position: relative;
  display: grid;
  margin-top: 0.16rem;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgba(112, 186, 255, 0.22);
  border-radius: 50%;
  background: rgba(13, 35, 57, 0.5);
  box-shadow:
    inset 0 0 18px rgba(96, 178, 255, 0.14),
    0 0 24px rgba(58, 153, 238, 0.12);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: #9fe7ff;
  box-shadow: 0 0 14px rgba(111, 207, 255, 0.7);
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.02rem, 1.45vw, 1.24rem);
  font-weight: 800;
  line-height: 1.3;
}

.faq-item p {
  margin: 0;
  color: rgba(220, 232, 245, 0.66);
  font-size: clamp(0.84rem, 1vw, 0.96rem);
  line-height: 1.45;
}

.faq-answer {
  display: grid;
  gap: 0.56rem;
  min-width: 0;
}

.faq-item .faq-answer p {
  grid-column: auto;
}

.faq-answer ul {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding-left: 1.05rem;
  color: rgba(220, 232, 245, 0.66);
  font-size: clamp(0.84rem, 1vw, 0.96rem);
  line-height: 1.45;
}

.faq-answer li::marker {
  color: #82dfff;
}

.faq-answer a {
  color: #9fe7ff;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.page-models {
  display: grid;
  /* min-height: 100vh; */
  align-items: center;
}

.models-shell {
  width: min(100%, 92rem);
}

.models-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.78fr);
  gap: clamp(1.25rem, 4vw, 4.5rem);
  align-items: start;
}

.models-copy {
  max-width: 49rem;
}

.models-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.35rem, 3.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  text-wrap: wrap;
  text-shadow: 0 0 34px rgba(105, 186, 255, 0.26);
}

.models-copy p {
  max-width: 46rem;
  margin: 1.15rem 0 0;
  color: rgba(224, 237, 249, 0.72);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}

.model-family-panel {
  border: 1px solid rgba(132, 204, 255, 0.18);
  border-radius: 8px;
  padding: 1.1rem;
  background:
    linear-gradient(145deg, rgba(15, 29, 48, 0.82), rgba(5, 11, 20, 0.66)),
    rgba(6, 13, 22, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.model-family-panel h2 {
  margin: 0 0 0.85rem;
  color: rgba(245, 250, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

.model-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.model-logo {
  position: relative;
  display: inline-flex;
  min-height: 2.15rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(144, 211, 255, 0.15);
  border-radius: 7px;
  padding: 0.3rem 0.55rem 0.3rem 1.45rem;
  background: rgba(7, 19, 34, 0.68);
  color: rgba(244, 249, 255, 0.88);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.model-logo:hover {
  border-color: rgba(150, 220, 255, 0.38);
  background: rgba(28, 74, 111, 0.28);
  transform: translateY(-1px);
}

.model-logo::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  width: 1.5rem;
  height: 1.5rem;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 5px;
}

.model-logo-gpt::before {
  background-image: url(./GPT.png);
  background-color: #ffffff;
}

.model-logo-claude::before {
  background-image: url(./Claude-logo.png);
}

.model-logo-gemini::before {
  background-image: url(./Gemini-logo.png);
}

.model-logo-deepseek::before {
  background-image: url(./DeepSeek-log.png);
}

.model-logo-qwen::before {
  background-image: url(./Qwen-logo.png);
}

.model-logo-minmax::before {
  background-image: url(./MiniMax-logo.png);
}

.model-logo-kimi::before {
  background-image: url(./kimi-logo.png);
  background-color: #ffffff;
}

.model-logo-more {
  padding-left: 0.55rem;
}

.model-logo-more::before {
  display: none;
}

.model-family-panel p {
  margin: 0.85rem 0 0;
  color: rgba(221, 234, 248, 0.62);
  font-size: 0.78rem;
  line-height: 1.5;
}

.model-family-panel p::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.45rem;
  border: 1px solid rgba(174, 232, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(100, 205, 255, 0.42);
  vertical-align: 0.02rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.capability-card {
  position: relative;
  display: grid;
  min-height: 13.5rem;
  align-content: start;
  overflow: hidden;
  border: 1px solid rgba(126, 210, 255, 0.26);
  border-radius: 8px;
  padding: 1.45rem;
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(84, 192, 255, 0.16),
      transparent 8.5rem
    ),
    linear-gradient(145deg, rgba(16, 31, 50, 0.86), rgba(5, 11, 19, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 62px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.capability-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 32%),
    linear-gradient(90deg, transparent, rgba(120, 213, 255, 0.08), transparent);
  pointer-events: none;
}

.capability-icon {
  display: inline-block;
  width: 3.9rem;
  height: 3.9rem;
  margin: 0 auto 1.05rem;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.capability-icon-chat {
  background-image: url("./capability-icon-chat.png");
}

.capability-icon-image {
  background-image: url("./capability-icon-image.png");
}

.capability-icon-audio {
  background-image: url("./capability-icon-audio.png");
}

.capability-icon-embeddings {
  background-image: url("./capability-icon-embeddings.png");
}

.capability-icon-rerank {
  background-image: url("./capability-icon-rerank.png");
}

.capability-icon-tool {
  background-image: url("./capability-icon-tool.png");
}

.capability-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
}

.capability-card p {
  max-width: 20rem;
  margin: 0.72rem auto 0;
  color: rgba(223, 236, 249, 0.66);
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: center;
}

.models-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.models-button {
  min-height: 3.15rem;
  gap: 0.5rem;
  padding: 0.8rem 1.55rem;
  background: rgba(10, 20, 34, 0.72);
}

/* .page-quick-start {
  min-height: 100vh;
} */

.quick-start-heading {
  max-width: 52rem;
}

.quick-start-heading h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.35rem, 3.2vw, 3.4rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 0 34px rgba(105, 186, 255, 0.28);
}

.quick-start-heading p {
  max-width: 48rem;
  margin: 1.2rem 0 0;
  color: rgba(225, 238, 249, 0.72);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.65;
}

.quick-start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.quick-start-button {
  min-width: 14.5rem;
  padding-inline: 1.9rem;
}

.quick-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.quick-steps::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(109, 215, 255, 0.68),
    transparent
  );
  box-shadow: 0 0 18px rgba(92, 192, 255, 0.48);
  pointer-events: none;
}

.quick-step-card {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 17rem;
  align-content: start;
  border: 1px solid rgba(122, 205, 255, 0.28);
  border-radius: 8px;
  padding: 1.35rem;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(80, 181, 255, 0.16),
      transparent 9rem
    ),
    linear-gradient(145deg, rgba(17, 31, 50, 0.88), rgba(5, 11, 19, 0.74));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 68px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.quick-step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    transparent 34%
  );
  pointer-events: none;
}

.step-number {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(130, 217, 255, 0.34);
  border-radius: 7px;
  background: rgba(12, 35, 58, 0.76);
  color: #bfeeff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 18px rgba(72, 188, 255, 0.22);
}

.step-glyph {
  width: 4rem;
  height: 4rem;
  margin: 1rem auto 1.25rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 18px rgba(72, 188, 255, 0.24));
}

.step-glyph-account {
  background-image: url(./glyph-account.png);
}

.step-glyph-key {
  background-image: url(./glyph-key.png);
}

.step-glyph-url {
  background-image: url(./glyph-url.png);
}

.step-glyph-send {
  background-image: url(./glyph-send.png);
}

.quick-step-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.12rem, 1.45vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.quick-step-card p {
  margin: 0.8rem 0 0;
  color: rgba(224, 237, 249, 0.66);
  font-size: 0.94rem;
  line-height: 1.62;
  text-align: center;
}

.quick-start-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(21rem, 0.78fr);
  gap: 1rem;
  margin-top: clamp(1.1rem, 2.2vw, 1.6rem);
}

.example-request-panel,
.quick-docs-list {
  border: 1px solid rgba(120, 203, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(13, 26, 43, 0.88), rgba(4, 10, 18, 0.76)),
    rgba(6, 12, 20, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 68px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.example-request-panel {
  min-width: 0;
  padding: 1.15rem;
}

.example-request-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.example-request-header h2 {
  margin: 0;
  color: rgba(244, 249, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.example-request-shell {
  overflow: hidden;
  border: 1px solid rgba(92, 164, 255, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(10, 24, 43, 0.95), rgba(4, 12, 22, 0.94)),
    rgba(5, 12, 20, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(130, 196, 255, 0.03),
    0 20px 60px rgba(0, 0, 0, 0.34);
}

.example-request-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(91, 148, 216, 0.14);
  background:
    linear-gradient(180deg, rgba(20, 37, 62, 0.94), rgba(13, 27, 48, 0.88)),
    rgba(14, 28, 48, 0.88);
}

.example-request-route {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.request-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.95rem;
  padding: 0 0.8rem;
  border: 1px solid rgba(98, 151, 255, 0.32);
  border-radius: 9px;
  background: linear-gradient(
    180deg,
    rgba(74, 127, 255, 0.42),
    rgba(56, 101, 214, 0.26)
  );
  color: #dce9ff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.request-endpoint {
  min-width: 0;
  overflow: hidden;
  color: rgba(242, 247, 255, 0.92);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.98rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.example-request-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(203, 221, 246, 0.72);
  font-size: 0.84rem;
  font-weight: 700;
}

.request-client {
  text-transform: none;
}

.request-caret {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  border-right: 1.5px solid rgba(162, 194, 234, 0.82);
  border-bottom: 1.5px solid rgba(162, 194, 234, 0.82);
  transform: rotate(45deg) translateY(-0.06rem);
}

.example-request-code {
  min-height: 14.5rem;
  margin: 0;
  overflow-x: auto;
  padding: 1rem 0 1.1rem;
  background:
    radial-gradient(
      circle at top left,
      rgba(39, 104, 171, 0.11),
      transparent 28%
    ),
    linear-gradient(180deg, rgba(6, 15, 28, 0.96), rgba(3, 10, 20, 0.98));
  color: rgba(226, 241, 255, 0.88);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  line-height: 1.7;
}

.example-request-code code {
  font: inherit;
  display: block;
  min-width: max-content;
}

.code-line-number {
  color: rgba(124, 149, 183, 0.82);
  text-align: right;
  user-select: none;
}

.code-line-content {
  white-space: pre;
}

.code-indent-1 {
  padding-left: 1.45rem;
}

.code-indent-2 {
  padding-left: 2.9rem;
}

.json-key {
  color: #7ed0ff;
}

.json-string {
  color: #e2c57b;
}

.json-number {
  color: #f0cc73;
}

.json-boolean {
  color: #8fd887;
}

.json-punctuation {
  color: rgba(226, 239, 255, 0.84);
}

.quick-docs-list {
  display: grid;
  align-content: start;
  overflow: hidden;
  padding: 0.35rem;
}

.quick-doc-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  min-height: 4.35rem;
  border-radius: 7px;
  padding: 0.8rem 2.1rem 0.8rem 0.75rem;
  color: inherit;
  text-decoration: none;
  transition:
    background 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.quick-doc-item + .quick-doc-item {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.quick-doc-item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.85rem;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 1px solid rgba(188, 231, 255, 0.72);
  border-right: 1px solid rgba(188, 231, 255, 0.72);
  transform: translateY(-50%) rotate(45deg);
}

.quick-doc-item:hover {
  background: rgba(60, 151, 221, 0.12);
  transform: translateX(2px);
}

.quick-doc-icon {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 14px rgba(74, 188, 255, 0.18));
}

.quick-doc-icon-01 {
  background-image: url(./quick-doc-01.png);
}

.quick-doc-icon-02 {
  background-image: url(./quick-doc-02.png);
}

.quick-doc-icon-03 {
  background-image: url(./quick-doc-03.png);
}

.quick-doc-icon-04 {
  background-image: url(./quick-doc-04.png);
}

.quick-doc-icon-05 {
  background-image: url(./quick-doc-05.png);
}

.quick-doc-item strong {
  display: block;
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.25;
}

.quick-doc-item em {
  display: block;
  margin-top: 0.28rem;
  color: rgba(220, 234, 248, 0.64);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.35;
}

.page-why {
  overflow: hidden;
}

.page-why::before,
.page-why::after {
  content: "";
  position: absolute;
  left: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}

.page-why::before {
  top: 21rem;
  width: min(88vw, 76rem);
  height: 16rem;
  border: 1px solid rgba(99, 188, 255, 0.2);
  border-color: rgba(99, 188, 255, 0.18) transparent transparent;
  border-radius: 50%;
  box-shadow:
    0 -18px 42px rgba(67, 169, 255, 0.18),
    inset 0 18px 48px rgba(67, 169, 255, 0.1);
}

.page-why::after {
  top: 14rem;
  width: min(96vw, 84rem);
  height: 30rem;
  background:
    radial-gradient(
      ellipse at center,
      rgba(60, 146, 255, 0.16),
      transparent 62%
    ),
    linear-gradient(90deg, transparent, rgba(101, 203, 255, 0.24), transparent);
  filter: blur(18px);
  opacity: 0.7;
}

.why-heading {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.why-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.35rem, 3.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(105, 186, 255, 0.28);
}

.why-heading p {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: rgba(221, 234, 248, 0.68);
  font-size: clamp(0.96rem, 1.5vw, 1.13rem);
  line-height: 1.7;
}

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.why-card {
  display: grid;
  min-height: 13.25rem;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  border: 1px solid rgba(156, 211, 255, 0.16);
  border-radius: 8px;
  padding: 1.4rem;
  background:
    linear-gradient(135deg, rgba(19, 32, 50, 0.84), rgba(7, 13, 22, 0.7)),
    rgba(7, 12, 20, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 22px 64px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.why-card:nth-child(2),
.why-card:nth-child(5) {
  transform: translateY(0.45rem);
}

.why-icon {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.why-icon-oneapi {
  background-image: url("one-api.png");
}

.why-icon-savecosts {
  background-image: url("save-costs.png");
}

.why-icon-openai-Compatible {
  background-image: url("openai-compatible.png");
}

.why-icon-multiregion {
  background-image: url("multi-region.png");
}

.why-icon-blazingfast {
  background-image: url("blazing-fast.png");
}

.why-icon-transparentusage {
  background-image: url("transparent-usage.png");
}

.why-card h3 {
  margin: 0 0 0.68rem;
  color: #ffffff;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.why-card p {
  margin: 0;
  color: rgba(222, 234, 248, 0.66);
  font-size: 0.89rem;
  line-height: 1.62;
}

.why-card p + p {
  margin-top: 0.65rem;
}

.page-why .why-actions {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: clamp(3rem, 5vw, 4.4rem) auto;
  color: rgb(19 32 50 / 84%);
}

.page-why .why-usage-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid rgba(139, 205, 255, 0.2);
  border-radius: 999px;
  background: rgba(77, 151, 223, 0.12);
  color: #eaf6ff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.why-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 60rem;
  text-align: center;
  margin: clamp(3rem, 5vw, 4.4rem) auto 0;
}

.why-stats strong {
  display: block;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 30px rgba(99, 190, 255, 0.24);
}

.why-stats span {
  display: block;
  margin-top: 0.8rem;
  color: rgba(218, 232, 247, 0.66);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 700;
  line-height: 1.35;
}

.page-topup {
  display: grid;
  /* min-height: 100vh; */
  align-items: center;
}

.topup-shell {
  position: relative;
  width: min(100%, 92rem);
}

.topup-shell::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6.5rem;
  width: min(88vw, 68rem);
  height: 21rem;
  border: 1px solid rgba(79, 179, 255, 0.16);
  border-color: rgba(79, 179, 255, 0.16) transparent transparent;
  border-radius: 50%;
  box-shadow:
    0 -14px 42px rgba(42, 146, 255, 0.13),
    inset 0 18px 46px rgba(56, 170, 255, 0.08);
  pointer-events: none;
  transform: translateX(-50%);
}

.topup-heading,
.token-group-grid,
.topup-rewards,
.billing-notes,
.billing-feature-grid {
  position: relative;
  z-index: 1;
}

.topup-heading {
  max-width: 58rem;
  margin: 1.45rem auto clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}

.topup-heading h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.35rem, 3.2vw, 3.4rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 0 34px rgba(93, 184, 255, 0.28);
}

.topup-heading p {
  max-width: 54rem;
  margin: 0.85rem auto 0;
  color: rgba(224, 237, 249, 0.72);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.65;
}

.token-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.token-card {
  min-height: 17.75rem;
  border: 1px solid rgba(90, 184, 255, 0.24);
  border-radius: 8px;
  padding: clamp(1rem, 1.65vw, 1.35rem);
  background:
    linear-gradient(145deg, rgba(13, 31, 53, 0.78), rgba(4, 12, 24, 0.78)),
    rgba(4, 14, 28, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 22px 68px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.token-card-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.token-icon {
  position: relative;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.token-card-claude .token-icon {
  background-image: url("./token-card-claude.png");
}

.token-card-standard .token-icon {
  background-image: url("./token-card-standard.png");
}

.token-card-deep .token-icon {
  background-image: url("./token-card-deep.png");
}

.token-card h2 {
  margin: 0;
  color: rgba(247, 251, 255, 0.94);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 850;
  line-height: 1.25;
}

.token-rate {
  display: flex;
  align-items: baseline;
  gap: 0.32rem;
  margin: 1.15rem 0 0;
  color: rgba(221, 234, 248, 0.76);
  font-size: 0.92rem;
  line-height: 1.2;
}

.token-rate strong {
  color: #55bbff;
  font-size: clamp(3.45rem, 5.2vw, 5.3rem);
  font-weight: 850;
  line-height: 0.9;
  text-shadow:
    0 0 20px rgba(68, 184, 255, 0.54),
    0 0 46px rgba(42, 139, 255, 0.24);
}

.token-card-claude .token-rate strong {
  color: #4aaeff;
}

.token-save {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin: 0.75rem 0 0;
  border: 1px solid rgba(77, 181, 255, 0.22);
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  background: rgba(30, 121, 213, 0.2);
  color: #88d9ff;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
}

.token-card-claude .token-save {
  border-color: rgba(255, 149, 96, 0.28);
  background: rgba(255, 113, 56, 0.14);
  color: #ffb08b;
}

.token-card ul {
  display: grid;
  gap: 0.72rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.token-card li {
  position: relative;
  padding-left: 1.32rem;
  color: rgba(226, 238, 250, 0.72);
  font-size: 0.88rem;
  line-height: 1.45;
}

.token-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34rem;
  width: 0.58rem;
  height: 0.58rem;
  border: 1px solid rgba(91, 204, 255, 0.58);
  border-radius: 999px;
  background:
    radial-gradient(
      circle at center,
      rgba(103, 215, 255, 0.95) 0 2px,
      transparent 2px
    ),
    rgba(20, 77, 128, 0.5);
}

.token-card-claude li::before {
  border-color: rgba(255, 155, 109, 0.6);
  background:
    radial-gradient(
      circle at center,
      rgba(255, 169, 119, 0.95) 0 2px,
      transparent 2px
    ),
    rgba(111, 58, 31, 0.48);
}

.topup-rewards,
.billing-notes,
.billing-feature-grid {
  border: 1px solid rgba(95, 190, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 30, 52, 0.76), rgba(4, 11, 22, 0.76)),
    rgba(4, 13, 25, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 58px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.topup-rewards {
  display: grid;
  grid-template-columns: minmax(12.5rem, 0.85fr) minmax(0, 2.7fr);
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem 1.05rem;
}

.rewards-intro {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.rewards-icon {
  position: relative;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(112, 210, 255, 0.28);
  border-radius: 8px;
  background: rgba(12, 43, 74, 0.78);
  box-shadow: inset 0 0 16px rgba(84, 194, 255, 0.12);
}

.rewards-icon::before {
  content: "$";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #90ddff;
  font-size: 1rem;
  font-weight: 900;
}

.rewards-intro h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.25;
}

.rewards-intro p {
  margin: 0.28rem 0 0;
  color: rgba(221, 234, 248, 0.64);
  font-size: 0.82rem;
  line-height: 1.4;
}

.reward-tiers {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.4rem;
}

.reward-tier {
  position: relative;
  display: grid;
  min-height: 4.1rem;
  align-content: center;
  justify-items: center;
  gap: 0.18rem;
  padding: 0.35rem;
  text-align: center;
}

.reward-tier + .reward-tier::before {
  content: "";
  position: absolute;
  left: -0.2rem;
  top: 50%;
  width: 0.4rem;
  height: 1px;
  background: rgba(92, 204, 255, 0.46);
}

.reward-tier strong {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.1;
}

.reward-tier span {
  color: rgba(222, 236, 249, 0.7);
  font-size: 0.75rem;
  line-height: 1.2;
}

.reward-tier em {
  color: #7ee1ff;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.15;
}

.billing-notes {
  display: grid;
  gap: 0.38rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  grid-auto-flow: column;
}

.billing-notes p {
  position: relative;
  margin: 0;
  padding-left: 1.55rem;
  color: rgba(222, 236, 249, 0.72);
  font-size: 0.86rem;
  line-height: 1.45;
}

.billing-notes p::before {
  content: "i";
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  width: 0.95rem;
  height: 0.95rem;
  place-items: center;
  border: 1px solid rgba(106, 205, 255, 0.46);
  border-radius: 999px;
  color: #8bdcff;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
}

.billing-usage-link a {
  display: inline-flex;
  min-width: 8rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid rgba(139, 205, 255, 0.2);
  border-radius: 999px;
  color: #eaf6ff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.billing-usage-link .billing-a-pricing {
  background-color: #306dff;
}

.billing-usage-link .billing-a-credits {
  background: rgba(77, 151, 223, 0.12);
}

.billing-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 1rem;
}

.billing-feature {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
}

.billing-feature-icon {
  position: relative;
  width: 3rem;
  height: 3rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.billing-feature:nth-child(1) .billing-feature-icon {
  background-image: url("./billing-feature-01.png");
}

.billing-feature:nth-child(2) .billing-feature-icon {
  background-image: url("./billing-feature-02.png");
}

.billing-feature:nth-child(3) .billing-feature-icon {
  background-image: url("./billing-feature-03.png");
}

.billing-feature:nth-child(4) .billing-feature-icon {
  background-image: url("./billing-feature-04.png");
}

.billing-feature h2 {
  margin: 0;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;
}

.billing-feature p {
  margin: 0.26rem 0 0;
  color: rgba(221, 234, 248, 0.62);
  font-size: 0.78rem;
  line-height: 1.35;
}

.page-footer {
  display: grid;
  /* min-height: 100vh; */
  align-items: end;
   padding-bottom: 0;
}

.footer-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(101, 173, 240, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(
      circle at 15% 22%,
      rgba(91, 178, 255, 0.13),
      transparent 18rem
    ),
    radial-gradient(
      circle at 82% 8%,
      rgba(74, 131, 220, 0.16),
      transparent 20rem
    ),
    linear-gradient(135deg, rgba(5, 12, 22, 0.91), rgba(4, 12, 22, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(195, 229, 255, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.34),
    0 0 36px rgba(58, 153, 238, 0.08);
  backdrop-filter: blur(20px);
}

.footer-panel::before {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: 1.8rem;
  width: 62rem;
  height: 13rem;
  border: 1px solid rgba(75, 175, 255, 0.24);
  border-color: rgba(79, 183, 255, 0.28) transparent transparent;
  border-radius: 50%;
  transform: rotate(-8deg);
  opacity: 0.62;
  pointer-events: none;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 2.28fr);
  gap: clamp(2rem, 4.5vw, 5rem);
  padding: clamp(2rem, 4.5vw, 3.75rem);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 0 20px rgba(120, 204, 255, 0.3);
}

.footer-logo-mark {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgba(116, 195, 255, 0.35);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(88, 162, 243, 0.18), rgba(7, 24, 42, 0.24)),
    rgba(6, 18, 31, 0.58);
  box-shadow:
    inset 0 0 18px rgba(95, 182, 255, 0.16),
    0 0 22px rgba(69, 165, 255, 0.18);
}

.footer-logo-mark svg {
  color: #9ee7ff;
  filter: drop-shadow(0 0 7px rgba(90, 190, 255, 0.8));
}

.footer-logo-mark path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.footer-brand p {
  max-width: 16rem;
  margin: 1.25rem 0 0;
  color: rgba(222, 236, 249, 0.74);
  font-size: 1rem;
  line-height: 1.55;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.05rem;
  margin-top: 2.35rem;
}

.footer-socials a {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid rgba(108, 186, 255, 0.24);
  border-radius: 8px;
  color: rgba(216, 238, 255, 0.86);
  background: rgba(7, 22, 38, 0.42);
  text-decoration: none;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: rgba(125, 218, 255, 0.72);
  color: #ffffff;
  background: rgba(25, 74, 112, 0.45);
  box-shadow: 0 0 24px rgba(75, 183, 255, 0.2);
  transform: translateY(-2px);
  outline: none;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.3rem, 2.4vw, 2.6rem);
}

.footer-column {
  min-width: 0;
}

.footer-column h2 {
  position: relative;
  margin: 0 0 1.28rem;
  padding-bottom: 0.72rem;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
}

.footer-column h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4cd7ff, rgba(76, 215, 255, 0));
  box-shadow: 0 0 12px rgba(80, 211, 255, 0.75);
}

.footer-column a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.86rem;
  color: rgba(216, 231, 245, 0.7);
  font-size: 0.88rem;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #9ee7ff;
  transform: translateX(3px);
  outline: none;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(107, 176, 235, 0.16);
  padding: 1.08rem clamp(2rem, 4.5vw, 3.75rem);
}

.footer-bottom p {
  margin: 0;
  color: rgba(208, 224, 238, 0.6);
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    width: min(100% - 2rem, 42rem);
    padding-top: 5rem;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3.1rem, 15vw, 5.2rem);
  }

  .hero-cards {
    align-items: stretch;
  }

  .info-card {
    width: 100%;
  }

  .usage-card {
    align-items: center;
  }

  .page-section {
    width: min(100% - 2rem, 42rem);
    padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
  }

  .faq-shell h1 {
    font-size: clamp(2.65rem, 9.5vw, 4rem);
    text-align: left;
  }

  .faq-item {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.2rem 1rem;
    align-items: start;
    min-height: 0;
    padding: 1rem;
  }

  .faq-icon {
    grid-row: span 2;
    width: 2.4rem;
    height: 2.4rem;
  }

  .faq-item p {
    grid-column: 2;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .models-top {
    grid-template-columns: 1fr;
  }

  .models-copy h1 {
    max-width: 13ch;
    font-size: clamp(2.35rem, 3.2vw, 3.4rem);
  }

  .model-family-panel {
    max-width: 35rem;
  }

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

  .quick-steps,
  .quick-start-bottom {
    grid-template-columns: 1fr;
  }

  .quick-steps::before {
    top: 7%;
    bottom: 7%;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(109, 215, 255, 0.6),
      transparent
    );
  }

  .quick-step-card {
    min-height: 0;
  }

  .quick-start-bottom {
    gap: 1rem;
  }

  .page-why::before {
    top: 18rem;
    width: 54rem;
  }

  .page-why::after {
    top: 12rem;
    width: 48rem;
  }

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

  .why-card,
  .why-card:nth-child(2),
  .why-card:nth-child(5) {
    transform: none;
  }

  .why-card {
    min-height: 0;
  }

  .why-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 34rem;
  }

  .token-group-grid {
    grid-template-columns: 1fr;
  }

  .token-card {
    min-height: 0;
  }

  .token-rate strong {
    font-size: clamp(3.1rem, 12vw, 4.75rem);
  }

  .topup-rewards {
    grid-template-columns: 1fr;
  }

  .reward-tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 0.4rem;
  }

  .reward-tier:nth-child(4)::before {
    content: none;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.6rem;
    padding: 1.5rem;
  }

  .footer-brand p {
    max-width: 25rem;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.3rem;
  }

  .footer-bottom {
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 520px) {
  .hero {
    width: min(100% - 1.25rem, 42rem);
    padding-top: 4rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 14vw, 3.6rem);
  }

  .hero-subtitle,
  .hero-detail {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .usage-card {
    align-items: stretch;
  }

  .page-section {
    width: min(100% - 1.25rem, 42rem);
    padding-bottom: clamp(2.5rem, 3vw, 4rem);
  }

  .faq-shell h1 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.25rem, 11vw, 3.1rem);
  }

  .faq-list {
    gap: 0.55rem;
  }

  .faq-item {
    grid-template-columns: 2.45rem minmax(0, 1fr);
    gap: 0.15rem 0.75rem;
    padding: 0.85rem;
  }

  .faq-icon {
    width: 2.15rem;
    height: 2.15rem;
  }

  .faq-icon::before,
  .faq-icon::after {
    width: 0.86rem;
  }

  .faq-item h2 {
    font-size: 0.98rem;
  }

  .faq-item p {
    font-size: 0.84rem;
  }

  .models-copy h1 {
    font-size: clamp(2.35rem, 3.2vw, 3.4rem);
  }

  .models-copy p {
    font-size: 0.98rem;
  }

  .model-family-panel {
    padding: 0.85rem;
  }

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

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

  .capability-card {
    min-height: 0;
    padding: 1.15rem;
  }

  .models-actions,
  .models-button {
    width: 100%;
  }

  .quick-start-heading h1 {
    font-size: clamp(2.35rem, 3.2vw, 3.4rem);
  }

  .quick-start-heading p {
    font-size: 1rem;
  }

  .quick-start-actions,
  .quick-start-button {
    width: 100%;
  }

  .quick-step-card {
    padding: 1.1rem;
  }

  .quick-start-bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  .example-request-panel {
    padding: 0.85rem;
  }

  .example-request-toolbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .request-endpoint {
    white-space: normal;
    word-break: break-all;
  }

  .example-request-code {
    min-height: 0;
    padding: 0.85rem 0 0.95rem;
    font-size: 0.74rem;
  }

  .code-line {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0 0.8rem;
  }

  .code-indent-1 {
    padding-left: 0.95rem;
  }

  .code-indent-2 {
    padding-left: 1.9rem;
  }

  .quick-doc-item {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    min-height: 4rem;
    padding: 0.75rem 1.75rem 0.75rem 0.65rem;
  }

  .quick-doc-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .why-heading {
    margin-bottom: 1.6rem;
  }

  .why-grid,
  .why-stats {
    grid-template-columns: 1fr;
  }

  .why-card {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.05rem;
  }

  .why-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .why-stats {
    gap: 1.6rem;
    margin-top: 2.6rem;
  }

  .topup-shell::before {
    top: 7rem;
    width: 44rem;
  }

  .topup-heading {
    margin-top: 1.15rem;
  }

  .topup-heading h1 {
    font-size: clamp(2.35rem, 3.2vw, 3.4rem);
  }

  .topup-heading p {
    font-size: 0.96rem;
  }

  .token-card {
    padding: 1rem;
  }

  .token-card-top {
    align-items: flex-start;
  }

  .token-rate {
    flex-wrap: wrap;
  }

  .token-rate strong {
    font-size: clamp(3rem, 17vw, 4.15rem);
  }

  .topup-rewards,
  .billing-notes,
  .billing-feature-grid {
    padding: 0.85rem;
  }

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

  .reward-tier:nth-child(4)::before {
    content: "";
  }

  .reward-tier:nth-child(3)::before,
  .reward-tier:nth-child(5)::before {
    content: none;
  }

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

  .billing-feature {
    min-height: 3.5rem;
  }

  .footer-main {
    gap: 2.2rem;
    padding: 1.05rem;
  }

  .footer-logo-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .footer-brand p {
    margin-top: 1rem;
    font-size: 0.96rem;
  }

  .footer-socials {
    display: grid;
    grid-template-columns: repeat(4, 2.5rem);
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.8rem;
    justify-content: space-between;
  }

  .footer-socials a {
    width: 2.5rem;
    height: 2.5rem;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }

  .footer-column h2 {
    margin-bottom: 1rem;
  }

  .footer-column a {
    margin-top: 0.72rem;
    font-size: 0.86rem;
  }

  .footer-bottom {
    padding: 0.9rem 1.05rem 1rem;
  }
}
