
:root {
  --bg: #090d18;
  --panel: #101727;
  --panel-light: #131e31;
  --border: #22304a;
  --text: #edf3ff;
  --muted: #91a0ba;
  --blue: #6c8cff;
  --cyan: #57d8e8;
  --green: #53d69a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(
      ellipse at 80% -10%,
      #1c2d58 0,
      transparent 35%
    ),
    var(--bg);

  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
}

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

button,
input {
  font: inherit;
}

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

/* NAVBAR */

header {
  height: 76px;
  border-bottom: 1px solid #ffffff12;

  display: flex;
  align-items: center;

  position: sticky;
  top: 0;
  z-index: 100;

  background: #090d18df;
  backdrop-filter: blur(16px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 11px;

  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand b {
  color: #8fa5ff;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: .2s;
}

nav a:hover {
  color: white;
}

/* BUTTON */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 16px;

  border: 1px solid var(--border);
  border-radius: 10px;

  font-size: 12px;
  font-weight: 700;

  transition: .2s;
}

.button:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(
    110deg,
    var(--blue),
    #6574e8
  );

  border: none;
  color: white;

  box-shadow: 0 8px 24px #637cff35;
}

.button.secondary {
  background: #ffffff08;
}

/* HERO */

.hero {
  padding: 92px 0 76px;

  display: grid;
  grid-template-columns: 1.05fr .95fr;

  gap: 55px;
  align-items: center;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 7px 11px;

  border: 1px solid #6c8cff55;
  border-radius: 30px;

  background: #6c8cff12;
  color: #aabaff;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: .7px;
}

.status span {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: var(--green);

  box-shadow: 0 0 12px var(--green);
}

.hero h1 {
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1.06;

  letter-spacing: -3px;
  margin: 22px 0 18px;
}

.hero h1 span {
  background: linear-gradient(
    100deg,
    #8ea4ff,
    var(--cyan)
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content > p {
  max-width: 520px;

  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 27px;
}

.stats {
  display: flex;
  gap: 32px;
  margin-top: 42px;
}

.stats h3 {
  font-size: 20px;
}

.stats small {
  color: var(--muted);
  font-size: 11px;
}

/* TERMINAL */

.terminal {
  border: 1px solid #33415f;
  border-radius: 17px;

  background: linear-gradient(
    145deg,
    #121d31,
    #0d1422
  );

  box-shadow: 0 25px 80px #0008;
  overflow: hidden;

  transform: rotateY(-4deg);
}

.terminal-header {
  height: 46px;

  border-bottom: 1px solid var(--border);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 16px;
}

.terminal-header small {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots span {
  width: 8px;
  height: 8px;

  border-radius: 50%;
  background: #ff6c75;
}

.dots span:nth-child(2) {
  background: #f4c45d;
}

.dots span:nth-child(3) {
  background: #52d69a;
}

.terminal-code {
  padding: 24px 21px;

  font: 12px/2 "DM Mono", monospace;
  color: #b9c8e4;

  overflow-x: auto;
}

.comment {
  color: #657590;
}

.purple {
  color: #a8a0ff;
}

.green {
  color: #70e3b0;
}

.terminal-response {
  margin: 0 20px 20px;
  padding: 15px;

  border: 1px solid #2a4260;
  border-radius: 10px;

  background: #0a1322;

  color: #8fe0b9;
  font: 11px/1.8 "DM Mono", monospace;
}

/* SECTIONS */

.section {
  padding-top: 65px;
  padding-bottom: 65px;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading small {
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 800;
}

.section-heading h2 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 8px 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* FEATURES */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  padding: 22px;

  background: linear-gradient(
    145deg,
    #121c2e,
    #0e1625
  );

  border: 1px solid var(--border);
  border-radius: 14px;

  transition: .25s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #637cff88;
}

.feature-icon {
  width: 36px;
  height: 36px;

  border-radius: 10px;

  background: #6c8cff19;
  color: #9aabff;

  display: grid;
  place-items: center;

  font-size: 17px;
  margin-bottom: 17px;
}

.feature-card h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* API CATALOG */

.api-category {
  margin-top: 38px;
}

.category-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;

  margin-bottom: 17px;
}

.category-label {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.category-heading h3 {
  font-size: 20px;
  margin: 7px 0;
}

.category-heading p {
  color: var(--muted);
  font-size: 12px;
}

.category-count {
  font: 10px "DM Mono", monospace;
  color: var(--muted);

  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 7px;

  white-space: nowrap;
}

.endpoint-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.endpoint-card {
  padding: 18px 19px;

  background: linear-gradient(
    145deg,
    #121c2e,
    #0e1625
  );

  border: 1px solid var(--border);
  border-radius: 13px;

  transition: .2s;
}

.endpoint-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.endpoint-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.method {
  display: inline-block;

  padding: 5px 7px;

  border-radius: 5px;

  background: #53d69a18;
  color: #71e2b0;

  font: 10px "DM Mono", monospace;
  font-weight: 500;
}

.endpoint-card code {
  color: #d9e4ff;
  font: 12px "DM Mono", monospace;
  overflow-wrap: anywhere;
}

.endpoint-card p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 11px;
}

/* DOCUMENTATION */

.docs-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 15px;
}

.docs-card {
  padding: 22px;

  background: linear-gradient(
    145deg,
    #121c2e,
    #0e1625
  );

  border: 1px solid var(--border);
  border-radius: 14px;
}

.docs-card h3 {
  font-size: 14px;
  margin-bottom: 14px;
}

.docs-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 13px;
}

.code-box {
  padding: 15px;

  background: #080f1b;
  border: 1px solid #24334c;
  border-radius: 9px;

  color: #9eb2ff;
  font: 11px "DM Mono", monospace;

  overflow-x: auto;
}

/* DEMO */

.demo-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 15px;
}

.demo-form input {
  min-width: 0;

  padding: 12px 13px;

  background: #080f1b;
  border: 1px solid var(--border);
  border-radius: 9px;

  color: white;
  font: 11px "DM Mono", monospace;

  outline: none;
}

.demo-form input:focus {
  border-color: var(--blue);
}

.demo-form button {
  padding: 10px 16px;

  background: linear-gradient(
    110deg,
    var(--blue),
    #6574e8
  );

  border: none;
  border-radius: 9px;

  color: white;
  font-size: 11px;
  font-weight: 700;

  cursor: pointer;
}

#demoResult {
  margin-top: 12px;
  padding: 13px;

  background: #080f1b;
  border: 1px solid var(--border);
  border-radius: 9px;

  color: var(--green);

  font: 11px/1.7 "DM Mono", monospace;

  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* FOOTER */

footer {
  border-top: 1px solid #ffffff12;
  padding: 26px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 15px;

  color: var(--muted);
  font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 800px) {

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 65px 0 45px;
    gap: 35px;
  }

  .terminal {
    transform: none;
  }

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

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

}

@media (max-width: 520px) {

  .container {
    width: calc(100% - 28px);
  }

  header {
    height: 65px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }

  .stats {
    justify-content: space-between;
    gap: 8px;
  }

  .stats h3 {
    font-size: 17px;
  }

  .endpoint-list {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .category-heading h3 {
    font-size: 18px;
  }

  .category-count {
    font-size: 9px;
  }

  .footer-content {
    flex-direction: column;
    line-height: 1.8;
  }

}
