:root {
  --hm-bg: #060b1f;
  --hm-surface: rgba(30, 30, 47, 0.85);
  --hm-border: rgba(255, 255, 255, 0.08);
  --hm-text: rgba(255, 255, 255, 0.9);
  --hm-text-muted: rgba(255, 255, 255, 0.6);
  --hm-teal: #4ade80;
  --hm-amber: #d4a574;
  --hm-red: #ff6b6b;
  --hm-radius: 16px;
}

html {
  scroll-behavior: smooth;
}

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

body {
  background: var(--hm-bg);
  color: var(--hm-text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

.hire-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hire-hero {
  padding: 80px 0 48px;
  text-align: center;
}

.hire-hero__status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.hire-hero__status--active {
  background: rgba(74, 222, 128, 0.15);
  color: var(--hm-teal);
}
.hire-hero__status--open {
  background: rgba(212, 165, 116, 0.15);
  color: var(--hm-amber);
}

.hire-hero__name {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.hire-hero__title {
  font-family: "Fira Code", monospace;
  font-size: 1.1rem;
  color: var(--hm-teal);
  margin-bottom: 16px;
}

.hire-hero__pitch {
  font-size: 1rem;
  color: var(--hm-text-muted);
  max-width: 600px;
  margin: 0 auto 24px;
}

.hire-hero__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hire-hero__contact {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.hire-hero__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--hm-text-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.hire-hero__contact-link:hover {
  color: #0a66c2;
  background: rgba(10, 102, 194, 0.1);
}

.hire-hero__contact-link svg {
  width: 18px;
  height: 18px;
}

.hire-btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition:
    transform 0.15s,
    opacity 0.15s;
  text-decoration: none;
}

.hire-btn:hover {
  transform: translateY(-1px);
}

.hire-btn--primary {
  background: var(--hm-teal);
  color: #060b1f;
}
.hire-btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid var(--hm-border);
}

/* Sections */
.hire-section {
  margin-bottom: 48px;
}

/* Quick Facts */
.quick-facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.quick-facts__card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--hm-surface);
  backdrop-filter: blur(6px);
  border: 1px solid var(--hm-border);
  border-radius: 12px;
  padding: 16px;
  transition: border-color 0.15s;
}

.quick-facts__card:hover {
  border-color: rgba(74, 222, 128, 0.3);
}

.quick-facts__icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.quick-facts__content {
  flex: 1;
  min-width: 0;
}

.quick-facts__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hm-text-muted);
  margin-bottom: 2px;
}

.quick-facts__value {
  font-size: 0.9rem;
  color: var(--hm-text);
  line-height: 1.4;
}

.quick-facts__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px;
  color: var(--hm-text-muted);
  font-size: 0.9rem;
}

.quick-facts__loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px;
  color: var(--hm-text-muted);
}

.hire-section__title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
}

/* Experience Cards */
.exp-card {
  background: var(--hm-surface);
  backdrop-filter: blur(6px);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 24px;
  margin-bottom: 16px;
}

.exp-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.exp-card__company {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}

.exp-card__dates {
  font-size: 0.8rem;
  color: var(--hm-text-muted);
  font-family: "Fira Code", monospace;
}

.exp-card__title {
  font-size: 0.9rem;
  color: var(--hm-teal);
  margin-bottom: 12px;
}

.exp-card__description {
  font-size: 0.875rem;
  color: var(--hm-text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.exp-card__bullets {
  list-style: none;
  padding: 0;
}

.exp-card__bullets li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
  font-size: 0.875rem;
  color: var(--hm-text-muted);
}

.exp-card__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hm-teal);
  opacity: 0.6;
}

.exp-card__toggle {
  background: none;
  border: 1px solid var(--hm-border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--hm-text-muted);
  cursor: pointer;
  margin-top: 12px;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.exp-card__toggle:hover {
  border-color: var(--hm-teal);
  color: var(--hm-teal);
}

.exp-card__star {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hm-border);
}

.exp-card__star.is-open {
  display: block;
}

.exp-card__star-item {
  margin-bottom: 12px;
}

.exp-card__star-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hm-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.exp-card__star-text {
  font-size: 0.85rem;
  color: var(--hm-text-muted);
}

/* Achievements section */
.exp-card__achievements {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hm-border);
}

.exp-card__achievements-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hm-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* Technology tags */
.exp-card__tech {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.exp-card__tech-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  background: rgba(74, 222, 128, 0.1);
  color: var(--hm-teal);
  font-family: "Fira Code", monospace;
}

/* Grouped experience (multiple roles at same company) */
.exp-card--grouped .exp-card__header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hm-border);
}

.exp-card__role {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
}

.exp-card__role:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.exp-card__role:first-child {
  padding-top: 0;
}

.exp-card__role::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--hm-teal) 0%, transparent 100%);
  opacity: 0.3;
}

.exp-card__role:last-child::before {
  display: none;
}

.exp-card__role-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-card__role-dates {
  font-size: 0.75rem;
  color: var(--hm-text-muted);
  font-family: "Fira Code", monospace;
}

.exp-card__role .exp-card__title {
  margin-bottom: 0;
}

.exp-card__role .exp-card__description,
.exp-card__role .exp-card__bullets {
  margin-top: 8px;
}

.exp-card__role .exp-card__tech {
  margin-top: 10px;
}

/* Skills Matrix */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.skills-col__title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid;
}

.skills-col--strong .skills-col__title {
  color: var(--hm-teal);
  border-color: var(--hm-teal);
}
.skills-col--moderate .skills-col__title {
  color: var(--hm-amber);
  border-color: var(--hm-amber);
}
.skills-col--gap .skills-col__title {
  color: var(--hm-red);
  border-color: var(--hm-red);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Info hint icon with tooltip */
.info-hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
}

.info-hint svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.info-hint:hover svg {
  opacity: 1;
}

.info-hint__tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  padding: 6px 10px;
  background: rgba(20, 25, 30, 0.95);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 50;
  pointer-events: none;
}

.info-hint__tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: rgba(20, 25, 30, 0.95);
  border-right: 1px solid rgba(255, 107, 107, 0.3);
  border-bottom: 1px solid rgba(255, 107, 107, 0.3);
}

.info-hint:hover .info-hint__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.skill-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  margin: 0 6px 6px 0;
}

.skills-col--strong .skill-tag {
  background: rgba(74, 222, 128, 0.1);
  color: var(--hm-teal);
}
.skills-col--moderate .skill-tag {
  background: rgba(212, 165, 116, 0.1);
  color: var(--hm-amber);
}
.skills-col--gap .skill-tag {
  background: rgba(255, 107, 107, 0.1);
  color: var(--hm-red);
}

/* Gap Tag with Popover */
.gap-tag-wrapper {
  position: relative;
  display: inline-block;
}

.gap-tag-wrapper .skill-tag {
  cursor: help;
  transition: background 0.2s, transform 0.15s;
}

.gap-tag-wrapper:hover .skill-tag {
  background: rgba(255, 107, 107, 0.2);
  transform: translateY(-1px);
}

.gap-popover {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 320px;
  max-width: 90vw;
  padding: 16px;
  background: rgba(20, 25, 30, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 12px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
  pointer-events: none;
}

/* Arrow */
.gap-popover::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(20, 25, 30, 0.98);
  border-right: 1px solid rgba(255, 107, 107, 0.3);
  border-bottom: 1px solid rgba(255, 107, 107, 0.3);
}

.gap-tag-wrapper:hover .gap-popover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  transition-delay: 0.15s;
}

.gap-popover__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hm-red);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 107, 107, 0.2);
}

.gap-popover__desc {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.gap-popover__desc p {
  margin: 0;
}

/* Responsive: position popover below on smaller screens */
@media (max-width: 600px) {
  .gap-popover {
    position: fixed;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: calc(100vw - 40px);
    max-height: 60vh;
    overflow-y: auto;
  }

  .gap-popover::after {
    display: none;
  }

  .gap-tag-wrapper:hover .gap-popover {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Featured Work */
.featured-work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--hm-surface);
  backdrop-filter: blur(6px);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 222, 128, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.project-card__thumbnail {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--hm-border);
}

.project-card__thumbnail--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.05) 0%, rgba(212, 165, 116, 0.05) 100%);
  border-bottom: 1px solid var(--hm-border);
  font-size: 2.5rem;
  opacity: 0.5;
}

.project-card__content {
  padding: 16px;
}

.project-card__name {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-card__status {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(212, 165, 116, 0.15);
  color: var(--hm-amber);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.project-card__tagline {
  font-size: 0.8rem;
  color: var(--hm-text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.project-card__tech-tag {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(74, 222, 128, 0.1);
  color: var(--hm-teal);
  font-family: "Fira Code", monospace;
}

.project-card__links {
  display: flex;
  gap: 8px;
}

.project-card__link {
  font-size: 0.75rem;
  color: var(--hm-text-muted);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid var(--hm-border);
  border-radius: 6px;
  transition: border-color 0.15s, color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.project-card__link:hover {
  border-color: var(--hm-teal);
  color: var(--hm-teal);
}

.project-card__link--live {
  background: rgba(74, 222, 128, 0.15);
  border-color: rgba(74, 222, 128, 0.45);
  color: var(--hm-teal);
  font-weight: 600;
}

.project-card__link--live:hover {
  background: rgba(74, 222, 128, 0.25);
  border-color: var(--hm-teal);
}

.project-card__link svg {
  width: 12px;
  height: 12px;
}

.featured-work__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--hm-text-muted);
  font-size: 0.9rem;
  background: var(--hm-surface);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
}

/* Education & Credentials */
.credentials__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.credentials__education,
.credentials__certs {
  background: var(--hm-surface);
  backdrop-filter: blur(6px);
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 20px;
}

.credentials__section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hm-teal);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hm-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.credentials__section-title svg {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.credential-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.credential-item:first-child {
  padding-top: 0;
}

.credential-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.credential-item__icon--cert {
  background: rgba(212, 165, 116, 0.1);
}

.credential-item__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.credential-item__content {
  flex: 1;
  min-width: 0;
}

.credential-item__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.credential-item__title a {
  color: inherit;
  text-decoration: none;
}

.credential-item__title a:hover {
  color: var(--hm-teal);
}

.credential-item__issuer {
  font-size: 0.75rem;
  color: var(--hm-text-muted);
}

.credential-item__meta {
  font-size: 0.7rem;
  color: var(--hm-text-muted);
  opacity: 0.7;
  font-family: "Fira Code", monospace;
}

.credential-item__badge {
  font-size: 0.6rem;
  padding: 2px 5px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.credential-item__badge--active {
  background: rgba(74, 222, 128, 0.15);
  color: var(--hm-teal);
}

.credential-item__badge--expired {
  background: rgba(255, 107, 107, 0.15);
  color: var(--hm-red);
}

.credential-item__badge--honors {
  background: rgba(212, 165, 116, 0.15);
  color: var(--hm-amber);
}

.credentials__empty {
  text-align: center;
  padding: 20px;
  color: var(--hm-text-muted);
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .credentials__container {
    grid-template-columns: 1fr;
  }

  .featured-work__grid {
    grid-template-columns: 1fr;
  }
}

/* JD Analyzer */
.jd-analyzer {
  background: var(--hm-surface);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(74, 222, 128, 0.3);
  border-radius: var(--hm-radius);
  padding: 32px;
  box-shadow: 0 0 40px rgba(74, 222, 128, 0.1);
}

.jd-analyzer__textarea {
  width: 100%;
  min-height: 200px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hm-border);
  border-radius: 12px;
  padding: 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--hm-text);
  resize: vertical;
  margin-bottom: 16px;
}

.jd-analyzer__textarea::placeholder {
  color: var(--hm-text-muted);
}
.jd-analyzer__textarea:focus {
  outline: none;
  border-color: var(--hm-teal);
}

.jd-analyzer__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.jd-analyzer__model-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  outline: none;
  min-width: 160px;
  transition: border-color 0.15s;
}

.jd-analyzer__model-select:hover {
  border-color: rgba(74, 222, 128, 0.4);
}

.jd-analyzer__model-select:focus {
  border-color: var(--hm-teal);
}

.jd-analyzer__model-select option {
  background: #1e1e2f;
  color: #fff;
}

.jd-analyzer__examples {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.jd-example-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hm-border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.7rem;
  color: var(--hm-text-muted);
  cursor: pointer;
  transition: border-color 0.15s;
}

.jd-example-btn:hover {
  border-color: var(--hm-teal);
  color: var(--hm-teal);
}

/* Analyze Button Loading State */
.hire-btn--analyzing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.hire-btn__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(6, 11, 31, 0.3);
  border-top-color: #060b1f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* JD Result */
.jd-result {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hm-border);
}

.jd-result.is-visible {
  display: block;
}

.jd-result__verdict {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.jd-result__verdict--strong_fit {
  background: rgba(74, 222, 128, 0.15);
  color: var(--hm-teal);
}
.jd-result__verdict--worth_conversation {
  background: rgba(212, 165, 116, 0.15);
  color: var(--hm-amber);
}
.jd-result__verdict--probably_not {
  background: rgba(255, 107, 107, 0.15);
  color: var(--hm-red);
}

.jd-result__headline {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.jd-result__opening {
  font-size: 0.9rem;
  color: var(--hm-text-muted);
  margin-bottom: 16px;
}

.jd-result__section-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hm-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  margin-top: 16px;
}

.jd-result__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jd-result__list li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 0.85rem;
  color: var(--hm-text-muted);
  line-height: 1.5;
}

.jd-result__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--hm-text-muted);
  font-weight: bold;
}

.jd-result__recommendation {
  margin-top: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--hm-text);
}

.jd-result__recommendation .jd-result__section-title {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--hm-teal);
}

.jd-result__recommendation p {
  margin: 0 0 12px 0;
  line-height: 1.6;
}

.jd-result__recommendation p:last-child {
  margin-bottom: 0;
}

.jd-result__rec-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.jd-result__rec-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.jd-result__rec-list li:last-child {
  border-bottom: none;
}

.jd-result__rec-number {
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 222, 128, 0.15);
  color: var(--hm-teal);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50%;
}

/* Profile Highlights (For This Role) */
.jd-result__highlights {
  margin-top: 16px;
  padding: 16px;
  background: rgba(74, 222, 128, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 10px;
}

.jd-result__highlights .jd-result__section-title {
  color: var(--hm-teal);
  margin-top: 0;
}

.jd-result__highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jd-result__highlights-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 0.85rem;
  color: var(--hm-text);
  line-height: 1.5;
}

.jd-result__highlights-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--hm-teal);
  font-weight: 600;
}

/* Footer */
.hire-footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--hm-border);
  margin-top: 48px;
}

.hire-footer a {
  color: var(--hm-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.hire-footer a:hover {
  color: var(--hm-teal);
}

/* Loading state */
.hire-loading {
  text-align: center;
  padding: 40px;
  color: var(--hm-text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .hire-hero__name {
    font-size: 2rem;
  }
  .hire-hero {
    padding: 48px 0 32px;
  }
}

/* Chat Bubble Button */
.chat-bubble-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--hm-teal);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}

.chat-bubble-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(74, 222, 128, 0.5);
}

.chat-bubble-btn svg {
  width: 26px;
  height: 26px;
  fill: #060b1f;
}

/* Hide bubble when chat is open */
body.chat-open .chat-bubble-btn {
  opacity: 0;
  pointer-events: none;
}

/* Side Panel Chat */
.chat-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100vh;
  background: rgba(20, 20, 35, 0.98);
  backdrop-filter: blur(12px);
  border-left: 1px solid var(--hm-border);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
}

.chat-panel.is-open {
  transform: translateX(0);
}

.chat-panel__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--hm-border);
  background: rgba(30, 30, 47, 0.5);
}

.chat-panel__title {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  flex: 1;
}

.chat-panel__model-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  outline: none;
  min-width: 140px;
}

.chat-panel__model-select option {
  background: #1e1e2f;
  color: #fff;
}

.chat-panel__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 1.4rem;
  line-height: 1;
  transition: color 0.15s;
}

.chat-panel__close:hover {
  color: #fff;
}

.chat-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 90%;
  padding: 10px 14px;
  border-radius: 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--hm-teal);
  color: #060b1f;
  border-bottom-right-radius: 4px;
}

.chat-msg--assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border-bottom-left-radius: 4px;
}

.chat-msg--typing {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* Markdown formatting in chat */
.chat-msg--assistant p {
  margin: 0 0 8px 0;
}

.chat-msg--assistant p:last-child {
  margin-bottom: 0;
}

.chat-msg--assistant strong {
  font-weight: 600;
  color: #fff;
}

.chat-msg--assistant em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
}

.chat-msg--assistant code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Fira Code", monospace;
  font-size: 0.85em;
  color: var(--hm-teal);
}

.chat-panel__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px;
}

.chat-suggestions__chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 5px 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.chat-suggestions__chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--hm-teal);
  color: #fff;
}

.chat-suggestions__chip--star {
  background: rgba(255, 193, 7, 0.08);
  border-color: rgba(255, 193, 7, 0.3);
  color: rgba(255, 220, 150, 0.9);
}

.chat-suggestions__chip--star:hover {
  background: rgba(255, 193, 7, 0.15);
  border-color: rgba(255, 193, 7, 0.5);
  color: #ffd54f;
}

.chat-panel__input-area {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--hm-border);
  background: rgba(30, 30, 47, 0.5);
}

.chat-panel__input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: #fff;
  outline: none;
  transition: border-color 0.15s;
}

.chat-panel__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.chat-panel__input:focus {
  border-color: var(--hm-teal);
}

.chat-panel__send {
  background: var(--hm-teal);
  border: none;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.15s;
}

.chat-panel__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.chat-panel__send svg {
  width: 18px;
  height: 18px;
  fill: #060b1f;
}

@media (max-width: 900px) {
  .chat-panel {
    width: 100%;
    max-width: 380px;
  }
}

@media (max-width: 540px) {
  .chat-panel {
    width: 100%;
    max-width: none;
  }
}
