/* ==========================================================================
   Home: final call to action — "Tell Us What You're Planning to Build".
   A navy panel with blue light waves, a laptop on the left and an
   Idea / Plan / Build / Launch checklist with a rocket on the right.
   Rules are scoped to #lets-build because human.css forces paragraph colours
   in light sections with !important.
   Shared type sizes and section spacing come from css/home-scale.css.
   ========================================================================== */

.lbt-section {
  padding: 72px 0 88px;
  background: #F1F6FD;
  font-family: var(--font-sans);
}

.lbt-inner {
  max-width: 1600px;
}

.lbt-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px 32px 60px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 36px;
  background:
    radial-gradient(55% 75% at 10% 0%, rgba(37, 99, 235, 0.38), rgba(37, 99, 235, 0) 70%),
    radial-gradient(45% 70% at 100% 100%, rgba(124, 58, 237, 0.34), rgba(124, 58, 237, 0) 70%),
    linear-gradient(135deg, #0A1A3F 0%, #0B1E4A 50%, #111F55 100%);
  box-shadow: 0 40px 80px -40px rgba(7, 24, 39, 0.65);
  text-align: center;
}

/* glowing wave lines along the edges */
.lbt-waves {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---- Centre content ---- */
.lbt-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

#lets-build .lbt-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 600;
}

#lets-build .lbt-pill svg {
  width: 24px;
  height: 24px;
}

#lets-build .lbt-heading {
  max-width: 760px;
  margin: 26px auto 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 66px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-wrap: balance;
}

#lets-build .lbt-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  background: linear-gradient(90deg, #38BDF8 0%, #3B82F6 45%, #8B5CF6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lbt-swoosh {
  position: absolute;
  left: 4%;
  bottom: -8px;
  width: 92%;
  height: 16px;
}

#lets-build .lbt-sub {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: 19px;
  line-height: 1.6;
  color: #E2E8F0 !important;
  text-wrap: pretty;
}

.lbt-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 880px;
  margin: 34px auto 0;
  padding: 0;
  list-style: none;
}

#lets-build .lbt-chips li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.lbt-chips svg {
  width: 20px;
  height: 20px;
  color: #93C5FD;
}

.lbt-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 40px;
}

#lets-build .lbt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 64px;
  padding: 0 38px;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lbt-btn svg {
  width: 22px;
  height: 22px;
}

#lets-build .lbt-btn--primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  box-shadow: 0 18px 34px -16px rgba(37, 99, 235, 0.9);
}

#lets-build .lbt-btn--outline {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.03);
  color: #FFFFFF;
}

#lets-build .lbt-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

#lets-build .lbt-btn:focus-visible {
  outline: 3px solid #93C5FD;
  outline-offset: 3px;
}

#lets-build .lbt-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 0;
  font-size: 17px;
  color: #CBD5E1 !important;
}

.lbt-note svg {
  flex: none;
  width: 20px;
  height: 20px;
}

/* ---- Left: laptop with a light bulb and a code panel ---- */
.lbt-art {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.lbt-art--left {
  left: 2.5%;
  bottom: 13%;
  width: clamp(220px, 19%, 320px);
  aspect-ratio: 1.05;
}

.lbt-laptop {
  position: absolute;
  left: 4%;
  bottom: 0;
  width: 84%;
  transform: perspective(900px) rotateY(18deg);
  transform-origin: left bottom;
}

.lbt-screen {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 11;
  padding: 7%;
  border-radius: 14px 14px 6px 6px;
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(59, 130, 246, 0.45), rgba(59, 130, 246, 0) 70%),
    linear-gradient(160deg, #0F2A6B 0%, #081333 100%);
  box-shadow: 0 0 0 6px #1E293B, 0 0 0 7px rgba(148, 163, 184, 0.5), 0 0 40px rgba(59, 130, 246, 0.45);
}

.lbt-screen img {
  width: 34%;
  height: auto;
  filter: brightness(1.9) drop-shadow(0 0 14px rgba(96, 165, 250, 0.85));
}

.lbt-glyph {
  position: absolute;
  left: 12%;
  bottom: 9%;
  color: #3B82F6;
  font-family: var(--font-code);
  font-size: clamp(20px, 2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-shadow: 0 0 14px rgba(59, 130, 246, 0.8);
}

.lbt-base {
  display: block;
  aspect-ratio: 16 / 1.3;
  margin: 2px -9% 0;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #E2E8F0 0%, #94A3B8 70%, #64748B 100%);
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.55));
}

.lbt-bulb {
  position: absolute;
  top: 0;
  left: 58%;
  display: grid;
  place-items: center;
  width: 25%;
  aspect-ratio: 1;
  border-radius: 22%;
  background: linear-gradient(145deg, #93C5FD 0%, #3B82F6 50%, #1D4ED8 100%);
  color: #FFFFFF;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.5), 0 0 30px rgba(59, 130, 246, 0.6);
  transform: rotate(-6deg);
}

.lbt-bulb svg {
  width: 56%;
  height: 56%;
}

.lbt-codepanel {
  position: absolute;
  top: 32%;
  right: -6%;
  display: grid;
  gap: 9%;
  width: 40%;
  aspect-ratio: 1.45;
  padding: 7% 8%;
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 12px;
  background: rgba(30, 58, 138, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transform: rotate(-4deg);
}

.lbt-codepanel i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #38BDF8, #8B5CF6);
}

.lbt-codepanel i:nth-child(1) { width: 70%; }
.lbt-codepanel i:nth-child(2) { width: 92%; background: linear-gradient(90deg, #60A5FA, #F472B6); }
.lbt-codepanel i:nth-child(3) { width: 55%; }
.lbt-codepanel i:nth-child(4) { width: 80%; background: linear-gradient(90deg, #A78BFA, #FBBF24); }

/* ---- Right: rocket and the four stages ---- */
.lbt-art--right {
  right: 3%;
  top: 14%;
  width: clamp(200px, 16%, 270px);
}

.lbt-rocket {
  position: absolute;
  top: -12%;
  right: 2%;
  width: 38%;
  filter: drop-shadow(0 0 18px rgba(96, 165, 250, 0.75));
}

.lbt-rocket svg {
  display: block;
  width: 100%;
  height: auto;
}

/* exhaust trail */
.lbt-rocket::after {
  content: "";
  position: absolute;
  left: -32%;
  bottom: -30%;
  width: 70%;
  height: 22%;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0), rgba(139, 92, 246, 0.85));
  filter: blur(6px);
  transform: rotate(-45deg);
}

#lets-build .lbt-steps {
  margin: 0;
  padding: 26px 26px 22px;
  margin-top: 34%;
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.32), rgba(124, 58, 237, 0.25));
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.25);
  list-style: none;
  text-align: left;
  transform: rotate(7deg);
}

#lets-build .lbt-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

#lets-build .lbt-steps li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.lbt-tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid #93C5FD;
  border-radius: 8px;
  color: #FFFFFF;
}

.lbt-tick svg {
  width: 18px;
  height: 18px;
}

#lets-build .lbt-steps li:last-child {
  font-size: 22px;
}

#lets-build .lbt-steps li:last-child .lbt-tick {
  border-color: #38BDF8;
  background: #38BDF8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.7);
}

/* ---- Responsive ---- */
/* wide screens: the four promises fit on one line between the pictures */
@media (min-width: 1700px) {
  .lbt-content {
    max-width: 980px;
  }

  .lbt-chips {
    max-width: 980px;
  }

  .lbt-art--left {
    left: 2%;
    width: clamp(220px, 16%, 300px);
  }

  .lbt-art--right {
    width: clamp(200px, 15%, 260px);
  }
}

@media (max-width: 1699px) {
  .lbt-chips {
    max-width: 560px;
  }
}

@media (max-width: 1499px) {

  .lbt-art--left {
    width: clamp(200px, 18%, 260px);
  }

  .lbt-art--right {
    width: clamp(180px, 15%, 230px);
  }
}

/* below 1280px the side pictures would crowd the text */
@media (max-width: 1279px) {
  .lbt-art {
    display: none;
  }
}

@media (max-width: 680px) {
  .lbt-section {
    padding: 48px 0 64px;
  }

  .lbt-panel {
    padding: 44px 18px 40px;
    border-radius: 26px;
  }

  #lets-build .lbt-pill {
    font-size: 15px;
    padding: 8px 18px;
  }

  #lets-build .lbt-sub {
    font-size: 16.5px;
  }

  .lbt-chips {
    gap: 10px;
  }

  #lets-build .lbt-chips li {
    padding: 9px 14px;
    font-size: 14px;
  }

  .lbt-actions {
    flex-direction: column;
    gap: 14px;
  }

  #lets-build .lbt-btn {
    width: 100%;
    height: 58px;
    padding: 0 20px;
    font-size: 17px;
  }

  #lets-build .lbt-note {
    font-size: 15px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: no-preference) {
  #lets-build .lbt-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 40px -16px rgba(37, 99, 235, 0.95);
  }
}

@media (prefers-reduced-motion: reduce) {
  #lets-build .lbt-btn {
    transition: none;
  }
}
