.api-command-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 111, 255, 0.22),
      transparent 26%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(255, 90, 0, 0.14),
      transparent 30%
    ),
    linear-gradient(135deg, #020617 0%, #071a3d 48%, #020617 100%);
  color: #ffffff;
}

.api-command-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
  pointer-events: none;
}

.api-command-head,
.api-command-layout,
.api-command-cta {
  position: relative;
  z-index: 2;
}

.api-command-head {
  max-width: 1120px;
}

.api-command-kicker {
  color: #ff6a00;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.api-command-kicker span {
  width: 52px;
  height: 2px;
  display: block;
  background: currentColor;
}

.api-command-head h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.api-command-head p {
  max-width: 980px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.45;
}

/* Layout */
.api-command-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 22px;
  align-items: stretch;
}

/* Left Main Command Card */
.api-command-main {
  position: relative;
  min-height: 650px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(92, 165, 255, 0.45);
  background:
    linear-gradient(180deg, rgba(12, 38, 86, 0.78), rgba(4, 18, 45, 0.82)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.api-command-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  top: 44px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(13, 110, 253, 0.55),
    transparent 68%
  );
  filter: blur(6px);
}

.api-command-badge {
  position: relative;
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 36px;
  color: #ffffff;
  font-size: 76px;
  background:
    radial-gradient(circle at 30% 25%, #55e7ff, transparent 28%),
    linear-gradient(135deg, #0d6efd, #003bd1);
  box-shadow:
    0 0 0 12px rgba(13, 110, 253, 0.12),
    0 0 70px rgba(13, 110, 253, 0.5);
}

.api-command-status {
  position: relative;
  width: fit-content;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 100px;
  color: #56e7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: rgba(86, 231, 255, 0.1);
  border: 1px solid rgba(86, 231, 255, 0.22);
}

.api-command-status span {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
  background: #34f871;
  box-shadow: 0 0 18px rgba(52, 248, 113, 0.9);
}

.api-command-main h3 {
  position: relative;
  max-width: 430px;
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.api-command-main p {
  position: relative;
  max-width: 470px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.45;
}

/* Terminal */
.api-command-terminal {
  position: relative;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(92, 165, 255, 0.35);
  background: rgba(2, 10, 32, 0.75);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.api-command-terminal-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(92, 165, 255, 0.18);
}

.api-command-terminal-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}

.api-command-terminal-top span:nth-child(2) {
  background: #ffbd2e;
}

.api-command-terminal-top span:nth-child(3) {
  background: #28c840;
}

.api-command-code {
  padding: 20px;
}

.api-command-code p {
  max-width: none;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.35;
}

.api-command-code p:last-child {
  margin-bottom: 0;
}

.api-command-code em {
  color: #56e7ff;
  font-style: normal;
  font-weight: 900;
}

.api-command-lines span {
  position: absolute;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #0d6efd, transparent);
}

.api-command-lines .line-one {
  top: 42%;
  width: 78%;
}

.api-command-lines .line-two {
  top: 58%;
  width: 62%;
}

.api-command-lines .line-three {
  top: 74%;
  width: 86%;
}

/* Right Bento Cards */
.api-command-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.api-command-card {
  position: relative;
  min-height: 185px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(92, 165, 255, 0.26);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.035)
    ),
    rgba(6, 27, 68, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.api-command-card:hover {
  transform: translateY(-6px);
  border-color: rgba(86, 231, 255, 0.6);
}

.api-command-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -48px;
  top: -48px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(13, 110, 253, 0.28),
    transparent 68%
  );
}

.api-command-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.api-command-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.api-command-card-top span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  background: linear-gradient(135deg, #0d6efd, #003bd1);
}

.api-command-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.api-command-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.38;
}

/* Icon Colors */
.icon-blue {
  color: #2287ff;
}

.icon-green {
  color: #34d26f;
}

.icon-purple {
  color: #9b5cff;
}

.icon-orange {
  color: #ff7a00;
}

.icon-cyan {
  color: #24d7ff;
}

.icon-pink {
  color: #ff3aa7;
}

/* CTA */
.api-command-cta {
  padding: 28px;
  border: 1px solid rgba(92, 165, 255, 0.35);
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.18), rgba(255, 122, 0, 0.09)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.api-command-cta h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.api-command-cta p {
  max-width: 720px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.45;
}

.api-command-btn {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  background: linear-gradient(135deg, #ff7a00, #ff3d00);
  box-shadow: 0 14px 34px rgba(255, 90, 0, 0.3);
}

.api-command-btn:hover {
  color: #ffffff;
}

.api-command-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.api-command-points div {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.api-command-points i {
  color: #56e7ff;
  font-size: 28px;
}

/* =========================================================
   API Command Center Responsive
   ========================================================= */

@media (max-width: 1600px) {
  .api-command-kicker {
    font-size: 14px;
  }

  .api-command-head h2 {
    font-size: 32px;
  }

  .api-command-head p {
    font-size: 15px;
  }

  .api-command-main h3 {
    font-size: 22px;
  }

  .api-command-main p,
  .api-command-card p,
  .api-command-btn,
  .api-command-points div {
    font-size: 14px;
  }

  .api-command-card h3,
  .api-command-cta h3 {
    font-size: 22px;
  }

  .api-command-cta p {
    font-size: 14px;
  }

  .api-command-main {
    min-height: 620px;
  }

  .api-command-badge {
    width: 108px;
    height: 108px;
    border-radius: 30px;
    font-size: 64px;
  }

  .api-command-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 26px;
  }

  .api-command-card-top span {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .api-command-card {
    min-height: 175px;
    padding: 22px;
  }
}

@media (max-width: 1199px) {
  .api-command-layout {
    grid-template-columns: 1fr;
  }

  .api-command-main {
    min-height: auto;
  }
}

@media (max-width: 991px) {
  .api-command-cta {
    text-align: center;
  }

  .api-command-cta p {
    margin-left: auto;
    margin-right: auto;
  }

  .api-command-btn {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .api-command-head h2 {
    font-size: 22px;
  }

  .api-command-head p {
    font-size: 15px;
  }

  .api-command-kicker {
    font-size: 13px;
  }

  .api-command-card h3 {
    font-size: 16px;
  }

  .api-command-kicker span {
    width: 32px;
  }

  .api-command-grid,
  .api-command-points {
    grid-template-columns: 1fr;
  }

  .api-command-main,
  .api-command-card,
  .api-command-cta {
    border-radius: 22px !important;
  }

  .api-command-main {
    padding: 24px;
  }

  .api-command-main h3,
  .api-command-card h3,
  .api-command-cta h3 {
    font-size: 16px;
  }

  .api-command-main h3 {
    font-size: 16px !important;
  }

  

  .api-command-main p,
  .api-command-cta p,
  .api-command-btn,
  .api-command-points div {
    font-size: 14px;
  }
  .api-command-card p{
    font-size: 13px !important;
  }

  .api-command-badge {
    width: 96px;
    height: 96px;
    border-radius: 28px;
    font-size: 58px;
  }

  .api-command-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 24px;
  }

  .api-command-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0 18px;
  }
}

@media (max-width: 575.98px) {
  .api-command-main {
    padding: 20px;
  }

  .api-command-card,
  .api-command-cta {
    padding: 20px;
  }

  .api-command-code p {
    font-size: 13px;
  }

  .api-command-status {
    font-size: 11px;
  }
}

/* base styles */
h2 {
  font-size: 44px !important;
}

@media (max-width: 1599.98px) {
  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 1399.98px) {
  h2 {
    font-size: 30px !important;
  }
}

@media (max-width: 1199.98px) {
  h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 991.98px) {
  h2 {
    font-size: 26px !important;
  }
}

@media (max-width: 767.98px) {
  h2 {
    font-size: 22px !important;
  }
}

@media (max-width: 575.98px) {
  h2 {
    font-size: 21px !important;
  }
}

@media (max-width: 374.98px) {
  h2 {
    font-size: 20px !important;
  }
}

