:root {
  --ink: #053734;
  --muted: #557371;
  --card-bottom: #f4f8f8;
  --line: rgba(255, 255, 255, 0.78);
  --gold: #dfc900;
  --pink: #f675d3;
  --violet: #d866f0;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.feature-section {
  width: min(100%, 1720px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 48px 120px;
}

.section-heading {
  text-align: center;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--pink);
}

.eyebrow span {
  color: var(--gold);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 85px;
  font-weight: 500;
  line-height: 1.06;
}

.subhead {
  margin-top: 24px;
  color: var(--muted);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.35;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 112px auto 0;
  max-width: 1640px;
}

.feature-card {
  position: relative;
  min-height: 544px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, transparent 0%, var(--card-bottom) 86%);
}

.feature-card h2 {
  position: absolute;
  left: 42px;
  right: 32px;
  bottom: 44px;
  z-index: 3;
  font-size: 29px;
  font-weight: 750;
  line-height: 1.15;
}

.card-prompt {
  background:
    linear-gradient(180deg, rgba(255, 229, 107, 0.74), rgba(247, 250, 250, 0.95) 74%),
    radial-gradient(circle at 15% 27%, rgba(255, 251, 173, 0.96), transparent 29%),
    radial-gradient(circle at 73% 8%, rgba(255, 193, 113, 0.95), transparent 24%),
    radial-gradient(circle at 68% 48%, rgba(243, 133, 247, 0.32), transparent 31%);
}

.card-api {
  background:
    linear-gradient(180deg, rgba(255, 169, 146, 0.88), rgba(247, 250, 250, 0.97) 77%),
    radial-gradient(circle at 65% 6%, rgba(226, 96, 235, 0.5), transparent 29%),
    radial-gradient(circle at 25% 34%, rgba(255, 224, 123, 0.7), transparent 24%);
}

.card-library {
  background:
    linear-gradient(180deg, rgba(234, 184, 244, 0.74), rgba(247, 250, 250, 0.96) 78%),
    radial-gradient(circle at 38% 5%, rgba(255, 234, 122, 0.75), transparent 20%),
    radial-gradient(circle at 75% 18%, rgba(244, 112, 170, 0.25), transparent 24%);
}

.card-prompt::before,
.card-api::before,
.card-library::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 0.7px, transparent 0.8px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

.prompt-demo {
  position: absolute;
  inset: 0;
}

.prompt-box {
  position: absolute;
  top: 72px;
  left: 102px;
  width: 425px;
  min-height: 203px;
  padding: 38px 34px 28px;
  border: 1px solid rgba(5, 55, 52, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(54, 66, 80, 0.16);
  color: #222725;
  font-size: 25px;
  font-weight: 430;
  line-height: 1.42;
}

.prompt-box strong {
  color: #c6c6c6;
  font-weight: 800;
}

.prompt-box .pink {
  color: #ff7d61;
  text-shadow: 18px 0 12px rgba(231, 74, 218, 0.46);
}

.prompt-box .yellow {
  color: #d9c400;
  background: rgba(245, 231, 56, 0.13);
  border-radius: 5px;
}

.spark {
  position: absolute;
  width: 17px;
  height: 17px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #f8da00, #ec5de0);
}

.spark::after {
  content: "";
  position: absolute;
  inset: 5px -5px;
  background: inherit;
  border-radius: 20px;
}

.spark.one {
  top: 61px;
  left: 185px;
}

.spark.two {
  top: 88px;
  left: 178px;
  width: 9px;
  height: 9px;
}

.detail-pill,
.search-pill {
  position: absolute;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(110deg, #e1cf00, #f06e79 48%, #d76df6) border-box;
  border: 2px solid transparent;
  box-shadow: 0 12px 38px rgba(117, 66, 117, 0.13);
  color: #171f1f;
  font: inherit;
  font-size: 24px;
  font-weight: 650;
}

.detail-pill {
  left: 101px;
  top: 294px;
  min-width: 274px;
  padding: 0 28px;
}

.detail-pill span {
  display: inline-block;
  margin-right: 11px;
  color: #ef6ee4;
}

.cursor {
  position: absolute;
  left: 262px;
  top: 344px;
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 83px solid var(--ink);
  filter: drop-shadow(0 3px 1px rgba(0, 0, 0, 0.04));
  transform: rotate(-43deg);
}

.api-demo {
  position: absolute;
  inset: 0;
}

.orb {
  position: absolute;
  top: 137px;
  left: 72px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 40%, #ffffff 0 26%, transparent 44%),
    radial-gradient(circle at 67% 58%, #f37d46 0 20%, #f264c3 35%, transparent 55%),
    radial-gradient(circle at 55% 28%, #ffd76d, transparent 44%),
    linear-gradient(135deg, #faf9ff, #eb5be8);
  box-shadow: 0 0 0 1.5px rgba(221, 196, 0, 0.9), 0 0 0 2.5px rgba(211, 83, 244, 0.55);
}

.circuit {
  position: absolute;
  top: 70px;
  left: 208px;
  width: 210px;
  height: 264px;
}

.stem {
  position: absolute;
  top: 0;
  left: 75px;
  width: 74px;
  height: 264px;
  border: 2px solid var(--line);
  border-right: 0;
  border-radius: 28px 0 0 28px;
}

.rail {
  position: absolute;
  right: 0;
  height: 2px;
  background: var(--line);
}

.rail::before,
.rail::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
}

.rail::before {
  left: -4px;
}

.rail::after {
  right: -4px;
}

.rail-one {
  top: 0;
  width: 148px;
}

.rail-two {
  top: 83px;
  width: 148px;
}

.rail-three {
  top: 169px;
  width: 148px;
}

.rail-four {
  top: 264px;
  width: 148px;
}

.status-list {
  position: absolute;
  top: 70px;
  left: 384px;
  display: grid;
  gap: 28px;
}

.status {
  display: flex;
  align-items: center;
  width: 243px;
  height: 63px;
  padding: 0 16px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 32px rgba(100, 52, 54, 0.1);
  color: rgba(5, 55, 52, 0.32);
  font-size: 16px;
  font-weight: 700;
}

.status span {
  width: 45px;
  height: 27px;
  margin-right: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.status span::after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: 2.5px;
  border-radius: 50%;
  background: #ffffff;
}

.status.connected {
  border: 1.5px solid #e0ce00;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
}

.status.connected span::after {
  margin-left: 20px;
  background: #34d7bd;
}

.library-demo {
  position: absolute;
  inset: 0;
}

.grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 1px, transparent 1px);
  background-size: 29px 29px;
  mask-image: linear-gradient(180deg, #000 0 50%, transparent 80%);
}

.grid-glow::before,
.grid-glow::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(#ffffff, #ffffff) center / 2px 100% no-repeat,
    linear-gradient(90deg, #ffffff, #ffffff) center / 100% 2px no-repeat;
  opacity: 0.58;
}

.grid-glow::before {
  top: 127px;
  left: 45px;
}

.grid-glow::after {
  top: 228px;
  right: 112px;
}

.folder {
  position: absolute;
  top: 64px;
  left: 123px;
  width: 292px;
  height: 219px;
}

.folder span {
  position: absolute;
  display: block;
}

.folder-back {
  top: 0;
  left: 15px;
  width: 179px;
  height: 84px;
  border-radius: 40px 42px 15px 15px;
  background: rgba(251, 233, 251, 0.75);
}

.folder-mid {
  top: 57px;
  left: 31px;
  width: 230px;
  height: 77px;
  border-radius: 22px 22px 13px 13px;
  background: rgba(255, 248, 255, 0.76);
  box-shadow: 0 -12px 30px rgba(194, 104, 173, 0.13);
}

.folder-front {
  top: 94px;
  left: 0;
  width: 292px;
  height: 166px;
  border-radius: 28px 28px 58px 58px;
  background: #ffffff;
  box-shadow: 0 25px 60px rgba(105, 70, 137, 0.14);
}

.folder-front::after {
  content: "";
  position: absolute;
  left: 96px;
  top: 76px;
  width: 86px;
  height: 17px;
  border-radius: 999px;
  background: #f2f2f2;
}

.search-pill {
  left: 126px;
  top: 320px;
  min-width: 268px;
  padding: 0 28px 0 58px;
}

.search-pill span {
  position: absolute;
  left: 26px;
  top: 18px;
  width: 20px;
  height: 20px;
  border: 2.5px solid #142625;
  border-radius: 50%;
}

.search-pill span::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 10px;
  height: 2.5px;
  border-radius: 999px;
  background: #142625;
  transform: rotate(45deg);
}

@media (max-width: 1180px) {
  .feature-section {
    padding-top: 150px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
}

@media (max-width: 720px) {
  .feature-section {
    padding: 82px 18px 56px;
  }

  .eyebrow {
    font-size: 16px;
  }

  h1 {
    font-size: 48px;
  }

  .subhead {
    font-size: 24px;
  }

  .feature-grid {
    gap: 24px;
    margin-top: 58px;
  }

  .feature-card {
    min-height: 430px;
    border-radius: 22px;
  }

  .feature-card h2 {
    left: 26px;
    bottom: 30px;
    font-size: 23px;
  }

  .prompt-demo,
  .api-demo,
  .library-demo {
    transform: scale(0.78);
    transform-origin: top left;
  }
}
