.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.tool-card,
.hiring-shell,
.lead-form,
.hiring-copy {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(9, 18, 40, 0.72);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.96));
  box-shadow: var(--shadow);
}

.tool-card {
  padding: 1.35rem;
  display: grid;
  gap: 1rem;
}

.tool-card-head {
  display: grid;
  gap: 0.6rem;
}

.tool-card h3,
.hiring-copy h2 {
  margin: 0;
  color: var(--text);
}

.tool-card p,
.hiring-copy p {
  margin: 0;
}

.tool-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(31, 79, 209, 0.08);
  border: 1px solid rgba(9, 18, 40, 0.28);
  color: var(--primary-strong);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-form,
.hiring-form,
.lead-form {
  display: grid;
  gap: 0.85rem;
}

.tool-form label,
.field label {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.tool-form textarea,
.tool-form input,
.tool-form select,
.field textarea,
.field input,
.field select {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(9, 18, 40, 0.5);
  padding: 0.95rem 1rem;
  background: rgba(255,255,255,0.96);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.tool-form textarea:focus,
.tool-form input:focus,
.tool-form select:focus,
.field textarea:focus,
.field input:focus,
.field select:focus {
  border-color: rgba(31, 79, 209, 0.34);
  box-shadow: 0 0 0 4px rgba(31, 79, 209, 0.08);
}

.tool-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tool-status {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tool-output,
.hiring-output {
  min-height: 120px;
  border-radius: 20px;
  border: 1px dashed rgba(9, 18, 40, 0.56);
  background: rgba(255,255,255,0.74);
  padding: 1rem;
  overflow: auto;
}

.tool-output-inner pre {
  margin: 0;
  white-space: pre-wrap;
  font: inherit;
  color: var(--text-soft);
  line-height: 1.7;
}

.hiring-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 1.5rem;
  align-items: start;
}

.hiring-copy {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.hiring-benefits {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.2rem;
}

.hiring-shell {
  padding: 1.35rem;
  display: grid;
  gap: 1.15rem;
}

.hiring-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field-full {
  grid-column: 1 / -1;
}

.hiring-button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lead-form {
  padding: 1rem;
}

@media (max-width: 1100px) {
  .ai-tools-grid,
  .hiring-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .tool-actions,
  .hiring-button-row {
    flex-direction: column;
    align-items: stretch;
  }

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

.tool-output-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.tool-output-visual {
  display: grid;
  gap: 1rem;
}

.tool-output-figure {
  margin: 0;
}

.tool-output-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(9, 18, 40, 0.72);
  background: rgba(255,255,255,0.8);
  box-shadow: var(--shadow);
}

.demos-handoff-shell {
  display: grid;
  gap: 1.35rem;
}

.demos-handoff-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 1rem;
  padding: 1.45rem;
  border-radius: 30px;
  border: 1px solid rgba(9, 18, 40, 0.78);
  background:
    radial-gradient(circle at top left, rgba(24, 118, 242, 0.18), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(110, 56, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.99), rgba(241,247,255,0.98));
  box-shadow: 0 24px 50px rgba(11, 20, 44, 0.08);
}

.demos-handoff-copy {
  display: grid;
  gap: 0.85rem;
}

.demos-handoff-copy h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.demos-handoff-copy p {
  margin: 0;
  max-width: 62ch;
}

.demos-handoff-glow {
  position: relative;
  min-height: 220px;
  border-radius: 26px;
  border: 1px solid rgba(9, 18, 40, 0.5);
  background:
    linear-gradient(140deg, rgba(10, 18, 40, 0.96), rgba(27, 74, 193, 0.92) 48%, rgba(116, 58, 255, 0.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}

.demos-handoff-glow span {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(2px);
}

.demos-handoff-glow span:nth-child(1) {
  inset: 18px auto auto 18px;
  width: 132px;
  height: 132px;
  background: rgba(255,255,255,0.16);
}

.demos-handoff-glow span:nth-child(2) {
  inset: auto 24px 28px auto;
  width: 94px;
  height: 94px;
  background: rgba(52, 211, 153, 0.26);
}

.demos-handoff-glow span:nth-child(3) {
  inset: 50% auto auto 54%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  background: rgba(250, 204, 21, 0.28);
}

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

.demos-handoff-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(9, 18, 40, 0.72);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.99), rgba(245,249,255,0.98));
  box-shadow: 0 16px 34px rgba(11, 20, 44, 0.06);
}

.demos-handoff-card strong {
  color: var(--text);
  font-size: 1rem;
}

.demos-handoff-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.62;
}

.demos-handoff-actions {
  justify-content: flex-start;
}

@media (max-width: 980px) {
  .demos-handoff-banner,
  .demos-handoff-grid {
    grid-template-columns: 1fr;
  }

  .demos-handoff-glow {
    min-height: 180px;
  }
}
