/* ==========================================================================
   AI Recruitment Lead Intake & Qualification Styles (css/recruitment.css)
   Aesthetic: n8n Node Canvas Simulation, Dark Minimalist, Layered Contrast
   ========================================================================== */

.recruitment-page {
  padding-top: 140px;
  padding-bottom: 100px;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- Hero Section --- */
.recruitment-hero {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 52px auto;
}

.recruitment-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A3A3A3;
  margin-bottom: 24px;
}

.recruitment-hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22C55E;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.recruitment-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.recruitment-hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: #A3A3A3;
  max-width: 760px;
  margin: 0 auto 36px auto;
}

/* --- Metric Chips --- */
.recruitment-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.recruitment-metric-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.88rem;
  color: #E5E5E5;
  backdrop-filter: blur(10px);
}

.recruitment-metric-chip strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* --- Canvas Container & Toolbar --- */
.canvas-section {
  margin-bottom: 80px;
}

.canvas-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.canvas-tabs {
  display: inline-flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.canvas-tab-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #9CA3AF;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.canvas-tab-btn.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.canvas-blueprint-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #E5E5E5;
  text-decoration: none;
  transition: all 0.2s ease;
}

.canvas-blueprint-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

.canvas-viewport {
  position: relative;
  width: 100%;
  border-radius: 20px;
  background: #111215;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

/* Scrollable container on mobile */
.canvas-svg-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.n8n-svg-canvas {
  width: 100%;
  min-width: 1000px;
  height: auto;
  display: block;
}

/* Screenshot view */
.canvas-screenshot-view {
  display: none;
  width: 100%;
  padding: 12px;
  background: #111215;
}

.canvas-screenshot-view.active {
  display: block;
}

.canvas-screenshot-view img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Node Hover / Active Effects in SVG */
.n8n-node-group {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.n8n-node-group:hover .n8n-node-box {
  stroke: #60A5FA;
  stroke-width: 1.8px;
  filter: drop-shadow(0 6px 20px rgba(96, 165, 250, 0.25));
}

/* Node Inspector Card */
.node-inspector {
  margin-top: 24px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.node-inspector__left {
  max-width: 760px;
}

.node-inspector__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #60A5FA;
  margin-bottom: 6px;
}

.node-inspector__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.node-inspector__desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #A3A3A3;
}

/* --- The 4-Step Process Section --- */
.recruitment-process {
  margin-bottom: 96px;
}

.recruitment-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.recruitment-process-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.recruitment-process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.recruitment-process-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.recruitment-process-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.3;
}

.recruitment-process-card__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #9CA3AF;
  flex-grow: 1;
  margin-bottom: 16px;
}

.recruitment-process-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #38BDF8;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .recruitment-process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .recruitment-process__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .canvas-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
