/* ──────────────────────────────────────────
   UNDER WORK PAGE
   ────────────────────────────────────────── */
.under-work {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  padding-block: var(--sp-24);
}

.under-work__inner {
  max-width: 560px;
}

.under-work__badge {
  margin-bottom: var(--sp-6);
}

.under-work__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: var(--accent-subtle);
  border: 1px solid rgba(217, 119, 6, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: var(--sp-6);
}

.under-work__icon svg {
  width: 32px;
  height: 32px;
}

.under-work__title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}

.under-work__description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--sp-8);
}

.under-work__links {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* Nav: parsers dropdown group */
.header__nav-group {
  position: relative;
}

.header__nav-group-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  transition: color var(--ease-fast);
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  position: relative;
}

.header__nav-group-btn:hover,
.header__nav-group-btn.active {
  color: var(--text-primary);
}

.header__nav-group-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.header__nav-group-btn svg {
  width: 12px;
  height: 12px;
  transition: transform var(--ease-fast);
  flex-shrink: 0;
}

.header__nav-group:hover .header__nav-group-btn svg,
.header__nav-group-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.header__nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  padding-top: var(--sp-3); /* visible gap is now inside the hover zone */
  z-index: 200;
}

.header__nav-dropdown-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  padding: var(--sp-2);
}

.header__nav-group:hover .header__nav-dropdown {
  display: block;
}

.header__nav-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: all var(--ease-fast);
}

.header__nav-dropdown-item:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.header__nav-dropdown-item--active {
  color: var(--text-primary);
}

.header__nav-dropdown-item--active:hover {
  background: var(--accent-subtle);
  color: var(--accent);
}

.nav-soon {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 1px var(--sp-2);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
